共用方式為


IWithOSDiskImageSourceAltVirtualMachineSource Interface

Definition

The stage of the image definition that allows choosing between using a virtual machine as the source for OS and the data disk images or beginning an OS disk image definition.

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
Derived
Implements

Methods

FromVirtualMachine(IVirtualMachine)

Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image.

(Inherited from IWithSourceVirtualMachine)
FromVirtualMachine(String)

Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image.

(Inherited from IWithSourceVirtualMachine)
WithLinuxFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromDisk(String, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromVhd(String, OperatingSystemStateTypes)

Specifies the Linux source native VHD for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Windows source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromDisk(String, OperatingSystemStateTypes)

Specifies the Windows source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Windows source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Windows source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromVhd(String, OperatingSystemStateTypes)

Specifies the Windows source native VHD for the OS disk image.

(Inherited from IWithOSDiskImageSource)

Applies to