Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex BareMetal
    • Все инструкции
    • Обзор сервиса
    • Интеграции с другими сервисами Yandex Cloud
      • Обзор
      • Готовые конфигурации серверов
      • Своя конфигурация сервера
      • Конфигурация сервера по запросу
      • Обзор
      • Extend: Virtualization
      • Extend: Yandex Cloud Stackland
      • Extend: Managed Service for Kubernetes®
      • Обзор
      • Публичная сеть
      • Приватная сеть
      • DHCP
      • DNS в приватной сети
      • MC-LAG
      • Ограничения в сетях BareMetal
      • Обзор
      • Образы в Yandex BareMetal
      • Управление доступом
      • Дополнительные настройки серверов
      • Консоль управления
        • Аутентификация в API
            • Overview
              • Overview
              • List
      • Справочник метрик
    • Квоты и лимиты
  • Правила тарификации
  • История изменений
  • Вопросы и ответы

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

  • gRPC request
  • ListRentalPeriodsRequest
  • ListRentalPeriodsResponse
  • RentalPeriod
  1. Концепции
  2. Настройка и управление
  3. Справочник API
  4. API v1alpha
  5. gRPC (англ.)
  6. RentalPeriod
  7. List

BareMetal API, gRPC: RentalPeriodService.List

Статья создана
Yandex Cloud
Обновлена 21 апреля 2026 г.
Открыть Markdown
  • gRPC request
  • ListRentalPeriodsRequest
  • ListRentalPeriodsResponse
  • RentalPeriod

Retrieves the list of RentalPeriod resources.

gRPC requestgRPC request

rpc List (ListRentalPeriodsRequest) returns (ListRentalPeriodsResponse)

ListRentalPeriodsRequestListRentalPeriodsRequest

{
  "configuration_id": "string",
  "page_size": "int64",
  "page_token": "string"
}

Field

Description

configuration_id

string

ID of the Configuration resource to return a Rental Period for.
To get the configuration ID, use a ConfigurationService.List request.

Value must match the regular expression ([a-z][a-z0-9]{19})|.

page_size

int64

The maximum number of results per page to return. If the number of available
results is greater than page_size,
the service returns a ListRentalPeriodsResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.
Default value is 20.

The maximum value is 100.

page_token

string

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

ListRentalPeriodsResponseListRentalPeriodsResponse

{
  "rental_periods": [
    {
      "id": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

rental_periods[]

RentalPeriod

List of RentalPeriod resources.

next_page_token

string

Token for getting the next page of the list. If the number of results is greater than
ListRentalPeriodsRequest.page_size, use next_page_token as the value
for the [ListRentalPeriodsResponse.page_token] parameter in the next list request.
Each subsequent page will have its own next_page_token to continue paging through the results.

RentalPeriodRentalPeriod

A period of time for which a Bare Metal Server can be rented. e.g., 1 month, 3 months, 6 months,
a year.

Field

Description

id

string

Rental period identifier.

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

Предыдущая
Overview
Следующая
Overview
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»