check_name_availabilities
Creates, updates, deletes, gets or lists a check_name_availabilities resource.
Overview
| Name | check_name_availabilities |
| Type | Resource |
| Id | azure.management_groups.check_name_availabilities |
Fields
The following fields are returned by SELECT queries:
- check_name_availability
| Name | Datatype | Description |
|---|---|---|
message | string | Required if nameAvailable == false. Localized. 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 is already in use, and direct them to select a different name. |
nameAvailable | boolean | Required. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both. |
reason | string | Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) 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 | Checks if the specified management group name is valid and unique. |
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 |
|---|
SELECT examples
- check_name_availability
Checks if the specified management group name is valid and unique.
SELECT
message,
nameAvailable,
reason
FROM azure.management_groups.check_name_availabilities
;