Microsoft.Maps accounts 2021-02-01

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@2021-02-01' = {
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    disableLocalAuth: bool
  }
  sku: {
    name: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

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

Microsoft.Maps/accounts

Name Description Value
kind Get or Set Kind property. 'Gen1'
'Gen2'
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties The map account properties. MapsAccountProperties
sku The SKU of this account. Sku (required)
tags Resource tags. TrackedResourceTags

Sku

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

TrackedResourceTags

Name Description Value

Quickstart samples

The following quickstart samples deploy 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:

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-02-01",
  "name": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "disableLocalAuth": "bool"
  },
  "sku": {
    "name": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

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

Microsoft.Maps/accounts

Name Description Value
type The resource type 'Microsoft.Maps/accounts'
kind Get or Set Kind property. 'Gen1'
'Gen2'
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties The map account properties. MapsAccountProperties
sku The SKU of this account. Sku (required)
tags Resource tags. TrackedResourceTags

Sku

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

TrackedResourceTags

Name Description Value

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
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.
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.
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.

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-02-01"
  name = "string"
  kind = "string"
  location = "string"
  body = jsonencode({
    properties = {
      disableLocalAuth = bool
    }
  })
  sku = {
    name = "string"
  }
  tags = {
    {customized property} = "string"
  }
}

Property values

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

Microsoft.Maps/accounts

Name Description Value
type The resource type "Microsoft.Maps/accounts@2021-02-01"
kind Get or Set Kind property. 'Gen1'
'Gen2'
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties The map account properties. MapsAccountProperties
sku The SKU of this account. Sku (required)
tags Resource tags. TrackedResourceTags

Sku

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

TrackedResourceTags

Name Description Value