Skip to content

Commit ba3fba7

Browse files
authored
1 parent 8a7999c commit ba3fba7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/virtual-machines/delete.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/provider
171171

172172
## Update the delete behavior on an existing VM
173173

174-
You can change the behavior when you delete a VM. The following example updates the VM to delete the NIC, OS disk, and data disk when the VM is deleted.
174+
You can change the behavior when you delete a VM.
175175

176176
### [CLI](#tab/cli3)
177177

@@ -183,6 +183,8 @@ az resource update --resource-group myResourceGroup --name myVM --resource-type
183183

184184
### [REST](#tab/rest3)
185185

186+
The following example updates the VM to delete the NIC, OS disk, and data disk when the VM is deleted.
187+
186188
```rest
187189
PATCH https://management.azure.com/subscriptions/subID/resourceGroups/resourcegroup/providers/Microsoft.Compute/virtualMachines/testvm?api-version=2021-07-01
188190

0 commit comments

Comments
 (0)