NAME
gdcloud compute disks resize – Größe von VM-Laufwerken ändern.
ZUSAMMENFASSUNG
gdcloud compute disks resize DISK_NAME [flags]
BEISPIELE
To resize a disk in multi-zone environment, run:
gdcloud compute disks resize example-disk \
--project example-project \
--size 20GB \
--zone us-east1-a
To resize a disk in non multi-zone environment, 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")
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
GDCLOUD-WEITE FLAGS
Diese Flags sind für alle Befehle verfügbar: --configuration, --format, --help, --project, --quiet.
Weitere Informationen finden Sie auf der Seite Übersicht über die Referenz zur gdcloud CLI.