다음을 통해 공유


ContainerRegistryCredentials Constructors

Definition

Overloads

ContainerRegistryCredentials(String, String, AuthToken+AcquireCallback, CancellationToken)
ContainerRegistryCredentials(ContainerRegistryCredentials+LoginMode, String, String, String, CancellationToken)

ContainerRegistryCredentials(String, String, AuthToken+AcquireCallback, CancellationToken)

Source:
ContainerRegistryCredentials.cs
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
cancellationToken
CancellationToken

Applies to

ContainerRegistryCredentials(ContainerRegistryCredentials+LoginMode, String, String, String, CancellationToken)

Source:
ContainerRegistryCredentials.cs
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