你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ScaleInPolicy Class
Describes a scale-in policy for a virtual machine scale set.
- Inheritance
-
azure.mgmt.compute._serialization.ModelScaleInPolicy
Constructor
ScaleInPolicy(*, rules: List[str | _models.VirtualMachineScaleSetScaleInRules] | None = None, force_deletion: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
rules
|
The rules to be followed when scaling-in a virtual machine scale set.
|
force_deletion
|
This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview). |
Variables
Name | Description |
---|---|
rules
|
The rules to be followed when scaling-in a virtual machine scale set.
|
force_deletion
|
This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview). |