Skip to main content

name_availability

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

Overview

Namename_availability
TypeResource
Idazure_extras.voice_services.name_availability

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
messagestringDetailed reason why the given name is not available.
nameAvailablebooleanIndicates if the resource name is available.
reasonstringThe reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_localselectlocation, subscription_idCheck whether the resource name is available in the given region.

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
locationstringThe location in which uniqueness will be verified. Required.
subscription_idstring

SELECT examples

Check whether the resource name is available in the given region.

SELECT
message,
nameAvailable,
reason
FROM azure_extras.voice_services.name_availability
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;