Share via


GalleryImageProperties interface

Describes the properties of a gallery image definition.

Properties

architecture

The architecture of the image. Applicable to OS disks only.

description

The description of this gallery image definition resource. This property is updatable.

disallowed

Describes the disallowed disk types.

endOfLifeDate

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

eula

The Eula agreement for the gallery image definition.

features

A list of gallery image features.

hyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

identifier

This is the gallery image definition identifier.

osState

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.

osType

This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

Windows

Linux

privacyStatementUri

The privacy statement uri.

purchasePlan

Describes the gallery image definition purchase plan. This is used by marketplace images.

recommended

The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

releaseNoteUri

The release note uri.

Property Details

architecture

The architecture of the image. Applicable to OS disks only.

architecture?: "x64" | "Arm64"

Property Value

"x64" | "Arm64"

description

The description of this gallery image definition resource. This property is updatable.

description?: string

Property Value

string

disallowed

Describes the disallowed disk types.

disallowed?: Disallowed

Property Value

endOfLifeDate

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

endOfLifeDate?: string | Date

Property Value

string | Date

eula

The Eula agreement for the gallery image definition.

eula?: string

Property Value

string

features

A list of gallery image features.

features?: GalleryImageFeature[]

Property Value

hyperVGeneration

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

hyperVGeneration?: "V1" | "V2"

Property Value

"V1" | "V2"

identifier

This is the gallery image definition identifier.

identifier: GalleryImageIdentifier

Property Value

osState

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.

osState: "Generalized" | "Specialized"

Property Value

"Generalized" | "Specialized"

osType

This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

Windows

Linux

osType: "Windows" | "Linux"

Property Value

"Windows" | "Linux"

privacyStatementUri

The privacy statement uri.

privacyStatementUri?: string

Property Value

string

purchasePlan

Describes the gallery image definition purchase plan. This is used by marketplace images.

purchasePlan?: ImagePurchasePlan

Property Value

The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

recommended?: RecommendedMachineConfiguration

Property Value

releaseNoteUri

The release note uri.

releaseNoteUri?: string

Property Value

string