GalleryScriptVersionPublishingProfile Class

The publishing profile of a gallery image version.

Constructor

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

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. Cannot be specified along with storageAccountStrategy. This property is not updatable. Known values are: "Standard_LRS", "Standard_ZRS", "Premium_LRS", and "PremiumV2_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.

storage_account_strategy

Specifies the strategy to be used when selecting the storage account type. Cannot be specified along with storageAccountType, but can be overridden per region by specifying targetRegions[].storageAccountType. This property is not updatable. Known values are: "PreferStandard_ZRS" and "DefaultStandard_LRS".

source

The source script from which the Script Version is going to be created. Required.

Attributes

source

The source script from which the Script Version is going to be created. Required.

source: _models.ScriptSource