Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud CDN
KZ
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Activate
        • Deactivate
        • Get
        • Update
        • ListAvailableLocations
  • Метрики Monium Metrics
  • Логи запросов
  • Аудитные логи Audit Trails
  • История изменений
  • Вопросы и ответы

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

  • gRPC request
  • ListShieldingLocationsRequest
  • ListShieldingLocationsResponse
  • ShieldingDetails
  1. Справочник API
  2. gRPC (англ.)
  3. Shielding
  4. ListAvailableLocations

Cloud CDN API, gRPC: ShieldingService.ListAvailableLocations

Статья создана
Yandex Cloud
Обновлена 1 декабря 2025 г.
Открыть в Markdown
  • gRPC request
  • ListShieldingLocationsRequest
  • ListShieldingLocationsResponse
  • ShieldingDetails

Lists available geographical locations.

gRPC requestgRPC request

rpc ListAvailableLocations (ListShieldingLocationsRequest) returns (ListShieldingLocationsResponse)

ListShieldingLocationsRequestListShieldingLocationsRequest

{
  "folder_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "resource_id": "string"
}

Request to list available geographical locations for shielding.

Field

Description

folder_id

string

Required field. ID of the folder for which to request a list of locations where shielding can be activated.

The maximum string length in characters is 50.

page_size

int64

Maximum number of results per page.

The maximum value is 1000.

page_token

string

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

The maximum string length in characters is 100.

resource_id

string

Required field. ID of the resource for which to request a list of locations where shielding can be activated.

The maximum string length in characters is 50.

ListShieldingLocationsResponseListShieldingLocationsResponse

{
  "shielding_locations": [
    {
      "location_id": "int64",
      "data_center": "string",
      "country": "string",
      "city": "string"
    }
  ],
  "next_page_token": "string"
}

Response for the list of available shielding locations.

Field

Description

shielding_locations[]

ShieldingDetails

List of available shielding locations, each representing a potential geographical location for the shielding server.

next_page_token

string

Token for getting the next page of results.

ShieldingDetailsShieldingDetails

Message representing the details of a shielding server.

Field

Description

location_id

int64

Unique identifier for the geographical location of the shielding server.

data_center

string

Name of the data center where the shielding server is located.

country

string

Country where the shielding server's data center is located, useful for understanding geographical distribution.

city

string

City where the shielding server's data center is situated, providing a more precise location than just the country.

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

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