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
GalleryArtifactPublishingProfileBase

Constructor

GalleryArtifactPublishingProfileBase(*, target_regions: Optional[List[azure.mgmt.compute.v2021_07_01.models._models_py3.TargetRegion]] = None, replica_count: Optional[int] = None, exclude_from_latest: Optional[bool] = None, end_of_life_date: Optional[datetime.datetime] = None, storage_account_type: Optional[Union[str, azure.mgmt.compute.v2021_07_01.models._compute_management_client_enums.StorageAccountType]] = None, replication_mode: Optional[Union[str, azure.mgmt.compute.v2021_07_01.models._compute_management_client_enums.ReplicationMode]] = None, **kwargs)

Parameters

target_regions
list[TargetRegion]
Required

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

replica_count
int
Required

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
bool
Required

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
datetime
Required

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
str or StorageAccountType
Required

Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: "Standard_LRS", "Standard_ZRS", "Premium_LRS".

replication_mode
str or ReplicationMode
Required

Optional parameter which specifies the mode to be used for replication. This property is not updatable. Possible values include: "Full", "Shallow".

Variables

published_date
datetime

The timestamp for when the gallery image version is published.