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

SharedGalleryImageVersion 类

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

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.compute.v2022_03_03.models._models_py3.PirSharedGalleryResource
SharedGalleryImageVersion

构造函数

SharedGalleryImageVersion(*, unique_id: str | None = None, published_date: datetime | None = None, end_of_life_date: datetime | None = None, exclude_from_latest: bool | None = None, storage_profile: _models.SharedGalleryImageVersionStorageProfile | None = None, **kwargs)

变量

name
str

资源名称。

location
str

资源位置。

unique_id
str

此共享库的唯一 ID。

published_date
datetime

库映像版本定义的发布日期。 此属性可用于解除授权目的。 此属性可更新。

end_of_life_date
datetime

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

exclude_from_latest
bool

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

storage_profile
SharedGalleryImageVersionStorageProfile

描述映像版本的存储配置文件。