Share via


ApplicationGatewayConnectionDraining Class

Definition

Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration.

public class ApplicationGatewayConnectionDraining : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.ApplicationGatewayConnectionDraining>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.ApplicationGatewayConnectionDraining>
public class ApplicationGatewayConnectionDraining
type ApplicationGatewayConnectionDraining = class
    interface IJsonModel<ApplicationGatewayConnectionDraining>
    interface IPersistableModel<ApplicationGatewayConnectionDraining>
type ApplicationGatewayConnectionDraining = class
Public Class ApplicationGatewayConnectionDraining
Implements IJsonModel(Of ApplicationGatewayConnectionDraining), IPersistableModel(Of ApplicationGatewayConnectionDraining)
Public Class ApplicationGatewayConnectionDraining
Inheritance
ApplicationGatewayConnectionDraining
Implements

Constructors

ApplicationGatewayConnectionDraining(Boolean, Int32)

Initializes a new instance of ApplicationGatewayConnectionDraining.

Properties

DrainTimeoutInSeconds

The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.

Enabled

Whether connection draining is enabled or not.

Explicit Interface Implementations

IJsonModel<ApplicationGatewayConnectionDraining>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ApplicationGatewayConnectionDraining>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApplicationGatewayConnectionDraining>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationGatewayConnectionDraining>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ApplicationGatewayConnectionDraining>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to