Get Logical Port Operational Status

Get Logical Port Operational Status

Returns operational status of a specified logical port.

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

lport-id

Query Parameters
string
source
Optional

Data source type.

Possible values are : realtime, cached,

Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns LogicalPortOperationalStatus of type(s) application/json
{
    "logical_port_id": "string",
    "status": "string",
    "last_update_timestamp": 0
}
string
logical_port_id
Optional

logical_port_id

string
status
Required

status

Possible values are : UP, DOWN, UNKNOWN,
integer As int64 As int64
last_update_timestamp
Optional

Timestamp when the data was last updated; unset if data source has never updated the data.


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