def regenerate_key_with_http_info(resource_group_name, domain_name, regenerate_key_request, custom_headers:nil)
      regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers:custom_headers).value!
    end
def regenerate_key_with_http_info(resource_group_name, domain_name, regenerate_key_request, custom_headers:nil)
      regenerate_key_async(resource_group_name, domain_name, regenerate_key_request, custom_headers:custom_headers).value!
    end
Regenerate key for a domain

 Regenerate a shared access key for a domain

 @param resource_group_name [String] The name of the resource group within the
 user's subscription.
 @param domain_name [String] Name of the domain
 @param regenerate_key_request [DomainRegenerateKeyRequest] Request body to
 regenerate key
 @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.