def export_template(resource_group_name, parameters, custom_headers:nil)
      response = export_template_async(resource_group_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def export_template(resource_group_name, parameters, custom_headers:nil)
      response = export_template_async(resource_group_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Captures the specified resource group as a template.

 @param resource_group_name [String] The name of the resource group to be
 created or updated.
 @param parameters [ExportTemplateRequest] Parameters supplied to the export
 template resource group operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ResourceGroupExportResult] operation results.