Class SnapshotSkuType
java.lang.Object
com.microsoft.azure.management.compute.SnapshotSkuType
Defines values for SnapshotSkuType.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SnapshotSkuType
Static value PREMIUM_LRS for SnapshotSkuType.static final SnapshotSkuType
Static value STANDARD_LRS for SnapshotSkuType.static final SnapshotSkuType
Static value STANDARD_ZRS for SnapshotSkuType. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static SnapshotSkuType
fromSnapshotSku
(SnapshotSku snapshotSku) Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.static SnapshotSkuType
Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.int
hashCode()
toString()
static SnapshotSkuType[]
values()
-
Field Details
-
STANDARD_LRS
Static value STANDARD_LRS for SnapshotSkuType. -
PREMIUM_LRS
Static value PREMIUM_LRS for SnapshotSkuType. -
STANDARD_ZRS
Static value STANDARD_ZRS for SnapshotSkuType.
-
-
Method Details
-
values
- Returns:
- predefined snapshot SKU types
-
fromStorageAccountType
Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.- Parameters:
value
- a snapshot SKU type name- Returns:
- the parsed or created snapshot SKU type
-
fromSnapshotSku
Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.- Parameters:
snapshotSku
- a snapshot SKU type name- Returns:
- the parsed or created snapshot SKU type
-
accountType
- Returns:
- the account type associated with the SKU.
-
hashCode
public int hashCode() -
equals
-
toString
-