public sealed class ServiceLbPolicy : IMessage<ServiceLbPolicy>, IEquatable<ServiceLbPolicy>, IDeepCloneable<ServiceLbPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Network Services v1 API class ServiceLbPolicy.
ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.
Implements
IMessageServiceLbPolicy, IEquatableServiceLbPolicy, IDeepCloneableServiceLbPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
ServiceLbPolicy()
public ServiceLbPolicy()ServiceLbPolicy(ServiceLbPolicy)
public ServiceLbPolicy(ServiceLbPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceLbPolicy |
Properties
AutoCapacityDrain
public ServiceLbPolicy.Types.AutoCapacityDrain AutoCapacityDrain { get; set; }Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
| Property Value | |
|---|---|
| Type | Description |
ServiceLbPolicyTypesAutoCapacityDrain |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The timestamp when this resource was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. A free-text description of the resource. Max length 1024 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
FailoverConfig
public ServiceLbPolicy.Types.FailoverConfig FailoverConfig { get; set; }Optional. Configuration related to health based failover.
| Property Value | |
|---|---|
| Type | Description |
ServiceLbPolicyTypesFailoverConfig |
|
IsolationConfig
public ServiceLbPolicy.Types.IsolationConfig IsolationConfig { get; set; }Optional. Configuration to provide isolation support for the associated Backend Service.
| Property Value | |
|---|---|
| Type | Description |
ServiceLbPolicyTypesIsolationConfig |
|
Labels
public MapField<string, string> Labels { get; }Optional. Set of label tags associated with the ServiceLbPolicy resource.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
LoadBalancingAlgorithm
public ServiceLbPolicy.Types.LoadBalancingAlgorithm LoadBalancingAlgorithm { get; set; }Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
| Property Value | |
|---|---|
| Type | Description |
ServiceLbPolicyTypesLoadBalancingAlgorithm |
|
Name
public string Name { get; set; }Identifier. Name of the ServiceLbPolicy resource. It matches pattern
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceLbPolicyName
public ServiceLbPolicyName ServiceLbPolicyName { get; set; }ServiceLbPolicyName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ServiceLbPolicyName |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The timestamp when this resource was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|