For example:
gcloud compute disks create --size=10GB my-data-disk
would print 2 things:
Warning:
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks/persistent-disks#pdperformance.
This can be eliminated with
--verbosity error
Status:
Created [https://www.googleapis.com/compute/v1/projects/sigma-project-12345/zones/europe-west1-c/disks/my-data-disk]. NAME ZONE SIZE_GB TYPE STATUS my-data-disk europe-west1-c 10 pd-standard READY
This I don't know how to disable, other then redirecting
stderr
, which of course I don't want because I still have to see if an error happened.
The -q
argument does not remove it.