다음을 통해 공유


RegistriesOperationsExtensions.RegenerateCredential Method

Definition

Regenerates one of the login credentials for the specified container registry.

public static Microsoft.Azure.Management.ContainerRegistry.Models.RegistryListCredentialsResult RegenerateCredential (this Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations operations, string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Models.PasswordName name);
static member RegenerateCredential : Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.PasswordName -> Microsoft.Azure.Management.ContainerRegistry.Models.RegistryListCredentialsResult
<Extension()>
Public Function RegenerateCredential (operations As IRegistriesOperations, resourceGroupName As String, registryName As String, name As PasswordName) As RegistryListCredentialsResult

Parameters

operations
IRegistriesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

registryName
String

The name of the container registry.

name
PasswordName

Specifies name of the password which should be regenerated -- password or password2. Possible values include: 'password', 'password2'

Returns

Applies to