다음을 통해 공유


IWithOSDiskImageSource.WithWindowsFromVhd Method

Definition

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

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromVhd (string sourceVhdUrl, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromVhd : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromVhd (sourceVhdUrl As String, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings

Parameters

sourceVhdUrl
String

Source Windows virtual hard disk URL.

osState
OperatingSystemStateTypes

Operating system state.

Returns

Applies to