Skip to content

Commit 669f453

Browse files
Merge pull request #2490 from tferdou1/patch-37
PR-2 VM delete for CR
2 parents 5e4a502 + 07b6dfc commit 669f453

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/virtual-machines/capacity-reservation-remove-vm.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ This article walks you through the steps of removing a virtual machine (VM) asso
1717

1818
Because both the VM and the underlying capacity reservation logically occupy capacity, Azure imposes some constraints on this process to avoid ambiguous allocation states and unexpected errors.
1919

20-
There are two ways to change an association:
20+
There are three ways to change an association:
2121

2222
- Deallocate the virtual machine, change the capacity reservation group property, and, optionally, restart the VM.
2323
- Update the reserved quantity to zero and then change the capacity reservation group property.
24+
- Delete a VM.
2425

2526
## Deallocate the virtual machine
2627

@@ -230,6 +231,10 @@ To learn more, see the Azure PowerShell commands [New-AzCapacityReservation](/po
230231
---
231232
<!-- The three dashes above show that your section of tabbed content is complete. Don't remove them :) -->
232233
234+
## Delete a VM
235+
236+
The virtual machine deletion process will remove a VM association from a capacity reservation. A VM delete must complete before Azure removes it from the capacity reservation. Some latency can occur between the delete request and the corresponding change in capacity reservation allocation state. See [Delete a VM](/azure/virtual-machines/delete?tabs=portal2%2Ccli3%2Cportal4%2Cportal5) for more information. Use [Capacity Reservation Instance View](/azure/virtual-machines/capacity-reservation-associate-vm?tabs=api1%2Capi2%2Capi3#view-vm-allocation-with-the-instance-view) to check the allocation status as needed.
237+
233238
## Next step
234239
235240
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)