Compute Cloud API, gRPC: ZoneService.List
Retrieves the list of availability zones.
gRPC request
rpc List (ListZonesRequest) returns (ListZonesResponse)
ListZonesRequest
{
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
ListZonesResponse
{
"zones": [
{
"id": "string",
"region_id": "string",
"status": "Status"
}
],
"next_page_token": "string"
}
Field |
Description |
zones[] |
List of availability zones. |
next_page_token |
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. |
region_id |
string ID of the region. |
status |
enum Status Status of the zone.
|