---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest"
tags: ["Regions"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest

`POST /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest`

Validate the cluster create request spec is valid or not.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Request body

- ClusterCreateRequestValidationParameters — unresolved $ref

## Response `200`

OK response definition.

- ClusterCreateValidationResult — The response of cluster create request validation.
  - `validationErrors` ValidationErrorInfo[] — The validation errors.
    - `code` string — The error code.
    - `message` string — The error message.
    - `errorResource` string — The error resource.
    - `messageArguments` string[] — The message arguments
  - `validationWarnings` ValidationErrorInfo[] — The validation warnings.
    - `code` string — The error code.
    - `message` string — The error message.
    - `errorResource` string — The error resource.
    - `messageArguments` string[] — The message arguments
  - `estimatedCreationDuration` string, duration — The estimated creation duration.
  - `aaddsResourcesDetails` AaddsResourceDetails[] — The Azure active directory domain service resource details.
    - `domainName` string — The Azure active directory domain service name.
    - `initialSyncComplete` boolean — This indicates whether initial sync complete or not.
    - `ldapsEnabled` boolean — This indicates whether enable ldaps or not.
    - `ldapsPublicCertificateInBase64` string — The base 64 format string of public ldap certificate.
    - `resourceId` string — The resource id of azure active directory domain service.
    - `subnetId` string — The subnet resource id.
    - `tenantId` string — The tenant id of azure active directory domain service .

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2021-02-24** (2018-06-01-preview) `be1f4ff3a4c2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/hdinsightmanagementclient-5/changes/subscriptions/:subscriptionId/providers/Microsoft.HDInsight/locations/:location/validateCreateRequest/post.md)

---

[API](https://skmtc.dev/azure/apis/hdinsightmanagementclient-5.md) · [All operations](https://skmtc.dev/azure/apis/hdinsightmanagementclient-5/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/hdinsightmanagementclient-5/revisions/be1f4ff3a4c2/schema)
