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

GalleryImageVersion 构造函数

定义

重载

GalleryImageVersion()

初始化 GalleryImageVersion 类的新实例。

GalleryImageVersion(String, GalleryImageVersionStorageProfile, String, String, String, IDictionary<String,String>, GalleryImageVersionPublishingProfile, String, ReplicationStatus)

初始化 GalleryImageVersion 类的新实例。

GalleryImageVersion(String, GalleryImageVersionStorageProfile, String, String, String, IDictionary<String,String>, GalleryImageVersionPublishingProfile, String, GalleryImageVersionSafetyProfile, ReplicationStatus)

初始化 GalleryImageVersion 类的新实例。

GalleryImageVersion()

初始化 GalleryImageVersion 类的新实例。

public GalleryImageVersion ();
Public Sub New ()

适用于

GalleryImageVersion(String, GalleryImageVersionStorageProfile, String, String, String, IDictionary<String,String>, GalleryImageVersionPublishingProfile, String, ReplicationStatus)

初始化 GalleryImageVersion 类的新实例。

public GalleryImageVersion (string location, Microsoft.Azure.Management.Compute.Models.GalleryImageVersionStorageProfile storageProfile, string id, string name, string type, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.GalleryImageVersionPublishingProfile publishingProfile, string provisioningState, Microsoft.Azure.Management.Compute.Models.ReplicationStatus replicationStatus);
new Microsoft.Azure.Management.Compute.Models.GalleryImageVersion : string * Microsoft.Azure.Management.Compute.Models.GalleryImageVersionStorageProfile * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.GalleryImageVersionPublishingProfile * string * Microsoft.Azure.Management.Compute.Models.ReplicationStatus -> Microsoft.Azure.Management.Compute.Models.GalleryImageVersion
Public Sub New (location As String, storageProfile As GalleryImageVersionStorageProfile, id As String, name As String, type As String, tags As IDictionary(Of String, String), publishingProfile As GalleryImageVersionPublishingProfile, provisioningState As String, replicationStatus As ReplicationStatus)

参数

location
String

资源位置

id
String

资源 ID

name
String

资源名称

type
String

资源类型

tags
IDictionary<String,String>

资源标记

provisioningState
String

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

replicationStatus
ReplicationStatus

适用于

GalleryImageVersion(String, GalleryImageVersionStorageProfile, String, String, String, IDictionary<String,String>, GalleryImageVersionPublishingProfile, String, GalleryImageVersionSafetyProfile, ReplicationStatus)

初始化 GalleryImageVersion 类的新实例。

public GalleryImageVersion (string location, Microsoft.Azure.Management.Compute.Models.GalleryImageVersionStorageProfile storageProfile, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.GalleryImageVersionPublishingProfile publishingProfile = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.GalleryImageVersionSafetyProfile safetyProfile = default, Microsoft.Azure.Management.Compute.Models.ReplicationStatus replicationStatus = default);
new Microsoft.Azure.Management.Compute.Models.GalleryImageVersion : string * Microsoft.Azure.Management.Compute.Models.GalleryImageVersionStorageProfile * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.GalleryImageVersionPublishingProfile * string * Microsoft.Azure.Management.Compute.Models.GalleryImageVersionSafetyProfile * Microsoft.Azure.Management.Compute.Models.ReplicationStatus -> Microsoft.Azure.Management.Compute.Models.GalleryImageVersion
Public Sub New (location As String, storageProfile As GalleryImageVersionStorageProfile, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional publishingProfile As GalleryImageVersionPublishingProfile = Nothing, Optional provisioningState As String = Nothing, Optional safetyProfile As GalleryImageVersionSafetyProfile = Nothing, Optional replicationStatus As ReplicationStatus = Nothing)

参数

location
String

资源位置

id
String

资源 ID

name
String

资源名称

type
String

资源类型

tags
IDictionary<String,String>

资源标记

provisioningState
String

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

replicationStatus
ReplicationStatus

适用于