你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryApplication 构造函数

定义

重载

GalleryApplication()

初始化 GalleryApplication 类的新实例。

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

初始化 GalleryApplication 类的新实例。

GalleryApplication()

初始化 GalleryApplication 类的新实例。

public GalleryApplication ();
Public Sub New ()

适用于

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

初始化 GalleryApplication 类的新实例。

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)

参数

location
String

资源位置

supportedOSType
OperatingSystemTypes

使用此属性可以指定应用程序的受支持操作系统类型。 <br><br> 可能的值为: <br><br>Windows<br><br>Linux。 可能的值包括:“Windows”、“Linux”

id
String

资源 ID

name
String

资源名称

type
String

资源类型

tags
IDictionary<String,String>

资源标记

description
String

此库应用程序定义资源的说明。 此属性可更新。

eula
String

库应用程序定义的 Eula 协议。

privacyStatementUri
String

隐私声明 URI。

releaseNoteUri
String

发行说明 URI。

endOfLifeDate
Nullable<DateTime>

库应用程序定义的生命周期结束日期。 此属性可用于解除授权目的。 此属性可更新。

customActions
IList<GalleryApplicationCustomAction>

可对此库应用程序中的所有库应用程序版本执行的自定义操作的列表。

适用于