Class AccessKeyType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AccessKeyType>
com.azure.resourcemanager.containerregistry.models.AccessKeyType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Defines values for admin user access key names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AccessKeyTypePrimary key.static final AccessKeyTypeSecondary key. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessKeyTypefromString(String name) Finds or creates an access key name based on the provided name.static Collection<AccessKeyType> values()Gets known admin user access key names.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PRIMARY
Primary key. -
SECONDARY
Secondary key.
-
-
Constructor Details
-
AccessKeyType
Deprecated.Use thefromString(String)factory method.Creates a new instance of AccessKeyType value.
-
-
Method Details
-
fromString
Finds or creates an access key name based on the provided name.- Parameters:
name- a name- Returns:
- a AccessKeyType instance
-
values
Gets known admin user access key names.- Returns:
- known admin user access key names
-
fromString(String)factory method.