Skip to content

Commit

Permalink
Bug fix to support ARM template deployments (Azure#12954)
Browse files Browse the repository at this point in the history
* Bug fix to support ARM template deployments

* Revisions

* Prettier fixes

Co-authored-by: Harshitha Akkaraju <hakkaraj@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent b9a0230 commit 4f0a05d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
},
"responses": {
"202": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool",
"name": "myDiskPool",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
},
"responses": {
"202": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget",
"name": "myIscsiTarget",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"$ref": "#/definitions/DiskPool"
}
},
"202": {
"201": {
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously.",
"schema": {
"$ref": "#/definitions/DiskPool"
Expand All @@ -209,6 +209,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"Create or Update Disk pool": {
"$ref": "./examples/DiskPools_Put.json"
Expand Down Expand Up @@ -263,7 +266,10 @@
"$ref": "./examples/DiskPools_Patch.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
},
"delete": {
"tags": [
Expand Down Expand Up @@ -303,6 +309,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"Delete Disk pool": {
"$ref": "./examples/DiskPools_Delete.json"
Expand Down Expand Up @@ -429,7 +438,7 @@
"$ref": "#/definitions/IscsiTarget"
}
},
"202": {
"201": {
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously.",
"schema": {
"$ref": "#/definitions/IscsiTarget"
Expand All @@ -443,6 +452,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"Create or Update iSCSI target": {
"$ref": "./examples/IscsiTargets_Put.json"
Expand Down Expand Up @@ -496,6 +508,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"Update iSCSI target": {
"$ref": "./examples/IscsiTargets_Patch.json"
Expand Down Expand Up @@ -543,6 +558,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"Delete iSCSI target": {
"$ref": "./examples/IscsiTargets_Delete.json"
Expand Down

0 comments on commit 4f0a05d

Please sign in to comment.