GalleryApplicationVersionPublishingProfile Class

The publishing profile of a gallery image version.

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.compute.v2021_07_01.models._models_py3.GalleryArtifactPublishingProfileBase
GalleryApplicationVersionPublishingProfile

Constructor

GalleryApplicationVersionPublishingProfile(*, source: azure.mgmt.compute.v2021_07_01.models._models_py3.UserArtifactSource, 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, manage_actions: Optional[azure.mgmt.compute.v2021_07_01.models._models_py3.UserArtifactManage] = None, enable_health_check: Optional[bool] = 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".

source
UserArtifactSource
Required

Required. The source image from which the Image Version is going to be created.

manage_actions
UserArtifactManage
Required
enable_health_check
bool
Required

Optional. Whether or not this application reports health.

Variables

published_date
datetime

The timestamp for when the gallery image version is published.