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
With |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java