Partager via


GalleryArtifactPublishingProfileBase Class

Describes the basic gallery artifact publishing profile.

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

Inheritance
azure.mgmt.compute._serialization.Model
GalleryArtifactPublishingProfileBase

Constructor

GalleryArtifactPublishingProfileBase(*, 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)

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", "Standard_ZRS", and "Premium_LRS".

replication_mode

Optional parameter which specifies the mode to be used for replication. This property is not updatable. Known values are: "Full" and "Shallow".

target_extended_locations

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

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", "Standard_ZRS", and "Premium_LRS".

replication_mode

Optional parameter which specifies the mode to be used for replication. This property is not updatable. Known values are: "Full" and "Shallow".

target_extended_locations

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