你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ScaleSetEvictionPolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information about eviction see spot VMs.
public enum ScaleSetEvictionPolicy
type ScaleSetEvictionPolicy =
Public Enum ScaleSetEvictionPolicy
- Inheritance
-
ScaleSetEvictionPolicy
Fields
Name | Value | Description |
---|---|---|
Delete | 0 | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
Deallocate | 1 | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |