Class StorageAccountStrategy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StorageAccountStrategy>
com.azure.resourcemanager.compute.models.StorageAccountStrategy
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class StorageAccountStrategy
extends com.azure.core.util.ExpandableStringEnum<StorageAccountStrategy>
Specifies the strategy to be used when selecting the storage account type. Cannot be specified along with
storageAccountType, but can be overridden per region by specifying targetRegions[].storageAccountType. This property
is not updatable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StorageAccountStrategyStatic value DefaultStandard_LRS for StorageAccountStrategy.static final StorageAccountStrategyStatic value PreferStandard_ZRS for StorageAccountStrategy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageAccountStrategyfromString(String name) Creates or finds a StorageAccountStrategy from its string representation.static Collection<StorageAccountStrategy> values()Gets known StorageAccountStrategy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PREFER_STANDARD_ZRS
Static value PreferStandard_ZRS for StorageAccountStrategy. -
DEFAULT_STANDARD_LRS
Static value DefaultStandard_LRS for StorageAccountStrategy.
-
-
Constructor Details
-
StorageAccountStrategy
Deprecated.Use thefromString(String)factory method.Creates a new instance of StorageAccountStrategy value.
-
-
Method Details
-
fromString
Creates or finds a StorageAccountStrategy from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding StorageAccountStrategy.
-
values
Gets known StorageAccountStrategy values.- Returns:
- known StorageAccountStrategy values.
-
fromString(String)factory method.