IRegistries.GetCredentialsAsync(String, String, CancellationToken) Method
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.
Gets the login credentials for the specified container registry.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> GetCredentialsAsync (string resourceGroupName, string registryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredentialsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials>
Public Function GetCredentialsAsync (resourceGroupName As String, registryName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IRegistryCredentials)
Parameters
- resourceGroupName
- String
The resource group name.
- registryName
- String
The registry name.
- cancellationToken
- CancellationToken