Interface ComputeRegionUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServices

    • Method Detail

      • getBackendService

        @Stability(Stable)
        @NotNull
        String getBackendService()
        The default RegionBackendService resource.

        Before forwarding the request to backendService, the loadbalancer applies any relevant headerActions specified as part of this backendServiceWeight. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#backend_service ComputeRegionUrlMap#backend_service}

      • getWeight

        @Stability(Stable)
        @NotNull
        Number getWeight()
        Specifies the fraction of traffic sent to backendService, computed as weight / (sum of all weightedBackendService weights in routeAction) .

        The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backendService, subsequent requests will be sent to the same backendService as determined by the BackendService's session affinity policy. The value must be between 0 and 1000 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#weight ComputeRegionUrlMap#weight}