Skip to main content

check_name_availabilities

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

Overview

Namecheck_name_availabilities
TypeResource
Idazure.management_groups.check_name_availabilities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
messagestringRequired 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.
nameAvailablebooleanRequired. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both.
reasonstringRequired 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:

NameAccessible byRequired ParamsOptional ParamsDescription
check_name_availabilityselectChecks 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.

NameDatatypeDescription

SELECT examples

Checks if the specified management group name is valid and unique.

SELECT
message,
nameAvailable,
reason
FROM azure.management_groups.check_name_availabilities
;