check_name_availabilities
Creates, updates, deletes, gets or lists a check_name_availabilities resource.
Overview
| Name | check_name_availabilities |
| Type | Resource |
| Id | azure.web.check_name_availabilities |
Fields
The following fields are returned by SELECT queries:
- check_name_availability
| Name | Datatype | Description |
|---|---|---|
message | string | If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. |
nameAvailable | boolean | true indicates name is valid and available. false indicates the name is invalid, unavailable, or both. |
reason | string | Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. Known values are: "Invalid" and "AlreadyExists". (Invalid, AlreadyExists) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
check_name_availability | select | subscription_id | Check if a resource name is available. Description for Check if a resource name is available. |
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 |
|---|---|---|
subscription_id | string |
SELECT examples
- check_name_availability
Check if a resource name is available. Description for Check if a resource name is available.
SELECT
message,
nameAvailable,
reason
FROM azure.web.check_name_availabilities
WHERE subscription_id = '{{ subscription_id }}' -- required
;