RouteTable
Written by
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",
"nextHopAddress": "string"
}
]
}
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. |
name | string Name of the route table. The name is unique within the project. 3-63 characters long. |
description | string Optional description of the route table. 0-256 characters long. |
labels | object Resource labels as |
networkId | string ID of the network the route table belongs to. |
staticRoutes[] | object A StaticRoute resource. For more information, see Static Routes. |
staticRoutes[]. labels |
object Resource labels as |
staticRoutes[]. destinationPrefix |
string Destination subnet in CIDR notation |
staticRoutes[]. nextHopAddress |
string Next hop IP address |
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. |