Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка 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 request

GET https://compute.api.cloud.yandex.net/compute/v1/hostTypes

Query 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.

Response

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.

HostType

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 ООО «Яндекс.Облако»