Credentials Constructors

Definition

Overloads

Credentials()

Initializes a new instance of the Credentials class.

Credentials(SourceRegistryCredentials, IDictionary<String,CustomRegistryCredentials>)

Initializes a new instance of the Credentials class.

Credentials()

Initializes a new instance of the Credentials class.

public Credentials ();
Public Sub New ()

Applies to

Credentials(SourceRegistryCredentials, IDictionary<String,CustomRegistryCredentials>)

Initializes a new instance of the Credentials class.

public Credentials (Microsoft.Azure.Management.ContainerRegistry.Models.SourceRegistryCredentials sourceRegistry = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerRegistry.Models.CustomRegistryCredentials> customRegistries = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Credentials : Microsoft.Azure.Management.ContainerRegistry.Models.SourceRegistryCredentials * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerRegistry.Models.CustomRegistryCredentials> -> Microsoft.Azure.Management.ContainerRegistry.Models.Credentials
Public Sub New (Optional sourceRegistry As SourceRegistryCredentials = Nothing, Optional customRegistries As IDictionary(Of String, CustomRegistryCredentials) = Nothing)

Parameters

sourceRegistry
SourceRegistryCredentials

Describes the credential parameters for accessing the source registry.

customRegistries
IDictionary<String,CustomRegistryCredentials>

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.

Applies to