gcloud compute instances stop
NAME
NAME
…]--format
FORMAT
]--help
]--project
PROJECT_ID
]--quiet
, -q
]--trace-token
TRACE_TOKEN
]--zone
ZONE
]-h
]gcloud compute instances stop
is used stop a Google Compute Engine virtual machine.
Stopping a VM performs a clean shutdown, much like invoking the shutdown
functionality of a workstation or laptop. Stopping an SSD-attached VM is
not supported and will result in an API error.NAME
[NAME
…]
--zone
ZONE
compute/zone
property:$ gcloud config set compute/zone ZONE
$ gcloud compute zones list
$ gcloud config unset compute/zone
CLOUDSDK_COMPUTE_ZONE
.--format
FORMAT
json
, text
, yaml
.
--help
--project
PROJECT_ID
--quiet
, -q
--trace-token
TRACE_TOKEN
-h
compute
component. See
installing components
if it is not installed.