Skip to main content

check_dns_name_availabilities

Creates, updates, deletes, gets or lists a check_dns_name_availabilities resource.

Overview

Namecheck_dns_name_availabilities
TypeResource
Idazure.network.check_dns_name_availabilities

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_dns_name_availabilityexeclocation, subscription_id, domainNameLabelChecks whether a domain name in the cloudapp.azure.com zone is available for use.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

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

Lifecycle Methods

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

EXEC azure.network.check_dns_name_availabilities.check_dns_name_availability 
@location='{{ location }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@domainNameLabel='{{ domainNameLabel }}' --required
;