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

GalleryImageVersionPublishingProfile 类

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

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

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.compute.v2019_03_01.models._models_py3.GalleryArtifactPublishingProfileBase
GalleryImageVersionPublishingProfile

构造函数

GalleryImageVersionPublishingProfile(*, source: _models.GalleryArtifactSource, target_regions: List[_models.TargetRegion] | None = None, replica_count: int | None = None, exclude_from_latest: bool | None = None, end_of_life_date: datetime | None = None, storage_account_type: str | _models.StorageAccountType | None = None, **kwargs)

变量

target_regions
list[TargetRegion]

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

replica_count
int

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

exclude_from_latest
bool

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

published_date
datetime

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

end_of_life_date
datetime

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

storage_account_type
strStorageAccountType

指定要用于存储映像的存储帐户类型。 此属性不可更新。 已知值为:“Standard_LRS”和“Standard_ZRS”。

source
GalleryArtifactSource

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