Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idazure_extras.oep.locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
messagestringDetailed reason why the given name is available.
nameAvailablebooleanIndicates if the resource name is available.
reasonstringThe reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists".

Methods

The following methods are available for this resource:

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

NameDatatypeDescription
subscription_idstring

SELECT examples

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
;