你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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