Class ComputeResourceType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ComputeResourceType>
com.azure.resourcemanager.compute.models.ComputeResourceType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public class ComputeResourceType
extends com.azure.core.util.ExpandableStringEnum<ComputeResourceType>
Compute resource types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComputeResourceTypeStatic value availabilitySets for ComputeResourceType.static final ComputeResourceTypeStatic value disks for ComputeResourceType.static final ComputeResourceTypeStatic value snapshots for ComputeResourceType.static final ComputeResourceTypeStatic value virtualMachines for ComputeResourceType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputeResourceTypefromString(String str) Finds or creates compute resource type based on the specified string.static Collection<ComputeResourceType> values()Gets known compute resource types.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AVAILABILITYSETS
Static value availabilitySets for ComputeResourceType. -
DISKS
Static value disks for ComputeResourceType. -
SNAPSHOTS
Static value snapshots for ComputeResourceType. -
VIRTUALMACHINES
Static value virtualMachines for ComputeResourceType.
-
-
Constructor Details
-
ComputeResourceType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ComputeResourceType value.
-
-
Method Details
-
fromString
Finds or creates compute resource type based on the specified string.- Parameters:
str- the compute resource type in string format- Returns:
- an instance of ComputeResourceType
-
values
Gets known compute resource types.- Returns:
- known compute resource types
-
fromString(String)factory method.