共用方式為


IWithDataDiskFromDisk.FromDisk Method

Definition

Overloads

FromDisk(IDisk)

Specifies the source data managed disk.

FromDisk(String)

Specifies the ID of source data managed disk.

FromDisk(IDisk)

Specifies the source data managed disk.

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

Parameters

managedDisk
IDisk

Source managed disk.

Returns

Applies to

FromDisk(String)

Specifies the ID of source data managed disk.

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

Parameters

managedDiskId
String

Source managed disk resource ID.

Returns

Applies to