gcloud compute disks

NAME
gcloud compute disks - read and manipulate Compute Engine disks
SYNOPSIS
gcloud compute disksGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
Read and manipulate Compute Engine disks.

For more information about disks, see thedisks documentation.

See also:DisksAPI.

GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
bulk
Manipulate multiple Compute Engine disks with single command executions.
COMMANDS
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.
convert
Convert a Compute Engine Persistent Disk volume to a Hyperdisk volume.
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.
start-async-replication
Start asynchronous replication on a Compute Engine persistent disk.
stop-async-replication
Stop async replication on a Compute Engine persistent disk.
stop-group-async-replication
Consistently stops a group of asynchronously replicating disks.
update
Update a Compute Engine persistent disk.
NOTES
These variants are also available:
gcloudalphacomputedisks
gcloudbetacomputedisks

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.