IRegistries.RegenerateCredentialAsync(String, String, AccessKeyType, CancellationToken) Method

Definition

Regenerates the value for one of the admin user access key for the specified container registry.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> RegenerateCredentialAsync (string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Fluent.AccessKeyType accessKeyType, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateCredentialAsync : string * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.AccessKeyType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials>
Public Function RegenerateCredentialAsync (resourceGroupName As String, registryName As String, accessKeyType As AccessKeyType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IRegistryCredentials)

Parameters

resourceGroupName
System.String

The resource group name.

registryName
System.String

The registry name.

accessKeyType
AccessKeyType

The admin user access key name to regenerate the value for.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IRegistryCredentials>

Applies to