code: public Observable<ResourceGroupExportResultInner> exportTemplateAsync(String resourceGroupName, ExportTemplateRequest parameters) {
          return exportTemplateWithServiceResponseAsync(resourceGroupName, parameters).map(new Func1<ServiceResponse<ResourceGroupExportResultInner>, ResourceGroupExportResultInner>() {
              @Override
              public ResourceGroupExportResultInner call(ServiceResponse<ResourceGroupExportResultInner> response) {
                  return response.body();
              }
          });
      }
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.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ResourceGroupExportResultInner object