你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DdosSettings Class
Contains the DDoS protection settings of the public IP.
- Inheritance
-
azure.mgmt.network._serialization.ModelDdosSettings
Constructor
DdosSettings(*, protection_mode: str | _models.DdosSettingsProtectionMode | None = None, ddos_protection_plan: _models.SubResource | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
protection_mode
|
The DDoS protection mode of the public IP. Known values are: "VirtualNetworkInherited", "Enabled", and "Disabled". |
ddos_protection_plan
|
The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled. |
Variables
Name | Description |
---|---|
protection_mode
|
The DDoS protection mode of the public IP. Known values are: "VirtualNetworkInherited", "Enabled", and "Disabled". |
ddos_protection_plan
|
The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled. |