Get Logical Switch Status

Get Logical Switch Status

Returns the number of ports assigned to a logical switch.

Request
URI
GET
https://nsxmanager.your.domain/api/v1/logical-switches/{lswitch-id}/summary
COPY
Path Parameters
string
lswitch-id
Required

lswitch-id


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns LogicalSwitchStatus of type(s) application/json
{
    "num_logical_ports": 0,
    "logical_switch_id": "string"
}
integer As int32 As int32
num_logical_ports
Optional

num_logical_ports

string
logical_switch_id
Optional

logical_switch_id


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