1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1beta1
  6. ServiceLbPolicy

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networkservices/v1beta1.ServiceLbPolicy

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new ServiceLbPolicy in a given project and location.

    Create ServiceLbPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceLbPolicy(name: string, args: ServiceLbPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceLbPolicy(resource_name: str,
                        args: ServiceLbPolicyArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceLbPolicy(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        service_lb_policy_id: Optional[str] = None,
                        auto_capacity_drain: Optional[ServiceLbPolicyAutoCapacityDrainArgs] = None,
                        description: Optional[str] = None,
                        failover_config: Optional[ServiceLbPolicyFailoverConfigArgs] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        load_balancing_algorithm: Optional[ServiceLbPolicyLoadBalancingAlgorithm] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        project: Optional[str] = None)
    func NewServiceLbPolicy(ctx *Context, name string, args ServiceLbPolicyArgs, opts ...ResourceOption) (*ServiceLbPolicy, error)
    public ServiceLbPolicy(string name, ServiceLbPolicyArgs args, CustomResourceOptions? opts = null)
    public ServiceLbPolicy(String name, ServiceLbPolicyArgs args)
    public ServiceLbPolicy(String name, ServiceLbPolicyArgs args, CustomResourceOptions options)
    
    type: google-native:networkservices/v1beta1:ServiceLbPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceLbPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServiceLbPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServiceLbPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceLbPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceLbPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serviceLbPolicyResource = new GoogleNative.NetworkServices.V1Beta1.ServiceLbPolicy("serviceLbPolicyResource", new()
    {
        ServiceLbPolicyId = "string",
        AutoCapacityDrain = new GoogleNative.NetworkServices.V1Beta1.Inputs.ServiceLbPolicyAutoCapacityDrainArgs
        {
            Enable = false,
        },
        Description = "string",
        FailoverConfig = new GoogleNative.NetworkServices.V1Beta1.Inputs.ServiceLbPolicyFailoverConfigArgs
        {
            FailoverHealthThreshold = 0,
        },
        Labels = 
        {
            { "string", "string" },
        },
        LoadBalancingAlgorithm = GoogleNative.NetworkServices.V1Beta1.ServiceLbPolicyLoadBalancingAlgorithm.LoadBalancingAlgorithmUnspecified,
        Location = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := networkservicesv1beta1.NewServiceLbPolicy(ctx, "serviceLbPolicyResource", &networkservicesv1beta1.ServiceLbPolicyArgs{
    	ServiceLbPolicyId: pulumi.String("string"),
    	AutoCapacityDrain: &networkservices.ServiceLbPolicyAutoCapacityDrainArgs{
    		Enable: pulumi.Bool(false),
    	},
    	Description: pulumi.String("string"),
    	FailoverConfig: &networkservices.ServiceLbPolicyFailoverConfigArgs{
    		FailoverHealthThreshold: pulumi.Int(0),
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LoadBalancingAlgorithm: networkservicesv1beta1.ServiceLbPolicyLoadBalancingAlgorithmLoadBalancingAlgorithmUnspecified,
    	Location:               pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Project:                pulumi.String("string"),
    })
    
    var serviceLbPolicyResource = new ServiceLbPolicy("serviceLbPolicyResource", ServiceLbPolicyArgs.builder()
        .serviceLbPolicyId("string")
        .autoCapacityDrain(ServiceLbPolicyAutoCapacityDrainArgs.builder()
            .enable(false)
            .build())
        .description("string")
        .failoverConfig(ServiceLbPolicyFailoverConfigArgs.builder()
            .failoverHealthThreshold(0)
            .build())
        .labels(Map.of("string", "string"))
        .loadBalancingAlgorithm("LOAD_BALANCING_ALGORITHM_UNSPECIFIED")
        .location("string")
        .name("string")
        .project("string")
        .build());
    
    service_lb_policy_resource = google_native.networkservices.v1beta1.ServiceLbPolicy("serviceLbPolicyResource",
        service_lb_policy_id="string",
        auto_capacity_drain={
            "enable": False,
        },
        description="string",
        failover_config={
            "failover_health_threshold": 0,
        },
        labels={
            "string": "string",
        },
        load_balancing_algorithm=google_native.networkservices.v1beta1.ServiceLbPolicyLoadBalancingAlgorithm.LOAD_BALANCING_ALGORITHM_UNSPECIFIED,
        location="string",
        name="string",
        project="string")
    
    const serviceLbPolicyResource = new google_native.networkservices.v1beta1.ServiceLbPolicy("serviceLbPolicyResource", {
        serviceLbPolicyId: "string",
        autoCapacityDrain: {
            enable: false,
        },
        description: "string",
        failoverConfig: {
            failoverHealthThreshold: 0,
        },
        labels: {
            string: "string",
        },
        loadBalancingAlgorithm: google_native.networkservices.v1beta1.ServiceLbPolicyLoadBalancingAlgorithm.LoadBalancingAlgorithmUnspecified,
        location: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:networkservices/v1beta1:ServiceLbPolicy
    properties:
        autoCapacityDrain:
            enable: false
        description: string
        failoverConfig:
            failoverHealthThreshold: 0
        labels:
            string: string
        loadBalancingAlgorithm: LOAD_BALANCING_ALGORITHM_UNSPECIFIED
        location: string
        name: string
        project: string
        serviceLbPolicyId: string
    

    ServiceLbPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServiceLbPolicy resource accepts the following input properties:

    ServiceLbPolicyId string
    Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}
    AutoCapacityDrain Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.ServiceLbPolicyAutoCapacityDrain
    Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
    Description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    FailoverConfig Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.ServiceLbPolicyFailoverConfig
    Optional. Configuration related to health based failover.
    Labels Dictionary<string, string>
    Optional. Set of label tags associated with the ServiceLbPolicy resource.
    LoadBalancingAlgorithm Pulumi.GoogleNative.NetworkServices.V1Beta1.ServiceLbPolicyLoadBalancingAlgorithm
    Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
    Location string
    Name string
    Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
    Project string
    ServiceLbPolicyId string
    Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}
    AutoCapacityDrain ServiceLbPolicyAutoCapacityDrainArgs
    Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
    Description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    FailoverConfig ServiceLbPolicyFailoverConfigArgs
    Optional. Configuration related to health based failover.
    Labels map[string]string
    Optional. Set of label tags associated with the ServiceLbPolicy resource.
    LoadBalancingAlgorithm ServiceLbPolicyLoadBalancingAlgorithm
    Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
    Location string
    Name string
    Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
    Project string
    serviceLbPolicyId String
    Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}
    autoCapacityDrain ServiceLbPolicyAutoCapacityDrain
    Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
    description String
    Optional. A free-text description of the resource. Max length 1024 characters.
    failoverConfig ServiceLbPolicyFailoverConfig
    Optional. Configuration related to health based failover.
    labels Map<String,String>
    Optional. Set of label tags associated with the ServiceLbPolicy resource.
    loadBalancingAlgorithm ServiceLbPolicyLoadBalancingAlgorithm
    Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
    location String
    name String
    Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
    project String
    serviceLbPolicyId string
    Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}
    autoCapacityDrain ServiceLbPolicyAutoCapacityDrain
    Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
    description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    failoverConfig ServiceLbPolicyFailoverConfig
    Optional. Configuration related to health based failover.
    labels {[key: string]: string}
    Optional. Set of label tags associated with the ServiceLbPolicy resource.
    loadBalancingAlgorithm ServiceLbPolicyLoadBalancingAlgorithm
    Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
    location string
    name string
    Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
    project string
    service_lb_policy_id str
    Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}
    auto_capacity_drain ServiceLbPolicyAutoCapacityDrainArgs
    Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
    description str
    Optional. A free-text description of the resource. Max length 1024 characters.
    failover_config ServiceLbPolicyFailoverConfigArgs
    Optional. Configuration related to health based failover.
    labels Mapping[str, str]
    Optional. Set of label tags associated with the ServiceLbPolicy resource.
    load_balancing_algorithm ServiceLbPolicyLoadBalancingAlgorithm
    Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
    location str
    name str
    Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
    project str
    serviceLbPolicyId String
    Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}
    autoCapacityDrain Property Map
    Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
    description String
    Optional. A free-text description of the resource. Max length 1024 characters.
    failoverConfig Property Map
    Optional. Configuration related to health based failover.
    labels Map<String>
    Optional. Set of label tags associated with the ServiceLbPolicy resource.
    loadBalancingAlgorithm "LOAD_BALANCING_ALGORITHM_UNSPECIFIED" | "SPRAY_TO_WORLD" | "SPRAY_TO_REGION" | "WATERFALL_BY_REGION" | "WATERFALL_BY_ZONE"
    Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
    location String
    name String
    Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceLbPolicy resource produces the following output properties:

    CreateTime string
    The timestamp when this resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The timestamp when this resource was last updated.
    CreateTime string
    The timestamp when this resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The timestamp when this resource was last updated.
    createTime String
    The timestamp when this resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The timestamp when this resource was last updated.
    createTime string
    The timestamp when this resource was created.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    The timestamp when this resource was last updated.
    create_time str
    The timestamp when this resource was created.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    The timestamp when this resource was last updated.
    createTime String
    The timestamp when this resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The timestamp when this resource was last updated.

    Supporting Types

    ServiceLbPolicyAutoCapacityDrain, ServiceLbPolicyAutoCapacityDrainArgs

    Enable bool
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    Enable bool
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable Boolean
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable boolean
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable bool
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable Boolean
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.

    ServiceLbPolicyAutoCapacityDrainResponse, ServiceLbPolicyAutoCapacityDrainResponseArgs

    Enable bool
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    Enable bool
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable Boolean
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable boolean
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable bool
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
    enable Boolean
    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.

    ServiceLbPolicyFailoverConfig, ServiceLbPolicyFailoverConfigArgs

    FailoverHealthThreshold int
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    FailoverHealthThreshold int
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failoverHealthThreshold Integer
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failoverHealthThreshold number
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failover_health_threshold int
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failoverHealthThreshold Number
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.

    ServiceLbPolicyFailoverConfigResponse, ServiceLbPolicyFailoverConfigResponseArgs

    FailoverHealthThreshold int
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    FailoverHealthThreshold int
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failoverHealthThreshold Integer
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failoverHealthThreshold number
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failover_health_threshold int
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
    failoverHealthThreshold Number
    Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.

    ServiceLbPolicyLoadBalancingAlgorithm, ServiceLbPolicyLoadBalancingAlgorithmArgs

    LoadBalancingAlgorithmUnspecified
    LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
    SprayToWorld
    SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
    SprayToRegion
    SPRAY_TO_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.
    WaterfallByRegion
    WATERFALL_BY_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.
    WaterfallByZone
    WATERFALL_BY_ZONEAttempt to keep traffic in a single zone closest to the client, before spilling over to other zones.
    ServiceLbPolicyLoadBalancingAlgorithmLoadBalancingAlgorithmUnspecified
    LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
    ServiceLbPolicyLoadBalancingAlgorithmSprayToWorld
    SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
    ServiceLbPolicyLoadBalancingAlgorithmSprayToRegion
    SPRAY_TO_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.
    ServiceLbPolicyLoadBalancingAlgorithmWaterfallByRegion
    WATERFALL_BY_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.
    ServiceLbPolicyLoadBalancingAlgorithmWaterfallByZone
    WATERFALL_BY_ZONEAttempt to keep traffic in a single zone closest to the client, before spilling over to other zones.
    LoadBalancingAlgorithmUnspecified
    LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
    SprayToWorld
    SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
    SprayToRegion
    SPRAY_TO_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.
    WaterfallByRegion
    WATERFALL_BY_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.
    WaterfallByZone
    WATERFALL_BY_ZONEAttempt to keep traffic in a single zone closest to the client, before spilling over to other zones.
    LoadBalancingAlgorithmUnspecified
    LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
    SprayToWorld
    SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
    SprayToRegion
    SPRAY_TO_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.
    WaterfallByRegion
    WATERFALL_BY_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.
    WaterfallByZone
    WATERFALL_BY_ZONEAttempt to keep traffic in a single zone closest to the client, before spilling over to other zones.
    LOAD_BALANCING_ALGORITHM_UNSPECIFIED
    LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
    SPRAY_TO_WORLD
    SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
    SPRAY_TO_REGION
    SPRAY_TO_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.
    WATERFALL_BY_REGION
    WATERFALL_BY_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.
    WATERFALL_BY_ZONE
    WATERFALL_BY_ZONEAttempt to keep traffic in a single zone closest to the client, before spilling over to other zones.
    "LOAD_BALANCING_ALGORITHM_UNSPECIFIED"
    LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
    "SPRAY_TO_WORLD"
    SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
    "SPRAY_TO_REGION"
    SPRAY_TO_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.
    "WATERFALL_BY_REGION"
    WATERFALL_BY_REGIONDirect traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.
    "WATERFALL_BY_ZONE"
    WATERFALL_BY_ZONEAttempt to keep traffic in a single zone closest to the client, before spilling over to other zones.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi