Skip to content

Commit ec451ec

Browse files
harshitha-akkarajuHarshitha Akkaraju
authored andcommitted
Bug fix to support ARM template deployments (Azure#12954)
* Bug fix to support ARM template deployments * Revisions * Prettier fixes Co-authored-by: Harshitha Akkaraju <[email protected]>
1 parent 96eb15d commit ec451ec

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

specification/storagepool/resource-manager/Microsoft.StoragePool/preview/2020-03-15-preview/examples/DiskPools_Put.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
},
2929
"responses": {
30-
"202": {
30+
"201": {
3131
"body": {
3232
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool",
3333
"name": "myDiskPool",

specification/storagepool/resource-manager/Microsoft.StoragePool/preview/2020-03-15-preview/examples/IscsiTargets_Put.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"responses": {
41-
"202": {
41+
"201": {
4242
"body": {
4343
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget",
4444
"name": "myIscsiTarget",

specification/storagepool/resource-manager/Microsoft.StoragePool/preview/2020-03-15-preview/storagepool.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
"$ref": "#/definitions/DiskPool"
196196
}
197197
},
198-
"202": {
198+
"201": {
199199
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously.",
200200
"schema": {
201201
"$ref": "#/definitions/DiskPool"
@@ -209,6 +209,9 @@
209209
}
210210
},
211211
"x-ms-long-running-operation": true,
212+
"x-ms-long-running-operation-options": {
213+
"final-state-via": "azure-async-operation"
214+
},
212215
"x-ms-examples": {
213216
"Create or Update Disk pool": {
214217
"$ref": "./examples/DiskPools_Put.json"
@@ -263,7 +266,10 @@
263266
"$ref": "./examples/DiskPools_Patch.json"
264267
}
265268
},
266-
"x-ms-long-running-operation": true
269+
"x-ms-long-running-operation": true,
270+
"x-ms-long-running-operation-options": {
271+
"final-state-via": "azure-async-operation"
272+
}
267273
},
268274
"delete": {
269275
"tags": [
@@ -303,6 +309,9 @@
303309
}
304310
},
305311
"x-ms-long-running-operation": true,
312+
"x-ms-long-running-operation-options": {
313+
"final-state-via": "azure-async-operation"
314+
},
306315
"x-ms-examples": {
307316
"Delete Disk pool": {
308317
"$ref": "./examples/DiskPools_Delete.json"
@@ -429,7 +438,7 @@
429438
"$ref": "#/definitions/IscsiTarget"
430439
}
431440
},
432-
"202": {
441+
"201": {
433442
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously.",
434443
"schema": {
435444
"$ref": "#/definitions/IscsiTarget"
@@ -443,6 +452,9 @@
443452
}
444453
},
445454
"x-ms-long-running-operation": true,
455+
"x-ms-long-running-operation-options": {
456+
"final-state-via": "azure-async-operation"
457+
},
446458
"x-ms-examples": {
447459
"Create or Update iSCSI target": {
448460
"$ref": "./examples/IscsiTargets_Put.json"
@@ -496,6 +508,9 @@
496508
}
497509
},
498510
"x-ms-long-running-operation": true,
511+
"x-ms-long-running-operation-options": {
512+
"final-state-via": "azure-async-operation"
513+
},
499514
"x-ms-examples": {
500515
"Update iSCSI target": {
501516
"$ref": "./examples/IscsiTargets_Patch.json"
@@ -543,6 +558,9 @@
543558
}
544559
},
545560
"x-ms-long-running-operation": true,
561+
"x-ms-long-running-operation-options": {
562+
"final-state-via": "azure-async-operation"
563+
},
546564
"x-ms-examples": {
547565
"Delete iSCSI target": {
548566
"$ref": "./examples/IscsiTargets_Delete.json"

0 commit comments

Comments
 (0)