VirtualMachineCustomImage.DefinitionStages.WithOSDiskImageSource.withLinuxFromDisk Method

Definition

Overloads

withLinuxFromDisk(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.

withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)

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

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

Parameters

sourceManagedDisk
Disk

source managed disk

osState
OperatingSystemStateTypes

operating system state

Returns

the next stage of the definition

withLinuxFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)

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

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

Parameters

sourceManagedDiskId
java.lang.String

source managed disk resource ID

osState
OperatingSystemStateTypes

operating system state

Returns

the next stage of the definition

Applies to