Disk.DefinitionStages.WithCreateAndSize Interface
public interface WithCreateAndSize extends Disk.DefinitionStages.WithCreate
The stage of the managed disk definition allowing to create the disk or optionally specify size.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
withSizeInGB(int sizeInGB)
Specifies the disk size. |
Inherited Members
Creatable<T>.create()
Creatable<T>.createAsync(final ServiceCallback<T> callback)
Creatable<T>.createAsync()
Indexable.key()
HasName.name()
Disk.DefinitionStages.WithAvailabilityZone.withAvailabilityZone(AvailabilityZoneId zoneId)
Disk.DefinitionStages.WithSku.withSku(DiskSkuTypes sku)
Resource.DefinitionWithTags<T>.withTag(String key, String value)
Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags)
Method Details
withSizeInGB
public WithCreateAndSize withSizeInGB(int sizeInGB)
Specifies the disk size.
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