check_endpoint_name_availabilities
Creates, updates, deletes, gets or lists a check_endpoint_name_availabilities resource.
Overview
| Name | check_endpoint_name_availabilities |
| Type | Resource |
| Id | azure.cdn.check_endpoint_name_availabilities |
Fields
The following fields are returned by SELECT queries:
- check_endpoint_name_availability
| Name | Datatype | Description |
|---|---|---|
availableHostname | string | Returns the available hostname generated based on the AutoGeneratedDomainNameLabelScope when the name is available, otherwise it returns empty string. |
message | string | The detailed error message describing why the name is not available. |
nameAvailable | boolean | Indicates whether the name is available. |
reason | string | The reason why the name is not available. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
check_endpoint_name_availability | select | resource_group_name, subscription_id | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. |
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 |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- check_endpoint_name_availability
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
SELECT
availableHostname,
message,
nameAvailable,
reason
FROM azure.cdn.check_endpoint_name_availabilities
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;