NSX-T Data Center REST API

L2VpnSession (type)

{
  "additionalProperties": false,
  "description": "Defines the tunnel local and peer addresses along with the multiple tansport tunnels for redundancy. L2VpnSession belongs on to only one L2VpnService.",
  "extends": {
    "$ref": "ManagedResource"
  },
  "id": "L2VpnSession",
  "module_id": "L2VPN",
  "properties": {
    "_create_time": {
      "$ref": "EpochMsTimestamp",
      "can_sort": true,
      "description": "Timestamp of resource creation",
      "readonly": true
    },
    "_create_user": {
      "description": "ID of the user who created this resource",
      "readonly": true,
      "type": "string"
    },
    "_last_modified_time": {
      "$ref": "EpochMsTimestamp",
      "can_sort": true,
      "description": "Timestamp of last modification",
      "readonly": true
    },
    "_last_modified_user": {
      "description": "ID of the user who last modified this resource",
      "readonly": true,
      "type": "string"
    },
    "_links": {
      "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.",
      "items": {
        "$ref": "ResourceLink"
      },
      "readonly": true,
      "title": "References related to this resource",
      "type": "array"
    },
    "_protection": {
      "description": "Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed             to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed                 to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super                    user and can modify it, but only when providing                    the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this           entity.",
      "readonly": true,
      "title": "Indicates protection status of this resource",
      "type": "string"
    },
    "_revision": {
      "computed": true,
      "description": "The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.",
      "title": "Generation of this resource config",
      "type": "int"
    },
    "_schema": {
      "readonly": true,
      "title": "Schema for this resource",
      "type": "string"
    },
    "_self": {
      "$ref": "SelfResourceLink",
      "readonly": true,
      "title": "Link to this resource"
    },
    "_system_owned": {
      "description": "Indicates system owned resource",
      "readonly": true,
      "type": "boolean"
    },
    "description": {
      "can_sort": true,
      "maxLength": 1024,
      "title": "Description of this resource",
      "type": "string"
    },
    "display_name": {
      "can_sort": true,
      "computed": true,
      "description": "Defaults to ID if not set",
      "maxLength": 255,
      "title": "Identifier to use when displaying entity in logs or GUI",
      "type": "string"
    },
    "enabled": {
      "default": true,
      "description": "Enable to extend all the associated logical switches.",
      "required": false,
      "title": "Enable L2VPN session",
      "type": "boolean"
    },
    "id": {
      "can_sort": true,
      "title": "Unique identifier of this resource",
      "type": "string"
    },
    "l2vpn_service_id": {
      "description": "L2VPN service id",
      "required": true,
      "title": "L2VPN service id",
      "type": "string"
    },
    "l2vpn_tcp_mss_clamping": {
      "$ref": "L2VpnTcpMssClamping",
      "descrpition": "Contains information about TCP MSS feature configuration for L2VPN Session. This feature is supported for sessions that run on L2VPN services of Server Mode only.",
      "required": false,
      "title": "L2VPN TCP MSS Clamping"
    },
    "resource_type": {
      "description": "The type of this resource.",
      "readonly": false,
      "type": "string"
    },
    "tags": {
      "items": {
        "$ref": "Tag"
      },
      "maxItems": 30,
      "title": "Opaque identifiers meaningful to the API user",
      "type": "array"
    },
    "transport_tunnels": {
      "description": "List of transport tunnels for redundancy.",
      "items": {
        "$ref": "ResourceReference"
      },
      "maxItems": 1,
      "minItems": 1,
      "required": true,
      "title": "List of transport tunnels",
      "type": "array"
    },
    "tunnel_encapsulation": {
      "$ref": "L2VpnTunnelEncapsulation",
      "description": "Tunnel encapsulation config. For hub, this property should not be provided as it will be auto-generated. For spoke, this property must be provided.",
      "required": false,
      "title": "Tunnel encapsulation config"
    }
  },
  "search_dsl_name": [
    "l2 vpn session (manager)"
  ],
  "title": "L2VPN Session",
  "type": "object"
}