NSX-T Data Center REST API

AttachmentContext (type) (Deprecated)

{
  "abstract": true,
  "deprecated": true,
  "id": "AttachmentContext",
  "module_id": "LogicalPort",
  "polymorphic-type-descriptor": {
    "mode": "enabled",
    "property-name": "resource_type"
  },
  "properties": {
    "allocate_addresses": {
      "enum": [
        "IpPool",
        "MacPool",
        "Both",
        "None",
        "Dhcp",
        "DhcpV6",
        "SLAAC"
      ],
      "required": false,
      "title": "A flag to indicate whether to allocate addresses from allocation\n    pools bound to the parent logical switch.\n",
      "type": "string"
    },
    "resource_type": {
      "help_summary": "Possible values are 'VifAttachmentContext' or 'L2VpnAttachmentContext'\n",
      "required": true,
      "title": "Used to identify which concrete class it is",
      "type": "string"
    }
  },
  "type": "object"
}