Share via


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

IWithUnmanagedDataDisk.WithExistingUnmanagedDataDisk 方法

定义

将现有的非托管 VHD 作为数据磁盘附加到虚拟机。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUnmanagedCreate WithExistingUnmanagedDataDisk (string storageAccountName, string containerName, string vhdName);
abstract member WithExistingUnmanagedDataDisk : string * string * string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUnmanagedCreate
Public Function WithExistingUnmanagedDataDisk (storageAccountName As String, containerName As String, vhdName As String) As IWithUnmanagedCreate

参数

storageAccountName
String

存储帐户名称。

containerName
String

保存 VHD 文件的容器的名称。

vhdName
String

VHD 文件的名称。

返回

适用于