gcloud alpha compute disks - read and manipulate Compute Engine disks
gcloud alpha compute disks GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Read and manipulate Compute Engine disks.
For more information about disks, see the disks documentation https://cloud.google.com/compute/docs/disks/.
See also: Disks API https://cloud.google.com/compute/docs/reference/rest/v1/disks.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- bulk
(ALPHA) Manipulate multiple Compute Engine disks with single command executions.
- config
(ALPHA) Manage Compute Engine disk configurations.
COMMAND is one of the following:
- add-iam-policy-binding
(ALPHA) Add IAM policy binding to a Compute Engine disk.
- add-labels
(ALPHA) Add labels to Google Compute Engine persistent disks.
- add-resource-policies
(ALPHA) Add resource policies to a Compute Engine disk.
- create
(ALPHA) Create Compute Engine persistent disks.
- delete
(ALPHA) Delete a Compute Engine disk.
- describe
(ALPHA) Describe a Compute Engine disk.
- get-iam-policy
(ALPHA) Get the IAM policy for a Compute Engine disk.
- list
(ALPHA) List Google Compute Engine disks.
- move
(ALPHA) Move a disk between zones.
- remove-iam-policy-binding
(ALPHA) Remove IAM policy binding from a Compute Engine disk.
- remove-labels
(ALPHA) Remove labels from Google Compute Engine persistent disks.
- remove-resource-policies
(ALPHA) Remove resource policies from a Compute Engine disk.
- resize
(ALPHA) Resize a disk or disks.
- set-iam-policy
(ALPHA) Set the IAM policy for a Compute Engine disk.
- snapshot
(ALPHA) Create snapshots of Compute Engine persistent disks.
- start-async-replication
(ALPHA) Start asynchronous replication on a Compute Engine persistent disk.
- stop-async-replication
(ALPHA) Stop async replication on a Compute Engine persistent disk.
- stop-group-async-replication
(ALPHA) Consistently stops a group of asynchronously replicating disks.
- update
(ALPHA) Update a Compute Engine persistent disk.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud compute disks
$ gcloud beta compute disks