VMGalleryApplication Constructors
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.
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.
- 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