你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.

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
int

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
int

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