VirtualMachineEvictionPolicyTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. VirtualMachineEvictionPolicyTypes
- com.
- com.
public final class VirtualMachineEvictionPolicyTypes
extends ExpandableStringEnum<VirtualMachineEvictionPolicyTypes>
Specifies the eviction policy for the Azure Spot VM/VMSS.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Virtual |
DEALLOCATE
Static value Deallocate for Virtual |
static final
Virtual |
DELETE
Static value Delete for Virtual |
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineEvictionPolicyTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromString(String name)
Creates or finds a Virtual |
static
Collection<Virtual |
values()
Gets known Virtual |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEALLOCATE
public static final VirtualMachineEvictionPolicyTypes DEALLOCATE
Static value Deallocate for VirtualMachineEvictionPolicyTypes.
DELETE
public static final VirtualMachineEvictionPolicyTypes DELETE
Static value Delete for VirtualMachineEvictionPolicyTypes.
Constructor Details
VirtualMachineEvictionPolicyTypes
@Deprecated
public VirtualMachineEvictionPolicyTypes()
Deprecated
Creates a new instance of VirtualMachineEvictionPolicyTypes value.
Method Details
fromString
public static VirtualMachineEvictionPolicyTypes fromString(String name)
Creates or finds a VirtualMachineEvictionPolicyTypes from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VirtualMachineEvictionPolicyTypes values.
Returns:
Applies to
Azure SDK for Java