Class SnapshotSkuType
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SnapshotSkuType
-
public final class SnapshotSkuType extends Object
Defines values for SnapshotSkuType.
-
-
Field Summary
Fields Modifier and Type Field Description static SnapshotSkuTypePREMIUM_LRSStatic value PREMIUM_LRS for SnapshotSkuType.static SnapshotSkuTypeSTANDARD_LRSStatic value STANDARD_LRS for SnapshotSkuType.static SnapshotSkuTypeSTANDARD_ZRSStatic value STANDARD_ZRS for SnapshotSkuType.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotStorageAccountTypesaccountType()booleanequals(Object obj)static SnapshotSkuTypefromSnapshotSku(SnapshotSku snapshotSku)Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.static SnapshotSkuTypefromStorageAccountType(SnapshotStorageAccountTypes value)Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.inthashCode()StringtoString()static SnapshotSkuType[]values()
-
-
-
Field Detail
-
STANDARD_LRS
public static final SnapshotSkuType STANDARD_LRS
Static value STANDARD_LRS for SnapshotSkuType.
-
PREMIUM_LRS
public static final SnapshotSkuType PREMIUM_LRS
Static value PREMIUM_LRS for SnapshotSkuType.
-
STANDARD_ZRS
public static final SnapshotSkuType STANDARD_ZRS
Static value STANDARD_ZRS for SnapshotSkuType.
-
-
Method Detail
-
values
public static SnapshotSkuType[] values()
- Returns:
- predefined snapshot SKU types
-
fromStorageAccountType
public static SnapshotSkuType fromStorageAccountType(SnapshotStorageAccountTypes value)
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
public 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.- Parameters:
snapshotSku- a snapshot SKU type name- Returns:
- the parsed or created snapshot SKU type
-
accountType
public SnapshotStorageAccountTypes accountType()
- Returns:
- the account type associated with the SKU.
-
-