- NAME
- gcloud-compute-instances - Read and manipulate Google Compute Engine virtual machine instances
- SYNOPSIS
-
gcloud compute instances COMMAND [--format FORMAT] [--help] [--project PROJECT] [--quiet, -q] [-h]
- FLAGS
-
-
--format
FORMAT
- Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
-
--help
- Display detailed help.
-
--project
PROJECT
- Google Cloud Platform project to use for this invocation.
-
--quiet
- Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-
-h
- Print a summary help and exit.
-
- COMMANDS
-
COMMAND
is one of the following. -
-
add-access-config
- Add access configs to Google Compute Engine virtual machine instances.
-
add-metadata
- Add or update instance metadata.
-
add-tags
- Add tags to Google Compute Engine virtual machine instances.
-
attach-disk
- Attaches a disk to an instance.
-
create
- Create Google Compute Engine virtual machine instances.
-
delete
- Delete Google Compute Engine virtual machine instances.
-
delete-access-config
- Delete access configs from Google Compute Engine virtual machines.
-
describe
- Describe a virtual machine instance.
-
detach-disk
- Detach disks from Google Compute Engine virtual machine instances.
-
get-serial-port-output
- Read output from a virtual machine instance’s serial port.
-
list
- List Google Compute Engine virtual machine instances.
-
remove-metadata
- Remove instance metadata.
-
remove-tags
- Remove tags from Google Compute Engine virtual machine instances.
-
reset
- Reset a virtual machine instance.
-
set-disk-auto-delete
- Set auto-delete behavior for disks.
-
set-scheduling
- Set scheduling options for Google Compute Engine virtual machine instances.
-
gcloud compute instances
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.