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 com.microsoft.azure.management.compute.Disk.DefinitionStages.WithDataDiskFromDisk
fromDisk, fromDisk
Methods inherited from interface com.microsoft.azure.management.compute.Disk.DefinitionStages.WithDataDiskFromSnapshot
fromSnapshot, fromSnapshot
Methods inherited from interface com.microsoft.azure.management.compute.Disk.DefinitionStages.WithDataDiskFromUpload
withUploadSizeInMB
Methods inherited from interface com.microsoft.azure.management.compute.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
-