/// <summary> /// Captures the specified resource group as a template. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='parameters'> /// Parameters for exporting the template. /// </param> public static ResourceGroupExportResult BeginExportTemplate(this IResourceGroupsOperations operations, string resourceGroupName, ExportTemplateRequest parameters) { return(operations.BeginExportTemplateAsync(resourceGroupName, parameters).GetAwaiter().GetResult()); }