staticroute.create

Create a Static Route.

Address families of gateway and destination should match when creating a static route.

description is an optional attribute for any notes regarding the static route.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: data

data

Type: object

Configuration for the new static route.

No Additional Properties

Destination

Type: stringFormat: ipvanynetwork

Destination network (CIDR notation) for this static route.

Gateway

Type: stringFormat: ipvanyaddress

Gateway IP address for this static route.

Description

Type: string Default: ""

Optional description for this static route.

StaticRouteEntry

Type: object

The newly created static route configuration.

No Additional Properties

Destination

Type: string

Destination network or host for this static route.

Must be at least 1 characters long

Gateway

Type: string

Gateway IP address for this static route.

Must be at least 1 characters long

Description

Type: string Default: ""

Optional description for this static route.

Id

Type: integer

Unique identifier for this static route.



Required roles: NETWORK_INTERFACE_WRITE