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

ScaleSetEvictionPolicy Enum

Definition

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.

Applies to