Class HyperVGeneration
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HyperVGeneration>
com.azure.resourcemanager.compute.models.HyperVGeneration
public final class HyperVGeneration
extends com.azure.core.util.ExpandableStringEnum<HyperVGeneration>
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HyperVGenerationStatic value V1 for HyperVGeneration.static final HyperVGenerationStatic value V2 for HyperVGeneration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HyperVGenerationfromString(String name) Creates or finds a HyperVGeneration from its string representation.static Collection<HyperVGeneration>values()Gets known HyperVGeneration values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
V1
Static value V1 for HyperVGeneration. -
V2
Static value V2 for HyperVGeneration.
-
-
Constructor Details
-
HyperVGeneration
public HyperVGeneration()
-
-
Method Details
-
fromString
Creates or finds a HyperVGeneration from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding HyperVGeneration.
-
values
Gets known HyperVGeneration values.- Returns:
- known HyperVGeneration values.
-