ArmComputeModelFactory.VirtualMachineGalleryApplication Method

Definition

public static Azure.ResourceManager.Compute.Models.VirtualMachineGalleryApplication VirtualMachineGalleryApplication(string tags = default, int? order = default, string packageReferenceId = default, string configurationReference = default, bool? treatFailureAsDeploymentFailure = default, bool? enableAutomaticUpgrade = default);
static member VirtualMachineGalleryApplication : string * Nullable<int> * string * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.Models.VirtualMachineGalleryApplication
Public Shared Function VirtualMachineGalleryApplication (Optional tags As String = Nothing, Optional order As Nullable(Of Integer) = Nothing, Optional packageReferenceId As String = Nothing, Optional configurationReference As String = Nothing, Optional treatFailureAsDeploymentFailure As Nullable(Of Boolean) = Nothing, Optional enableAutomaticUpgrade As Nullable(Of Boolean) = Nothing) As VirtualMachineGalleryApplication

Parameters

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.

packageReferenceId
String

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

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.

Returns

A new VirtualMachineGalleryApplication instance for mocking.

Applies to