BareMetal API, gRPC: PublicPrefixPoolService.List
Lists public prefix pools in the specified folder.
gRPC request
rpc List (ListPublicPrefixPoolRequest) returns (ListPublicPrefixPoolResponse)
ListPublicPrefixPoolRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"order_by": "string",
"filter": "string"
}
|
Field |
Description |
|
folder_id |
string ID of the folder to list public prefix pools in. |
|
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 |
|
order_by |
string By which column the listing should be ordered and in which direction, |
|
filter |
string A filter expression that filters resources listed in the response.
|
ListPublicPrefixPoolResponse
{
"public_prefix_pools": [
{
"id": "string",
"cloud_id": "string",
"folder_id": "string",
"name": "string",
"description": "string",
"cidr": "string",
"min_available_prefix": "google.protobuf.Int64Value",
"created_at": "google.protobuf.Timestamp",
"labels": "map<string, string>"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
public_prefix_pools[] |
List of public prefix pool resources. |
|
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than |
PublicPrefixPool
|
Field |
Description |
|
id |
string ID of the public prefix pool. |
|
cloud_id |
string ID of the cloud that the public prefix pool belongs to. |
|
folder_id |
string ID of the folder that the public prefix pool belongs to. |
|
name |
string Name of the public prefix pool. |
|
description |
string Description of the public prefix pool. |
|
cidr |
string CIDR block of the public prefix pool. |
|
min_available_prefix |
Minimal prefix that could be used for subnet creation |
|
created_at |
Creation timestamp. |
|
labels |
object (map<string, string>) Resource labels as |