def regenerate_key_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil)
      regenerate_key_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
    end
def regenerate_key_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil)
      regenerate_key_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
    end
Regenerates the specified account key for the Batch account.

 @param resource_group_name [String] The name of the resource group that
 contains the Batch account.
 @param account_name [String] The name of the account.
 @param parameters [BatchAccountRegenerateKeyParameters] The type of key to
 regenerate.
 @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.