/// <summary>
 /// Validates whether the specified template is syntactically correct and will
 /// be accepted by Azure Resource Manager..
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group the template will be deployed to. The name
 /// is case insensitive.
 /// </param>
 /// <param name='deploymentName'>
 /// The name of the deployment.
 /// </param>
 /// <param name='parameters'>
 /// Parameters to validate.
 /// </param>
 public static DeploymentValidateResult Validate(this IDeploymentsOperations operations, string resourceGroupName, string deploymentName, Deployment parameters)
 {
     return(operations.ValidateAsync(resourceGroupName, deploymentName, parameters).GetAwaiter().GetResult());
 }