Accounts - Get
Get a Maps Account.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}?api-version=2023-06-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The name of the Maps Account. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful. |
|
Other Status Codes |
An unexpected error occurred. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
GetAccount
Sample request
Sample response
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"location": "eastus",
"kind": "Gen1",
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"tags": {
"test": "true"
},
"sku": {
"name": "S0",
"tier": "Standard"
},
"properties": {
"uniqueId": "string",
"disableLocalAuth": false,
"provisioningState": "Succeeded",
"linkedResources": []
}
}
Definitions
Name | Description |
---|---|
Cors |
Specifies a CORS rule for the Map Account. |
Cors |
Sets the CORS rules. You can include up to five CorsRule elements in the request. |
created |
The type of identity that created the resource. |
customer |
All Customer-managed key encryption properties for the resource. |
encryption |
(Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Identity |
Values can be systemAssignedIdentity or userAssignedIdentity |
Infrastructure |
Values are enabled and disabled. |
Key |
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. |
kind |
Get or Set Kind property. |
Linked |
Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource |
Managed |
Managed service identity (system assigned and/or user assigned identities) |
Managed |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
Maps |
An Azure resource which represents access to a suite of Maps REST APIs. |
Maps |
Additional Map account properties |
name |
The name of the SKU, in standard format (such as S0). |
Sku |
The SKU of the Maps Account. |
system |
Metadata pertaining to creation and last modification of the resource. |
User |
User assigned identity properties |
CorsRule
Specifies a CORS rule for the Map Account.
Name | Type | Description |
---|---|---|
allowedOrigins |
string[] |
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains |
CorsRules
Sets the CORS rules. You can include up to five CorsRule elements in the request.
Name | Type | Description |
---|---|---|
corsRules |
Cors |
The list of CORS rules. You can include up to five CorsRule elements in the request. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
customerManagedKeyEncryption
All Customer-managed key encryption properties for the resource.
Name | Type | Description |
---|---|---|
keyEncryptionKeyIdentity |
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. |
|
keyEncryptionKeyUrl |
string |
key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. |
encryption
(Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled.
Name | Type | Description |
---|---|---|
customerManagedKeyEncryption |
All Customer-managed key encryption properties for the resource. |
|
infrastructureEncryption |
Values are enabled and disabled. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
IdentityType
Values can be systemAssignedIdentity or userAssignedIdentity
Name | Type | Description |
---|---|---|
delegatedResourceIdentity |
string |
|
systemAssignedIdentity |
string |
|
userAssignedIdentity |
string |
InfrastructureEncryption
Values are enabled and disabled.
Name | Type | Description |
---|---|---|
disabled |
string |
|
enabled |
string |
KeyEncryptionKeyIdentity
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Name | Type | Description |
---|---|---|
delegatedIdentityClientId |
string |
delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. |
identityType |
Values can be systemAssignedIdentity or userAssignedIdentity |
|
userAssignedIdentityResourceId |
string |
user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. |
kind
Get or Set Kind property.
Name | Type | Description |
---|---|---|
Gen1 |
string |
|
Gen2 |
string |
LinkedResource
Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource uniqueName
value as an optional parameter for operations on Azure Maps Geospatial REST APIs.
Name | Type | Description |
---|---|---|
id |
string |
ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'. |
uniqueName |
string |
A provided name which uniquely identifies the linked resource. |
ManagedServiceIdentity
Managed service identity (system assigned and/or user assigned identities)
Name | Type | Description |
---|---|---|
principalId |
string |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
tenantId |
string |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
|
userAssignedIdentities |
<string,
User |
User-Assigned Identities |
ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
Name | Type | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
SystemAssigned, UserAssigned |
string |
|
UserAssigned |
string |
MapsAccount
An Azure resource which represents access to a suite of Maps REST APIs.
Name | Type | Default value | Description |
---|---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
identity |
Managed service identity (system assigned and/or user assigned identities) |
||
kind | Gen1 |
Get or Set Kind property. |
|
location |
string |
The geo-location where the resource lives |
|
name |
string |
The name of the resource |
|
properties |
The map account properties. |
||
sku |
The SKU of this account. |
||
systemData |
Metadata pertaining to creation and last modification of the resource. |
||
tags |
object |
Resource tags. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
MapsAccountProperties
Additional Map account properties
Name | Type | Default value | Description |
---|---|---|---|
cors |
Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. |
||
disableLocalAuth |
boolean |
False |
Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys and Shared Access Signature Token authentication from any usage. |
encryption |
(Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled. |
||
linkedResources |
The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s). |
||
provisioningState |
string |
The provisioning state of the Map account resource, Account updates can only be performed on terminal states. Terminal states: |
|
uniqueId |
string |
A unique identifier for the maps account |
name
The name of the SKU, in standard format (such as S0).
Name | Type | Description |
---|---|---|
G2 |
string |
|
S0 |
string |
|
S1 |
string |
Sku
The SKU of the Maps Account.
Name | Type | Description |
---|---|---|
name |
The name of the SKU, in standard format (such as S0). |
|
tier |
string |
Gets the sku tier. This is based on the SKU name. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
UserAssignedIdentity
User assigned identity properties
Name | Type | Description |
---|---|---|
clientId |
string |
The client ID of the assigned identity. |
principalId |
string |
The principal ID of the assigned identity. |