Delen via


IWithImageSource<ParentT>.FromManagedDisk Method

Definition

Overloads

FromManagedDisk(IDisk)

Specifies the source managed disk for the data disk image.

FromManagedDisk(String)

Specifies the source managed disk for the data disk image.

FromManagedDisk(IDisk)

Specifies the source managed disk for the data disk image.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT> FromManagedDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk sourceManagedDisk);
abstract member FromManagedDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<'ParentT>
Public Function FromManagedDisk (sourceManagedDisk As IDisk) As IWithAttach(Of ParentT)

Parameters

sourceManagedDisk
IDisk

Source managed disk.

Returns

Applies to

FromManagedDisk(String)

Specifies the source managed disk for the data disk image.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT> FromManagedDisk (string sourceManagedDiskId);
abstract member FromManagedDisk : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<'ParentT>
Public Function FromManagedDisk (sourceManagedDiskId As String) As IWithAttach(Of ParentT)

Parameters

sourceManagedDiskId
String

Source managed disk resource ID.

Returns

Applies to