NSX-T Data Center REST API

RouterNexthop (type)

{
  "additionalProperties": false,
  "id": "RouterNexthop",
  "module_id": "PolicyConnectivity",
  "properties": {
    "admin_distance": {
      "default": 1,
      "description": "Cost associated with next hop route",
      "maximum": 255,
      "minimum": 1,
      "required": false,
      "title": "Cost associated with next hop route",
      "type": "int"
    },
    "ip_address": {
      "$ref": "IPAddress",
      "description": "Next hop gateway IP address",
      "required": false,
      "title": "Next hop gateway IP address"
    },
    "scope": {
      "description": "Interface path associated with current route. For example: specify a policy path referencing the IPSec VPN Session. Should not be provided while creating routes under VPC. Transit Gateway static route will be created with Transit gateway attachment as scope. Only single scope filed will be support for Transit gateway static route.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "required": false,
      "title": "Interface path associated with current route",
      "type": "array",
      "x-vmw-cross-reference": [
        {
          "leftType": [
            "StaticRoutes"
          ],
          "relationshipType": "PROVIDER_INTERFACE_STATIC_ROUTE_RELATIONSHIP",
          "rightType": [
            "IPSecVpnSession",
            "Tier1Interface",
            "Tier0Interface",
            "Segment",
            "LocaleServices",
            "Tier0",
            "TransitGatewayAttachment",
            "VpcSubnetPort"
          ]
        }
      ]
    }
  },
  "title": "Next hop configuration for network",
  "type": "object"
}