Getting a list of disk images
Written by
Updated at October 17, 2024
To get a list of disk images:
Management console
CLI
API
- In the management console
, select the folder where disk images are stored. - Select Compute Cloud.
- In the left-hand panel, select
Images.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
See the description of the CLI command for work with disk images:
yc compute image --help
-
Get a list of all the disks in the default folder:
yc compute image list
Result:
+----------------------+-------------+--------+-------------+--------+ | ID | NAME | FAMILY | PRODUCT IDS | STATUS | +----------------------+-------------+--------+-------------+--------+ | fd8n3spmksqm******** | first-image | | | READY | +----------------------+-------------+--------+-------------+--------+
Use the list REST API method for the Image resource or the ImageService/List gRPC API call.