ScaleSetEvictionPolicy Struct
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
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicyTypeConverter))]
public struct ScaleSetEvictionPolicy : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicy>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicyTypeConverter))>]
type ScaleSetEvictionPolicy = struct
interface IArgumentCompleter
Public Structure ScaleSetEvictionPolicy
Implements IArgumentCompleter, IEquatable(Of ScaleSetEvictionPolicy)
- Inheritance
-
ScaleSetEvictionPolicy
- Attributes
- Implements
Fields
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
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(Object) |
Compares values of enum type ScaleSetEvictionPolicy (override for Object) |
Equals(ScaleSetEvictionPolicy) |
Compares values of enum type ScaleSetEvictionPolicy |
GetHashCode() |
Returns hashCode for enum ScaleSetEvictionPolicy |
ToString() |
Returns string representation for ScaleSetEvictionPolicy |
Operators
Equality(ScaleSetEvictionPolicy, ScaleSetEvictionPolicy) |
Overriding == operator for enum ScaleSetEvictionPolicy |
Implicit(ScaleSetEvictionPolicy to String) |
Implicit operator to convert ScaleSetEvictionPolicy to string |
Implicit(String to ScaleSetEvictionPolicy) |
Implicit operator to convert string to ScaleSetEvictionPolicy |
Inequality(ScaleSetEvictionPolicy, ScaleSetEvictionPolicy) |
Overriding != operator for enum ScaleSetEvictionPolicy |