ArmComputeModelFactory.VirtualMachineGalleryApplication Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.
Optional, If true, any failure for any operation in the VmApplication will fail the deployment.
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.