你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Disk.DefinitionStages.WithDataDiskSource Interface
public interface WithDataDiskSource extends Disk.DefinitionStages.WithDataDiskFromVhd,Disk.DefinitionStages.WithDataDiskFromDisk,Disk.DefinitionStages.WithDataDiskFromSnapshot
The stage of the managed disk definition allowing to choose data source.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
withSizeInGB(int sizeInGB)
Specifies the disk size for an empty disk. |
Inherited Members
Disk.DefinitionStages.WithDataDiskFromDisk.fromDisk(String managedDiskId)
Disk.DefinitionStages.WithDataDiskFromDisk.fromDisk(Disk managedDisk)
Disk.DefinitionStages.WithDataDiskFromSnapshot.fromSnapshot(String snapshotId)
Disk.DefinitionStages.WithDataDiskFromSnapshot.fromSnapshot(Snapshot snapshot)
Disk.DefinitionStages.WithDataDiskFromVhd.fromVhd(String vhdUrl)
Method Details
withSizeInGB
public WithCreate withSizeInGB(int sizeInGB)
Specifies the disk size for an empty disk.
Parameters:
sizeInGB
- the disk size in GB
Returns:
the next stage of the definition