Class StorageKeyType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<StorageKeyType>
com.azure.resourcemanager.sql.models.StorageKeyType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class StorageKeyType extends com.azure.core.util.ExpandableStringEnum<StorageKeyType>
Storage key type: StorageAccessKey or SharedAccessKey.
  • Field Details

    • SHARED_ACCESS_KEY

      public static final StorageKeyType SHARED_ACCESS_KEY
      Static value SharedAccessKey for StorageKeyType.
    • STORAGE_ACCESS_KEY

      public static final StorageKeyType STORAGE_ACCESS_KEY
      Static value StorageAccessKey for StorageKeyType.
  • Constructor Details

    • StorageKeyType

      @Deprecated public StorageKeyType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of StorageKeyType value.
  • Method Details

    • fromString

      public static StorageKeyType fromString(String name)
      Creates or finds a StorageKeyType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding StorageKeyType.
    • values

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