Management Plane API > Networking > Logical Switching > Logical Switch Ports

Get Counts of Ports and Switches Using This Switching Profile

Request:

Method:
GET
URI Path(s):
/api/v1/switching-profiles/<switching-profile-id>/summary
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/switching-profiles/7f39bf67-ccf5-4613-8993-506ec89d893a/summary

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SwitchingProfileStatus+

Example Response:

{ "num_logical_ports": 1, "switching_profile_id": "7f39bf67-ccf5-4613-8993-506ec89d893a", "num_logical_switches": 0 }

Required Permissions:

read

Feature:

switching_switching_profiles

Additional Errors: