Skip to main content

check_name_availabilities

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

Overview

Namecheck_name_availabilities
TypeResource
Idazure.web.check_name_availabilities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
messagestringIf 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.
nameAvailablebooleantrue indicates name is valid and available. false indicates the name is invalid, unavailable, or both.
reasonstringInvalid 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:

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

NameDatatypeDescription
subscription_idstring

SELECT examples

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
;