Skip to main content

creators

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

Overview

Namecreators
TypeResource
Idazure.maps.creators

Fields

NameDatatypeDescription
accountNametextfield from the properties object
consumed_storage_unit_size_in_bytestextfield from the properties object
creatorNametextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
storage_unitstextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.
total_storage_unit_size_in_bytestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, creatorName, resourceGroupName, subscriptionIdGet a Maps Creator resource.
list_by_accountSELECTaccountName, resourceGroupName, subscriptionIdGet all Creator instances for an Azure Maps Account
create_or_updateINSERTaccountName, creatorName, resourceGroupName, subscriptionId, data__propertiesCreate 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.
deleteDELETEaccountName, creatorName, resourceGroupName, subscriptionIdDelete a Maps Creator resource.
updateUPDATEaccountName, creatorName, resourceGroupName, subscriptionIdUpdates 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

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new creators resource.

/*+ 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 }}'
;

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 }}';