vpc_router_route_create

Create route
post/v1/vpc-router-routes

Query Parameters

project

router

vpc

Request Body

Create-time parameters for a RouterRoute

Object
description
destination

Selects which traffic this routing rule will apply to.

A RouteDestination is used to match traffic with a routing rule, on the destination of that traffic.

When traffic is to be sent to a destination that is within a given RouteDestination, the corresponding RouterRoute applies, and traffic will be forward to the RouteTarget for that rule.

name

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

target

The location that matched packets should be forwarded to.

A RouteTarget describes the possible locations that traffic matching a route destination can be sent.

Responses

Object
description

human-readable free-form text about a resource

destination

Selects which traffic this routing rule will apply to.

A RouteDestination is used to match traffic with a routing rule, on the destination of that traffic.

When traffic is to be sent to a destination that is within a given RouteDestination, the corresponding RouterRoute applies, and traffic will be forward to the RouteTarget for that rule.

id

unique, immutable, system-controlled identifier for each resource

kind

Describes the kind of router. Set at creation. read-only

The kind of a RouterRoute

The kind determines certain attributes such as if the route is modifiable and describes how or where the route was created.

name

unique, mutable, user-controlled identifier for each resource

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

target

The location that matched packets should be forwarded to.

A RouteTarget describes the possible locations that traffic matching a route destination can be sent.

time_created

timestamp when this resource was created

time_modified

timestamp when this resource was last modified

vpc_router_id

The ID of the VPC Router to which the route belongs