SharedGalleryImageVersionProperties Class

Describes the properties of a gallery image version.

Constructor

SharedGalleryImageVersionProperties(*args: Any, **kwargs: Any)

Variables

Name Description
published_date

The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.

end_of_life_date

The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. 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.

storage_profile

Describes the storage profile of the image version.

artifact_tags

The artifact tags of a shared gallery resource.

consumption_end_time

The timestamp after which a soft-deleted gallery image version is no longer consumable for VM/VMSS creation or VMSS scale out. It is calculated from the soft-deleted time plus the retention period, and is not present for active gallery image versions. In dateTime offset format.

image_state

The state of the gallery image version, derived from its soft-delete status. Known values are: "Active" and "SoftDeleted".

Attributes

artifact_tags

The artifact tags of a shared gallery resource.

artifact_tags: dict[str, str] | None

consumption_end_time

The timestamp after which a soft-deleted gallery image version is no longer consumable for VM/VMSS creation or VMSS scale out. It is calculated from the soft-deleted time plus the retention period, and is not present for active gallery image versions. In dateTime offset format.

consumption_end_time: datetime | None

end_of_life_date

The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.

end_of_life_date: datetime | None

exclude_from_latest

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

exclude_from_latest: bool | None

image_state

The state of the gallery image version, derived from its soft-delete status. Known values are: "Active" and "SoftDeleted".

image_state: str | _models.GalleryImageVersionState | None

published_date

The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.

published_date: datetime | None

storage_profile

Describes the storage profile of the image version.

storage_profile: _models.SharedGalleryImageVersionStorageProfile | None