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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET