Checks whether a domain name in the cloudapp.azure.com zone is available for use.

get/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability

Path parameters

locationstring required

The location of the domain name.

Query parameters

domainNameLabelstring required

The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.

Parameters

./network.json#/components/parameters/ApiVersionParameter — unresolved $ref
./network.json#/components/parameters/SubscriptionIdParameter — unresolved $ref

Response

Request successful. Returns whether the DNS name is available.

availableboolean

Domain availability (True/False).

Changes

No recorded changes to this endpoint across all 1 revision of this API.