def validate(resource_group_name, deployment_name, parameters, custom_headers:nil)
      response = validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def validate(resource_group_name, deployment_name, parameters, custom_headers:nil)
      response = validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Validate a deployment template.

 @param resource_group_name [String] The name of the resource group. The name
 is case insensitive.
 @param deployment_name [String] The name of the deployment.
 @param parameters [Deployment] Deployment to validate.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [DeploymentValidateResult] operation results.