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 con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de