ArmComputeScheduleModelFactory.VmGalleryApplication 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.
Specifies the required information to reference a compute gallery application version.
public static Azure.ResourceManager.ComputeSchedule.Models.VmGalleryApplication VmGalleryApplication(string tags = default, int? order = default, string packageReferenceId = default, string configurationReference = default, bool? treatFailureAsDeploymentFailure = default, bool? enableAutomaticUpgrade = default);
static member VmGalleryApplication : string * Nullable<int> * string * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ComputeSchedule.Models.VmGalleryApplication
Public Shared Function VmGalleryApplication (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 VmGalleryApplication
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 VmGalleryApplication instance for mocking.