Interface VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource
- All Known Subinterfaces:
VirtualMachineCustomImage.Definition
,VirtualMachineCustomImage.DefinitionStages.WithHyperVGeneration
,VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSourceAltVirtualMachineSource
- Enclosing interface:
- VirtualMachineCustomImage.DefinitionStages
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 TypeMethodDescriptionwithLinuxFromDisk
(Disk sourceManagedDisk, OperatingSystemStateTypes osState) Specifies the Linux source managed disk for the OS disk image.withLinuxFromDisk
(String sourceManagedDiskId, OperatingSystemStateTypes osState) Specifies the Linux source managed disk for the OS disk image.withLinuxFromSnapshot
(Snapshot sourceSnapshot, OperatingSystemStateTypes osState) Specifies the Linux source snapshot for the OS disk image.withLinuxFromSnapshot
(String sourceSnapshotId, OperatingSystemStateTypes osState) Specifies the Linux source snapshot for the OS disk image.withLinuxFromVhd
(String sourceVhdUrl, OperatingSystemStateTypes osState) Specifies the Linux source native VHD for the OS disk image.withWindowsFromDisk
(Disk sourceManagedDisk, OperatingSystemStateTypes osState) Specifies the Windows source managed disk for the OS disk image.withWindowsFromDisk
(String sourceManagedDiskId, OperatingSystemStateTypes osState) Specifies the Windows source managed disk for the OS disk image.withWindowsFromSnapshot
(Snapshot sourceSnapshot, OperatingSystemStateTypes osState) Specifies the Windows source snapshot for the OS disk image.withWindowsFromSnapshot
(String sourceSnapshotId, OperatingSystemStateTypes osState) Specifies the Windows source snapshot for the OS disk image.withWindowsFromVhd
(String sourceVhdUrl, OperatingSystemStateTypes osState) Specifies the Windows source native VHD for the OS disk image.
-
Method Details
-
withWindowsFromVhd
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 URLosState
- operating system state- Returns:
- the next stage of the definition
-
withLinuxFromVhd
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 URLosState
- operating system state- Returns:
- the next stage of the definition
-
withWindowsFromSnapshot
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState) Specifies the Windows source snapshot for the OS disk image.- Parameters:
sourceSnapshot
- source snapshot resourceosState
- operating system state- Returns:
- the next stage of the definition
-
withLinuxFromSnapshot
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState) Specifies the Linux source snapshot for the OS disk image.- Parameters:
sourceSnapshot
- source snapshot resourceosState
- operating system state- Returns:
- the next stage of the definition
-
withWindowsFromSnapshot
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState) Specifies the Windows source snapshot for the OS disk image.- Parameters:
sourceSnapshotId
- source snapshot resource IDosState
- operating system state- Returns:
- the next stage of the definition
-
withLinuxFromSnapshot
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState) Specifies the Linux source snapshot for the OS disk image.- Parameters:
sourceSnapshotId
- source snapshot resource IDosState
- operating system state- Returns:
- the next stage of the definition
-
withWindowsFromDisk
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 IDosState
- operating system state- Returns:
- the next stage of the definition
-
withLinuxFromDisk
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 IDosState
- operating system state- Returns:
- the next stage of the definition
-
withWindowsFromDisk
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState) Specifies the Windows source managed disk for the OS disk image.- Parameters:
sourceManagedDisk
- source managed diskosState
- operating system state- Returns:
- the next stage of the definition
-
withLinuxFromDisk
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState) Specifies the Linux source managed disk for the OS disk image.- Parameters:
sourceManagedDisk
- source managed diskosState
- operating system state- Returns:
- the next stage of the definition
-