ContainerRegistry Constructor

Definition

Initializes a new instance of the ContainerRegistry class.

public ContainerRegistry (string userName = default, string password = default, string registryServer = default, Microsoft.Azure.Batch.ComputeNodeIdentityReference identityReference = default);
new Microsoft.Azure.Batch.ContainerRegistry : string * string * string * Microsoft.Azure.Batch.ComputeNodeIdentityReference -> Microsoft.Azure.Batch.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