Class DiskSkuTypes
java.lang.Object
com.microsoft.azure.management.compute.DiskSkuTypes
Defines values for DiskSkuTypes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DiskSkuTypes
Static value PREMIUM_LRS for DiskSkuTypes.static final DiskSkuTypes
Static value STANDARD_LRS for DiskSkuTypes.static final DiskSkuTypes
Static value STANDARD_SSD_LRS for DiskSkuTypes.static final DiskSkuTypes
Static value ULTRA_SSD_LRS for DiskSkuTypes. -
Constructor Summary
ConstructorDescriptionCreates a custom value for DiskSkuTypes. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static DiskSkuTypes
fromDiskSku
(DiskSku diskSku) Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.static DiskSkuTypes
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.int
hashCode()
toString()
static DiskSkuTypes[]
values()
-
Field Details
-
STANDARD_LRS
Static value STANDARD_LRS for DiskSkuTypes. -
PREMIUM_LRS
Static value PREMIUM_LRS for DiskSkuTypes. -
STANDARD_SSD_LRS
Static value STANDARD_SSD_LRS for DiskSkuTypes. -
ULTRA_SSD_LRS
Static value ULTRA_SSD_LRS for DiskSkuTypes.
-
-
Constructor Details
-
DiskSkuTypes
Creates a custom value for DiskSkuTypes.- Parameters:
value
- the custom value
-
-
Method Details
-
values
- Returns:
- predefined disk SKU types
-
fromStorageAccountType
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.- Parameters:
value
- a disk SKU type name- Returns:
- the parsed or created disk SKU type
-
fromDiskSku
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.- Parameters:
diskSku
- a disk SKU type name- Returns:
- the parsed or created disk SKU type
-
accountType
- Returns:
- the account type associated with the SKU.
-
hashCode
public int hashCode() -
equals
-
toString
-