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

The id of the logical port

string
status
Required

The Operational status of the logical port

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.


400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404
Returns NotFound of type(s) application/json
Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure