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() |
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() |
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
public AccessKeyType()
Method Details
fromString
public static AccessKeyType fromString(String name)
Finds or creates an access key name based on the provided name.
Parameters:
name
- a name
Returns:
a AccessKeyType instance
values
public static Collection
Returns:
known admin user access key names
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java