Package version:

The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

interface Image {
    extendedLocation?: ExtendedLocation;
    hyperVGeneration?: string;
    id?: string;
    location: string;
    name?: string;
    provisioningState?: string;
    sourceVirtualMachine?: SubResource;
    storageProfile?: ImageStorageProfile;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
}

Hierarchy (view full)

Properties

extendedLocation?: ExtendedLocation

The extended location of the Image.

hyperVGeneration?: string

Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.

id?: string

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

location: string

Resource location

name?: string

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

provisioningState?: string

The provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.

sourceVirtualMachine?: SubResource

The source virtual machine from which Image is created.

storageProfile?: ImageStorageProfile

Specifies the storage settings for the virtual machine disks.

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.