NSX-T Data Center REST API
Get the realized state associated with provided logical switch id (Deprecated)
Returns current state of the logical switch configuration and details of onlyout-of-sync transport nodes. This api is now deprecated. Please use new api -
policy/api/v1/infra/realized-state/realized-entities?intent_path={{intent-path}}
Request:
Method:
GET
URI Path(s):
/api/v1/logical-switches/<lswitch-id>/state
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-switches/cc5ff938-6f09-4841-8f0f-294e86415472/stateSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalSwitchState+