Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placement (AnyZone) support CLI #30826

Open
1 task done
Suchintan-microsoft opened this issue Feb 14, 2025 · 1 comment
Open
1 task done

Add placement (AnyZone) support CLI #30826

Suchintan-microsoft opened this issue Feb 14, 2025 · 1 comment
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Compute az vm/vmss/image/disk/snapshot feature-request

Comments

@Suchintan-microsoft
Copy link
Member

Preconditions

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

Related command

az vm create --placement @{zonePlacementPolicy = "Any" ; includeZones = "1", "2"} --alignRegionalDisksToVMZone
az vm update --alignRegionalDisksToVMZone

Resource Provider

Microsoft.Compute/virtualMachines

Description of Feature or Work Requested

- **placement** `is a new top-level  VM property that allows the user to create a zonal VM, where the optimal zone will be decided by Azure. This new property will contain three fields: zonePlacementPolicy, includeZones, excludeZones. Customer can only pass this property during VM creation time (New-AzVM) and this property cannot be changed later. We will need to introduce a new parameter for az vm create cmdlet, called Placement to support this feature.`
-  **alignRegionalDisksToVMZone** `is new property under vm.properties.storageProfile, that allows the regional disks currently attached (or going to be attached) to the VM to be converted to zonal. Currently this flag is only supported for AnyZone VM. We will need to add a new parameter for az vm creatre, az vm update commands, called alignRegionalDisksToVMZoneto support this feature. `

Please check the swagger PR for more details Azure/azure-rest-api-specs#31425

Minimum API Version Required

2024-11-01

Swagger PR link / SDK link

Azure/azure-rest-api-specs#31425

Request Example

https://github.com/Azure/azure-rest-api-specs/pull/31425/files#diff-6eb1271bb1553ef1872db462c4d9babc705df8e24fdfff19f6f0bc60aed44e3e

Target Date

2025-04-01

PM Contact

sgujjarlapud@microsoft.com

Engineer Contact

spati@microsoft.com

Additional context

No response

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 14, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Compute az vm/vmss/image/disk/snapshot label Feb 14, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Feb 14, 2025
@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Feb 14, 2025
@yonzhan yonzhan added this to the Backlog milestone Feb 14, 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 Azure CLI Team The command of the issue is owned by Azure CLI team Compute az vm/vmss/image/disk/snapshot feature-request
Projects
None yet
Development

No branches or pull requests

4 participants