Cloud Router API, REST: RoutingInstance.Get
Returns the specified RoutingInstance resource.
To get the list of available RoutingInstance resources, make a List request.
HTTP request
GET https://cloudrouter.cloud.yandex.net/vpc/v1/cloudrouter/{routingInstanceId}
Path parameters
Field |
Description |
routingInstanceId |
string Required field. ID of the RoutingInstance resource to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
"vpcInfo": [
{
"vpcNetworkId": "string",
"azInfos": [
{
"manualInfo": {
"azId": "string",
"prefixes": [
"string"
]
}
}
]
}
],
"cicPrivateConnectionInfo": [
{
"cicPrivateConnectionId": "string"
}
],
"status": "string",
"labels": "object"
}
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 |
object (map<string, 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. |