gcloud compute disks - read and manipulate Compute Engine disks
gcloud compute disks COMMAND [GCLOUD_WIDE_FLAG ...]
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.
COMMAND is one of the following:
- add-iam-policy-binding
Add IAM policy binding to a Compute Engine disk.
- add-labels
Add labels to Google Compute Engine persistent disks.
- add-resource-policies
Add resource policies to a Compute Engine disk.
- create
Create Compute Engine persistent disks.
- delete
Delete a Compute Engine disk.
- describe
Describe a Compute Engine disk.
- get-iam-policy
Get the IAM policy for a Compute Engine disk.
- list
List Google Compute Engine disks.
- move
Move a disk between zones.
- remove-iam-policy-binding
Remove IAM policy binding from a Compute Engine disk.
- remove-labels
Remove labels from Google Compute Engine persistent disks.
- remove-resource-policies
Remove resource policies from a Compute Engine disk.
- resize
Resize a disk or disks.
- set-iam-policy
Set the IAM policy for a Compute Engine disk.
- snapshot
Create snapshots of Compute Engine persistent disks.
- update
Update a Compute Engine persistent disk.
These variants are also available:
$ gcloud alpha compute disks
$ gcloud beta compute disks