Delen via


IWithWindowsDiskSource.WithWindowsFromDisk Method

Definition

Overloads

WithWindowsFromDisk(IDisk)

Specifies a source Windows OS managed disk.

WithWindowsFromDisk(String)

Specifies a source Windows OS managed disk.

WithWindowsFromDisk(IDisk)

Specifies a source Windows OS managed disk.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize WithWindowsFromDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk sourceDisk);
abstract member WithWindowsFromDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function WithWindowsFromDisk (sourceDisk As IDisk) As IWithCreateAndSize

Parameters

sourceDisk
IDisk

Source managed disk.

Returns

Applies to

WithWindowsFromDisk(String)

Specifies a source Windows OS managed disk.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize WithWindowsFromDisk (string sourceDiskId);
abstract member WithWindowsFromDisk : string -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function WithWindowsFromDisk (sourceDiskId As String) As IWithCreateAndSize

Parameters

sourceDiskId
String

Source managed disk resource ID.

Returns

Applies to