public sealed class ConnectionDraining : IMessage<ConnectionDraining>, IEquatable<ConnectionDraining>, IDeepCloneable<ConnectionDraining>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ConnectionDraining.
Message containing connection draining configuration.
Implements
IMessage<ConnectionDraining>, IEquatable<ConnectionDraining>, IDeepCloneable<ConnectionDraining>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ConnectionDraining()
public ConnectionDraining()
ConnectionDraining(ConnectionDraining)
public ConnectionDraining(ConnectionDraining other)
Parameter | |
---|---|
Name | Description |
other | ConnectionDraining |
Properties
DrainingTimeoutSec
public int DrainingTimeoutSec { get; set; }
Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.
Property Value | |
---|---|
Type | Description |
Int32 |
HasDrainingTimeoutSec
public bool HasDrainingTimeoutSec { get; }
Gets whether the "draining_timeout_sec" field is set
Property Value | |
---|---|
Type | Description |
Boolean |