IWithOSDiskImageSource.WithWindowsFromVhd Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.