ScaleSetEvictionPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. ScaleSetEvictionPolicy
- com.
- com.
public final class ScaleSetEvictionPolicy
extends ExpandableStringEnum<ScaleSetEvictionPolicy>
The Virtual Machine Scale Set eviction policy. 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](https://docs.microsoft.com/azure/virtual-machines/spot-vms).
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Scale |
DEALLOCATE
Static value Deallocate for Scale |
static final
Scale |
DELETE
Static value Delete for Scale |
Constructor Summary
Constructor | Description |
---|---|
ScaleSetEvictionPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Scale |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Scale |
fromString(String name)
Creates or finds a Scale |
static
Collection<Scale |
values()
Gets known Scale |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEALLOCATE
public static final ScaleSetEvictionPolicy DEALLOCATE
Static value Deallocate for ScaleSetEvictionPolicy.
DELETE
public static final ScaleSetEvictionPolicy DELETE
Static value Delete for ScaleSetEvictionPolicy.
Constructor Details
ScaleSetEvictionPolicy
@Deprecated
public ScaleSetEvictionPolicy()
Deprecated
Creates a new instance of ScaleSetEvictionPolicy value.
Method Details
fromString
public static ScaleSetEvictionPolicy fromString(String name)
Creates or finds a ScaleSetEvictionPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ScaleSetEvictionPolicy values.
Returns:
Applies to
Azure SDK for Java