Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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@2020-02-01-preview' = {
location: 'string'
name: 'string'
sku: {
name: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Maps/accounts
Name | Description | Value |
---|---|---|
location | The location of the resource. | string (required) |
name | The resource name | string (required) |
sku | The SKU of this account. | Sku (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
MapsAccountCreateParametersTags
Name | Description | Value |
---|
Sku
Name | Description | Value |
---|---|---|
name | The name of the SKU, in standard format (such as S0). | string (required) |
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
Azure Maps Account | AVM Resource Module for Azure Maps Account |
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
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. |
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": "2020-02-01-preview",
"name": "string",
"location": "string",
"sku": {
"name": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Maps/accounts
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-02-01-preview' |
location | The location of the resource. | string (required) |
name | The resource name | string (required) |
sku | The SKU of this account. | Sku (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Maps/accounts' |
MapsAccountCreateParametersTags
Name | Description | Value |
---|
Sku
Name | Description | Value |
---|---|---|
name | The name of the SKU, in standard format (such as S0). | string (required) |
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
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. |
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. |
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. |
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@2020-02-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
sku = {
name = "string"
}
}
}
Property Values
Microsoft.Maps/accounts
Name | Description | Value |
---|---|---|
location | The location of the resource. | string (required) |
name | The resource name | string (required) |
sku | The SKU of this account. | Sku (required) |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Maps/accounts@2020-02-01-preview" |
MapsAccountCreateParametersTags
Name | Description | Value |
---|
Sku
Name | Description | Value |
---|---|---|
name | The name of the SKU, in standard format (such as S0). | string (required) |