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

GalleryArtifactPublishingProfileBase 构造函数

定义

重载

GalleryArtifactPublishingProfileBase()

初始化 GalleryArtifactPublishingProfileBase 类的新实例。

GalleryArtifactPublishingProfileBase(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, StorageAccountType)

初始化 GalleryArtifactPublishingProfileBase 类的新实例。

GalleryArtifactPublishingProfileBase()

初始化 GalleryArtifactPublishingProfileBase 类的新实例。

public GalleryArtifactPublishingProfileBase ();
Public Sub New ()

适用于

GalleryArtifactPublishingProfileBase(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, StorageAccountType)

初始化 GalleryArtifactPublishingProfileBase 类的新实例。

public GalleryArtifactPublishingProfileBase (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.TargetRegion> targetRegions = default, int? replicaCount = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountType storageAccountType = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.GalleryArtifactPublishingProfileBase : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountType -> Microsoft.Azure.Management.Compute.Fluent.Models.GalleryArtifactPublishingProfileBase
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 StorageAccountType = Nothing)

参数

targetRegions
IList<TargetRegion>

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

replicaCount
Nullable<Int32>

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

excludeFromLatest
Nullable<Boolean>

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

publishedDate
Nullable<DateTime>

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

endOfLifeDate
Nullable<DateTime>

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

storageAccountType
StorageAccountType

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

适用于