Interface Disk.DefinitionStages.WithDataDiskSource
- All Superinterfaces:
Disk.DefinitionStages.WithDataDiskFromDisk, Disk.DefinitionStages.WithDataDiskFromSnapshot, Disk.DefinitionStages.WithDataDiskFromUpload, Disk.DefinitionStages.WithDataDiskFromVhd
- All Known Subinterfaces:
Disk.Definition
- Enclosing interface:
Disk.DefinitionStages
public static interface Disk.DefinitionStages.WithDataDiskSource
extends Disk.DefinitionStages.WithDataDiskFromVhd, Disk.DefinitionStages.WithDataDiskFromUpload, Disk.DefinitionStages.WithDataDiskFromDisk, Disk.DefinitionStages.WithDataDiskFromSnapshot
The stage of the managed disk definition allowing to choose data source.
-
Method Summary
Modifier and TypeMethodDescriptionwithSizeInGB(int sizeInGB) Specifies the disk size for an empty disk.Methods inherited from interface Disk.DefinitionStages.WithDataDiskFromDisk
fromDisk, fromDiskMethods inherited from interface Disk.DefinitionStages.WithDataDiskFromSnapshot
fromSnapshot, fromSnapshotMethods inherited from interface Disk.DefinitionStages.WithDataDiskFromUpload
withUploadSizeInMBMethods inherited from interface Disk.DefinitionStages.WithDataDiskFromVhd
fromVhd
-
Method Details
-
withSizeInGB
Specifies the disk size for an empty disk.- Parameters:
sizeInGB- the disk size in GB- Returns:
- the next stage of the definition
-