Partager via


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