Dela via


IWithWindowsSnapshotSource.WithWindowsFromDisk Method

Definition

Overloads

WithWindowsFromDisk(IDisk)

Specifies the source Windows OS managed disk.

WithWindowsFromDisk(String)

Specifies the source Windows OS managed disk.

WithWindowsFromDisk(IDisk)

Specifies the source Windows OS managed disk.

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

Parameters

sourceDisk
IDisk

A source managed disk.

Returns

Applies to

WithWindowsFromDisk(String)

Specifies the source Windows OS managed disk.

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

Parameters

sourceDiskId
String

A source managed disk resource ID.

Returns

Applies to