你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn 。
IWithHyperVGeneration 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许我们选择 hyper V 代的映像定义的阶段。
默认情况下,如果未添加此阶段,则为 hyperV gen 1。
public interface IWithHyperVGeneration : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithOSDiskImageSourceAltVirtualMachineSource
type IWithHyperVGeneration = interface
interface IWithOSDiskImageSourceAltVirtualMachineSource
interface IWithOSDiskImageSource
interface IWithSourceVirtualMachine
Public Interface IWithHyperVGeneration
Implements IWithOSDiskImageSourceAltVirtualMachineSource
派生
实现
方法
FromVirtualMachine(IVirtualMachine)
使用虚拟机的 OS 和数据磁盘作为此映像的 OS 磁盘映像和数据磁盘映像的源。
(继承自 IWithSourceVirtualMachine )
FromVirtualMachine(String)
使用虚拟机的 OS 磁盘和数据磁盘作为此映像的 OS 磁盘映像和数据磁盘映像的源。
(继承自 IWithSourceVirtualMachine )
WithHyperVGeneration(HyperVGenerationTypes)
指定 Hyper-V 映像生成。
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 )
适用于