Class ContainerRegistryAudience
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ContainerRegistryAudience>
com.azure.containers.containerregistry.models.ContainerRegistryAudience
public final class ContainerRegistryAudience
extends com.azure.core.util.ExpandableStringEnum<ContainerRegistryAudience>
Defines values for ContainerRegistryAudience.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContainerRegistryAudience
Audience value used to get management (ARM) token scope for Azure Container Registry in Azure China cloud.static final ContainerRegistryAudience
Deprecated.Germany government cloud is no longer supported.static final ContainerRegistryAudience
Audience value used to get management (ARM) token scope for Azure Container Registry in Azure US government cloud.static final ContainerRegistryAudience
Audience value used to get management (ARM) token scope for Azure Container Registry in Azure public cloud. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContainerRegistryAudience
fromString
(String name) Creates or finds a ContainerRegistryAudience from its string representation.static Collection<ContainerRegistryAudience>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
AZURE_RESOURCE_MANAGER_CHINA
Audience value used to get management (ARM) token scope for Azure Container Registry in Azure China cloud. -
AZURE_RESOURCE_MANAGER_GERMANY
Deprecated.Germany government cloud is no longer supported.Audience value used to get management (ARM) token scope for Azure Container Registry in Azure Germany Germany cloud. -
AZURE_RESOURCE_MANAGER_GOVERNMENT
Audience value used to get management (ARM) token scope for Azure Container Registry in Azure US government cloud. -
AZURE_RESOURCE_MANAGER_PUBLIC_CLOUD
Audience value used to get management (ARM) token scope for Azure Container Registry in Azure public cloud.
-
-
Constructor Details
-
ContainerRegistryAudience
Deprecated.Use thefromString(String)
factory method.Creates a new instance ofContainerRegistryAudience
without aExpandableStringEnum.toString()
value.This constructor shouldn't be called as it will produce a
ContainerRegistryAudience
which doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds a ContainerRegistryAudience from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ContainerRegistryAudience.
-
values
- Returns:
- known ContainerRegistryAudience values.
-