Virtual Private Cloud API, REST: RouteTable methods
A set of methods for managing RouteTable resources.
JSON Representation
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"networkId": "string",
"staticRoutes": [
{
"labels": "object",
"destinationPrefix": "string",
// `staticRoutes[]` includes only one of the fields `nextHopAddress`, `gatewayId`
"nextHopAddress": "string",
"gatewayId": "string",
// end of the list of possible fields`staticRoutes[]`
}
]
}
Field | Description |
---|---|
id | string ID of the route table. |
folderId | string ID of the folder that the route table belongs to. |
createdAt | string (date-time) Creation timestamp in RFC3339 text format. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the route table. The name must be unique within the folder. Value must match the regular expression |
description | string Optional description of the route table. 0-256 characters long. |
labels | object Resource labels, |
networkId | string ID of the network the route table belongs to. |
staticRoutes[] | object List of static routes. |
staticRoutes[]. labels |
object Resource labels as |
staticRoutes[]. destinationPrefix |
string Destination subnet in CIDR notation |
staticRoutes[]. nextHopAddress |
string staticRoutes[] includes only one of the fields nextHopAddress , gatewayId Next hop IP address |
staticRoutes[]. gatewayId |
string staticRoutes[] includes only one of the fields nextHopAddress , gatewayId Next hop gateway id |
Methods
Method | Description |
---|---|
create | Creates a route table in the specified folder and network. Method starts an asynchronous operation that can be cancelled while it is in progress. |
delete | Deletes the specified route table. |
get | Returns the specified RouteTable resource. |
list | Retrieves the list of RouteTable resources in the specified folder. |
listOperations | List operations for the specified route table. |
move | Move route table to another folder. |
update | Updates the specified route table. Method starts an asynchronous operation that can be cancelled while it is in progress. |