-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamSimilar-Issuefeature-request
Milestone
Description
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
Related command
No response
Resource Provider
Microsoft.Compute
Description of Feature or Work Requested
provide cli support for the following APIs added in the 2024-11-1 version
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/validate-migration-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/start-migration-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/cancel-migration-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/convert-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/migrate-to-vm-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
Minimum API Version Required
2024-11-01
Swagger PR link / SDK link
Azure/azure-rest-api-specs#31915
Request Example
provided in documentation here
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/validate-migration-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/start-migration-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/cancel-migration-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/availability-sets/convert-to-virtual-machine-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
- https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/migrate-to-vm-scale-set?view=rest-compute-2025-02-01&tabs=HTTP
Target Date
2025/09/01
PM Contact
Micah.McKittrick
Engineer Contact
soshekar
Additional context
Describe how your feature is intended to be used by customers.
- `These APIs provide 2 ways for the user to migrate an Availability Set to a VMSS.
- Option 1 : AvailabilitySet.ConvertToVirtualMachineScaleSet`
- Option 2: This option requires triggering multiple commands to move each VM individually.
AvailabilitySet.ValidateMigrationToVirtualMachineScaleSet
AvailabilitySet.StartMigrationToVirtualMachineScaleSet
foreach ( vm in AvailabilitySet.VMs)
VirtualMachine.MigrateToVirtualMachineScaleSet
Reference to Powershell issue - https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1504
Metadata
Metadata
Assignees
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamSimilar-Issuefeature-request