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>
Storage key type: StorageAccessKey or SharedAccessKey.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StorageKeyTypeStatic value SharedAccessKey for StorageKeyType.static final StorageKeyTypeStatic value StorageAccessKey for StorageKeyType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageKeyTypefromString(String name) Creates or finds a StorageKeyType from its string representation.static Collection<StorageKeyType> values()Gets known StorageKeyType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SHARED_ACCESS_KEY
Static value SharedAccessKey for StorageKeyType. -
STORAGE_ACCESS_KEY
Static value StorageAccessKey for StorageKeyType.
-
-
Constructor Details
-
StorageKeyType
Deprecated.Use thefromString(String)factory method.Creates a new instance of StorageKeyType value.
-
-
Method Details
-
fromString
Creates or finds a StorageKeyType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding StorageKeyType.
-
values
Gets known StorageKeyType values.- Returns:
- known StorageKeyType values.
-
fromString(String)factory method.