Class StorageAccountType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StorageAccountType>
com.azure.resourcemanager.compute.models.StorageAccountType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class StorageAccountType
extends com.azure.core.util.ExpandableStringEnum<StorageAccountType>
Specifies the storage account type to be used to store the image. This property is not updatable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StorageAccountTypeStatic value Premium_LRS for StorageAccountType.static final StorageAccountTypeStatic value PremiumV2_LRS for StorageAccountType.static final StorageAccountTypeStatic value Standard_LRS for StorageAccountType.static final StorageAccountTypeStatic value Standard_ZRS for StorageAccountType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageAccountTypefromString(String name) Creates or finds a StorageAccountType from its string representation.static Collection<StorageAccountType> values()Gets known StorageAccountType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
STANDARD_LRS
Static value Standard_LRS for StorageAccountType. -
STANDARD_ZRS
Static value Standard_ZRS for StorageAccountType. -
PREMIUM_LRS
Static value Premium_LRS for StorageAccountType. -
PREMIUM_V2_LRS
Static value PremiumV2_LRS for StorageAccountType.
-
-
Constructor Details
-
StorageAccountType
Deprecated.Use thefromString(String)factory method.Creates a new instance of StorageAccountType value.
-
-
Method Details
-
fromString
Creates or finds a StorageAccountType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding StorageAccountType.
-
values
Gets known StorageAccountType values.- Returns:
- known StorageAccountType values.
-
fromString(String)factory method.