Example #1
0
 /// <summary>
 /// Regenerates one of the login credentials for the specified container
 /// registry.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group to which the container registry belongs.
 /// </param>
 /// <param name='registryName'>
 /// The name of the container registry.
 /// </param>
 /// <param name='name'>
 /// Specifies name of the password which should be regenerated -- password or
 /// password2. Possible values include: 'password', 'password2'
 /// </param>
 public static RegistryListCredentialsResult RegenerateCredential(this IRegistriesOperations operations, string resourceGroupName, string registryName, PasswordName name)
 {
     return(operations.RegenerateCredentialAsync(resourceGroupName, registryName, name).GetAwaiter().GetResult());
 }