Udostępnij za pośrednictwem


VMGalleryApplication Constructors

Definition

Overloads

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.

VMGalleryApplication()

Initializes a new instance of the VMGalleryApplication class.

public VMGalleryApplication ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VMGalleryApplication class.

public VMGalleryApplication (string packageReferenceId, string tags = default, int? order = default, string configurationReference = default, bool? treatFailureAsDeploymentFailure = default, bool? enableAutomaticUpgrade = default);
new Microsoft.Azure.Management.Compute.Models.VMGalleryApplication : string * string * Nullable<int> * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.VMGalleryApplication
Public Sub New (packageReferenceId As String, Optional tags As String = Nothing, Optional order As Nullable(Of Integer) = Nothing, Optional configurationReference As String = Nothing, Optional treatFailureAsDeploymentFailure As Nullable(Of Boolean) = Nothing, Optional enableAutomaticUpgrade As Nullable(Of Boolean) = Nothing)

Parameters

packageReferenceId
String

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

tags
String

Optional, Specifies a passthrough value for more generic context.

order
Nullable<Int32>

Optional, Specifies the order in which the packages have to be installed

configurationReference
String

Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided

treatFailureAsDeploymentFailure
Nullable<Boolean>

Optional, If true, any failure for any operation in the VmApplication will fail the deployment

enableAutomaticUpgrade
Nullable<Boolean>

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

Applies to