通过


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

GalleryApplicationVersionPublishingProfile interface

库映像版本的发布配置文件。

扩展

属性

advancedSettings

自选。 要传递给 vm-application-manager 扩展的其他设置。 仅用于高级使用。

customActions

可以使用此库应用程序版本执行的自定义作列表。

enableHealthCheck

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

manageActions
settings

将目标包和配置文件名称部署到目标 VM 或 VM 规模集时,VM 应用的其他设置。

source

要从中创建映像版本的源映像。

继承属性

endOfLifeDate

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

excludeFromLatest

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

publishedDate

发布库映像版本的时间戳。 注意:此属性不会序列化。 它只能由服务器填充。

replicaCount

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

replicationMode

可选参数,用于指定要用于复制的模式。 此属性不可更新。

storageAccountStrategy

指定选择存储账户类型时应采用的策略。 不能与 storageAccountType 一起指定,但可以通过指定 targetRegions[].storageAccountType 来覆盖每个区域。 此属性不可更新。

storageAccountType

指定要用于存储映像的存储帐户类型。 无法与storageAccountStrategy一起指定。 此属性不可更新。

targetExtendedLocations

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

targetRegions

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

属性详细信息

advancedSettings

自选。 要传递给 vm-application-manager 扩展的其他设置。 仅用于高级使用。

advancedSettings?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

customActions

可以使用此库应用程序版本执行的自定义作列表。

customActions?: GalleryApplicationCustomAction[]

属性值

enableHealthCheck

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

enableHealthCheck?: boolean

属性值

boolean

manageActions

manageActions?: UserArtifactManage

属性值

settings

将目标包和配置文件名称部署到目标 VM 或 VM 规模集时,VM 应用的其他设置。

settings?: UserArtifactSettings

属性值

source

要从中创建映像版本的源映像。

source: UserArtifactSource

属性值

继承属性详细信息

endOfLifeDate

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

endOfLifeDate?: Date

属性值

Date

继承自 GalleryArtifactPublishingProfileBase.endOfLifeDate

excludeFromLatest

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

excludeFromLatest?: boolean

属性值

boolean

继承自 GalleryArtifactPublishingProfileBase.excludeFromLatest

publishedDate

发布库映像版本的时间戳。 注意:此属性不会序列化。 它只能由服务器填充。

publishedDate?: Date

属性值

Date

继承自 GalleryArtifactPublishingProfileBase.publishedDate

replicaCount

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

replicaCount?: number

属性值

number

继承自GalleryArtifactPublishingProfileBase.replicaCount

replicationMode

可选参数,用于指定要用于复制的模式。 此属性不可更新。

replicationMode?: string

属性值

string

继承自GalleryArtifactPublishingProfileBase.replicationMode

storageAccountStrategy

指定选择存储账户类型时应采用的策略。 不能与 storageAccountType 一起指定,但可以通过指定 targetRegions[].storageAccountType 来覆盖每个区域。 此属性不可更新。

storageAccountStrategy?: string

属性值

string

继承自GalleryArtifactPublishingProfileBase.storageAccountStrategy

storageAccountType

指定要用于存储映像的存储帐户类型。 无法与storageAccountStrategy一起指定。 此属性不可更新。

storageAccountType?: string

属性值

string

继承自 GalleryArtifactPublishingProfileBase.storageAccountType

targetExtendedLocations

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

targetExtendedLocations?: GalleryTargetExtendedLocation[]

属性值

继承自GalleryArtifactPublishingProfileBase.targetExtendedLocations

targetRegions

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

targetRegions?: TargetRegion[]

属性值

继承自 GalleryArtifactPublishingProfileBase.targetRegions