IWithOSDiskImageSource.WithWindowsFromDisk 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.
Overloads
WithWindowsFromDisk(IDisk, OperatingSystemStateTypes) |
Specifies the Windows source managed disk for the OS disk image. |
WithWindowsFromDisk(String, OperatingSystemStateTypes) |
Specifies the Windows source managed disk for the OS disk image. |
WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)
Specifies the Windows source managed disk for the OS disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk sourceManagedDisk, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromDisk (sourceManagedDisk As IDisk, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings
Parameters
- sourceManagedDisk
- IDisk
Source managed disk.
- osState
- OperatingSystemStateTypes
Operating system state.
Returns
Applies to
WithWindowsFromDisk(String, OperatingSystemStateTypes)
Specifies the Windows source managed disk for the OS disk image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromDisk (string sourceManagedDiskId, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromDisk : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromDisk (sourceManagedDiskId As String, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings
Parameters
- sourceManagedDiskId
- String
Source managed disk resource ID.
- osState
- OperatingSystemStateTypes
Operating system state.
Returns
Applies to
Azure SDK for .NET