Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 6bc6d57

Browse files
authored
Maps Microsoft.Maps 2024 01 01 preview (Azure#27274)
* Adds base for updating Microsoft.Maps from version preview/2023-12-01-preview to version 2024-01-01-preview * Updates readme * Updates API version in new specs and examples * Add account locations * Update examples * Improve description --------- Co-authored-by: Gigi Grajo <[email protected]>
1 parent a9fb3fa commit 6bc6d57

28 files changed

+2928
-2
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"MapsAccountSasParameters": {
8+
"signingKey": "primaryKey",
9+
"principalId": "e917f87b-324d-4728-98ed-e31d311a7d65",
10+
"regions": [
11+
"eastus"
12+
],
13+
"maxRatePerSecond": 500,
14+
"start": "2017-05-24T10:42:03.1567373Z",
15+
"expiry": "2017-05-24T11:42:03.1567373Z"
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"accountSasToken": "accountSasToken"
22+
}
23+
}
24+
}
25+
}
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"MapsAccount": {
8+
"location": "eastus",
9+
"sku": {
10+
"name": "G2"
11+
},
12+
"kind": "Gen2",
13+
"identity": {
14+
"type": "UserAssigned",
15+
"userAssignedIdentities": {
16+
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {}
17+
}
18+
},
19+
"properties": {
20+
"encryption": {
21+
"customerManagedKeyEncryption": {
22+
"keyEncryptionKeyIdentity": {
23+
"identityType": "userAssignedIdentity",
24+
"userAssignedIdentityResourceId": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName"
25+
},
26+
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek"
27+
}
28+
}
29+
}
30+
}
31+
},
32+
"responses": {
33+
"200": {
34+
"body": {
35+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
36+
"name": "myMapsAccount",
37+
"type": "Microsoft.Maps/accounts",
38+
"kind": "Gen2",
39+
"location": "eastus",
40+
"tags": {
41+
"test": "true"
42+
},
43+
"systemData": {
44+
"createdBy": "string",
45+
"createdByType": "Application",
46+
"createdAt": "2021-07-02T01:01:01.1075056Z",
47+
"lastModifiedBy": "string",
48+
"lastModifiedByType": "Application",
49+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
50+
},
51+
"sku": {
52+
"name": "G2",
53+
"tier": "Standard"
54+
},
55+
"identity": {
56+
"type": "UserAssigned",
57+
"principalId": "77f72dac-e0aa-484e-9acd-e5e7075310ef",
58+
"tenantId": "06006684-60c1-4954-a20c-ffd8fbea7276",
59+
"userAssignedIdentities": {
60+
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {
61+
"clientId": "b602d315-01b5-4265-af23-859edc4f2431",
62+
"principalId": "ac287332-364a-41d9-a567-9ad86b9fc299"
63+
}
64+
}
65+
},
66+
"properties": {
67+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
68+
"provisioningState": "Succeeded",
69+
"encryption": {
70+
"customerManagedKeyEncryption": {
71+
"keyEncryptionKeyIdentity": {
72+
"identityType": "userAssignedIdentity",
73+
"userAssignedIdentityResourceId": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName"
74+
},
75+
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek"
76+
}
77+
}
78+
}
79+
}
80+
},
81+
"201": {
82+
"body": {
83+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
84+
"name": "myMapsAccount",
85+
"type": "Microsoft.Maps/accounts",
86+
"kind": "Gen2",
87+
"location": "eastus",
88+
"systemData": {
89+
"createdBy": "string",
90+
"createdByType": "Application",
91+
"createdAt": "2021-07-02T01:01:01.1075056Z",
92+
"lastModifiedBy": "string",
93+
"lastModifiedByType": "Application",
94+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
95+
},
96+
"sku": {
97+
"name": "G2",
98+
"tier": "Standard"
99+
},
100+
"identity": {
101+
"type": "UserAssigned",
102+
"principalId": "77f72dac-e0aa-484e-9acd-e5e7075310ef",
103+
"tenantId": "06006684-60c1-4954-a20c-ffd8fbea7276",
104+
"userAssignedIdentities": {
105+
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {
106+
"clientId": "b602d315-01b5-4265-af23-859edc4f2431",
107+
"principalId": "ac287332-364a-41d9-a567-9ad86b9fc299"
108+
}
109+
}
110+
},
111+
"properties": {
112+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
113+
"provisioningState": "Updating",
114+
"encryption": {
115+
"customerManagedKeyEncryption": {
116+
"keyEncryptionKeyIdentity": {
117+
"identityType": "userAssignedIdentity",
118+
"userAssignedIdentityResourceId": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName"
119+
},
120+
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek"
121+
}
122+
}
123+
}
124+
}
125+
}
126+
}
127+
}
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"MapsAccount": {
8+
"location": "eastus",
9+
"sku": {
10+
"name": "G2"
11+
},
12+
"kind": "Gen2",
13+
"tags": {
14+
"test": "true"
15+
},
16+
"properties": {
17+
"disableLocalAuth": true,
18+
"cors": {
19+
"corsRules": [
20+
{
21+
"allowedOrigins": [
22+
"http://www.contoso.com",
23+
"http://www.fabrikam.com"
24+
]
25+
}
26+
]
27+
},
28+
"locations": [
29+
{
30+
"locationName": "northeurope"
31+
}
32+
]
33+
}
34+
}
35+
},
36+
"responses": {
37+
"200": {
38+
"body": {
39+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
40+
"name": "myMapsAccount",
41+
"type": "Microsoft.Maps/accounts",
42+
"kind": "Gen2",
43+
"location": "eastus",
44+
"tags": {
45+
"test": "true"
46+
},
47+
"systemData": {
48+
"createdBy": "string",
49+
"createdByType": "Application",
50+
"createdAt": "2021-07-02T01:01:01.1075056Z",
51+
"lastModifiedBy": "string",
52+
"lastModifiedByType": "Application",
53+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
54+
},
55+
"sku": {
56+
"name": "G2",
57+
"tier": "Standard"
58+
},
59+
"properties": {
60+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
61+
"provisioningState": "Succeeded",
62+
"disableLocalAuth": true,
63+
"publicNetworkAccess": "enabled",
64+
"cors": {
65+
"corsRules": [
66+
{
67+
"allowedOrigins": [
68+
"http://www.contoso.com",
69+
"http://www.fabrikam.com"
70+
]
71+
}
72+
]
73+
},
74+
"locations": [
75+
{
76+
"locationName": "northeurope"
77+
}
78+
]
79+
}
80+
}
81+
},
82+
"201": {
83+
"body": {
84+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
85+
"name": "myMapsAccount",
86+
"type": "Microsoft.Maps/accounts",
87+
"kind": "Gen2",
88+
"location": "eastus",
89+
"tags": {
90+
"test": "true"
91+
},
92+
"systemData": {
93+
"createdBy": "string",
94+
"createdByType": "Application",
95+
"createdAt": "2021-07-02T01:01:01.1075056Z",
96+
"lastModifiedBy": "string",
97+
"lastModifiedByType": "Application",
98+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
99+
},
100+
"sku": {
101+
"name": "G2",
102+
"tier": "Standard"
103+
},
104+
"properties": {
105+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
106+
"provisioningState": "Succeeded",
107+
"disableLocalAuth": true,
108+
"cors": {
109+
"corsRules": [
110+
{
111+
"allowedOrigins": [
112+
"http://www.contoso.com",
113+
"http://www.fabrikam.com"
114+
]
115+
}
116+
]
117+
},
118+
"locations": [
119+
{
120+
"locationName": "northeurope"
121+
}
122+
]
123+
}
124+
}
125+
}
126+
}
127+
}

0 commit comments

Comments
 (0)