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

IWithOS.WithSpecializedOSUnmanagedDisk(String, OperatingSystemTypes) 方法

定义

指定要附加到虚拟机的专用操作系统非托管磁盘。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUnmanagedCreate WithSpecializedOSUnmanagedDisk (string osDiskUrl, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes osType);
abstract member WithSpecializedOSUnmanagedDisk : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUnmanagedCreate
Public Function WithSpecializedOSUnmanagedDisk (osDiskUrl As String, osType As OperatingSystemTypes) As IWithUnmanagedCreate

参数

osDiskUrl
String

OsDiskUrl 指向 Azure 存储帐户中 OS 磁盘的 URL。

osType
OperatingSystemTypes

OS 类型。

返回

适用于