NSX-T Data Center REST API

Get segment state information

Get tier1 segment state information.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/segments/{segments-id}/state
/policy/api/v1/global-infra/tier-1s/{tier-1-id}/segments/{segments-id}/state
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/segments/{segments-id}/state
Request Headers:
n/a
Query Parameters:
L2L3RuntimeRequestParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ "logical_switch_id": "211fe0fb-ae0c-4e16-9560-4b7647adefd8", "state": "success", "details": [] }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: