Delen via


IWithHyperVGeneration Interface

Definition

The stage of the image definition that allows us to choose a hyper V generation. Default, if this stage is not added will be hyperV gen 1.

public interface IWithHyperVGeneration : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithOSDiskImageSourceAltVirtualMachineSource
type IWithHyperVGeneration = interface
    interface IWithOSDiskImageSourceAltVirtualMachineSource
    interface IWithOSDiskImageSource
    interface IWithSourceVirtualMachine
Public Interface IWithHyperVGeneration
Implements IWithOSDiskImageSourceAltVirtualMachineSource
Derived
Implements

Methods

FromVirtualMachine(IVirtualMachine)

Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image.

(Inherited from IWithSourceVirtualMachine)
FromVirtualMachine(String)

Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image.

(Inherited from IWithSourceVirtualMachine)
WithHyperVGeneration(HyperVGenerationTypes)

Specifies the Hyper-V image generation.

WithLinuxFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromDisk(String, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromVhd(String, OperatingSystemStateTypes)

Specifies the Linux source native VHD for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Windows source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromDisk(String, OperatingSystemStateTypes)

Specifies the Windows source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Windows source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Windows source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromVhd(String, OperatingSystemStateTypes)

Specifies the Windows source native VHD for the OS disk image.

(Inherited from IWithOSDiskImageSource)

Applies to