Dela via


ScaleSetEvictionPolicy Struct

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 readonly struct ScaleSetEvictionPolicy : IEquatable<Azure.ResourceManager.ContainerService.Models.ScaleSetEvictionPolicy>
type ScaleSetEvictionPolicy = struct
Public Structure ScaleSetEvictionPolicy
Implements IEquatable(Of ScaleSetEvictionPolicy)
Inheritance
ScaleSetEvictionPolicy
Implements

Constructors

ScaleSetEvictionPolicy(String)

Initializes a new instance of ScaleSetEvictionPolicy.

Properties

Deallocate

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.

Delete

Nodes in the underlying Scale Set of the node pool are deleted when they're evicted.

Methods

Equals(ScaleSetEvictionPolicy)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ScaleSetEvictionPolicy, ScaleSetEvictionPolicy)

Determines if two ScaleSetEvictionPolicy values are the same.

Implicit(String to ScaleSetEvictionPolicy)

Converts a string to a ScaleSetEvictionPolicy.

Inequality(ScaleSetEvictionPolicy, ScaleSetEvictionPolicy)

Determines if two ScaleSetEvictionPolicy values are not the same.

Applies to