BareMetal API, gRPC: ImageService.List
Retrieves the list of Image resources in the specified folder.
gRPC request
rpc List (ListImagesRequest) returns (ListImagesResponse)
ListImagesRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"order_by": "string",
"filter": "string"
}
|
Field |
Description |
|
folder_id |
string ID of the folder to list images in. To get the folder ID, use a yandex.cloud.resourcemanager.v1.FolderService.List request. |
|
page_size |
int64 The maximum number of results per page to return. If the number of available |
|
page_token |
string Page token. To get the next page of results, set |
|
order_by |
string By which column the listing should be ordered and in which direction, |
|
filter |
string A filter expression that filters resources listed in the response. Each condition has the form
|
ListImagesResponse
{
"images": [
{
"id": "string",
"folder_id": "string",
"name": "string",
"description": "string",
"checksum": "string",
"status": "Status",
"created_at": "google.protobuf.Timestamp",
"labels": "map<string, string>"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
images[] |
List of Image resources. |
|
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
Image
An Image resource.
|
Field |
Description |
|
id |
string ID of the image. |
|
folder_id |
string ID of the folder that the image belongs to. |
|
name |
string Name of the image. |
|
description |
string Description of the image. |
|
checksum |
string MD5 checksum of the image. |
|
status |
enum Status Status of the image.
|
|
created_at |
Creation timestamp. |
|
labels |
object (map<string, string>) Resource labels as |