VMGalleryApplication Class
Specifies the required information to reference a compute gallery application version.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelVMGalleryApplication
Constructor
VMGalleryApplication(*, package_reference_id: str, tags: str | None = None, order: int | None = None, configuration_reference: str | None = None, treat_failure_as_deployment_failure: bool | None = None, enable_automatic_upgrade: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
tags
|
Optional, Specifies a passthrough value for more generic context. |
order
|
Optional, Specifies the order in which the packages have to be installed. |
package_reference_id
|
Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}. # pylint: disable=line-too-long Required. |
configuration_reference
|
Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided. |
treat_failure_as_deployment_failure
|
Optional, If true, any failure for any operation in the VmApplication will fail the deployment. |
enable_automatic_upgrade
|
If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS. |
Variables
Name | Description |
---|---|
tags
|
Optional, Specifies a passthrough value for more generic context. |
order
|
Optional, Specifies the order in which the packages have to be installed. |
package_reference_id
|
Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}. # pylint: disable=line-too-long Required. |
configuration_reference
|
Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided. |
treat_failure_as_deployment_failure
|
Optional, If true, any failure for any operation in the VmApplication will fail the deployment. |
enable_automatic_upgrade
|
If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS. |
Azure SDK for Python