Skip to content

Commit

Permalink
Adding VM and VMSS force deletion example for Resource Group Delete (#…
Browse files Browse the repository at this point in the history
…12719)

* add vmss capabilities to force delete

* Add example for VM and VMSS force deletion
  • Loading branch information
tjegbejimba authored Jan 29, 2021
1 parent 600fe4a commit e1248b8
Show file tree
Hide file tree
Showing 2 changed files with 19 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,Microsoft.Compute/virtualMachineScaleSets",
"api-version": "2020-06-01"
},
"responses": {
"202": {
"description": "Accepted"
},
"200": {
"description": "OK"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2508,6 +2508,9 @@
"x-ms-examples": {
"Force delete all the Virtual Machines in a resource group": {
"$ref": "./examples/ForceDeleteVMsInResourceGroup.json"
},
"Force delete all the Virtual Machines and Virtual Machine Scale Sets in a resource group": {
"$ref": "./examples/ForceDeleteVMsAndVMSSInResourceGroup.json"
}
},
"responses": {
Expand Down

0 comments on commit e1248b8

Please sign in to comment.