Skip to content

[Compute] Surface VMSS VM capacity reservation details #33868

Description

Preconditions

  • No need to upgrade Python SDK or the Python SDK is ready.

Related command

az vmss show --resource-group <resource-group> --name <vmss-name> --instance-id <instance-id>
  (surface capacityReservation.capacityReservationGroup.id)

az vmss get-instance-view --resource-group <resource-group> --name <vmss-name> --instance-id <instance-id>
  (surface capacityReservationType)

Resource Provider

Microsoft.Compute/virtualMachineScaleSets/virtualMachines

Description of Feature or Work Requested

Add Azure CLI output support for two VM Scale Set VM capacity reservation properties introduced in Compute API version 2026-04-01:

  • capacityReservation on the VMSS VM model-view response. This exposes the capacity reservation group inherited from the parent VM scale set.
  • capacityReservationType on the VMSS VM instance-view response. This indicates whether the instance consumes Targeted, Open, or Block reserved capacity, is NotEligible, or is explicitly Disabled.

Both properties are service-returned outputs. No new CLI input parameters or command syntax are requested.

This extends the Open Capacity Reservation work tracked in #33769 to VMSS VM responses.

Minimum API Version Required

2026-04-01

Swagger PR link / SDK link

Request Example

Target Date

2026-08-15

PM Contact

N/A / TBD

Engineer Contact

Priyal Saxena (Priyal Saxena (@Priyal-Saxena))

Additional context

The REST API specification changes are merged. SDK generation and publication are handled through the standard Compute SDK release process.

Metadata

Metadata

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotfeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions