This product is not supported for your selected
Datadog site. (
).
gcp_networkservices_service_lb_policy
ancestors
Type: UNORDERED_LIST_STRING
auto_capacity_drain
Type: STRUCT
Provider name: autoCapacityDrain
Description: Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
enable
Type: BOOLEAN
Provider name: enable
Description: 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.
create_time
Type: TIMESTAMP
Provider name: createTime
Description: Output only. The timestamp when this resource was created.
description
Type: STRING
Provider name: description
Description: Optional. A free-text description of the resource. Max length 1024 characters.
failover_config
Type: STRUCT
Provider name: failoverConfig
Description: Optional. Configuration related to health based failover.
failover_health_threshold
Type: INT32
Provider name: failoverHealthThreshold
Description: 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.
labels
Type: UNORDERED_LIST_STRING
load_balancing_algorithm
Type: STRING
Provider name: loadBalancingAlgorithm
Description: Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
Possible values:
LOAD_BALANCING_ALGORITHM_UNSPECIFIED
- The type of the loadbalancing algorithm is unspecified.
SPRAY_TO_WORLD
- Balance traffic across all backends across the world proportionally based on capacity.
SPRAY_TO_REGION
- Direct 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
- Direct 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
- Attempt to keep traffic in a single zone closest to the client, before spilling over to other zones.
name
Type: STRING
Provider name: name
Description: Identifier. Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}
.
organization_id
Type: STRING
parent
Type: STRING
project_id
Type: STRING
project_number
Type: STRING
resource_name
Type: STRING
Type: UNORDERED_LIST_STRING
update_time
Type: TIMESTAMP
Provider name: updateTime
Description: Output only. The timestamp when this resource was last updated.