Disk.DefinitionStages.WithDataDiskFromImage Interface
public interface WithDataDiskFromImage
The stage of the managed disk definition allowing to choose source data disk image.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
fromImage(String imageId, int diskLun)
Specifies the ID of an image containing source data disk image. |
Disk. |
fromImage(VirtualMachineCustomImage image, int diskLun)
Specifies a custom image containing a source data disk image. |
Disk. |
fromImage(VirtualMachineImage image, int diskLun)
Specifies an image containing source data disk image. |
Method Details
fromImage
public WithCreateAndSize fromImage(String imageId, int diskLun)
Specifies the ID of an image containing source data disk image.
Parameters:
Returns:
fromImage
public WithCreateAndSize fromImage(VirtualMachineCustomImage image, int diskLun)
Specifies a custom image containing a source data disk image.
Parameters:
Returns:
fromImage
public WithCreateAndSize fromImage(VirtualMachineImage image, int diskLun)
Specifies an image containing source data disk image.
Parameters:
Returns:
Applies to
Azure SDK for Java