Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1beta1.ServiceLbPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
- Service
Lb stringPolicy Id - 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 Pulumi.Drain Google Native. Network Services. V1Beta1. Inputs. Service Lb Policy Auto Capacity Drain - 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.
- Failover
Config Pulumi.Google Native. Network Services. V1Beta1. Inputs. Service Lb Policy Failover Config - Optional. Configuration related to health based failover.
- Labels Dictionary<string, string>
- Optional. Set of label tags associated with the ServiceLbPolicy resource.
- Load
Balancing Pulumi.Algorithm Google Native. Network Services. V1Beta1. Service Lb Policy Load Balancing Algorithm - 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 stringPolicy Id - 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 ServiceDrain Lb Policy Auto Capacity Drain Args - 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.
- Failover
Config ServiceLb Policy Failover Config Args - Optional. Configuration related to health based failover.
- Labels map[string]string
- Optional. Set of label tags associated with the ServiceLbPolicy resource.
- Load
Balancing ServiceAlgorithm Lb Policy Load Balancing Algorithm - 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 StringPolicy Id - 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 ServiceDrain Lb Policy Auto Capacity Drain - 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.
- failover
Config ServiceLb Policy Failover Config - Optional. Configuration related to health based failover.
- labels Map<String,String>
- Optional. Set of label tags associated with the ServiceLbPolicy resource.
- load
Balancing ServiceAlgorithm Lb Policy Load Balancing Algorithm - 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 stringPolicy Id - 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 ServiceDrain Lb Policy Auto Capacity Drain - 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.
- failover
Config ServiceLb Policy Failover Config - Optional. Configuration related to health based failover.
- labels {[key: string]: string}
- Optional. Set of label tags associated with the ServiceLbPolicy resource.
- load
Balancing ServiceAlgorithm Lb Policy Load Balancing Algorithm - 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_ strpolicy_ id - 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_ Servicedrain Lb Policy Auto Capacity Drain Args - 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 ServiceLb Policy Failover Config Args - Optional. Configuration related to health based failover.
- labels Mapping[str, str]
- Optional. Set of label tags associated with the ServiceLbPolicy resource.
- load_
balancing_ Servicealgorithm Lb Policy Load Balancing Algorithm - 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
- service
Lb StringPolicy Id - 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 Property MapDrain - 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.
- failover
Config Property Map - Optional. Configuration related to health based failover.
- labels Map<String>
- Optional. Set of label tags associated with the ServiceLbPolicy resource.
- load
Balancing "LOAD_BALANCING_ALGORITHM_UNSPECIFIED" | "SPRAY_TO_WORLD" | "SPRAY_TO_REGION" | "WATERFALL_BY_REGION" | "WATERFALL_BY_ZONE"Algorithm - 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:
- Create
Time string - The timestamp when this resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The timestamp when this resource was last updated.
- Create
Time string - The timestamp when this resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The timestamp when this resource was last updated.
- create
Time String - The timestamp when this resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The timestamp when this resource was last updated.
- create
Time string - The timestamp when this resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time 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.
- create
Time String - The timestamp when this resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time 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
- Failover
Health intThreshold - 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 intThreshold - 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 IntegerThreshold - 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 numberThreshold - 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_ intthreshold - 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 NumberThreshold - 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
- Failover
Health intThreshold - 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 intThreshold - 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 IntegerThreshold - 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 numberThreshold - 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_ intthreshold - 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 NumberThreshold - 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
- 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.
- Service
Lb Policy Load Balancing Algorithm Load Balancing Algorithm Unspecified - LOAD_BALANCING_ALGORITHM_UNSPECIFIEDThe type of the loadbalancing algorithm is unspecified.
- Service
Lb Policy Load Balancing Algorithm Spray To World - SPRAY_TO_WORLDBalance traffic across all backends across the world proportionally based on capacity.
- Service
Lb Policy Load Balancing Algorithm 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.
- Service
Lb Policy Load Balancing Algorithm 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.
- Service
Lb Policy Load Balancing Algorithm 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.
- 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.
- "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 Cloud Native is in preview. Google Cloud Classic is fully supported.