Skip to content

Commit 4af52aa

Browse files
zhugexubinxuzhuge
andauthored
Zhugexubin maps microsoft.maps 2023 08 01 preview new (#26474)
* Adds base for updating Microsoft.Maps from version stable/2023-06-01 to version 2023-08-01-preview * Updates readme * Updates API version in new specs and examples * Add totalStorageUnitSizeInBytes and consumedStorageUnitSizeInBytes in creator properties --------- Co-authored-by: Xubin Zhuge <[email protected]>
1 parent 7cb55af commit 4af52aa

25 files changed

+2798
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-08-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": "2023-08-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,127 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-08-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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-08-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+
}

0 commit comments

Comments
 (0)