다음을 통해 공유


IWithDataSnapshotFromDisk.WithDataFromDisk Method

Definition

Overloads

WithDataFromDisk(IDisk)

Specifies the source data managed disk.

WithDataFromDisk(String)

Specifies the ID of source data managed disk.

WithDataFromDisk(IDisk)

Specifies the source data managed disk.

public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate WithDataFromDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk managedDisk);
abstract member WithDataFromDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function WithDataFromDisk (managedDisk As IDisk) As IWithCreate

Parameters

managedDisk
IDisk

A source managed disk.

Returns

Applies to

WithDataFromDisk(String)

Specifies the ID of source data managed disk.

public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate WithDataFromDisk (string managedDiskId);
abstract member WithDataFromDisk : string -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function WithDataFromDisk (managedDiskId As String) As IWithCreate

Parameters

managedDiskId
String

Source managed disk resource ID.

Returns

Applies to