Cloud Router API, gRPC: RoutingInstanceService.List
Retrieves the list of RoutingInstance resources in the specified folder.
gRPC request
rpc List (ListRoutingInstancesRequest) returns (ListRoutingInstancesResponse)
ListRoutingInstancesRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
|
Field |
Description |
|
folder_id |
string Required field. ID of the folder to list RoutingInstance resources. The maximum string length in characters is 50. |
|
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 The maximum string length in characters is 100. |
|
filter |
string A filter expression that filters resources listed in the response.
The maximum string length in characters is 1000. |
ListRoutingInstancesResponse
{
"routing_instances": [
{
"id": "string",
"name": "string",
"description": "string",
"folder_id": "string",
"region_id": "string",
"vpc_info": [
{
"vpc_network_id": "string",
"az_infos": [
{
"manual_info": {
"az_id": "string",
"prefixes": [
"string"
]
}
}
]
}
],
"cic_private_connection_info": [
{
"cic_private_connection_id": "string"
}
],
"status": "Status",
"deletion_protection": "bool",
"created_at": "google.protobuf.Timestamp",
"labels": "map<string, string>"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
routing_instances[] |
List of RoutingInstance resources. |
|
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
RoutingInstance
|
Field |
Description |
|
|
id |
string ID of the routingInstance. |
|
|
name |
string Name of the routingInstance. |
a-zA-Z?``. |
|
description |
string Description of the routingInstance. 0-256 characters long. |
|
|
folder_id |
string ID of the folder that the routingInstance belongs to. |
|
|
region_id |
string ID of the region that the routingInstance belongs to. |
|
|
vpc_info[] |
List of the info about vpcNetworks which are attached to routingInstance. |
|
|
cic_private_connection_info[] |
List of the info about privateConnections which are attached to routingInstance. |
|
|
status |
enum Status Status of the routingInstance.
|
|
|
deletion_protection |
bool |
|
|
created_at |
Creation timestamp in RFC3339 |
|
|
labels |
object (map<string, string>) Resource labels, |
VpcInfo
|
Field |
Description |
|
vpc_network_id |
string Required field. ID of the vpcNetwork that is attached to the routingInstance. The maximum string length in characters is 50. |
|
az_infos[] |
List of the az-related info about vpcNetworks which are attached to routingInstance The number of elements must be in the range 0-50. |
VpcAzInfo
|
Field |
Description |
|
manual_info |
Required field. VpcInfo which is set by user |
VpcManualInfo
|
Field |
Description |
|
az_id |
string Required field. ID of the AZ The maximum string length in characters is 50. |
|
prefixes[] |
string List of prefixes to announce The number of elements must be in the range 0-10000. |
CicPrivateConnectionInfo
|
Field |
Description |
|
cic_private_connection_id |
string Required field. ID of the cicPrivateConnection that is attached to the routingInstance. The maximum string length in characters is 50. |