ContainerRegistryCredentials Constructors
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.
Overloads
ContainerRegistryCredentials(String, String, AuthToken+AcquireCallback, CancellationToken)
public ContainerRegistryCredentials (string aadAccessToken, string loginUrl, Microsoft.Azure.ContainerRegistry.AuthToken.AcquireCallback acquireNewAad = default, System.Threading.CancellationToken cancellationToken = default);
new Microsoft.Azure.ContainerRegistry.ContainerRegistryCredentials : string * string * Microsoft.Azure.ContainerRegistry.AuthToken.AcquireCallback * System.Threading.CancellationToken -> Microsoft.Azure.ContainerRegistry.ContainerRegistryCredentials
Public Sub New (aadAccessToken As String, loginUrl As String, Optional acquireNewAad As AuthToken.AcquireCallback = Nothing, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- aadAccessToken
- String
- loginUrl
- String
- acquireNewAad
- AuthToken.AcquireCallback
- cancellationToken
- CancellationToken
Applies to
ContainerRegistryCredentials(ContainerRegistryCredentials+LoginMode, String, String, String, CancellationToken)
public ContainerRegistryCredentials (Microsoft.Azure.ContainerRegistry.ContainerRegistryCredentials.LoginMode mode, string loginUrl, string username, string password, System.Threading.CancellationToken cancellationToken = default);
new Microsoft.Azure.ContainerRegistry.ContainerRegistryCredentials : Microsoft.Azure.ContainerRegistry.ContainerRegistryCredentials.LoginMode * string * string * string * System.Threading.CancellationToken -> Microsoft.Azure.ContainerRegistry.ContainerRegistryCredentials
Public Sub New (mode As ContainerRegistryCredentials.LoginMode, loginUrl As String, username As String, password As String, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- loginUrl
- String
- username
- String
- password
- String
- cancellationToken
- CancellationToken
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET