NSX-T Data Center REST API

NatServiceEntry (type)

{
  "additionalProperties": false,
  "description": "Gives information about protocol, source ports, destination ports and translated ports.",
  "id": "NatServiceEntry",
  "module_id": "PolicyNAT",
  "properties": {
    "destination_ports": {
      "$ref": "PortElement",
      "description": "Gives the match destination ports.",
      "required": false,
      "title": "Port number or port range"
    },
    "protocol": {
      "description": "protocol supports TCP, UDP and ICMP v4",
      "enum": [
        "TCP",
        "UDP",
        "ICMP"
      ],
      "nsx_feature": "VpcSimplification",
      "required": false,
      "title": "Protocol",
      "type": "string"
    },
    "source_ports": {
      "$ref": "PortElement",
      "description": "Gives the match source ports.",
      "required": false,
      "title": "Port number or port range"
    },
    "translated_ports": {
      "$ref": "PortElement",
      "description": "Gives the translated ports.",
      "required": false,
      "title": "Port number or port range"
    }
  },
  "title": "Nat Service Entry",
  "type": "object"
}