name_availability
Creates, updates, deletes, gets or lists a name_availability resource.
Overview
| Name | name_availability |
| Type | Resource |
| Id | azure_extras.voice_services.name_availability |
Fields
The following fields are returned by SELECT queries:
- check_local
| Name | Datatype | Description |
|---|---|---|
message | string | Detailed reason why the given name is not available. |
nameAvailable | boolean | Indicates if the resource name is available. |
reason | string | The reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
check_local | select | location, subscription_id | Check 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.
| Name | Datatype | Description |
|---|---|---|
location | string | The location in which uniqueness will be verified. Required. |
subscription_id | string |
SELECT examples
- check_local
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
;