@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-07-01
@auth OAuth2
@endpoints 1
@toc subscriptions(1)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability
@desc Checks whether a domain name in the cloudapp.azure.com zone is available for use.
@required {location: any # The location of the domain name., domainNameLabel: any # The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.}
@returns(200) Request successful. Returns whether the DNS name is available.

@end
