VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource Interface

public static interface VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource

The stage of the image definition allowing to choose an OS source and an OS state for the OS image.

Method Summary

Modifier and Type Method and Description
abstract WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)

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

abstract WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)

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

abstract WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)

Specifies the Linux source snapshot for the OS disk image.

abstract WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)

Specifies the Linux source snapshot for the OS disk image.

abstract WithCreateAndDataDiskImageOSDiskSettings withLinuxFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)

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

abstract WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)

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

abstract WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)

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

abstract WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)

Specifies the Windows source snapshot for the OS disk image.

abstract WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)

Specifies the Windows source snapshot for the OS disk image.

abstract WithCreateAndDataDiskImageOSDiskSettings withWindowsFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)

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

Method Details

withLinuxFromDisk

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)

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

Parameters:

sourceManagedDisk - source managed disk
osState - operating system state

Returns:

the next stage of the definition

withLinuxFromDisk

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)

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

Parameters:

sourceManagedDiskId - source managed disk resource ID
osState - operating system state

Returns:

the next stage of the definition

withLinuxFromSnapshot

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)

Specifies the Linux source snapshot for the OS disk image.

Parameters:

sourceSnapshot - source snapshot resource
osState - operating system state

Returns:

the next stage of the definition

withLinuxFromSnapshot

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)

Specifies the Linux source snapshot for the OS disk image.

Parameters:

sourceSnapshotId - source snapshot resource ID
osState - operating system state

Returns:

the next stage of the definition

withLinuxFromVhd

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)

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

Parameters:

sourceVhdUrl - source Linux virtual hard disk URL
osState - operating system state

Returns:

the next stage of the definition

withWindowsFromDisk

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)

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

Parameters:

sourceManagedDisk - source managed disk
osState - operating system state

Returns:

the next stage of the definition

withWindowsFromDisk

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)

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

Parameters:

sourceManagedDiskId - source managed disk resource ID
osState - operating system state

Returns:

the next stage of the definition

withWindowsFromSnapshot

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)

Specifies the Windows source snapshot for the OS disk image.

Parameters:

sourceSnapshot - source snapshot resource
osState - operating system state

Returns:

the next stage of the definition

withWindowsFromSnapshot

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)

Specifies the Windows source snapshot for the OS disk image.

Parameters:

sourceSnapshotId - source snapshot resource ID
osState - operating system state

Returns:

the next stage of the definition

withWindowsFromVhd

public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)

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

Parameters:

sourceVhdUrl - source Windows virtual hard disk URL
osState - operating system state

Returns:

the next stage of the definition

Applies to