VirtualMachineCustomImage.DefinitionStages.WithDataDiskImage 接口

定义

The stage of an image definition allowing to add a data disk image.

public interface WithDataDiskImage

方法

defineDataDiskImage()

Begins the definition of a new data disk image to add to the image.

withDataDiskImageFromManagedDisk(String sourceManagedDiskId)

Adds a data disk image with an existing managed disk as the source.

withDataDiskImageFromSnapshot(String sourceSnapshotId)

Adds a data disk image with an existing snapshot as the source.

withDataDiskImageFromVhd(String sourceVhdUrl)

Adds a data disk image with a virtual hard disk as the source.

适用于