Microsoft.Maps accounts 2020-02-01-preview

Bicep resource definition

The accounts resource type can be deployed with operations that target:

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' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: '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 location of the resource. string (required)
tags Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Dictionary of tag names and values. See Tags in templates
sku The SKU of this account. Sku (required)

Sku

Name Description Value
name The name of the SKU, in standard format (such as S0). string (required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
RBAC - Create Managed Identity Access on Azure Maps account

Deploy to Azure
This template creates a Managed Identity and assigns it access to an a created Azure Maps account.
Deploy Azure Maps

Deploy to Azure
This template deploys and Azure Maps account and lists the primary key.
Deploy Azure Maps with Azure Maps Creator (Indoor Maps)

Deploy to Azure
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

Deploy to Azure
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:

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",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string"
  }
}

Property values

accounts

Name Description Value
type The resource type 'Microsoft.Maps/accounts'
apiVersion The resource api version '2020-02-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 location of the resource. string (required)
tags Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Dictionary of tag names and values. See Tags in templates
sku The SKU of this account. Sku (required)

Sku

Name Description Value
name The name of the SKU, in standard format (such as S0). string (required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
RBAC - Create Managed Identity Access on Azure Maps account

Deploy to Azure
This template creates a Managed Identity and assigns it access to an a created Azure Maps account.
Deploy Azure Maps

Deploy to Azure
This template deploys and Azure Maps account and lists the primary key.
Deploy Azure Maps with Azure Maps Creator (Indoor Maps)

Deploy to Azure
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

Deploy to Azure
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@2020-02-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    sku = {
      name = "string"
    }
  })
}

Property values

accounts

Name Description Value
type The resource type "Microsoft.Maps/accounts@2020-02-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 location of the resource. string (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Dictionary of tag names and values.
sku The SKU of this account. Sku (required)

Sku

Name Description Value
name The name of the SKU, in standard format (such as S0). string (required)