Package version:

Interface GalleryImage

Specifies information about the gallery image definition that you want to create or update.

interface GalleryImage {
    allowUpdateImage?: boolean;
    architecture?: string;
    description?: string;
    disallowed?: Disallowed;
    endOfLifeDate?: any;
    eula?: string;
    features?: GalleryImageFeature[];
    hyperVGeneration?: string;
    id?: string;
    identifier?: GalleryImageIdentifier;
    location: string;
    name?: string;
    osState?: OperatingSystemStateTypes;
    osType?: OperatingSystemTypes;
    privacyStatementUri?: string;
    provisioningState?: string;
    purchasePlan?: ImagePurchasePlan;
    recommended?: RecommendedMachineConfiguration;
    releaseNoteUri?: string;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
}

Hierarchy (view full)

Properties

allowUpdateImage?: boolean

Optional. Must be set to true if the gallery image features are being updated.

architecture?: string

CPU architecture supported by an OS disk.

description?: string

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

disallowed?: Disallowed

Describes the disallowed disk types.

endOfLifeDate?: any

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

eula?: string

The Eula agreement for the gallery image definition.

features?: GalleryImageFeature[]

A list of gallery image features.

hyperVGeneration?: string

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

id?: string

Resource Id NOTE: This property will not be serialized. It can only be populated by the server.

This is the gallery image definition identifier.

location: string

Resource location

name?: string

Resource name NOTE: This property will not be serialized. It can only be populated by the server.

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

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?: string

The privacy statement uri.

provisioningState?: string

The provisioning state, which only appears in the response. NOTE: This property will not be serialized. It can only be populated by the server.

purchasePlan?: ImagePurchasePlan

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

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

releaseNoteUri?: string

The release note uri.

tags?: {
    [propertyName: string]: string;
}

Resource tags

type?: string

Resource type NOTE: This property will not be serialized. It can only be populated by the server.