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

GalleryImageVersionPublishingProfile 构造函数

定义

重载

GalleryImageVersionPublishingProfile()

初始化 GalleryImageVersionPublishingProfile 类的新实例。

GalleryImageVersionPublishingProfile(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>)

初始化 GalleryImageVersionPublishingProfile 类的新实例。

GalleryImageVersionPublishingProfile()

初始化 GalleryImageVersionPublishingProfile 类的新实例。

public GalleryImageVersionPublishingProfile ();
Public Sub New ()

适用于

GalleryImageVersionPublishingProfile(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>)

初始化 GalleryImageVersionPublishingProfile 类的新实例。

public GalleryImageVersionPublishingProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions = default, int? replicaCount = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, string storageAccountType = default, string replicationMode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> targetExtendedLocations = default);
new Microsoft.Azure.Management.Compute.Models.GalleryImageVersionPublishingProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> -> Microsoft.Azure.Management.Compute.Models.GalleryImageVersionPublishingProfile
Public Sub New (Optional targetRegions As IList(Of TargetRegion) = Nothing, Optional replicaCount As Nullable(Of Integer) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional storageAccountType As String = Nothing, Optional replicationMode As String = Nothing, Optional targetExtendedLocations As IList(Of GalleryTargetExtendedLocation) = Nothing)

参数

targetRegions
IList<TargetRegion>

映像版本要复制到的目标区域。 此属性可更新。

replicaCount
Nullable<Int32>

每个区域要创建的映像版本的副本数。 如果未指定 regionReplicaCount,则此属性将对区域生效。 此属性可更新。

excludeFromLatest
Nullable<Boolean>

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

publishedDate
Nullable<DateTime>

发布库映像版本时的时间戳。

endOfLifeDate
Nullable<DateTime>

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

storageAccountType
String

指定要用于存储映像的存储帐户类型。 此属性不可更新。 可能的值包括:“Standard_LRS”、“Standard_ZRS”、“Premium_LRS”

replicationMode
String

可选参数,用于指定要用于复制的模式。 此属性不可更新。 可能的值包括:“Full”、“Shallow”

targetExtendedLocations
IList<GalleryTargetExtendedLocation>

映像版本要复制到的目标扩展位置。 此属性可更新。

适用于