RegistriesOperationsExtensions.RegenerateCredential 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.
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
Azure SDK for .NET