Compute Cloud API, REST: Zone.List
Retrieves the list of availability zones.
HTTP request
GET https://compute.api.cloud.yandex.net/compute/v1/zones
Query parameters
Field |
Description |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"zones": [
{
"id": "string",
"regionId": "string",
"status": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
zones[] |
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 |
Zone
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.
|