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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java