VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage Interface
public static interface VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage
The stage of an image definition allowing to add a data disk image.
Modifier and Type | Method and Description |
---|---|
abstract
Blank<With |
define Begins the definition of a new data disk image to add to the image. |
abstract
With |
with Adds a data disk image with an existing managed disk as the source. |
abstract
With |
with Adds a data disk image with an existing snapshot as the source. |
abstract
With |
with Adds a data disk image with a virtual hard disk as the source. |
defineDataDiskImage
public abstract VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.Blank
Begins the definition of a new data disk image to add to the image.
Returns:
withDataDiskImageFromManagedDisk
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withDataDiskImageFromManagedDisk(String sourceManagedDiskId)
Adds a data disk image with an existing managed disk as the source.
Parameters:
Returns:
withDataDiskImageFromSnapshot
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withDataDiskImageFromSnapshot(String sourceSnapshotId)
Adds a data disk image with an existing snapshot as the source.
Parameters:
Returns:
withDataDiskImageFromVhd
public abstract VirtualMachineCustomImage.DefinitionStages.WithCreateAndDataDiskImageOSDiskSettings withDataDiskImageFromVhd(String sourceVhdUrl)
Adds a data disk image with a virtual hard disk as the source.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: