[Yandex Cloud documentation](../../../index.md) > [Yandex Compute Cloud](../../index.md) > [CLI reference](../index.md) > [disk](index.md) > list

# yc compute disk list

List disks

#### Command Usage

Syntax:

`yc compute disk list [Flags...] [Global Flags...]`

#### Flags

#|
||Flag | Description ||
|| `--limit` | `int`

The maximum number of items to list. Default is 1000 items ||
|#

#### Global Flags

#|
||Flag | Description ||
|| `--profile` | `string`

Set the custom configuration file. ||
|| `--debug` | Debug logging. ||
|| `--debug-grpc` | Debug gRPC logging. Very verbose, used for debugging connection problems. ||
|| `--no-user-output` | Disable printing user intended output to stderr. ||
|| `--retry` | `int`

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout. ||
|| `--cloud-id` | `string`

Set the ID of the cloud to use. ||
|| `--folder-id` | `string`

Set the ID of the folder to use. ||
|| `--folder-name` | `string`

Set the name of the folder to use (will be resolved to id). ||
|| `--endpoint` | `string`

Set the Cloud API endpoint (host:port). ||
|| `--token` | `string`

Set the OAuth token to use. ||
|| `--impersonate-service-account-id` | `string`

Set the ID of the service account to impersonate. ||
|| `--no-browser` | Disable opening browser for authentication. ||
|| `--format` | `string`

Set the output format: text (default), yaml, json, json-rest. ||
|| `--jq` | `string`

Query to select values from the response using jq syntax ||
|| `-h`, `--help` | Display help for the command. ||
|#
#### Examples

 * [Adding a schedule to a disk](../../operations/disk-control/configure-schedule.md#cli_1)
 * [Creating a snapshot](../../operations/disk-control/create-snapshot.md#cli_1)
 * [Deleting a disk](../../operations/disk-control/delete.md#cli_1)
 * [Assigning a role](../../operations/disk-control/disk-access.md#cli_1)
 * [Moving a disk](../../operations/disk-control/disk-change-folder.md#cli_1)
 * [Create snapshots](../../operations/disk-control/disk-change-zone.md#cli_1)
 * [Encrypting a disk](../../operations/disk-control/disk-encrypt.md#cli_1)
 * [Changing the disk name and description](../../operations/disk-control/update.md#cli_1)
 * [Creating an empty disk with a large block](../../operations/disk-create/empty-disk-blocksize.md#cli_1)
 * [Creating an empty disk](../../operations/disk-create/empty.md#cli_1)
 * [Recovering a disk from an image](../../operations/disk-create/from-image.md#cli_1)
 * [Recovering a disk from a snapshot](../../operations/disk-create/from-snapshot.md#cli_1)
 * [Creating a stand-alone non-replicated disk](../../operations/disk-create/nonreplicated.md#tf_1)
 * [Creating an ultra high-speed network storage with three replicas (SSD)](../../operations/disk-create/ssd-io.md#tf_1)
 * [Encrypting an image](../../operations/image-control/encrypt.md#cli_1)
 * [Creating an image from a disk](../../operations/image-create/create-from-disk.md#cli_1)
 * [Setting up an automatic disk snapshot schedule](../../operations/snapshot-control/create-schedule.md#cli_1)
 * [Encrypting an image](../../operations/snapshot-control/snapshot-encrypt.md#cli_1)
 * [Updating a disk list](../../operations/snapshot-control/update-schedule.md#cli_2)
 * [Attaching a disk](../../operations/vm-control/vm-attach-disk.md#cli_1)
 * [Create snapshots](../../operations/vm-control/vm-change-zone.md#cli_1)
 * [Creating a VM from disks](../../operations/vm-create/create-from-disks.md#cli_1)
 * [Create a disk with the Gen 2 hardware generation assigned](../../operations/vm-create/create-gen2-vm.md#tf_4)