Compute Cloud API, gRPC: ZoneService.List
Retrieves the list of availability zones.
gRPC request
rpc List (ListZonesRequest) returns (ListZonesResponse)
ListZonesRequest
{
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
pageSize |
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 |
ListZonesResponse
{
"zones": [
{
"id": "string",
"regionId": "string",
"status": "Status"
}
],
"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.
|