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

IWithWindowsSnapshotSource.WithWindowsFromDisk 方法

定义

重载

WithWindowsFromDisk(IDisk)

指定源 Windows OS 托管磁盘。

WithWindowsFromDisk(String)

指定源 Windows OS 托管磁盘。

WithWindowsFromDisk(IDisk)

指定源 Windows OS 托管磁盘。

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

参数

sourceDisk
IDisk

源托管磁盘。

返回

适用于

WithWindowsFromDisk(String)

指定源 Windows OS 托管磁盘。

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

参数

sourceDiskId
String

源托管磁盘资源 ID。

返回

适用于