Skip to content

Conversation

@sjawahar-hub
Copy link

Related command
az vm create --capacity-reservation-group;
az vm update --capacity-reservation-group;
az vmss create --capacity-reservation-group;
az vmss update --capacity-reservation-group;

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. This PR is to remove the is_preview feature from the parameter in azure cli vm commands.

Testing Guide
az vm create --capacity-reservation-group executes without preview feature warning message

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

…oup 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.
Copilot AI review requested due to automatic review settings December 24, 2025 01:41
@azure-client-tools-bot-prd
Copy link

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 24, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the preview flag from the capacity_reservation_group parameter across VM and VMSS commands, as the capacity reservation group feature has been generally available for some time. The preview warning was inadvertently left in place during the GA transition and is now being cleaned up.

  • Removes is_preview=True flag from capacity_reservation_group parameter definition

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yonzhan yonzhan removed the Reservations az reservations label Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot Compute az vm/vmss/image/disk/snapshot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants