VirtualMachineCustomImage.DefinitionStages.WithSourceVirtualMachine Interface
public static interface VirtualMachineCustomImage.DefinitionStages.WithSourceVirtualMachine
The stage of the image definition allowing to choose source virtual machine.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
fromVirtualMachine(VirtualMachine virtualMachine)
Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image. |
abstract
With |
fromVirtualMachine(String virtualMachineId)
Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image. |
Method Details
fromVirtualMachine
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreate fromVirtualMachine(VirtualMachine virtualMachine)
Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image.
Parameters:
Returns:
fromVirtualMachine
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreate fromVirtualMachine(String virtualMachineId)
Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image.
Parameters:
Returns:
Applies to
Azure SDK for Java