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 server.

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

Constructor

GalleryApplicationVersionPublishingProfile(*, source: _models.UserArtifactSource, 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, manage_actions: _models.UserArtifactManage | None = None, settings: _models.UserArtifactSettings | None = None, advanced_settings: Dict[str, str] | None = None, enable_health_check: bool | None = None, custom_actions: List[_models.GalleryApplicationCustomAction] | 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.

source

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

manage_actions
settings

Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.

advanced_settings

Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.

enable_health_check

Optional. Whether or not this application reports health.

custom_actions

A list of custom actions that can be performed with this Gallery Application Version.

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.

source

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

manage_actions
settings

Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.

advanced_settings

Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.

enable_health_check

Optional. Whether or not this application reports health.

custom_actions

A list of custom actions that can be performed with this Gallery Application Version.