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

IWithOSDiskImageSourceAltVirtualMachineSource 接口

定义

映像定义的阶段,允许选择使用虚拟机作为 OS 和数据磁盘映像的源或开始 OS 磁盘映像定义。

public interface IWithOSDiskImageSourceAltVirtualMachineSource : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithOSDiskImageSource, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithSourceVirtualMachine
type IWithOSDiskImageSourceAltVirtualMachineSource = interface
    interface IWithOSDiskImageSource
    interface IWithSourceVirtualMachine
Public Interface IWithOSDiskImageSourceAltVirtualMachineSource
Implements IWithOSDiskImageSource, IWithSourceVirtualMachine
派生
实现

方法

FromVirtualMachine(IVirtualMachine)

使用虚拟机的 OS 和数据磁盘作为此映像的 OS 磁盘映像和数据磁盘映像的源。

(继承自 IWithSourceVirtualMachine)
FromVirtualMachine(String)

使用虚拟机的 OS 磁盘和数据磁盘作为此映像的 OS 磁盘映像和数据磁盘映像的源。

(继承自 IWithSourceVirtualMachine)
WithLinuxFromDisk(IDisk, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Linux 源托管磁盘。

(继承自 IWithOSDiskImageSource)
WithLinuxFromDisk(String, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Linux 源托管磁盘。

(继承自 IWithOSDiskImageSource)
WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Linux 源快照。

(继承自 IWithOSDiskImageSource)
WithLinuxFromSnapshot(String, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Linux 源快照。

(继承自 IWithOSDiskImageSource)
WithLinuxFromVhd(String, OperatingSystemStateTypes)

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

(继承自 IWithOSDiskImageSource)
WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Windows 源托管磁盘。

(继承自 IWithOSDiskImageSource)
WithWindowsFromDisk(String, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Windows 源托管磁盘。

(继承自 IWithOSDiskImageSource)
WithWindowsFromSnapshot(ISnapshot, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Windows 源快照。

(继承自 IWithOSDiskImageSource)
WithWindowsFromSnapshot(String, OperatingSystemStateTypes)

指定 OS 磁盘映像的 Windows 源快照。

(继承自 IWithOSDiskImageSource)
WithWindowsFromVhd(String, OperatingSystemStateTypes)

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

(继承自 IWithOSDiskImageSource)

适用于