-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Compute - VMService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Description
Description of the new feature
New-AzVmGalleryApplication has the following syntax
New-AzVmGalleryApplication
-PackageReferenceId <String>
[-ConfigReferenceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzVmssGalleryApplication has the following syntax
New-AzVmssGalleryApplication
-PackageReferenceId <String>
[-ConfigReferenceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
As per the API, both are missing the properties "treatFailureAsDeploymentFailure" and "enableAutomaticUpgrade". These properties have been part of the API spec since 2022-03-01
"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"
]
}
Proposed implementation details (optional)
Please add
"treatFailureAsDeploymentFailure: {
"type": "boolean",
"description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment"
}
and
"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"
}
as optional properties. they should already be available in the SDK.
Metadata
Metadata
Assignees
Labels
Compute - VMService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.feature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.