NSX-T Data Center REST API

ContainerGatewayListener (type)

{
  "description": "Listener embodies the concept of a logical endpoint where a Gateway accepts network connections.", 
  "id": "ContainerGatewayListener", 
  "module_id": "InventoryContainerObj", 
  "properties": {
    "hostname": {
      "description": "Specifies the virtual hostname to match for protocol type.", 
      "maxLength": 255, 
      "readonly": false, 
      "required": false, 
      "title": "Hostname of gateway listener", 
      "type": "string"
    }, 
    "name": {
      "description": "Specifies name of gateway listener", 
      "maxLength": 255, 
      "readonly": false, 
      "required": false, 
      "title": "Name of gateway listener", 
      "type": "string"
    }, 
    "port": {
      "description": "Specifies network port of gateway.", 
      "maximum": 65535, 
      "minimum": 0, 
      "readonly": false, 
      "required": false, 
      "title": "Port of gateway listener", 
      "type": "integer"
    }, 
    "protocol": {
      "description": "Specifies the network protocol this listener expects to receive. e.g. HTTP\uff0cHTTPS\uff0cTCP, TLS, UDP.", 
      "enum": [
        "HTTP", 
        "HTTPS", 
        "TCP", 
        "TLS", 
        "UDP"
      ], 
      "readonly": false, 
      "required": false, 
      "title": "Protocol of gateway listener", 
      "type": "string"
    }
  }, 
  "title": "Container gateway listener", 
  "type": "object"
}