GalleryImageVersionPublishingProfile Class

The publishing profile of a gallery image Version.

Constructor

GalleryImageVersionPublishingProfile()

Variables

Name Description
targetRegions
list[<xref:"TargetRegion">]

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

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

excludeFromLatest

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

publishedDate
str

The timestamp for when the gallery image version is published.

endOfLifeDate
str

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

storageAccountType
Union[str, <xref:"StorageAccountType">]

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

replicationMode
Union[str, <xref:"ReplicationMode">]

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

targetExtendedLocations
list[<xref:"GalleryTargetExtendedLocation">]

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

storageAccountStrategy
Union[str, <xref:"StorageAccountStrategy">]

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

Attributes

endOfLifeDate

endOfLifeDate: str

excludeFromLatest

excludeFromLatest: bool

publishedDate

publishedDate: str

replicaCount

replicaCount: int

replicationMode

replicationMode: str | ReplicationMode

storageAccountStrategy

storageAccountStrategy: str | StorageAccountStrategy

storageAccountType

storageAccountType: str | StorageAccountType

targetExtendedLocations

targetExtendedLocations: list['GalleryTargetExtendedLocation']

targetRegions

targetRegions: list['TargetRegion']