Get Logical Port State

Get Logical Port State

Returns transport node id for a specified logical port.

Request
URI
GET
https://nsxmanager.your.domain/api/v1/logical-ports/{lport-id}/state
COPY
Path Parameters
string
lport-id
Required

lport-id


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns LogicalPortState of type(s) application/json
{
    "transport_node_ids": [
        "string"
    ]
}
array of string
transport_node_ids
Optional

transport_node_ids


default

Unexpected error

Returns ApiError of type(s) application/json
{
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

module_name

string
error_message
Optional

error_message

integer As int64 As int64
error_code
Optional

error_code