Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • AI Studio
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Desktop
  • Начало работы
  • Управление доступом
  • Правила тарификации
    • Аутентификация в API
      • Overview
        • Overview
        • List
        • Get
        • Copy
        • Update
        • CopyFromDesktop
        • Delete
  • Аудитные логи Cloud Desktop
  • История изменений

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

  • gRPC request
  • ListDesktopImagesRequest
  • ListDesktopImagesResponse
  • DesktopImage
  1. Справочник API
  2. gRPC (англ.)
  3. DesktopImage
  4. List

Cloud Desktop API, gRPC: DesktopImageService.List

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

Lists desktop images in the specified folder.

gRPC requestgRPC request

rpc List (ListDesktopImagesRequest) returns (ListDesktopImagesResponse)

ListDesktopImagesRequestListDesktopImagesRequest

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

Field

Description

folder_id

string

Required field. ID of the folder to list desktop images in.

page_size

int64

The maximum number of results per page to return. If the number of available
results is larger than page_size,
the service returns a [ListDesktopImagesRequest.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 page_token to the
[ListDesktopImagesRequest.next_page_token] returned by a previous list request.

filter

string

A filter expression that filters resources listed in the response.
The expression must specify:

  1. The field name. Currently you can use filtering only on DesktopImage.name field.
  2. An operator. Can be either = or != for single values, IN or NOT IN for lists of values.
  3. Value or a list of values to compare against the values of the field.

order_by

string

Sorting the list by DesktopImage.name, DesktopImage.created_at and DesktopImage.status fields.
The default sorting order is ascending.

ListDesktopImagesResponseListDesktopImagesResponse

{
  "desktop_images": [
    {
      "id": "string",
      "folder_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "status": "Status",
      "name": "string",
      "labels": "map<string, string>",
      "storage_size": "int64",
      "min_disk_size": "int64"
    }
  ],
  "next_page_token": "string"
}

Field

Description

desktop_images[]

DesktopImage

List of desktop images.

next_page_token

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListDesktopImagesRequest.page_size, use
the next_page_token as the value
for the ListDesktopImagesRequest.page_token query parameter
in the next list request. Each subsequent list request will have its own
next_page_token to continue paging through the results.

DesktopImageDesktopImage

A desktop image resource.

Field

Description

id

string

ID of the image.

folder_id

string

ID of the folder that the image belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp in RFC3339 text format.

status

enum Status

Status of the image.

  • STATUS_UNSPECIFIED
  • CREATING: Image is being created.
  • ACTIVE: Image is ready to use.
  • DELETING: Image is being deleted.

name

string

Name of the image.

labels

object (map<string, string>)

Description of the image.

storage_size

int64

Size of the image, specified in bytes.

min_disk_size

int64

Minimum disk size in bytes required to use the image.

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

Предыдущая
Overview
Следующая
Get
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»