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 server.
- Inheritance
-
azure.mgmt.network._serialization.ModelApplicationGatewayConnectionDraining
Constructor
ApplicationGatewayConnectionDraining(*, enabled: bool, drain_timeout_in_sec: int, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
enabled
|
Whether connection draining is enabled or not. Required. |
drain_timeout_in_sec
|
The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds. Required. |
Variables
Name | Description |
---|---|
enabled
|
Whether connection draining is enabled or not. Required. |
drain_timeout_in_sec
|
The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds. Required. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python