Share via


ApplicationGatewayConnectionDraining(Boolean, Int32) Constructor

Definition

Initializes a new instance of ApplicationGatewayConnectionDraining.

public ApplicationGatewayConnectionDraining (bool enabled, int drainTimeoutInSeconds);
new Azure.ResourceManager.Network.Models.ApplicationGatewayConnectionDraining : bool * int -> Azure.ResourceManager.Network.Models.ApplicationGatewayConnectionDraining
Public Sub New (enabled As Boolean, drainTimeoutInSeconds As Integer)

Parameters

enabled
Boolean

Whether connection draining is enabled or not.

drainTimeoutInSeconds
Int32

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

Applies to