ServiceLbPolicyArgs class
The set of arguments for ServiceLbPolicy. The set of arguments for ServiceLbPolicy.
Constructors
-
ServiceLbPolicyArgs({Input<
ServiceLbPolicyAutoCapacityDrain> ? autoCapacityDrain, Input<String> ? description, Input<ServiceLbPolicyFailoverConfig> ? failoverConfig, Input<Map< ? labels, Input<String, String> >ServiceLbPolicyLoadBalancingAlgorithm> ? loadBalancingAlgorithm, Input<String> ? location, Input<String> ? name, Input<String> ? project, required Input<String> serviceLbPolicyId}) -
Creates a new ServiceLbPolicyArgs.
autoCapacityDrainOptional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.descriptionOptional. A free-text description of the resource. Max length 1024 characters.failoverConfigOptional. Configuration related to health based failover.labelsOptional. Set of label tags associated with the ServiceLbPolicy resource.loadBalancingAlgorithmOptional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.locationOptional.nameName of the ServiceLbPolicy resource. It matches patternprojects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.projectOptional.serviceLbPolicyIdRequired. Short name of the ServiceLbPolicy resource to be created. E.g. for resource nameprojects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}. the id is value of {service_lb_policy_name}const -
ServiceLbPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoCapacityDrain
→ Input<
ServiceLbPolicyAutoCapacityDrain> ? -
Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
final
-
description
→ Input<
String> ? -
Optional. A free-text description of the resource. Max length 1024 characters.
final
-
failoverConfig
→ Input<
ServiceLbPolicyFailoverConfig> ? -
Optional. Configuration related to health based failover.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> > -
Optional. Set of label tags associated with the ServiceLbPolicy resource.
final
-
loadBalancingAlgorithm
→ Input<
ServiceLbPolicyLoadBalancingAlgorithm> ? -
Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
final
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
Name of the ServiceLbPolicy resource. It matches pattern
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.final -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceLbPolicyId
→ Input<
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}final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited