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

GalleryApplicationVersionPublishingProfile 构造函数

定义

重载

GalleryApplicationVersionPublishingProfile()

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, StorageAccountType, String, Nullable<Boolean>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

GalleryApplicationVersionPublishingProfile()

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

public GalleryApplicationVersionPublishingProfile ();
Public Sub New ()

适用于

GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, StorageAccountType, String, Nullable<Boolean>)

初始化 GalleryApplicationVersionPublishingProfile 类的新实例。

public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Fluent.Models.UserArtifactSource source, 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, string contentType = default, bool? enableHealthCheck = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Fluent.Models.UserArtifactSource * 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 * string * Nullable<bool> -> Microsoft.Azure.Management.Compute.Fluent.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, 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, Optional contentType As String = Nothing, Optional enableHealthCheck As Nullable(Of Boolean) = 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”

contentType
String

可选。 可用于帮助处理此文件。 源中包含的文件类型,例如 zip、json 等。

enableHealthCheck
Nullable<Boolean>

可选。 此应用程序是否报告运行状况。

适用于