Skip to content

Commit fa5fa2d

Browse files
Merge pull request #2484 from tferdou1/patch-36
Delete a VMSS for capacity reservation
2 parents 669f453 + 087d644 commit fa5fa2d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/virtual-machines/capacity-reservation-remove-virtual-machine-scale-set.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ This article walks you through removing a virtual machine scale set association
1919

2020
Because both the virtual machine (VM) and the underlying capacity reservation logically occupy capacity, Azure imposes some constraints on this process to avoid ambiguous allocation states and unexpected errors.
2121

22-
There are two ways to change an association:
22+
There are three ways to change an association:
2323

2424
- Deallocate the virtual machine scale set, change the capacity reservation group property at the scale set level, and then update the underlying VMs.
2525
- Update the reserved quantity to zero and then change the capacity reservation group property.
26+
- Delete the virtual machine scale set
2627

2728
## Deallocate the virtual machine scale set
2829

@@ -241,6 +242,11 @@ To learn more, see the Azure PowerShell commands [New-AzCapacityReservation](/po
241242
---
242243
<!-- The three dashes above show that your section of tabbed content is complete. Don't remove them :) -->
243244
245+
246+
## Delete the virtual machine scale set
247+
248+
Deletion process of a scale set remove its association from a capacity reservation. The delete request 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.
249+
244250
## Upgrade policies
245251
246252
- **Automatic upgrade**: In this mode, the scale set VM instances are automatically dissociated from the capacity reservation group without any further action from you.

0 commit comments

Comments
 (0)