Class SourceRegistryLoginMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SourceRegistryLoginMode>
com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SourceRegistryLoginMode
extends com.azure.core.util.ExpandableStringEnum<SourceRegistryLoginMode>
The authentication mode which determines the source registry login scope. The credentials for the source registry
will be generated using the given scope. These credentials will be used to login to
the source registry during the run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SourceRegistryLoginModeStatic value Default for SourceRegistryLoginMode.static final SourceRegistryLoginModeStatic value None for SourceRegistryLoginMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceRegistryLoginModefromString(String name) Creates or finds a SourceRegistryLoginMode from its string representation.static Collection<SourceRegistryLoginMode> values()Gets known SourceRegistryLoginMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Static value None for SourceRegistryLoginMode. -
DEFAULT
Static value Default for SourceRegistryLoginMode.
-
-
Constructor Details
-
SourceRegistryLoginMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of SourceRegistryLoginMode value.
-
-
Method Details
-
fromString
Creates or finds a SourceRegistryLoginMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SourceRegistryLoginMode.
-
values
Gets known SourceRegistryLoginMode values.- Returns:
- known SourceRegistryLoginMode values.
-
fromString(String)factory method.