Azure Maps Account
This page shows how to write Terraform and Azure Resource Manager for Maps Account and write them securely.
azurerm_maps_account (Terraform)
The Account in Maps can be configured in Terraform with the resource name azurerm_maps_account
. The following sections describe 5 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_maps_account" "map" {
name = var.maps_name
resource_group_name = azurerm_resource_group.rg.name
sku_name = var.maps_sku
tags = var.tags
resource "azurerm_maps_account" "map" {
name = var.maps_name
resource_group_name = azurerm_resource_group.rg.name
sku_name = var.maps_sku
tags = var.tags
resource "azurerm_maps_account" "example" {
name = "example-maps-account"
resource_group_name = azurerm_resource_group.example.name
sku_name = "S1"
tags = {
resource "azurerm_maps_account" "this" {
name = var.name
resource_group_name = var.resource_group_name
sku_name = var.sku_name
tags = var.tags
resource "azurerm_maps_account" "this" {
name = var.name
resource_group_name = var.resource_group_name
sku_name = var.sku_name
tags = var.tags
Parameters
-
id
optional computed - string -
name
required - string -
primary_access_key
optional computed - string -
resource_group_name
required - string -
secondary_access_key
optional computed - string -
sku_name
required - string -
tags
optional - map from string to string -
x_ms_client_id
optional computed - string -
timeouts
single block
Explanation in Terraform Registry
Manages an Azure Maps Account.
Microsoft.Maps/accounts (Azure Resource Manager)
The accounts in Microsoft.Maps can be configured in Azure Resource Manager with the resource name Microsoft.Maps/accounts
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
"type": "Microsoft.Maps/accounts",
"location": "global",
"tags": {
"test": "true"
},
"sku": {
Parameters
apiVersion
required - stringkind
optional - stringGet or Set Kind property.
location
required - stringThe geo-location where the resource lives
name
required - stringThe name of the Maps Account.
properties
requireddisableLocalAuth
optional - booleanAllows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
sku
requiredname
required - stringThe name of the SKU, in standard format (such as S0).
tags
optional - stringResource tags.
type
required - string
Frequently asked questions
What is Azure Maps Account?
Azure Maps Account is a resource for Maps of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Maps Account?
For Terraform, the Manuss20/trackmverse, Manuss20/azure.samples and dmaxim/wimc-net source code examples are useful. See the Terraform Example section for further details.
For Azure Resource Manager, the vladbarosan/azure-rest-api-specs-1, vladbarosan/azure-rest-api-specs-1 and assing/alerts-extension source code examples are useful. See the Azure Resource Manager Example section for further details.