GalleryImageVersionPublishingProfile Class

The publishing profile of a gallery Image Version.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute.v2019_07_01.models._models_py3.GalleryArtifactPublishingProfileBase
GalleryImageVersionPublishingProfile

Constructor

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, **kwargs: Any)

Keyword-Only Parameters

Name Description
target_regions

The target regions where the Image Version is going to be replicated to. This property is updatable.

replica_count
int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

exclude_from_latest

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

end_of_life_date

The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.

storage_account_type

Specifies the storage account type to be used to store the image. This property is not updatable. Known values are: "Standard_LRS" and "Standard_ZRS".

Variables

Name Description
target_regions

The target regions where the Image Version is going to be replicated to. This property is updatable.

replica_count
int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

exclude_from_latest

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

published_date

The timestamp for when the gallery Image Version is published.

end_of_life_date

The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.

storage_account_type

Specifies the storage account type to be used to store the image. This property is not updatable. Known values are: "Standard_LRS" and "Standard_ZRS".