Udostępnij za pośrednictwem


VMGalleryApplication Class

Definition

Specifies the required information to reference a compute gallery application version

public class VMGalleryApplication
type VMGalleryApplication = class
Public Class VMGalleryApplication
Inheritance
VMGalleryApplication

Constructors

VMGalleryApplication()

Initializes a new instance of the VMGalleryApplication class.

VMGalleryApplication(String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the VMGalleryApplication class.

Properties

ConfigurationReference

Gets or sets optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided

EnableAutomaticUpgrade

Gets or sets if set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS

Order

Gets or sets optional, Specifies the order in which the packages have to be installed

PackageReferenceId

Gets or sets specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}

Tags

Gets or sets optional, Specifies a passthrough value for more generic context.

TreatFailureAsDeploymentFailure

Gets or sets optional, If true, any failure for any operation in the VmApplication will fail the deployment

Methods

Validate()

Validate the object.

Applies to