共用方式為


GalleryApplication Constructors

Definition

Overloads

GalleryApplication()

Initializes a new instance of the GalleryApplication class.

GalleryApplication(String, OperatingSystemTypes, String, String, String, IDictionary<String,String>, String, String, String, String, Nullable<DateTime>, IList<GalleryApplicationCustomAction>)

Initializes a new instance of the GalleryApplication class.

GalleryApplication()

Initializes a new instance of the GalleryApplication class.

public GalleryApplication ();
Public Sub New ()

Applies to

GalleryApplication(String, OperatingSystemTypes, String, String, String, IDictionary<String,String>, String, String, String, String, Nullable<DateTime>, IList<GalleryApplicationCustomAction>)

Initializes a new instance of the GalleryApplication class.

public GalleryApplication (string location, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes supportedOSType, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, string eula = default, string privacyStatementUri = default, string releaseNoteUri = default, DateTime? endOfLifeDate = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryApplicationCustomAction> customActions = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplication : string * Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryApplicationCustomAction> -> Microsoft.Azure.Management.Compute.Models.GalleryApplication
Public Sub New (location As String, supportedOSType As OperatingSystemTypes, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional eula As String = Nothing, Optional privacyStatementUri As String = Nothing, Optional releaseNoteUri As String = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional customActions As IList(Of GalleryApplicationCustomAction) = Nothing)

Parameters

location
String

Resource location

supportedOSType
OperatingSystemTypes

This property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> Windows <br><br> Linux. Possible values include: 'Windows', 'Linux'

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

description
String

The description of this gallery Application Definition resource. This property is updatable.

eula
String

The Eula agreement for the gallery Application Definition.

privacyStatementUri
String

The privacy statement uri.

releaseNoteUri
String

The release note uri.

endOfLifeDate
Nullable<DateTime>

The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.

customActions
IList<GalleryApplicationCustomAction>

A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.

Applies to