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
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor