Skip to content

Files

Latest commit

8889211 · Jun 3, 2021

History

History
82 lines (51 loc) · 4.06 KB

how-to-create-template.md

File metadata and controls

82 lines (51 loc) · 4.06 KB
title description author ms.author ms.date ms.topic ms.service
Create your Azure Maps account using an Azure Resource Manager template in Azure Maps
Learn how to create an Azure Maps account using an Azure Resource Manager template.
philmea
philmea
04/27/2021
how-to
azure-maps

Create your Azure Maps account using an ARM template

You can create your Azure Maps account using an Azure Resource Manager (ARM) template. After you have an account, you can implement the APIs in your website or mobile application.

[!INCLUDE About Azure Resource Manager]

If your environment meets the prerequisites and you're familiar with using ARM templates, select the Deploy to Azure button. The template will open in the Azure portal.

Deploy to Azure

Prerequisites

To complete this article:

  • If you don't have an Azure subscription, create a free account before you begin.

Review the template

The template used in this quickstart is from Azure Quickstart Templates.

:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.maps/maps-create/azuredeploy.json":::

The Azure Maps account resource is defined in this template:

Deploy the template

  1. Select the following image to sign in to Azure and open a template. The template creates an Azure Maps account.

    Deploy to Azure

  2. Select or enter the following values.

    ARM template deploy portal

    Unless it's specified, use the default value to create your Azure Maps account.

    • Subscription: select an Azure subscription.
    • Resource group: select Create new, enter a unique name for the resource group, and then click OK.
    • Location: select a location. For example, West US 2.
    • Account Name: enter a name for your Azure Maps account, which must be globally unique.
    • Pricing Tier: select the appropriate pricing tier, the default value for the template is S0.
  3. Select Review + create.

  4. Confirm your settings on the review page and click Create. After your Azure Maps has been deployed successfully, you get a notification:

    ARM template deploy portal notification

The Azure portal is used to deploy your template. You can also use the Azure PowerShell, Azure CLI, and REST API. To learn other deployment methods, see Deploy templates.

Review deployed resources

You can use the Azure portal to check your Azure Maps account and view your keys. You can also use the following Azure CLI script to list your account keys.

az maps account keys list --name MyMapsAccount --resource-group MyResourceGroup

Clean up resources

When no longer needed, delete the resource group, which also deletes the Azure Maps account. To delete the resource group by using Azure CLI:

az group delete --name MyResourceGroup

Next steps

To learn more about Azure Maps and Azure Resource Manager, continue on to the articles below.