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

GalleryImageVersionPublishingProfile 类

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

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

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

构造函数

GalleryImageVersionPublishingProfile(*, 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, replication_mode: str | _models.ReplicationMode | None = None, target_extended_locations: List[_models.GalleryTargetExtendedLocation] | None = None, **kwargs: Any)

仅限关键字的参数

名称 说明
target_regions

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

replica_count
int

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

exclude_from_latest

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

end_of_life_date

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

storage_account_type

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

replication_mode

可选参数,指定用于复制的模式。 此属性不可更新。 已知值为:“Full”和“Shallow”。

target_extended_locations

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

变量

名称 说明
target_regions

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

replica_count
int

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

exclude_from_latest

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

published_date

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

end_of_life_date

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

storage_account_type

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

replication_mode

可选参数,指定用于复制的模式。 此属性不可更新。 已知值为:“Full”和“Shallow”。

target_extended_locations

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