Share via


IRegistries.RegenerateCredential(String, String, AccessKeyType) Method

Definition

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

public Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials RegenerateCredential (string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Fluent.AccessKeyType accessKeyType);
abstract member RegenerateCredential : string * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.AccessKeyType -> Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials
Public Function RegenerateCredential (resourceGroupName As String, registryName As String, accessKeyType As AccessKeyType) As 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.

Returns

Applies to