Show / Hide Table of Contents

Class ServiceLbPolicy

ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.

Inheritance
object
ServiceLbPolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetworkServices.v1.Data
Assembly: Google.Apis.NetworkServices.v1.dll
Syntax
public class ServiceLbPolicy : IDirectResponseSchema

Properties

AutoCapacityDrain

Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.

Declaration
[JsonProperty("autoCapacityDrain")]
public virtual ServiceLbPolicyAutoCapacityDrain AutoCapacityDrain { get; set; }
Property Value
Type Description
ServiceLbPolicyAutoCapacityDrain

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The timestamp when this resource was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Description

Optional. A free-text description of the resource. Max length 1024 characters.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FailoverConfig

Optional. Configuration related to health based failover.

Declaration
[JsonProperty("failoverConfig")]
public virtual ServiceLbPolicyFailoverConfig FailoverConfig { get; set; }
Property Value
Type Description
ServiceLbPolicyFailoverConfig

Labels

Optional. Set of label tags associated with the ServiceLbPolicy resource.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

LoadBalancingAlgorithm

Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.

Declaration
[JsonProperty("loadBalancingAlgorithm")]
public virtual string LoadBalancingAlgorithm { get; set; }
Property Value
Type Description
string

Name

Identifier. Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The timestamp when this resource was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX