Skip to content

Commit

Permalink
Adding Force Deletion Types Query Parameter for Resource Group Delete…
Browse files Browse the repository at this point in the history
… (and a corresponding VM type example)
  • Loading branch information
snaheth committed Oct 20, 2020
1 parent 5d6c538 commit ec5c10c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "my-resource-group",
"forceDeletionResourceTypes": "Microsoft.Compute/virtualMachines",
"api-version": "2020-06-01"
},
"responses": {
"202": {
"description": "Accepted"
},
"200": {
"description": "OK"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2491,13 +2491,25 @@
"minLength": 1,
"maxLength": 90
},
{
"name": "forceDeletionResourceTypes",
"in": "query",
"required": false,
"type": "string",
"description": "The resource types you want to force delete. Currently, only the following is supported: forceDeletionResourceTypes=Microsoft.Compute/virtualMachines"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"x-ms-examples": {
"Force delete all the Virtual Machines in a resource group": {
"$ref": "./examples/ForceDeleteVMsInResourceGroup.json"
}
},
"responses": {
"200": {
"description": "OK"
Expand Down

0 comments on commit ec5c10c

Please sign in to comment.