VirtualMachineCustomImage.DefinitionStages.WithHyperVGeneration Interface

Implements

public static interface VirtualMachineCustomImage.DefinitionStages.WithHyperVGeneration
extends WithOSDiskImageSourceAltVirtualMachineSource

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.

Method Summary

Modifier and Type Method and Description
abstract WithOSDiskImageSourceAltVirtualMachineSource withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)

Specifies the Hyper-V generation.

Method Details

withHyperVGeneration

public abstract VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSourceAltVirtualMachineSource withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)

Specifies the Hyper-V generation.

Parameters:

hyperVGeneration - the Hyper-V generation

Returns:

the next stage of the definition

Applies to