creators
Creates, updates, deletes, gets or lists a creators
resource.
Overview
Name | creators |
Type | Resource |
Id | azure.maps.creators |
Fields
- vw_creators
- creators
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
consumed_storage_unit_size_in_bytes | text | field from the properties object |
creatorName | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
storage_units | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
total_storage_unit_size_in_bytes | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Creator resource properties |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, creatorName, resourceGroupName, subscriptionId | Get a Maps Creator resource. |
list_by_account | SELECT | accountName, resourceGroupName, subscriptionId | Get all Creator instances for an Azure Maps Account |
create_or_update | INSERT | accountName, creatorName, resourceGroupName, subscriptionId, data__properties | Create or update a Maps Creator resource. Creator resource will manage Azure resources required to populate a custom set of mapping data. It requires an account to exist before it can be created. |
delete | DELETE | accountName, creatorName, resourceGroupName, subscriptionId | Delete a Maps Creator resource. |
update | UPDATE | accountName, creatorName, resourceGroupName, subscriptionId | Updates the Maps Creator resource. Only a subset of the parameters may be updated after creation, such as Tags. |
SELECT
examples
Get all Creator instances for an Azure Maps Account
- vw_creators
- creators
SELECT
accountName,
consumed_storage_unit_size_in_bytes,
creatorName,
location,
provisioning_state,
resourceGroupName,
storage_units,
subscriptionId,
system_data,
tags,
total_storage_unit_size_in_bytes
FROM azure.maps.vw_creators
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
systemData,
tags
FROM azure.maps.creators
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new creators
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.maps.creators (
accountName,
creatorName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ accountName }}',
'{{ creatorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: storageUnits
value: integer
- name: totalStorageUnitSizeInBytes
value: integer
- name: consumedStorageUnitSizeInBytes
value: integer
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a creators
resource.
/*+ update */
UPDATE azure.maps.creators
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND creatorName = '{{ creatorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified creators
resource.
/*+ delete */
DELETE FROM azure.maps.creators
WHERE accountName = '{{ accountName }}'
AND creatorName = '{{ creatorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';