HyperVGeneration Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. HyperVGeneration
- com.
- com.
public final class HyperVGeneration
extends ExpandableStringEnum<HyperVGeneration>
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Hyper |
V1
Static value V1 for Hyper |
static final
Hyper |
V2
Static value V2 for Hyper |
Constructor Summary
Constructor | Description |
---|---|
HyperVGeneration() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Hyper |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Hyper |
fromString(String name)
Creates or finds a Hyper |
static
Collection<Hyper |
values()
Gets known Hyper |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
V1
public static final HyperVGeneration V1
Static value V1 for HyperVGeneration.
V2
public static final HyperVGeneration V2
Static value V2 for HyperVGeneration.
Constructor Details
HyperVGeneration
@Deprecated
public HyperVGeneration()
Deprecated
Creates a new instance of HyperVGeneration value.
Method Details
fromString
public static HyperVGeneration fromString(String name)
Creates or finds a HyperVGeneration from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known HyperVGeneration values.
Returns:
Applies to
Azure SDK for Java