Repository navigation
"az vm application set" and "az vmss application set" should include parameter --enable-automatic-upgrade #32176
Copy link
Copy link
Closed
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-Issuefeature-request
Milestone
Description
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
Related command
az vm application set
az vmss application set
Resource Provider
Microsoft.Compute/virtualmachines, Microsoft.Compute/virtualmachinescalesets
Description of Feature or Work Requested
At the present,
az vm application set
and
az vmss application set
accept the following parameters:
az vm application set --app-version-ids
[--app-config-overrides]
[--ids]
[--name]
[--order-applications]
[--resource-group]
[--subscription]
[--treat-deployment-as-failure]
az vmss application set --app-version-ids
[--app-config-overrides]
[--ids]
[--name]
[--order-applications]
[--resource-group]
[--subscription]
[--treat-deployment-as-failure]
The request is to support additional parameter that has been a part of the API spec since 2023-03-01
--enable-automatic-upgrade
"VMGalleryApplication": {
"type": "object",
"description": "Specifies the required information to reference a compute gallery application version",
"properties": {
"tags": {
"type": "string",
"description": "Optional, Specifies a passthrough value for more generic context."
},
"order": {
"type": "integer",
"format": "int32",
"description": "Optional, Specifies the order in which the packages have to be installed"
},
"packageReferenceId": {
"type": "string",
"description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}"
},
"configurationReference": {
"type": "string",
"description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided"
},
"treatFailureAsDeploymentFailure": {
"type": "boolean",
"description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment"
},
"enableAutomaticUpgrade": {
"type": "boolean",
"description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS"
}
},
"required": [
"packageReferenceId"
]
}
Minimum API Version Required
2023-03-01
Swagger PR link / SDK link
Request Example
Target Date
2025-10-15
PM Contact
Engineer Contact
Additional context
Note: all the properties under Swagger VMGalleryApplication are read-write, the Request Examples don't reflect that.
Reactions are currently unavailable
Metadata
Metadata
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-Issuefeature-request
Activity
yonzhan commentedon Sep 25, 2025
Thank you for opening this issue, we will look into it.
github-actions commentedon Sep 25, 2025
Here are some similar issues that might help you. Please check if they can solve your problem.
Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)
Solution 1:
Thank you for opening this issue, we will look into it.
Reference:
Solution 2:
Could you use template to create feature requests, so as to supplement the necessary information needed by CLI team for development.
Reference:
Solution 3:
Created this request using the template. #32176
should I close this request?
Reference:
Powered by issue-sentinel
zhoxing-ms commentedon Sep 26, 2025
Bhaskar Brahma (@D1v38om83r) Due to our recent busy schedule and the upcoming National Day long holiday session in China next week, the earliest release date for this feature request is 11-04. Can you accept this ETA?
D1v38om83r commentedon Oct 6, 2025
Yes, the ETA is good.
[-]"az vm application set" and "az vmss application set" should include all parameter --enable-automatic-upgrade[/-][+]"az vm application set" and "az vmss application set" should include parameter --enable-automatic-upgrade[/+]