BareMetal API, gRPC: StandardImageService.List
Retrieves the list of Image resources in the specified folder. Pass the "baremetal-standard-images" folder to get general images.
gRPC request
rpc List (ListStandardImagesRequest) returns (ListStandardImagesResponse)
ListStandardImagesRequest
{
"page_size": "int64",
"page_token": "string",
"order_by": "string",
"filter": "string",
"folder_id": "string"
}
|
Field |
Description |
|
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
|
|
folder_id |
string ID of the folder to return a StandardImage resource for. To get the folder ID, use a yandex.cloud.resourcemanager.v1.FolderService.List request. Pass the "baremetal-standard-images" folder to get general images. |
ListStandardImagesResponse
{
"standard_images": [
{
"id": "string",
"name": "string",
"folder_id": "string"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
standard_images[] |
List of StandardImage 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 |
StandardImage
A Standard Image resource.
|
Field |
Description |
|
id |
string ID of the standard image. |
|
name |
string Name of the standard image. |
|
folder_id |
string Folder of standard image. |