azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.a...

174 строки
13 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials"
name: "RegistryCredentials"
nameWithType: "RegistryCredentials"
summary: "Container App Private Registry."
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 **RegistryCredentials**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.RegistryCredentials()"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.RegistryCredentials()"
name: "RegistryCredentials()"
nameWithType: "RegistryCredentials.RegistryCredentials()"
summary: "Creates an instance of Registry<wbr>Credentials class."
syntax: "public RegistryCredentials()"
desc: "Creates an instance of RegistryCredentials class."
methods:
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "RegistryCredentials.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Registry<wbr>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 RegistryCredentials fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the RegistryCredentials."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of RegistryCredentials from the JsonReader."
returns:
description: "An instance of RegistryCredentials 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.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.identity()"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.identity()"
name: "identity()"
nameWithType: "RegistryCredentials.identity()"
summary: "Get the identity property: A Managed Identity to use to authenticate with Azure Container Registry."
syntax: "public String identity()"
desc: "Get the identity property: A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'."
returns:
description: "the identity value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.passwordSecretRef()"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.passwordSecretRef()"
name: "passwordSecretRef()"
nameWithType: "RegistryCredentials.passwordSecretRef()"
summary: "Get the password<wbr>Secret<wbr>Ref property: The name of the Secret that contains the registry login password."
syntax: "public String passwordSecretRef()"
desc: "Get the passwordSecretRef property: The name of the Secret that contains the registry login password."
returns:
description: "the passwordSecretRef value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.server()"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.server()"
name: "server()"
nameWithType: "RegistryCredentials.server()"
summary: "Get the server property: Container Registry Server."
syntax: "public String server()"
desc: "Get the server property: Container Registry Server."
returns:
description: "the server value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "RegistryCredentials.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.appcontainers.models.RegistryCredentials.username()"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.username()"
name: "username()"
nameWithType: "RegistryCredentials.username()"
summary: "Get the username property: Container Registry Username."
syntax: "public String username()"
desc: "Get the username property: Container Registry Username."
returns:
description: "the username value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.validate()"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.validate()"
name: "validate()"
nameWithType: "RegistryCredentials.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withIdentity(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withIdentity(String identity)"
name: "withIdentity(String identity)"
nameWithType: "RegistryCredentials.withIdentity(String identity)"
summary: "Set the identity property: A Managed Identity to use to authenticate with Azure Container Registry."
parameters:
- description: "the identity value to set."
name: "identity"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public RegistryCredentials withIdentity(String identity)"
desc: "Set the identity property: A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'."
returns:
description: "the RegistryCredentials object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withPasswordSecretRef(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withPasswordSecretRef(String passwordSecretRef)"
name: "withPasswordSecretRef(String passwordSecretRef)"
nameWithType: "RegistryCredentials.withPasswordSecretRef(String passwordSecretRef)"
summary: "Set the password<wbr>Secret<wbr>Ref property: The name of the Secret that contains the registry login password."
parameters:
- description: "the passwordSecretRef value to set."
name: "passwordSecretRef"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public RegistryCredentials withPasswordSecretRef(String passwordSecretRef)"
desc: "Set the passwordSecretRef property: The name of the Secret that contains the registry login password."
returns:
description: "the RegistryCredentials object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withServer(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withServer(String server)"
name: "withServer(String server)"
nameWithType: "RegistryCredentials.withServer(String server)"
summary: "Set the server property: Container Registry Server."
parameters:
- description: "the server value to set."
name: "server"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public RegistryCredentials withServer(String server)"
desc: "Set the server property: Container Registry Server."
returns:
description: "the RegistryCredentials object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withUsername(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.RegistryCredentials.withUsername(String username)"
name: "withUsername(String username)"
nameWithType: "RegistryCredentials.withUsername(String username)"
summary: "Set the username property: Container Registry Username."
parameters:
- description: "the username value to set."
name: "username"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public RegistryCredentials withUsername(String username)"
desc: "Set the username property: Container Registry Username."
returns:
description: "the RegistryCredentials object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Container App Private Registry."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.appcontainers.models.RegistryCredentials?alt=com.azure.resourcemanager.appcontainers.models.RegistryCredentials&text=RegistryCredentials\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.appcontainers.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appcontainers:1.0.0