-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotPossible-SolutionSimilar-Issuefeature-request
Milestone
Description
Preconditions
Need Python SDK release 2025-04-01. ETA: 09/30
Related command
Add a new parameter --add-proxy-agent-extension for vm/vmss create/update:
Single VM:
az vm create --add-proxy-agent-extension
az vm update --add-proxy-agent-extension {false, true}
az vmss create --add-proxy-agent-extension
az vmss update --add-proxy-agent-extension {false, true}
Resource Provider
Microsoft.Compute
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
How to test:
Please test with a linux image:
set resourceGroupName="huiya-eastus2euap"
set locationName="WestUS2"
set vmName="vm2"
set adminPassword="your password"
az login
az vm create -g %resourceGroupName% --location %locationName% --image Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest --size Standard_D2s_v5 --admin-username test_admin --admin-password %adminPassword% --enable-proxy-agent --add-proxy-agent-extension --name %vmName%
Without setting add-proxy-agent-extension, the creation will fail with: :[{"code":"OSProvisioningInternalError","message":"OS Provisioning failed for VM 'vm2' due to an internal error."}]
with setting add-proxy-agent-extension, the creation will success.
Swagger PR link / SDK link
Azure/azure-rest-api-specs#36669
Describe alternatives you've considered
Additional context
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotPossible-SolutionSimilar-Issuefeature-request