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
  • Zone
  1. Справочник API
  2. REST (англ.)
  3. Zone
  4. List

Compute Cloud API, REST: Zone.List

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

Retrieves the list of availability zones.

HTTP requestHTTP request

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

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 ListZonesResponse.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
ListZonesResponse.nextPageToken returned by a previous list request.

ResponseResponse

HTTP Code: 200 - OK

{
  "zones": [
    {
      "id": "string",
      "regionId": "string",
      "status": "string"
    }
  ],
  "nextPageToken": "string"
}

Field

Description

zones[]

Zone

List of availability zones.

nextPageToken

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListZonesRequest.pageSize, use
the ListZonesRequest.pageToken as the value
for the ListZonesRequest.pageToken query parameter
in the next list request. Subsequent list requests will have their own
ListZonesRequest.pageToken to continue paging through the results.

ZoneZone

Availability zone. For more information, see Availability zones.

Field

Description

id

string

ID of the zone.

regionId

string

ID of the region.

status

enum (Status)

Status of the zone.

  • STATUS_UNSPECIFIED
  • UP: Zone is available. You can access the resources allocated in this zone.
  • DOWN: Zone is not available.

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

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