ApplicationGatewayConnectionDraining Class

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.

All required parameters must be populated in order to send to Azure.

Inheritance
ApplicationGatewayConnectionDraining

Constructor

ApplicationGatewayConnectionDraining(*, enabled: bool, drain_timeout_in_sec: int, **kwargs)

Parameters

enabled
bool

Required. Whether connection draining is enabled or not.

drain_timeout_in_sec
int

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