Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
NOMBRE
gdcloud compute disks resize: Cambia el tamaño de los discos de máquina virtual.
SINOPSIS
gdcloud compute disks resize DISK_NAME [flags]
EXAMPLES
To resize a disk, run:
gdcloud compute disks resize example-disk \
--project example-project \
--size 20GB
MARCAS OPCIONALES
--size string New size of the disk.
The value must be a whole number followed by a size unit of GB for gigabyte, or TB for terabyte.
For example, "10GB" will produce a 10 gigabyte disk.
The disk size must be a multiple of 1 GB.
--timeout string Maximum time a resize operation can last before it fails as timeout. Default value is "5m". Max value is "2h". (default "5m")
MARCAS GENERALES DE GCLOUD
Estas marcas están disponibles para todos los comandos: --configuration, --format, --help, --project y --quiet.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eResizes virtual machine disks using the \u003ccode\u003egdcloud compute disks resize\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eRequires the disk name as an argument, such as \u003ccode\u003eexample-disk\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAllows specifying the new disk size using the \u003ccode\u003e--size\u003c/code\u003e flag, with units in GB or TB, and as a multiple of 1GB.\u003c/p\u003e\n"],["\u003cp\u003eIncludes an optional \u003ccode\u003e--timeout\u003c/code\u003e flag to set the maximum time for the resize operation, with a default of 5 minutes and a maximum of 2 hours.\u003c/p\u003e\n"],["\u003cp\u003eSupports common flags like \u003ccode\u003e--project\u003c/code\u003e and \u003ccode\u003e--help\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute disks resize\n\nNAME\n----\n\ngdcloud compute disks resize - Resize virtual machine disks.\n\nSYNOPSIS\n--------\n\n gdcloud compute disks resize DISK_NAME [flags]\n\n### EXAMPLES\n\n To resize a disk, run:\n\n gdcloud compute disks resize example-disk \\\n --project example-project \\\n --size 20GB\n\n### OPTIONAL FLAGS\n\n --size string New size of the disk.\n The value must be a whole number followed by a size unit of GB for gigabyte, or TB for terabyte.\n For example, \"10GB\" will produce a 10 gigabyte disk.\n The disk size must be a multiple of 1 GB.\n --timeout string Maximum time a resize operation can last before it fails as timeout. Default value is \"5m\". Max value is \"2h\". (default \"5m\")\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]