VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource Interface
public interface WithOSDiskImageSource
The stage of the image definition allowing to choose an OS source and an OS state for the OS image.
Method Summary
Method Details
withLinuxFromDisk
public WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)
Specifies the Linux source managed disk for the OS disk image.
Parameters:
Returns:
withLinuxFromDisk
public WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)
Specifies the Linux source managed disk for the OS disk image.
Parameters:
Returns:
withLinuxFromSnapshot
public WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)
Specifies the Linux source snapshot for the OS disk image.
Parameters:
Returns:
withLinuxFromSnapshot
public WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)
Specifies the Linux source snapshot for the OS disk image.
Parameters:
Returns:
withLinuxFromVhd
public WithCreateAndDataDiskImageOSDiskSettings withLinuxFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)
Specifies the Linux source native VHD for the OS disk image.
Parameters:
Returns:
withWindowsFromDisk
public WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)
Specifies the Windows source managed disk for the OS disk image.
Parameters:
Returns:
withWindowsFromDisk
public WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)
Specifies the Windows source managed disk for the OS disk image.
Parameters:
Returns:
withWindowsFromSnapshot
public WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)
Specifies the Windows source snapshot for the OS disk image.
Parameters:
Returns:
withWindowsFromSnapshot
public WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)
Specifies the Windows source snapshot for the OS disk image.
Parameters:
Returns:
withWindowsFromVhd
public WithCreateAndDataDiskImageOSDiskSettings withWindowsFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)
Specifies the Windows source native VHD for the OS disk image.
Parameters:
Returns:
Applies to
Azure SDK for Java