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

CommunityGalleryImageVersion 构造函数

定义

重载

CommunityGalleryImageVersion()

初始化 CommunityGalleryImageVersion 类的新实例。

CommunityGalleryImageVersion(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, SharedGalleryImageVersionStorageProfile)

初始化 CommunityGalleryImageVersion 类的新实例。

CommunityGalleryImageVersion()

初始化 CommunityGalleryImageVersion 类的新实例。

public CommunityGalleryImageVersion ();
Public Sub New ()

适用于

CommunityGalleryImageVersion(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, SharedGalleryImageVersionStorageProfile)

初始化 CommunityGalleryImageVersion 类的新实例。

public CommunityGalleryImageVersion (string name = default, string location = default, string type = default, string uniqueId = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, bool? excludeFromLatest = default, Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersionStorageProfile storageProfile = default);
new Microsoft.Azure.Management.Compute.Models.CommunityGalleryImageVersion : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersionStorageProfile -> Microsoft.Azure.Management.Compute.Models.CommunityGalleryImageVersion
Public Sub New (Optional name As String = Nothing, Optional location As String = Nothing, Optional type As String = Nothing, Optional uniqueId As String = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional storageProfile As SharedGalleryImageVersionStorageProfile = Nothing)

参数

name
String

资源名称

location
String

资源位置

type
String

资源类型

uniqueId
String

此社区库的唯一 ID。

publishedDate
Nullable<DateTime>

库映像版本定义的发布日期。 此属性可用于解除授权目的。 此属性可更新。

endOfLifeDate
Nullable<DateTime>

库映像版本定义的生命周期结束日期。 此属性可用于解除授权目的。 此属性可更新。

excludeFromLatest
Nullable<Boolean>

如果设置为 true,则从最新版本的映像定义部署虚拟机将不会使用此映像版本。

storageProfile
SharedGalleryImageVersionStorageProfile

描述映像版本的存储配置文件。

适用于