Skip to content

Commit cc5e20c

Browse files
committed
[Compute] az create vm: Remove preview flag for CapacityReservationGroup parameters
Related commands vm create; vm update; vmss create; vmss update Description The capacity reservation group has been a GA-ed feature for a while. A customer noticed the preview feature warning when using the CLI and reported it. The flag must have been missed from being cleaned up during the GA preparation for Capacity reservation feature.
1 parent d46c829 commit cc5e20c

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/vm

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/vm/_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ def load_arguments(self, _):
12591259
help='The maximum price (in US Dollars) you are willing to pay for a Spot VM/VMSS. -1 indicates that the Spot VM/VMSS should not be evicted for price reasons')
12601260
c.argument('capacity_reservation_group', options_list=['--capacity-reservation-group', '--crg'],
12611261
help='The ID or name of the capacity reservation group that is used to allocate. Pass in "None" to disassociate the capacity reservation group. Please note that if you want to delete a VM/VMSS that has been associated with capacity reservation group, you need to disassociate the capacity reservation group first.',
1262-
min_api='2021-04-01', is_preview=True)
1262+
min_api='2021-04-01')
12631263
c.argument('v_cpus_available', type=int, min_api='2021-11-01', help='Specify the number of vCPUs available')
12641264
c.argument('v_cpus_per_core', type=int, min_api='2021-11-01', help='Specify the ratio of vCPU to physical core. Setting this property to 1 also means that hyper-threading is disabled.')
12651265
c.argument('disk_controller_type', disk_controller_type)

0 commit comments

Comments
 (0)