VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithImageSource<ParentT> 接口

定义

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

public interface WithImageSource<ParentT>

类型参数

ParentT

the stage of the parent definition to return to after attaching this definition

方法

fromManagedDisk(Disk sourceManagedDisk)

Specifies the source managed disk for the data disk image.

fromManagedDisk(String sourceManagedDiskId)

Specifies the source managed disk for the data disk image.

fromSnapshot(String sourceSnapshotId)

Specifies the source snapshot for the data disk image.

fromVhd(String sourceVhdUrl)

Specifies the source VHD for the data disk image.

适用于