Share via


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

IWithOSDiskImageSource.WithLinuxFromVhd 方法

定义

指定 OS 磁盘映像的 Linux 源本机 VHD。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithLinuxFromVhd (string sourceVhdUrl, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithLinuxFromVhd : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithLinuxFromVhd (sourceVhdUrl As String, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings

参数

sourceVhdUrl
String

源 Linux 虚拟硬盘 URL。

osState
OperatingSystemStateTypes

操作系统状态。

返回

适用于