GalleryArtifactPublishingProfileBase Class

Describes the basic gallery artifact publishing profile.

Constructor

GalleryArtifactPublishingProfileBase()

Variables

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

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
str

The timestamp for when the gallery image version is published.

end_of_life_date
str

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

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

target_extended_locations
list[<xref:"GalleryTargetExtendedLocation">]

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

storage_account_strategy
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

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

endOfLifeDate: str

excludeFromLatest

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

excludeFromLatest: bool

publishedDate

The timestamp for when the gallery image version is published.

publishedDate: str

replicaCount

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.

replicaCount: int

replicationMode

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

replicationMode: str | ReplicationMode

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

storageAccountStrategy: str | StorageAccountStrategy

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

storageAccountType: str | StorageAccountType

targetExtendedLocations

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

targetExtendedLocations: list['GalleryTargetExtendedLocation']

targetRegions

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

targetRegions: list['TargetRegion']