Skip to content

Commit bab6fe1

Browse files
author
Daniel Stack
authored
[Hub Generated] Review request for Microsoft.Maps to add version preview/2021-07-01-preview (#14316)
* Adds base for updating Microsoft.Maps from version stable/2021-02-01 to version 2021-07-01-preview * Updates readme * Updates API version in new specs and examples * managed identities * updates based on design review * fixes for examples * adding description * updated example request responses
1 parent 34f09c2 commit bab6fe1

21 files changed

+2204
-2
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"MapsAccount": {
8+
"location": "global",
9+
"sku": {
10+
"name": "S0"
11+
},
12+
"kind": "Gen1",
13+
"tags": {
14+
"test": "true"
15+
},
16+
"properties": {
17+
"disableLocalAuth": false
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
25+
"name": "myMapsAccount",
26+
"type": "Microsoft.Maps/accounts",
27+
"kind": "Gen1",
28+
"location": "global",
29+
"tags": {
30+
"test": "true"
31+
},
32+
"systemData": {
33+
"createdBy": "string",
34+
"createdByType": "Application",
35+
"createdAt": "2021-07-02T01:01:01.1075056Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
39+
},
40+
"sku": {
41+
"name": "S0",
42+
"tier": "Standard"
43+
},
44+
"properties": {
45+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
46+
"provisioningState": "Succeeded",
47+
"disableLocalAuth": false
48+
}
49+
}
50+
},
51+
"201": {
52+
"body": {
53+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
54+
"name": "myMapsAccount",
55+
"type": "Microsoft.Maps/accounts",
56+
"kind": "Gen1",
57+
"location": "global",
58+
"tags": {
59+
"test": "true"
60+
},
61+
"systemData": {
62+
"createdBy": "string",
63+
"createdByType": "Application",
64+
"createdAt": "2021-07-02T01:01:01.1075056Z",
65+
"lastModifiedBy": "string",
66+
"lastModifiedByType": "Application",
67+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
68+
},
69+
"sku": {
70+
"name": "S0",
71+
"tier": "Standard"
72+
},
73+
"properties": {
74+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
75+
"provisioningState": "Succeeded",
76+
"disableLocalAuth": false
77+
}
78+
}
79+
}
80+
}
81+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"MapsAccount": {
8+
"location": "global",
9+
"sku": {
10+
"name": "G2"
11+
},
12+
"kind": "Gen2",
13+
"tags": {
14+
"test": "true"
15+
},
16+
"properties": {
17+
"disableLocalAuth": true
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
25+
"name": "myMapsAccount",
26+
"type": "Microsoft.Maps/accounts",
27+
"kind": "Gen2",
28+
"location": "global",
29+
"tags": {
30+
"test": "true"
31+
},
32+
"systemData": {
33+
"createdBy": "string",
34+
"createdByType": "Application",
35+
"createdAt": "2021-07-02T01:01:01.1075056Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
39+
},
40+
"sku": {
41+
"name": "G2",
42+
"tier": "Standard"
43+
},
44+
"properties": {
45+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
46+
"provisioningState": "Succeeded",
47+
"disableLocalAuth": true
48+
}
49+
}
50+
},
51+
"201": {
52+
"body": {
53+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
54+
"name": "myMapsAccount",
55+
"type": "Microsoft.Maps/accounts",
56+
"kind": "Gen2",
57+
"location": "global",
58+
"tags": {
59+
"test": "true"
60+
},
61+
"systemData": {
62+
"createdBy": "string",
63+
"createdByType": "Application",
64+
"createdAt": "2021-07-02T01:01:01.1075056Z",
65+
"lastModifiedBy": "string",
66+
"lastModifiedByType": "Application",
67+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
68+
},
69+
"sku": {
70+
"name": "G2",
71+
"tier": "Standard"
72+
},
73+
"properties": {
74+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
75+
"provisioningState": "Succeeded",
76+
"disableLocalAuth": true
77+
}
78+
}
79+
}
80+
}
81+
}
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-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+
"identity": {
17+
"type": "SystemAssigned, UserAssigned",
18+
"userAssignedIdentities": {
19+
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {}
20+
}
21+
},
22+
"properties": {
23+
"disableLocalAuth": false,
24+
"linkedResources": [
25+
{
26+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
27+
"uniqueName": "myBatchStorageAccount"
28+
},
29+
{
30+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
31+
"uniqueName": "myBlobDataSource"
32+
}
33+
]
34+
}
35+
}
36+
},
37+
"responses": {
38+
"200": {
39+
"body": {
40+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
41+
"name": "myMapsAccount",
42+
"type": "Microsoft.Maps/accounts",
43+
"kind": "Gen2",
44+
"location": "eastus",
45+
"tags": {
46+
"test": "true"
47+
},
48+
"systemData": {
49+
"createdBy": "string",
50+
"createdByType": "Application",
51+
"createdAt": "2021-07-02T01:01:01.1075056Z",
52+
"lastModifiedBy": "string",
53+
"lastModifiedByType": "Application",
54+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
55+
},
56+
"sku": {
57+
"name": "G2",
58+
"tier": "Standard"
59+
},
60+
"identity": {
61+
"type": "SystemAssigned, UserAssigned",
62+
"principalId": "77f72dac-e0aa-484e-9acd-e5e7075310ef",
63+
"tenantId": "06006684-60c1-4954-a20c-ffd8fbea7276",
64+
"userAssignedIdentities": {
65+
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {
66+
"clientId": "b602d315-01b5-4265-af23-859edc4f2431",
67+
"principalId": "ac287332-364a-41d9-a567-9ad86b9fc299"
68+
}
69+
}
70+
},
71+
"properties": {
72+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
73+
"provisioningState": "Succeeded",
74+
"disableLocalAuth": true,
75+
"linkedResources": [
76+
{
77+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
78+
"uniqueName": "myBatchStorageAccount"
79+
},
80+
{
81+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
82+
"uniqueName": "myBlobDataSource"
83+
}
84+
]
85+
}
86+
}
87+
},
88+
"201": {
89+
"body": {
90+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
91+
"name": "myMapsAccount",
92+
"type": "Microsoft.Maps/accounts",
93+
"kind": "Gen2",
94+
"location": "eastus",
95+
"tags": {
96+
"test": "true"
97+
},
98+
"systemData": {
99+
"createdBy": "string",
100+
"createdByType": "Application",
101+
"createdAt": "2021-07-02T01:01:01.1075056Z",
102+
"lastModifiedBy": "string",
103+
"lastModifiedByType": "Application",
104+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
105+
},
106+
"sku": {
107+
"name": "G2",
108+
"tier": "Standard"
109+
},
110+
"identity": {
111+
"type": "SystemAssigned, UserAssigned",
112+
"principalId": "77f72dac-e0aa-484e-9acd-e5e7075310ef",
113+
"tenantId": "06006684-60c1-4954-a20c-ffd8fbea7276",
114+
"userAssignedIdentities": {
115+
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {
116+
"clientId": "b602d315-01b5-4265-af23-859edc4f2431",
117+
"principalId": "ac287332-364a-41d9-a567-9ad86b9fc299"
118+
}
119+
}
120+
},
121+
"properties": {
122+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
123+
"provisioningState": "Succeeded",
124+
"disableLocalAuth": true,
125+
"linkedResources": [
126+
{
127+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
128+
"uniqueName": "myBatchStorageAccount"
129+
},
130+
{
131+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
132+
"uniqueName": "myBlobDataSource"
133+
}
134+
]
135+
}
136+
}
137+
}
138+
}
139+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"creatorName": "myCreator",
8+
"CreatorResource": {
9+
"location": "eastus2",
10+
"tags": {
11+
"test": "true"
12+
},
13+
"properties": {
14+
"storageUnits": 5
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/creators/myCreator",
22+
"name": "myCreator",
23+
"type": "Microsoft.Maps/accounts/creators",
24+
"location": "eastus2",
25+
"tags": {
26+
"test": "true"
27+
},
28+
"properties": {
29+
"provisioningState": "Created",
30+
"storageUnits": 5
31+
}
32+
}
33+
},
34+
"201": {
35+
"body": {
36+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/creators/myCreator",
37+
"name": "myCreator",
38+
"type": "Microsoft.Maps/accounts/creators",
39+
"location": "eastus2",
40+
"tags": {
41+
"test": "true"
42+
},
43+
"properties": {
44+
"provisioningState": "Created",
45+
"storageUnits": 5
46+
}
47+
}
48+
}
49+
}
50+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"creatorName": "myCreator"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}

0 commit comments

Comments
 (0)