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
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:
Returns:
withLinuxFromDisk
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)
Specifies the Linux source managed disk for the OS disk image.
Parameters:
Returns:
withLinuxFromSnapshot
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)
Specifies the Linux source snapshot for the OS disk image.
Parameters:
Returns:
withLinuxFromSnapshot
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)
Specifies the Linux source snapshot for the OS disk image.
Parameters:
Returns:
withLinuxFromVhd
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromVhd(String sourceVhdUrl, OperatingSystemStateTypes osState)
Specifies the Linux source native VHD for the OS disk image.
Parameters:
Returns:
withWindowsFromDisk
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)
Specifies the Windows source managed disk for the OS disk image.
Parameters:
Returns:
withWindowsFromDisk
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromDisk(String sourceManagedDiskId, OperatingSystemStateTypes osState)
Specifies the Windows source managed disk for the OS disk image.
Parameters:
Returns:
withWindowsFromSnapshot
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(Snapshot sourceSnapshot, OperatingSystemStateTypes osState)
Specifies the Windows source snapshot for the OS disk image.
Parameters:
Returns:
withWindowsFromSnapshot
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withWindowsFromSnapshot(String sourceSnapshotId, OperatingSystemStateTypes osState)
Specifies the Windows source snapshot for the OS disk image.
Parameters:
Returns:
withWindowsFromVhd
public abstract VirtualMachineCustomImage.DefinitionStages.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