126 строки
11 KiB
YAML
126 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.containerregistry.models.Credentials"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials"
|
|
name: "Credentials"
|
|
nameWithType: "Credentials"
|
|
summary: "The parameters that describes a set of credentials that will be used when a run is invoked."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **Credentials**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.containerregistry.models.Credentials?alt=com.azure.resourcemanager.containerregistry.models.Credentials&text=Credentials\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.Credentials()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.Credentials()"
|
|
name: "Credentials()"
|
|
nameWithType: "Credentials.Credentials()"
|
|
summary: "Creates an instance of Credentials class."
|
|
syntax: "public Credentials()"
|
|
desc: "Creates an instance of Credentials class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.customRegistries()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.customRegistries()"
|
|
name: "customRegistries()"
|
|
nameWithType: "Credentials.customRegistries()"
|
|
summary: "Get the custom<wbr>Registries property: Describes the credential parameters for accessing other custom registries."
|
|
syntax: "public Map<String,CustomRegistryCredentials> customRegistries()"
|
|
desc: "Get the customRegistries property: Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry."
|
|
returns:
|
|
description: "the customRegistries value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.resourcemanager.containerregistry.models.CustomRegistryCredentials?alt=com.azure.resourcemanager.containerregistry.models.CustomRegistryCredentials&text=CustomRegistryCredentials\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "Credentials.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Credentials from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static Credentials fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the Credentials."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of Credentials from the JsonReader."
|
|
returns:
|
|
description: "An instance of Credentials if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.Credentials?alt=com.azure.resourcemanager.containerregistry.models.Credentials&text=Credentials\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.sourceRegistry()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.sourceRegistry()"
|
|
name: "sourceRegistry()"
|
|
nameWithType: "Credentials.sourceRegistry()"
|
|
summary: "Get the source<wbr>Registry property: Describes the credential parameters for accessing the source registry."
|
|
syntax: "public SourceRegistryCredentials sourceRegistry()"
|
|
desc: "Get the sourceRegistry property: Describes the credential parameters for accessing the source registry."
|
|
returns:
|
|
description: "the sourceRegistry value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceRegistryCredentials?alt=com.azure.resourcemanager.containerregistry.models.SourceRegistryCredentials&text=SourceRegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "Credentials.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.validate()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.validate()"
|
|
name: "validate()"
|
|
nameWithType: "Credentials.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.withCustomRegistries(java.util.Map<java.lang.String,com.azure.resourcemanager.containerregistry.models.CustomRegistryCredentials>)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.withCustomRegistries(Map<String,CustomRegistryCredentials> customRegistries)"
|
|
name: "withCustomRegistries(Map<String,CustomRegistryCredentials> customRegistries)"
|
|
nameWithType: "Credentials.withCustomRegistries(Map<String,CustomRegistryCredentials> customRegistries)"
|
|
summary: "Set the custom<wbr>Registries property: Describes the credential parameters for accessing other custom registries."
|
|
parameters:
|
|
- description: "the customRegistries value to set."
|
|
name: "customRegistries"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.resourcemanager.containerregistry.models.CustomRegistryCredentials?alt=com.azure.resourcemanager.containerregistry.models.CustomRegistryCredentials&text=CustomRegistryCredentials\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public Credentials withCustomRegistries(Map<String,CustomRegistryCredentials> customRegistries)"
|
|
desc: "Set the customRegistries property: Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry."
|
|
returns:
|
|
description: "the Credentials object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.Credentials?alt=com.azure.resourcemanager.containerregistry.models.Credentials&text=Credentials\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.Credentials.withSourceRegistry(com.azure.resourcemanager.containerregistry.models.SourceRegistryCredentials)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.Credentials.withSourceRegistry(SourceRegistryCredentials sourceRegistry)"
|
|
name: "withSourceRegistry(SourceRegistryCredentials sourceRegistry)"
|
|
nameWithType: "Credentials.withSourceRegistry(SourceRegistryCredentials sourceRegistry)"
|
|
summary: "Set the source<wbr>Registry property: Describes the credential parameters for accessing the source registry."
|
|
parameters:
|
|
- description: "the sourceRegistry value to set."
|
|
name: "sourceRegistry"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceRegistryCredentials?alt=com.azure.resourcemanager.containerregistry.models.SourceRegistryCredentials&text=SourceRegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Credentials withSourceRegistry(SourceRegistryCredentials sourceRegistry)"
|
|
desc: "Set the sourceRegistry property: Describes the credential parameters for accessing the source registry."
|
|
returns:
|
|
description: "the Credentials object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.Credentials?alt=com.azure.resourcemanager.containerregistry.models.Credentials&text=Credentials\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The parameters that describes a set of credentials that will be used when a run is invoked."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.containerregistry.models.Credentials?alt=com.azure.resourcemanager.containerregistry.models.Credentials&text=Credentials\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.containerregistry.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-containerregistry:2.44.0
|