StaticRoute

StaticRoute
StaticRoute
JSON Example
{
    "disable_gateway_monitor": false,
    "if_name": "string",
    "labels": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "next_hop": {
        "addr": "string",
        "type": "string"
    },
    "prefix": {
        "ip_addr": {
            "addr": "string",
            "type": "string"
        },
        "mask": 0
    },
    "route_id": "string"
}
boolean
disable_gateway_monitor
Optional

Disable the gateway monitor for default gateway. They are monitored by default. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
if_name
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of KeyValue
labels
Optional

Labels associated with this route. Field introduced in 20.1.1. Maximum of 1 items allowed. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

next_hop
Required

next_hop

prefix
Required

prefix

string
route_id
Required

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.