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

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

  • HTTP request
  • Query parameters
  • Response
  • HostType
  1. Справочник API
  2. REST (англ.)
  3. HostType
  4. List

Compute Cloud API, REST: HostType.List

Статья создана
Yandex Cloud
Обновлена 26 ноября 2024 г.
  • HTTP request
  • Query parameters
  • Response
  • HostType

List avaliable host types.

HTTP requestHTTP request

GET https://compute.api.yandexcloud.kz/compute/v1/hostTypes

Query parametersQuery parameters

Field

Description

pageSize

string (int64)

The maximum number of results per page to return. If the number of available
results is larger than pageSize,
the service returns a ListHostTypesResponse.nextPageToken
that can be used to get the next page of results in subsequent list requests.

pageToken

string

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

ResponseResponse

HTTP Code: 200 - OK

{
  "hostTypes": [
    {
      "id": "string",
      "cores": "string",
      "memory": "string",
      "disks": "string",
      "diskSize": "string"
    }
  ],
  "nextPageToken": "string"
}

Field

Description

hostTypes[]

HostType

Lists host types.

nextPageToken

string

Token for getting the next page of the list. If the number of results is greater than
the specified ListHostTypesRequest.pageSize, use next_page_token as the value
for the ListHostTypesRequest.pageToken parameter in the next list request.

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

HostTypeHostType

Represents host resources.
Note: Platform can use hosts with different number of memory and cores.
TODO: Do we need sockets here?

Field

Description

id

string

Unique type identifier.

cores

string (int64)

Total number of cores available for instances.

memory

string (int64)

Ammount of memory available for instances.

disks

string (int64)

Number of local disks available for instances

diskSize

string (int64)

Size of each local disk

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

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