Class ComputeResourceType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ComputeResourceType>
-
- com.azure.resourcemanager.compute.models.ComputeResourceType
-
public class ComputeResourceType extends com.azure.core.util.ExpandableStringEnum<ComputeResourceType>
Compute resource types.
-
-
Field Summary
Fields Modifier and Type Field Description static ComputeResourceTypeAVAILABILITYSETSStatic value availabilitySets for ComputeResourceType.static ComputeResourceTypeDISKSStatic value disks for ComputeResourceType.static ComputeResourceTypeSNAPSHOTSStatic value snapshots for ComputeResourceType.static ComputeResourceTypeVIRTUALMACHINESStatic value virtualMachines for ComputeResourceType.
-
Constructor Summary
Constructors Constructor Description ComputeResourceType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComputeResourceTypefromString(String str)Finds or creates compute resource type based on the specified string.static Collection<ComputeResourceType>values()
-
-
-
Field Detail
-
AVAILABILITYSETS
public static final ComputeResourceType AVAILABILITYSETS
Static value availabilitySets for ComputeResourceType.
-
DISKS
public static final ComputeResourceType DISKS
Static value disks for ComputeResourceType.
-
SNAPSHOTS
public static final ComputeResourceType SNAPSHOTS
Static value snapshots for ComputeResourceType.
-
VIRTUALMACHINES
public static final ComputeResourceType VIRTUALMACHINES
Static value virtualMachines for ComputeResourceType.
-
-
Method Detail
-
fromString
public static ComputeResourceType fromString(String str)
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
public static Collection<ComputeResourceType> values()
- Returns:
- known compute resource types
-
-