Skip to content

Commit 5e6a575

Browse files
author
Daniel Stack
authored
[Hub Generated] Review request for Microsoft.Maps to add version stable/2021-02-01 (#13733)
* Adds base for updating Microsoft.Maps from version preview/2020-02-01-preview to version 2020-02-01 * Updates for 2021-02-01 api version swagger * creator swagger fixes * fix model examples * nextLink, uniqueId * build fixes * fixing listkeys * fix long running operations * fixing spelling * fixing async behavior and examples * updating arm region * reset package-lock
1 parent 77df950 commit 5e6a575

19 files changed

+1870
-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-02-01",
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-02-01T01:01:01.1075056Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2021-02-01T01: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-02-01T01:01:01.1075056Z",
65+
"lastModifiedBy": "string",
66+
"lastModifiedByType": "Application",
67+
"lastModifiedAt": "2021-02-01T01: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-02-01",
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-02-01T01:01:01.1075056Z",
36+
"lastModifiedBy": "string",
37+
"lastModifiedByType": "Application",
38+
"lastModifiedAt": "2021-02-01T01: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-02-01T01:01:01.1075056Z",
65+
"lastModifiedBy": "string",
66+
"lastModifiedByType": "Application",
67+
"lastModifiedAt": "2021-02-01T01: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: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01",
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-02-01",
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-02-01",
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+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
12+
"name": "myMapsAccount",
13+
"type": "Microsoft.Maps/accounts",
14+
"location": "global",
15+
"kind": "Gen1",
16+
"systemData": {
17+
"createdBy": "string",
18+
"createdByType": "Application",
19+
"createdAt": "2021-02-01T01:01:01.1075056Z",
20+
"lastModifiedBy": "string",
21+
"lastModifiedByType": "Application",
22+
"lastModifiedAt": "2021-02-01T01:01:01.1075056Z"
23+
},
24+
"tags": {
25+
"test": "true"
26+
},
27+
"sku": {
28+
"name": "S0",
29+
"tier": "Standard"
30+
},
31+
"properties": {
32+
"uniqueId": "string",
33+
"disableLocalAuth": false,
34+
"provisioningState": "Succeeded"
35+
}
36+
}
37+
}
38+
}
39+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"creatorName": "myCreator"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/creators/myCreator",
13+
"name": "myCreator",
14+
"type": "Microsoft.Maps/accounts/creators",
15+
"location": "unitedstates",
16+
"tags": {
17+
"test": "true"
18+
},
19+
"properties": {
20+
"provisioningState": "Succeeded",
21+
"storageUnits": 5
22+
}
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)