Skip to content

Commit de79eea

Browse files
Daniel StackLeiWang3
authored andcommitted
Dev maps microsoft.maps 2021 12 01 preview (Azure#16153)
* Adds base for updating Microsoft.Maps from version preview/2021-07-01-preview to version 2021-12-01-preview * Updates readme * Updates API version in new specs and examples * CORS and AccountSas * fix examples * fixing * fix example * fixing example * fix convention and systemdata * creator examples * fix by rule supress * content updates * fixes from specs pipeline
1 parent ab9115e commit de79eea

23 files changed

+2604
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-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: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
5+
"resourceGroupName": "myResourceGroup",
6+
"accountName": "myMapsAccount",
7+
"MapsAccount": {
8+
"location": "eastus",
9+
"sku": {
10+
"name": "S0"
11+
},
12+
"kind": "Gen1",
13+
"tags": {
14+
"test": "true"
15+
},
16+
"properties": {
17+
"disableLocalAuth": false,
18+
"cors": {
19+
"corsRules": [
20+
{
21+
"allowedOrigins": [
22+
"http://www.contoso.com",
23+
"http://www.fabrikam.com"
24+
]
25+
}
26+
]
27+
}
28+
}
29+
}
30+
},
31+
"responses": {
32+
"200": {
33+
"body": {
34+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
35+
"name": "myMapsAccount",
36+
"type": "Microsoft.Maps/accounts",
37+
"kind": "Gen1",
38+
"location": "eastus",
39+
"tags": {
40+
"test": "true"
41+
},
42+
"systemData": {
43+
"createdBy": "string",
44+
"createdByType": "Application",
45+
"createdAt": "2021-07-02T01:01:01.1075056Z",
46+
"lastModifiedBy": "string",
47+
"lastModifiedByType": "Application",
48+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
49+
},
50+
"sku": {
51+
"name": "S0",
52+
"tier": "Standard"
53+
},
54+
"properties": {
55+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
56+
"provisioningState": "Succeeded",
57+
"disableLocalAuth": false,
58+
"cors": {
59+
"corsRules": [
60+
{
61+
"allowedOrigins": [
62+
"http://www.contoso.com",
63+
"http://www.fabrikam.com"
64+
]
65+
}
66+
]
67+
}
68+
}
69+
}
70+
},
71+
"201": {
72+
"body": {
73+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
74+
"name": "myMapsAccount",
75+
"type": "Microsoft.Maps/accounts",
76+
"kind": "Gen1",
77+
"location": "eastus",
78+
"tags": {
79+
"test": "true"
80+
},
81+
"systemData": {
82+
"createdBy": "string",
83+
"createdByType": "Application",
84+
"createdAt": "2021-07-02T01:01:01.1075056Z",
85+
"lastModifiedBy": "string",
86+
"lastModifiedByType": "Application",
87+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
88+
},
89+
"sku": {
90+
"name": "S0",
91+
"tier": "Standard"
92+
},
93+
"properties": {
94+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
95+
"provisioningState": "Succeeded",
96+
"disableLocalAuth": false,
97+
"cors": {
98+
"corsRules": [
99+
{
100+
"allowedOrigins": [
101+
"http://www.contoso.com",
102+
"http://www.fabrikam.com"
103+
]
104+
}
105+
]
106+
}
107+
}
108+
}
109+
}
110+
}
111+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-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+
}
29+
}
30+
},
31+
"responses": {
32+
"200": {
33+
"body": {
34+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
35+
"name": "myMapsAccount",
36+
"type": "Microsoft.Maps/accounts",
37+
"kind": "Gen2",
38+
"location": "eastus",
39+
"tags": {
40+
"test": "true"
41+
},
42+
"systemData": {
43+
"createdBy": "string",
44+
"createdByType": "Application",
45+
"createdAt": "2021-07-02T01:01:01.1075056Z",
46+
"lastModifiedBy": "string",
47+
"lastModifiedByType": "Application",
48+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
49+
},
50+
"sku": {
51+
"name": "G2",
52+
"tier": "Standard"
53+
},
54+
"properties": {
55+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
56+
"provisioningState": "Succeeded",
57+
"disableLocalAuth": true,
58+
"cors": {
59+
"corsRules": [
60+
{
61+
"allowedOrigins": [
62+
"http://www.contoso.com",
63+
"http://www.fabrikam.com"
64+
]
65+
}
66+
]
67+
}
68+
}
69+
}
70+
},
71+
"201": {
72+
"body": {
73+
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
74+
"name": "myMapsAccount",
75+
"type": "Microsoft.Maps/accounts",
76+
"kind": "Gen2",
77+
"location": "eastus",
78+
"tags": {
79+
"test": "true"
80+
},
81+
"systemData": {
82+
"createdBy": "string",
83+
"createdByType": "Application",
84+
"createdAt": "2021-07-02T01:01:01.1075056Z",
85+
"lastModifiedBy": "string",
86+
"lastModifiedByType": "Application",
87+
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
88+
},
89+
"sku": {
90+
"name": "G2",
91+
"tier": "Standard"
92+
},
93+
"properties": {
94+
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
95+
"provisioningState": "Succeeded",
96+
"disableLocalAuth": true,
97+
"cors": {
98+
"corsRules": [
99+
{
100+
"allowedOrigins": [
101+
"http://www.contoso.com",
102+
"http://www.fabrikam.com"
103+
]
104+
}
105+
]
106+
}
107+
}
108+
}
109+
}
110+
}
111+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-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+
}

0 commit comments

Comments
 (0)