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 Details

    • PREFER_STANDARD_ZRS

      public static final StorageAccountStrategy PREFER_STANDARD_ZRS
      Static value PreferStandard_ZRS for StorageAccountStrategy.
    • DEFAULT_STANDARD_LRS

      public static final StorageAccountStrategy DEFAULT_STANDARD_LRS
      Static value DefaultStandard_LRS for StorageAccountStrategy.
  • Constructor Details

    • StorageAccountStrategy

      @Deprecated public StorageAccountStrategy()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding StorageAccountStrategy.
    • values

      public static Collection<StorageAccountStrategy> values()
      Gets known StorageAccountStrategy values.
      Returns:
      known StorageAccountStrategy values.