ContainerRegistry Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET