Condividi tramite


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()

Source:
ContainerRegistry.cs

Initializes a new instance of the ContainerRegistry class.

public ContainerRegistry ();
Public Sub New ()

Applies to

ContainerRegistry(String, String, String, ComputeNodeIdentityReference)

Source:
ContainerRegistry.cs

Initializes a new instance of the ContainerRegistry class.

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