Share via


ContainerRegistry Constructors

Definition

Overloads

ContainerRegistry()

Initializes a new instance of the ContainerRegistry class.

ContainerRegistry(String, String, String, ComputeNodeIdentityReference)

Initializes a new instance of the ContainerRegistry class.

ContainerRegistry()

Initializes a new instance of the ContainerRegistry class.

public ContainerRegistry ();
Public Sub New ()

Applies to

ContainerRegistry(String, String, String, ComputeNodeIdentityReference)

Initializes a new instance of the ContainerRegistry class.

public ContainerRegistry (string userName = default, string password = default, string registryServer = default, Microsoft.Azure.Management.Batch.Models.ComputeNodeIdentityReference identityReference = default);
new Microsoft.Azure.Management.Batch.Models.ContainerRegistry : string * string * string * Microsoft.Azure.Management.Batch.Models.ComputeNodeIdentityReference -> Microsoft.Azure.Management.Batch.Models.ContainerRegistry
Public Sub New (Optional userName As String = Nothing, Optional password As String = Nothing, Optional registryServer As String = Nothing, Optional identityReference As ComputeNodeIdentityReference = Nothing)

Parameters

userName
String

The user name to log into the registry server.

password
String

The password to log into the registry server.

registryServer
String

The registry URL.

identityReference
ComputeNodeIdentityReference

The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password.

Applies to