def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil)
      regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value!
    end
def regenerate_credential_with_http_info(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:nil)
      regenerate_credential_async(resource_group_name, registry_name, regenerate_credential_parameters, custom_headers:custom_headers).value!
    end
Regenerates one of the login credentials for the specified container
 registry.

 @param resource_group_name [String] The name of the resource group to which
 the container registry belongs.
 @param registry_name [String] The name of the container registry.
 @param regenerate_credential_parameters [RegenerateCredentialParameters]
 Specifies name of the password which should be regenerated -- password or
 password2.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.