Skip to main content

creators

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

Overview

Namecreators
TypeResource
Idazure.maps.creators

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
consumedStorageUnitSizeInBytesintegerThe consumed storage unit size in bytes for the creator resource.
locationstringThe geo-location where the resource lives. Required.
provisioningStatestringThe state of the resource provisioning, terminal states: Succeeded, Failed, Canceled.
storageUnitsintegerThe storage units to be allocated. Integer values from 1 to 100, inclusive. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
totalStorageUnitSizeInBytesintegerThe total allocated storage unit size in bytes for the creator resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, account_name, creator_name, subscription_idGet a Maps Creator resource.
list_by_accountselectresource_group_name, account_name, subscription_idGet all Creator instances for an Azure Maps Account.
create_or_updateinsertresource_group_name, account_name, creator_name, subscription_id, location, 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.
updateupdateresource_group_name, account_name, creator_name, subscription_idUpdates the Maps Creator resource. Only a subset of the parameters may be updated after creation, such as Tags.
create_or_updatereplaceresource_group_name, account_name, creator_name, subscription_id, location, 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.
deletedeleteresource_group_name, account_name, creator_name, subscription_idDelete a Maps Creator resource.

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
account_namestringThe name of the Maps Account. Required.
creator_namestringThe name of the Maps Creator instance. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a Maps Creator resource.

SELECT
id,
name,
consumedStorageUnitSizeInBytes,
location,
provisioningState,
storageUnits,
systemData,
tags,
totalStorageUnitSizeInBytes,
type
FROM azure.maps.creators
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND creator_name = '{{ creator_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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.

INSERT INTO azure.maps.creators (
tags,
location,
properties,
resource_group_name,
account_name,
creator_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ creator_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Updates the Maps Creator resource. Only a subset of the parameters may be updated after creation, such as Tags.

UPDATE azure.maps.creators
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND creator_name = '{{ creator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

REPLACE examples

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.

REPLACE azure.maps.creators
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND creator_name = '{{ creator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a Maps Creator resource.

DELETE FROM azure.maps.creators
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND creator_name = '{{ creator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;