/// <summary>
 /// Exports the template used for specified deployment.
 /// </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='deploymentName'>
 /// The name of the deployment from which to get the template.
 /// </param>
 public static DeploymentExportResult ExportTemplate(this IDeploymentsOperations operations, string resourceGroupName, string deploymentName)
 {
     return(operations.ExportTemplateAsync(resourceGroupName, deploymentName).GetAwaiter().GetResult());
 }