Compute Engine v1 API - Class ConnectionDraining (2.14.0)

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.

Inheritance

object > ConnectionDraining

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ConnectionDraining()

public ConnectionDraining()

ConnectionDraining(ConnectionDraining)

public ConnectionDraining(ConnectionDraining other)
Parameter
NameDescription
otherConnectionDraining

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
TypeDescription
int

HasDrainingTimeoutSec

public bool HasDrainingTimeoutSec { get; }

Gets whether the "draining_timeout_sec" field is set

Property Value
TypeDescription
bool