BareMetal API, gRPC: HardwarePoolService.List
Retrieves the list of HardwarePool resources.
gRPC request
rpc List (ListHardwarePoolsRequest) returns (ListHardwarePoolsResponse)
ListHardwarePoolsRequest
{
"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 |
ListHardwarePoolsResponse
{
"hardware_pools": [
{
"id": "string",
"zone_id": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
hardware_pools[] |
List of HardwarePool resources. |
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
HardwarePool
A HardwarePool resource.
Field |
Description |
id |
string ID of the hardware pool. |
zone_id |
string ID of the zone where the hardware pool is located. To get the zone ID use a ZoneService.List request. |