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

CommunityGalleryImage interface

指定要创建或更新的库映像定义的相关信息。

扩展

属性

architecture

映像的体系结构。 仅适用于 OS 磁盘。

artifactTags

社区库资源的项目标记。

disallowed

描述不允许的磁盘类型。

disclaimer

社区库资源的免责声明。

endOfLifeDate

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

eula

当前社区库映像的最终用户许可协议。

features

库映像功能的列表。

hyperVGeneration

虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。

identifier

这是社区库映像定义标识符。

osState

此属性允许用户指定在此映像下创建的虚拟机是“通用化”还是“专用”。

osType

此属性允许指定从托管映像创建 VM 时磁盘中包含的 OS 类型。 可能的值包括: Windows、Linux。

privacyStatementUri

当前社区库图像的隐私声明 URI。

purchasePlan

介绍库映像定义购买计划。 这由市场映像使用。

recommended

属性描述此映像定义的建议计算机配置。 这些属性是可更新的。

继承属性

location

资源位置 注意:不会序列化此属性。 它只能由服务器填充。

name

资源名称 注意:不会序列化此属性。 它只能由服务器填充。

type

资源类型 注意:此属性不会被序列化。 它只能由服务器填充。

uniqueId

此社区库的唯一 ID。

属性详细信息

architecture

映像的体系结构。 仅适用于 OS 磁盘。

architecture?: string

属性值

string

artifactTags

社区库资源的项目标记。

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

属性值

{[propertyName: string]: string}

disallowed

描述不允许的磁盘类型。

disallowed?: Disallowed

属性值

disclaimer

社区库资源的免责声明。

disclaimer?: string

属性值

string

endOfLifeDate

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

endOfLifeDate?: Date

属性值

Date

eula

当前社区库映像的最终用户许可协议。

eula?: string

属性值

string

features

库映像功能的列表。

features?: GalleryImageFeature[]

属性值

hyperVGeneration

虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。

hyperVGeneration?: string

属性值

string

identifier

这是社区库映像定义标识符。

identifier?: CommunityGalleryImageIdentifier

属性值

osState

此属性允许用户指定在此映像下创建的虚拟机是“通用化”还是“专用”。

osState?: OperatingSystemStateTypes

属性值

osType

此属性允许指定从托管映像创建 VM 时磁盘中包含的 OS 类型。 可能的值包括: Windows、Linux。

osType?: OperatingSystemTypes

属性值

privacyStatementUri

当前社区库图像的隐私声明 URI。

privacyStatementUri?: string

属性值

string

purchasePlan

介绍库映像定义购买计划。 这由市场映像使用。

purchasePlan?: ImagePurchasePlan

属性值

属性描述此映像定义的建议计算机配置。 这些属性是可更新的。

recommended?: RecommendedMachineConfiguration

属性值

继承属性详细信息

location

资源位置 注意:不会序列化此属性。 它只能由服务器填充。

location?: string

属性值

string

继承自PirCommunityGalleryResource.location

name

资源名称 注意:不会序列化此属性。 它只能由服务器填充。

name?: string

属性值

string

继承自PirCommunityGalleryResource.name

type

资源类型 注意:此属性不会被序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自PirCommunityGalleryResource.type

uniqueId

此社区库的唯一 ID。

uniqueId?: string

属性值

string

继承自PirCommunityGalleryResource.uniqueId