StorageAccountStrategy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. StorageAccountStrategy
- com.
- com.
public final class StorageAccountStrategy
extends 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
| Modifier and Type | Field and Description |
|---|---|
|
static final
Storage |
DEFAULT_STANDARD_LRS
Static value Default |
|
static final
Storage |
PREFER_STANDARD_ZRS
Static value Prefer |
Constructor Summary
| Constructor | Description |
|---|---|
| StorageAccountStrategy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromString(String name)
Creates or finds a Storage |
|
static
Collection<Storage |
values()
Gets known Storage |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEFAULT_STANDARD_LRS
public static final StorageAccountStrategy DEFAULT_STANDARD_LRS
Static value DefaultStandard_LRS for StorageAccountStrategy.
PREFER_STANDARD_ZRS
public static final StorageAccountStrategy PREFER_STANDARD_ZRS
Static value PreferStandard_ZRS for StorageAccountStrategy.
Constructor Details
StorageAccountStrategy
@Deprecated
public StorageAccountStrategy()
Deprecated
Creates a new instance of StorageAccountStrategy value.
Method Details
fromString
public static StorageAccountStrategy fromString(String name)
Creates or finds a StorageAccountStrategy from its string representation.
Parameters:
Returns:
values
public static Collection<StorageAccountStrategy> values()
Gets known StorageAccountStrategy values.
Returns: