BareMetal API, gRPC: ImageService.GetImage
Returns the specific Image resource.
To get the list of resources, make a ListImages request.
https://google.aip.dev/130 --)
gRPC request
rpc GetImage (GetImageRequest) returns (Image)
GetImageRequest
{
"folder_id": "string",
"image_id": "string"
}
|
Field |
Description |
|
folder_id |
string ID of the parent folder. To get the folder ID, use a yandex.cloud.resourcemanager.v1.FolderService.List request. |
|
image_id |
string ID of the Image resource to return. The maximum string length in characters is 20. |
Image
{
"image_id": "string",
"folder_id": "string",
"name": "string",
"family": "string",
"state": "Status",
"publish_time": "google.protobuf.Timestamp",
"cloud_id": "string"
}
An Image resource.
|
Field |
Description |
|
image_id |
string ID of the image. |
|
folder_id |
string ID of the folder that the image belongs to. |
|
name |
string Name of the image |
|
family |
string Family of the image |
|
state |
enum Status State of the image.
|
|
publish_time |
Timestamp when the image was published. |
|
cloud_id |
string ID of the cloud that the image belongs to. |