Serverless Containers Service, gRPC: ContainerService.Get
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified container.
To get the list of all available containers, make a List request.
gRPC request
rpc Get (GetContainerRequest) returns (Container)
GetContainerRequest
{
"containerId": "string"
}
Field |
Description |
containerId |
string Required field. ID of the container to return. To get a container ID make a ContainerService.List request. |
Container
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"url": "string",
"status": "Status"
}
Field |
Description |
id |
string ID of the container. Generated at creation time. |
folderId |
string ID of the folder that the container belongs to. |
createdAt |
Creation timestamp for the container. |
name |
string Name of the container. The name is unique within the folder. |
description |
string Description of the container. |
labels |
string Container labels as |
url |
string URL that needs to be requested to call the container. |
status |
enum Status Status of the container.
|