-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
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.
zhoxing-ms
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 teamPossible-SolutionSimilar-Issuefeature-request