Skip to content

Commit

Permalink
Update description to indicate force delete is in preview (Azure#11763)
Browse files Browse the repository at this point in the history
* updating compute.json for force delete

* update description

* update to string

* updating description

* update description

* update comment

* add example

* added example and updated prettier

* updated prettier
  • Loading branch information
Aishwarya-C-S committed Dec 4, 2020
1 parent 2cd6a84 commit a8308b2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2804,7 +2804,7 @@
"in": "query",
"required": false,
"type": "boolean",
"description": "Optional parameter to force delete virtual machines."
"description": "Optional parameter to force delete virtual machines.(Feature in Preview)"
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand All @@ -2824,7 +2824,12 @@
"description": "No Content"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Force delete a VM": {
"$ref": "./examples/ForceDeleteVirtualMachine.json"
}
}
},
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"vmName": "myVM",
"forceDeletion": "true",
"api-version": "2020-06-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}

0 comments on commit a8308b2

Please sign in to comment.