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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java