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

Gallery 构造函数

定义

重载

Gallery()

初始化 Gallery 类的新实例。

Gallery(String, String, String, String, IDictionary<String,String>, String, GalleryIdentifier, String, SharingProfile, SoftDeletePolicy, SharingStatus)

初始化 Gallery 类的新实例。

初始化 Gallery 类的新实例。

public Gallery ();
Public Sub New ()

适用于

初始化 Gallery 类的新实例。

public Gallery (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, Microsoft.Azure.Management.Compute.Models.GalleryIdentifier identifier = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.SharingProfile sharingProfile = default, Microsoft.Azure.Management.Compute.Models.SoftDeletePolicy softDeletePolicy = default, Microsoft.Azure.Management.Compute.Models.SharingStatus sharingStatus = default);
new Microsoft.Azure.Management.Compute.Models.Gallery : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.GalleryIdentifier * string * Microsoft.Azure.Management.Compute.Models.SharingProfile * Microsoft.Azure.Management.Compute.Models.SoftDeletePolicy * Microsoft.Azure.Management.Compute.Models.SharingStatus -> Microsoft.Azure.Management.Compute.Models.Gallery
Public Sub New (location As String, 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 identifier As GalleryIdentifier = Nothing, Optional provisioningState As String = Nothing, Optional sharingProfile As SharingProfile = Nothing, Optional softDeletePolicy As SoftDeletePolicy = Nothing, Optional sharingStatus As SharingStatus = Nothing)

参数

location
String

资源位置

id
String

资源 ID

name
String

资源名称

type
String

资源类型

tags
IDictionary<String,String>

资源标记

description
String

此共享映像库资源的说明。 此属性可更新。

identifier
GalleryIdentifier
provisioningState
String

可能的值包括:“Create”、“Updateing”、“Failed”、“Succeeded”、“删除”、“迁移”

sharingProfile
SharingProfile
softDeletePolicy
SoftDeletePolicy
sharingStatus
SharingStatus

适用于