다음을 통해 공유


Disk.DefinitionStages.WithDataDiskFromDisk Interface

public static interface Disk.DefinitionStages.WithDataDiskFromDisk

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

Method Summary

Modifier and Type Method and Description
abstract WithCreateAndSize fromDisk(Disk managedDisk)

Specifies the source data managed disk.

abstract WithCreateAndSize fromDisk(String managedDiskId)

Specifies the ID of source data managed disk.

Method Details

fromDisk

public abstract Disk.DefinitionStages.WithCreateAndSize fromDisk(Disk managedDisk)

Specifies the source data managed disk.

Parameters:

managedDisk - source managed disk

Returns:

the next stage of the definition

fromDisk

public abstract Disk.DefinitionStages.WithCreateAndSize fromDisk(String managedDiskId)

Specifies the ID of source data managed disk.

Parameters:

managedDiskId - source managed disk resource ID

Returns:

the next stage of the definition

Applies to