3.1.5.10 routeTables

The routeTables resource contains a list of routes. routeTables resources can be applied to subnets of a tenant virtual network to control routing within a virtual network. Once routeTables has been associated to a virtual subnet, all tenant VMs created within that subnet will inherit the routeTables and will have their traffic routed per the routes contained in the table.

It is invoked through the following URI.

 https://<url>/networking/v1/routeTables/{resourceId}

url: The address or name of the REST server of the Network Controller.

resourceId: the identifier for the specific resource within the resource type. See section 2.2.3.4 for more details.

Note  The server MAY support additional versions, v1 or later, in the URI.

The following HTTP methods can be performed on this resource.

HTTP method

Section

Description

PUT

3.1.5.10.1.1

Create a new routeTables resource or update an existing routeTables resource.

GET

3.1.5.10.1.2

Get one routeTables resource.

GET ALL

3.1.5.10.1.3

List all routeTables resources in the Network Controller.

DELETE

3.1.5.10.1.4

Deletes a routeTables resource.

The following property elements are valid.

Element name

Type

Description

etag

Read-only

Specified in Common JSON Elements, section 2.2.2.

provisioningState

Read-only

Specified in Common JSON Elements, section 2.2.2.

routes

Optional

Indicates the routes in a route table, see routes resource section 3.1.5.10.2 for full details on this element.<15>

subnets

Read-only

Indicates an array of references to subnets resources this route table is associated with.