Push items: VHD

class pushsource.VHDPushItem[source]

A PushItem representing a Virtual Hard Disk (or VHD).

For push items of this type, the src() attribute refers to a file containing the VHD file..

This library does not verify that the referenced file is a valid snapshot.

Note: As some attributes can not be obtained directly from Koji they’re marked as optional in the attrs validators. With this the VHDPushItem objects can be created without these attributes and the missing values can be added later by using attrs.evolve.

Attributes:

generation

VHD generation. It can be V1 or V2.

Type:

str

sku_id

SKU ID for the VM image generation, generally being the Plan ID.

Type:

str

support_legacy

If the image generation == V2 but also supports V1.

Type:

bool

legacy_sku_id

The V1 SKU ID (only if support_legacy is true).

Type:

str

disk_version

The image’s disk version according to Azure’s format {int}.{int}.{int}

Type:

str

recommended_sizes

List of recommended VM sizes in Azure, for example [‘a1-standard’, ‘a5’, ‘a7’]

Type:

list

sas_uri

The SAS URI to be associated with the disk_version.

Type:

str