NSX-T Data Center Global Manager REST API
Read a network segment by ID
Returns the configuration of a specific NSX network segment (logical switch) identifiedby segment ID. Segments provide Layer 2 connectivity for workloads and are connected to
a Tier-0 or Tier-1 gateway for Layer 3 routing.
Note: Extended Segment (L2VPN) — if an old vpn path was specified in the l2_extension
object in a previous PATCH request, the GET response may return the new canonicalized
path instead of the original path that was submitted.
instead of the deprecated l2vpn path. Both old and new l2vpn path refer to same resource. there is no functional impact.
Also note that l2vpn path included in the error messages returned from validation may include the new VPN path
instead of the deprecated l2vpn path. Both new path and old vpn path refer to same resource.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
GET
URI Path(s):
/global-manager/api/v1/global-infra/segments/{segment-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
Segment+