code: public DeploymentValidateResultInner validate(String resourceGroupName, String deploymentName, DeploymentProperties properties) {
          return validateWithServiceResponseAsync(resourceGroupName, deploymentName, properties).toBlocking().single().body();
      }
docs: Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
  
  @param resourceGroupName The name of the resource group the template will be deployed to. The name is case insensitive.
  @param deploymentName The name of the deployment.
  @param properties The deployment properties.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the DeploymentValidateResultInner object if successful.