Skip to main content

check_name_availability_with_subscriptions

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

Overview

Namecheck_name_availability_with_subscriptions
TypeResource
Idazure.cdn.check_name_availability_with_subscriptions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
messagestringThe detailed error message describing why the name is not available.
nameAvailablebooleanIndicates whether the name is available.
reasonstringThe reason why the name is not available.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_name_availability_with_subscriptionselectsubscription_idCheck the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

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
subscription_idstring

SELECT examples

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

SELECT
message,
nameAvailable,
reason
FROM azure.cdn.check_name_availability_with_subscriptions
WHERE subscription_id = '{{ subscription_id }}' -- required
;