NSX-T Data Center REST API

Read Network Span

Read Network Span

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/network-spans/{span-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/network-spans/span1

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NetworkSpan+

Example Response:

{ "resource_type": "NetworkSpan", "id": "span1", "description": "custom span", "display_name": "span1", "exclusive" : true "path": "infra/network-spans/span1", "parent_path": "/infra", "relative_path": "span1", "_create_user": "admin", "_create_time": 1516751200877, "_last_modified_user": "admin", "_last_modified_time": 1516751200877, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

transit_gateway_span

Additional Errors: