BareMetal API, gRPC: HardwarePoolService.ListHardwarePools
Retrieves the list of HardwarePool resources.
https://google.aip.dev/130 --)
gRPC request
rpc ListHardwarePools (ListHardwarePoolsRequest) returns (ListHardwarePoolsResponse)
ListHardwarePoolsRequest
{
"zone_id": "string",
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
zone_id |
string ID of the zone where the hardware pool is located. To get the zone ID, use a [ZoneService.List] request. The maximum string length in characters is 20. |
|
page_size |
int64 The maximum number of results per page to return. If the number of available The maximum value is 1000. |
|
page_token |
string Page token. To get the next page of results, set |
ListHardwarePoolsResponse
{
"hardware_pools": [
{
"hardware_pool_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 |
|
hardware_pool_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. |