次の方法で共有


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

Modifier and Type Method and Description
VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withLinuxFromDisk(Disk sourceManagedDisk, OperatingSystemStateTypes osState)

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

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

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

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

Specifies the Linux source snapshot for the OS disk image.

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

Specifies the Linux source snapshot for the OS disk image.

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

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

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

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

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

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

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

Specifies the Windows source snapshot for the OS disk image.

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

Specifies the Windows source snapshot for the OS disk image.

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

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

Method Details

withLinuxFromDisk

public 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 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 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 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 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 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 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 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 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 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