次の方法で共有


Snapshot.DefinitionStages.WithDataSnapshotFromImage Interface

public interface WithDataSnapshotFromImage

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

Method Summary

Modifier and Type Method and Description
Snapshot.DefinitionStages.WithCreate fromImage(String imageId, int diskLun)

Specifies an image containing source data disk image.

Snapshot.DefinitionStages.WithCreate fromImage(VirtualMachineCustomImage image, int diskLun)

Specifies a custom image containing a source data disk image.

Snapshot.DefinitionStages.WithCreate fromImage(VirtualMachineImage image, int diskLun)

Specifies an image containing a source data disk image.

Method Details

fromImage

public WithCreate fromImage(String imageId, int diskLun)

Specifies an image containing source data disk image.

Parameters:

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

Returns:

the next stage of the definition

fromImage

public WithCreate 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 WithCreate fromImage(VirtualMachineImage image, int diskLun)

Specifies an image containing a source data disk image.

Parameters:

image - an image
diskLun - LUN of the disk image

Returns:

the next stage of the definition

Applies to