### YamlMime:JavaType
uid: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode"
fullName: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode"
name: "SourceRegistryLoginMode"
nameWithType: "SourceRegistryLoginMode"
summary: "The authentication mode which determines the source registry login scope."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- "fromString(java.lang.String,java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.fromString&text=fromString\" data-throw-if-not-resolved=\"False\" />"
- "values(java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.values&text=values\" data-throw-if-not-resolved=\"False\" />"
- ""
- ""
- ""
- ""
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "finalize"
- "getClass"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
syntax: "public final class **SourceRegistryLoginMode** extends <>"
constructors:
- uid: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.SourceRegistryLoginMode()"
fullName: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.SourceRegistryLoginMode()"
name: "SourceRegistryLoginMode()"
nameWithType: "SourceRegistryLoginMode.SourceRegistryLoginMode()"
summary: "Creates a new instance of SourceRegistryLoginMode value."
deprecatedTag: "Use the factory method."
syntax: "@Deprecatedpublic SourceRegistryLoginMode()"
desc: "Creates a new instance of SourceRegistryLoginMode value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.DEFAULT"
fullName: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.DEFAULT"
name: "DEFAULT"
nameWithType: "SourceRegistryLoginMode.DEFAULT"
summary: "Static value Default for SourceRegistryLoginMode."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final SourceRegistryLoginMode DEFAULT"
desc: "Static value Default for SourceRegistryLoginMode."
- uid: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.NONE"
fullName: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.NONE"
name: "NONE"
nameWithType: "SourceRegistryLoginMode.NONE"
summary: "Static value None for SourceRegistryLoginMode."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final SourceRegistryLoginMode NONE"
desc: "Static value None for SourceRegistryLoginMode."
methods:
- uid: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.fromString(String name)"
name: "fromString(String name)"
nameWithType: "SourceRegistryLoginMode.fromString(String name)"
summary: "Creates or finds a SourceRegistryLoginMode from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "String"
syntax: "public static SourceRegistryLoginMode fromString(String name)"
desc: "Creates or finds a SourceRegistryLoginMode from its string representation."
returns:
description: "the corresponding SourceRegistryLoginMode."
type: ""
- uid: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.values()"
fullName: "com.azure.resourcemanager.containerregistry.models.SourceRegistryLoginMode.values()"
name: "values()"
nameWithType: "SourceRegistryLoginMode.values()"
summary: "Gets known SourceRegistryLoginMode values."
modifiers:
- "static"
syntax: "public static Collection values()"
desc: "Gets known SourceRegistryLoginMode values."
returns:
description: "known SourceRegistryLoginMode values."
type: "Collection<>"
type: "class"
desc: "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."
metadata: {}
package: "com.azure.resourcemanager.containerregistry.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerregistry:2.44.0