Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Serverless Containers
  • Сопоставление с другими сервисами Yandex Cloud
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • DeployRevision
        • Rollback
        • GetRevision
        • ListRevisions
        • ListOperations
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
  • Аудитные логи Audit Trails
  • История изменений
  • Вопросы и ответы

В этой статье:

  • gRPC request
  • ListContainersRequest
  • ListContainersResponse
  • Container
  1. Справочник API Containers
  2. gRPC (англ.)
  3. Container
  4. List

Serverless Containers Service, gRPC: ContainerService.List

Статья создана
Yandex Cloud
Обновлена 17 декабря 2024 г.
  • gRPC request
  • ListContainersRequest
  • ListContainersResponse
  • Container

Retrieves the list of containers in the specified folder.

gRPC requestgRPC request

rpc List (ListContainersRequest) returns (ListContainersResponse)

ListContainersRequestListContainersRequest

{
  "folder_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "filter": "string"
}

Field

Description

folder_id

string

Required field. ID of the folder to list containers in.

To get a folder ID make 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
results is larger than pageSize, the service returns a ListContainersResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.

Default value: 100.

page_token

string

Page token. To get the next page of results, set pageToken to the
ListContainersResponse.next_page_token returned by a previous list request.

filter

string

A filter expression that filters containers listed in the response.

The expression must specify:

  1. The field name. Currently filtering can only be applied to the Container.name field.
  2. An = operator.
  3. The value in double quotes ("). Must be 3-63 characters long and match the regular expression [a-z][-a-z0-9]{1,61}[a-z0-9].
    Example of a filter: name="my-container".

ListContainersResponseListContainersResponse

{
  "containers": [
    {
      "id": "string",
      "folder_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "name": "string",
      "description": "string",
      "labels": "map<string, string>",
      "url": "string",
      "status": "Status"
    }
  ],
  "next_page_token": "string"
}

Field

Description

containers[]

Container

List of containers in the specified folder.

next_page_token

string

Token for getting the next page of the list. If the number of results is greater than
the specified ListContainersRequest.page_size, use nextPageToken as the value
for the ListContainersRequest.page_token parameter in the next list request.

Each subsequent page will have its own nextPageToken to continue paging through the results.

ContainerContainer

Field

Description

id

string

ID of the container. Generated at creation time.

folder_id

string

ID of the folder that the container belongs to.

created_at

google.protobuf.Timestamp

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

object (map<string, string>)

Container labels as key:value pairs.

url

string

URL that needs to be requested to call the container.

status

enum Status

Status of the container.

  • STATUS_UNSPECIFIED
  • CREATING: Container is being created.
  • ACTIVE: Container is ready for use.
  • DELETING: Container is being deleted.
  • ERROR: Container failed. The only allowed action is delete.

Была ли статья полезна?

Предыдущая
Get
Следующая
Create
Проект Яндекса
© 2025 ООО «Яндекс.Облако»