NSX-T Data Center REST API

ICMPTypeNSService (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "NSServiceElement"
  },
  "id": "ICMPTypeNSService",
  "module_id": "Types",
  "polymorphic-type-descriptor": {
    "type-identifier": "ICMPTypeNSService"
  },
  "properties": {
    "icmp_code": {
      "required": false,
      "title": "ICMP message code",
      "type": "integer"
    },
    "icmp_type": {
      "required": false,
      "title": "ICMP message type",
      "type": "integer"
    },
    "protocol": {
      "enum": [
        "ICMPv4",
        "ICMPv6"
      ],
      "required": true,
      "title": "ICMP protocol type",
      "type": "string"
    },
    "resource_type": {
      "enum": [
        "EtherTypeNSService",
        "IPProtocolNSService",
        "IGMPTypeNSService",
        "ICMPTypeNSService",
        "ALGTypeNSService",
        "L4PortSetNSService"
      ],
      "required": true,
      "title": "The specific type of NSServiceElement",
      "type": "string"
    }
  },
  "title": "A NSService that represents IPv4 or IPv6 ICMP protocol",
  "type": "object"
}