Share via


IRegistries.RegenerateCredentialAsync 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
String

The resource group name.

registryName
String

The registry name.

accessKeyType
AccessKeyType

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

cancellationToken
CancellationToken

Returns

Applies to