Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
NAME
gdcloud compute disks resize – Größe von VM-Laufwerken ändern.
ZUSAMMENFASSUNG
gdcloud compute disks resize DISK_NAME [flags]
BEISPIELE
To resize a disk, run:
gdcloud compute disks resize example-disk \
--project example-project \
--size 20GB
OPTIONALE FLAGS
--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")
GDCLOUD-WEITE FLAGS
Diese Flags sind für alle Befehle verfügbar: --configuration, --format, --help, --project, --quiet.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-19 (UTC)."],[[["Resizes virtual machine disks using the `gdcloud compute disks resize` command."],["Requires the disk name as an argument, such as `example-disk`."],["Allows specifying the new disk size using the `--size` flag, with units in GB or TB, and as a multiple of 1GB."],["Includes an optional `--timeout` flag to set the maximum time for the resize operation, with a default of 5 minutes and a maximum of 2 hours."],["Supports common flags like `--project` and `--help`."]]],[]]