Microsoft.Maps accounts 2021-07-01-preview
Bicep resource definition
The accounts resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Maps/accounts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Maps/accounts@2021-07-01-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
name: 'string'
}
kind: 'string'
identity: {
type: 'string'
userAssignedIdentities: {}
}
properties: {
disableLocalAuth: bool
linkedResources: [
{
id: 'string'
uniqueName: 'string'
}
]
}
}
Property values
accounts
Name | Description | Value |
---|---|---|
name | The resource name | string (required) Character limit: 1-98 (for resource group name and account name) Valid characters: Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
sku | The SKU of this account. | Sku (required) |
kind | Get or Set Kind property. | 'Gen1' 'Gen2' |
identity | Sets the identity property for maps account. | ManagedServiceIdentity |
properties | The map account properties. | MapsAccountProperties |
ManagedServiceIdentity
Name | Description | Value |
---|---|---|
type | The identity type. | 'None' 'SystemAssigned' 'SystemAssigned, UserAssigned' 'UserAssigned' |
userAssignedIdentities | The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | object |
MapsAccountProperties
Name | Description | Value |
---|---|---|
disableLocalAuth | Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. | bool |
linkedResources | Sets the resources to be used for Managed Identities based operations for the Map account resource. | LinkedResource[] Constraints: Max length = 10 |
LinkedResource
Name | Description | Value |
---|---|---|
id | ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'. | string (required) |
uniqueName | A provided name which uniquely identifies the linked resource. | string (required) |
Sku
Name | Description | Value |
---|---|---|
name | The name of the SKU, in standard format (such as S0). | 'G2' 'S0' 'S1' (required) |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
RBAC - Create Managed Identity Access on Azure Maps account |
This template creates a Managed Identity and assigns it access to an a created Azure Maps account. |
Deploy Azure Maps |
This template deploys and Azure Maps account and lists the primary key. |
Deploy Azure Maps with Azure Maps Creator (Indoor Maps) |
This template deploys and Azure Maps account with the Indoor Maps Creator Feature to allow building Indoor Maps. |
Create Azure Maps SAS token stored in an Azure Key Vault |
This template deploys and Azure Maps account and lists a Sas token based on the provided User Assigned identity to be stored in an Azure Key Vault secret. |
ARM template resource definition
The accounts resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Maps/accounts resource, add the following JSON to your template.
{
"type": "Microsoft.Maps/accounts",
"apiVersion": "2021-07-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"sku": {
"name": "string"
},
"kind": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {}
},
"properties": {
"disableLocalAuth": "bool",
"linkedResources": [
{
"id": "string",
"uniqueName": "string"
}
]
}
}
Property values
accounts
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Maps/accounts' |
apiVersion | The resource api version | '2021-07-01-preview' |
name | The resource name | string (required) Character limit: 1-98 (for resource group name and account name) Valid characters: Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
sku | The SKU of this account. | Sku (required) |
kind | Get or Set Kind property. | 'Gen1' 'Gen2' |
identity | Sets the identity property for maps account. | ManagedServiceIdentity |
properties | The map account properties. | MapsAccountProperties |
ManagedServiceIdentity
Name | Description | Value |
---|---|---|
type | The identity type. | 'None' 'SystemAssigned' 'SystemAssigned, UserAssigned' 'UserAssigned' |
userAssignedIdentities | The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | object |
MapsAccountProperties
Name | Description | Value |
---|---|---|
disableLocalAuth | Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. | bool |
linkedResources | Sets the resources to be used for Managed Identities based operations for the Map account resource. | LinkedResource[] Constraints: Max length = 10 |
LinkedResource
Name | Description | Value |
---|---|---|
id | ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'. | string (required) |
uniqueName | A provided name which uniquely identifies the linked resource. | string (required) |
Sku
Name | Description | Value |
---|---|---|
name | The name of the SKU, in standard format (such as S0). | 'G2' 'S0' 'S1' (required) |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
RBAC - Create Managed Identity Access on Azure Maps account |
This template creates a Managed Identity and assigns it access to an a created Azure Maps account. |
Deploy Azure Maps |
This template deploys and Azure Maps account and lists the primary key. |
Deploy Azure Maps with Azure Maps Creator (Indoor Maps) |
This template deploys and Azure Maps account with the Indoor Maps Creator Feature to allow building Indoor Maps. |
Create Azure Maps SAS token stored in an Azure Key Vault |
This template deploys and Azure Maps account and lists a Sas token based on the provided User Assigned identity to be stored in an Azure Key Vault secret. |
Terraform (AzAPI provider) resource definition
The accounts resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Maps/accounts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Maps/accounts@2021-07-01-preview"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
identity {
type = "string"
identity_ids = []
}
body = jsonencode({
properties = {
disableLocalAuth = bool
linkedResources = [
{
id = "string"
uniqueName = "string"
}
]
}
sku = {
name = "string"
}
kind = "string"
})
}
Property values
accounts
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Maps/accounts@2021-07-01-preview" |
name | The resource name | string (required) Character limit: 1-98 (for resource group name and account name) Valid characters: Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. |
location | The geo-location where the resource lives | string (required) |
parent_id | To deploy to a resource group, use the ID of that resource group. | string (required) |
tags | Resource tags. | Dictionary of tag names and values. |
sku | The SKU of this account. | Sku (required) |
kind | Get or Set Kind property. | "Gen1" "Gen2" |
identity | Sets the identity property for maps account. | ManagedServiceIdentity |
properties | The map account properties. | MapsAccountProperties |
ManagedServiceIdentity
Name | Description | Value |
---|---|---|
type | The identity type. | "SystemAssigned" "SystemAssigned, UserAssigned" "UserAssigned" |
identity_ids | The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | Array of user identity IDs. |
MapsAccountProperties
Name | Description | Value |
---|---|---|
disableLocalAuth | Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. | bool |
linkedResources | Sets the resources to be used for Managed Identities based operations for the Map account resource. | LinkedResource[] Constraints: Max length = 10 |
LinkedResource
Name | Description | Value |
---|---|---|
id | ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'. | string (required) |
uniqueName | A provided name which uniquely identifies the linked resource. | string (required) |
Sku
Name | Description | Value |
---|---|---|
name | The name of the SKU, in standard format (such as S0). | "G2" "S0" "S1" (required) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for