Lezen in het Engels

Delen via


Disk.DefinitionStages.WithDataDiskFromImage Interface

public static interface Disk.DefinitionStages.WithDataDiskFromImage

The stage of the managed disk definition allowing to choose source data disk image.

Method Summary

Modifier and Type Method and Description
abstract WithCreateAndSize fromImage(String imageId, int diskLun)

Specifies the ID of an image containing source data disk image.

abstract WithCreateAndSize fromImage(VirtualMachineCustomImage image, int diskLun)

Specifies a custom image containing a source data disk image.

abstract WithCreateAndSize fromImage(VirtualMachineImage image, int diskLun)

Specifies an image containing source data disk image.

Method Details

fromImage

public abstract Disk.DefinitionStages.WithCreateAndSize fromImage(String imageId, int diskLun)

Specifies the ID of an image containing source data disk image.

Parameters:

imageId - image resource ID
diskLun - LUN of the disk image

Returns:

the next stage of the definition

fromImage

public abstract Disk.DefinitionStages.WithCreateAndSize fromImage(VirtualMachineCustomImage image, int diskLun)

Specifies a custom image containing a source data disk image.

Parameters:

image - the image
diskLun - LUN of the disk image

Returns:

the next stage of the definition

fromImage

public abstract Disk.DefinitionStages.WithCreateAndSize fromImage(VirtualMachineImage image, int diskLun)

Specifies an image containing source data disk image.

Parameters:

image - the image
diskLun - LUN of the disk image

Returns:

the next stage of the definition

Applies to

Azure SDK for Java

Latest