Cloud Router API, gRPC: RoutingInstanceService.List
Retrieves the list of RoutingInstance resources in the specified folder.
gRPC request
rpc List (ListRoutingInstancesRequest) returns (ListRoutingInstancesResponse)
ListRoutingInstancesRequest
{
"folderId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string"
}
Field |
Description |
folderId |
string Required field. ID of the folder to list routingInstance in. |
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 |
filter |
string A filter expression that filters resources listed in the response.
|
ListRoutingInstancesResponse
{
"routingInstances": [
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
"vpcInfo": [
{
"vpcNetworkId": "string",
"azInfos": [
{
"manualInfo": {
"azId": "string",
"prefixes": [
"string"
]
}
}
]
}
],
"cicPrivateConnectionInfo": [
{
"cicPrivateConnectionId": "string"
}
],
"status": "Status",
"labels": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
routingInstances[] |
List of RoutingInstance resources. |
nextPageToken |
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. |
description |
string Optional description of the routingInstance. 0-256 characters long. |
folderId |
string ID of the folder that the routingInstance belongs to. |
regionId |
string ID of the region that the routingInstance belongs to. |
vpcInfo[] |
List of the info about vpcNetworks which are attached to routingInstance |
cicPrivateConnectionInfo[] |
List of the info about privateConnections which are attached to routingInstance |
status |
enum Status Status of the routingInstance.
|
labels |
string Resource labels, |
VpcInfo
Field |
Description |
vpcNetworkId |
string ID of the vpcNetwork that is attached to the routingInstance. |
azInfos[] |
List of the az-related info about vpcNetworks which are attached to routingInstance |
VpcAzInfo
Field |
Description |
manualInfo |
VpcInfo which is set by user |
VpcManualInfo
Field |
Description |
azId |
string ID of the AZ |
prefixes[] |
string List of prefixes to announce |
CicPrivateConnectionInfo
Field |
Description |
cicPrivateConnectionId |
string ID of the cicPrivateConnection that is attached to the routingInstance. |