locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | azure_extras.oep.locations |
Fields
The following fields are returned by SELECT queries:
- check_name_availability
| Name | Datatype | Description |
|---|---|---|
message | string | Detailed reason why the given name is available. |
nameAvailable | boolean | Indicates if the resource name is available. |
reason | string | The reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
check_name_availability | select | subscription_id | Checks the name availability of the resource with requested resource name. |
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
Checks the name availability of the resource with requested resource name.
SELECT
message,
nameAvailable,
reason
FROM azure_extras.oep.locations
WHERE subscription_id = '{{ subscription_id }}' -- required
;