Delen via


IWithHyperVGeneration.WithHyperVGeneration(HyperVGenerationTypes) Method

Definition

Specifies the Hyper-V image generation.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithOSDiskImageSourceAltVirtualMachineSource WithHyperVGeneration (Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGenerationTypes hyperVGeneration);
abstract member WithHyperVGeneration : Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGenerationTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithOSDiskImageSourceAltVirtualMachineSource
Public Function WithHyperVGeneration (hyperVGeneration As HyperVGenerationTypes) As IWithOSDiskImageSourceAltVirtualMachineSource

Parameters

hyperVGeneration
HyperVGenerationTypes

Hyper-V image generation

Returns

The next stage of the definition.

Applies to