NSX-T Data Center REST API

ALGTypeNSService (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "NSServiceElement"
  },
  "id": "ALGTypeNSService",
  "module_id": "Types",
  "polymorphic-type-descriptor": {
    "type-identifier": "ALGTypeNSService"
  },
  "properties": {
    "alg": {
      "description": "The Application Layer Gateway (ALG) protocol. Please note, protocol NBNS_BROADCAST and NBDG_BROADCAST are  deprecated. Please use UDP protocol and create L4 Port Set type of service instead.",
      "enum": [
        "ORACLE_TNS",
        "FTP",
        "SUN_RPC_TCP",
        "SUN_RPC_UDP",
        "MS_RPC_TCP",
        "MS_RPC_UDP",
        "NBNS_BROADCAST",
        "NBDG_BROADCAST",
        "TFTP"
      ],
      "required": true,
      "title": "The Application Layer Gateway (ALG) protocol",
      "type": "string"
    },
    "destination_ports": {
      "items": {
        "$ref": "PortElement"
      },
      "maxItems": 15,
      "minItems": 1,
      "required": true,
      "title": "The destination_port cannot be empty and must be a single value.",
      "type": "array"
    },
    "resource_type": {
      "enum": [
        "EtherTypeNSService",
        "IPProtocolNSService",
        "IGMPTypeNSService",
        "ICMPTypeNSService",
        "ALGTypeNSService",
        "L4PortSetNSService"
      ],
      "required": true,
      "title": "The specific type of NSServiceElement",
      "type": "string"
    },
    "source_ports": {
      "items": {
        "$ref": "PortElement"
      },
      "maxItems": 15,
      "required": false,
      "title": "Source ports",
      "type": "array"
    }
  },
  "title": "An NSService element that represents an ALG protocol",
  "type": "object"
}