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. |