weightedBackendServices property

List<WeightedBackendService>? weightedBackendServices
getter/setter pair

A list of weighted backend services to send traffic to when a route match occurs.

The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.

Implementation

core.List<WeightedBackendService>? weightedBackendServices;