code: public ServiceFuture<ResourceGroupExportResultInner> exportTemplateAsync(String resourceGroupName, ExportTemplateRequest parameters, final ServiceCallback<ResourceGroupExportResultInner> serviceCallback) {
          return ServiceFuture.fromResponse(exportTemplateWithServiceResponseAsync(resourceGroupName, parameters), serviceCallback);
      }
docs: Captures the specified resource group as a template.
  
  @param resourceGroupName The name of the resource group to export as a template.
  @param parameters Parameters for exporting the template.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object