AccessKeyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. AccessKeyType
- com.
- com.
public class AccessKeyType
extends ExpandableStringEnum<AccessKeyType>
Defines values for admin user access key names.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Access |
PRIMARY
Primary key. |
static final
Access |
SECONDARY
Secondary key. |
Constructor Summary
Constructor | Description |
---|---|
AccessKeyType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Access |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Access |
fromString(String name)
Finds or creates an access key name based on the provided name. |
static
Collection<Access |
values()
Gets known admin user access key names. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIMARY
public static final AccessKeyType PRIMARY
Primary key.
SECONDARY
public static final AccessKeyType SECONDARY
Secondary key.
Constructor Details
AccessKeyType
@Deprecated
public AccessKeyType()
Deprecated
Creates a new instance of AccessKeyType value.
Method Details
fromString
public static AccessKeyType fromString(String name)
Finds or creates an access key name based on the provided name.
Parameters:
Returns:
values
public static Collection
Gets known admin user access key names.
Returns:
Applies to
Azure SDK for Java