NSX-T Data Center REST API

Get Effective Logical Ports translated from the NSgroup

Returns effective logical port members of the specified NSGroup.
This API is applicable only for NSGroups containing either VirtualMachines,
LogicalSwitch or LogicalPort member types.For NSGroups containing other
member types,it returns an empty list.

Request:

Method:
GET
URI Path(s):
/api/v1/ns-groups/<ns-group-id>/effective-logical-port-members
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ "cursor": "00012", "sort_ascending": true, "result_count": 2, "results": [ { "target_id" : "20c1ac1f-58b5-4241-a352-f8e82c4a8c65", "target_display_name" : "LP-HR1", "target_type" : "LogicalPort", "is_valid": true }, { "target_id" : "c07005fe-4a9a-47f1-9a1e-2db65a285124", "target_display_name" : "LP-HR2", "target_type" : "LogicalPort" "is_valid": true } ] }

Required Permissions:

read

Feature:

groups_groups

Additional Errors: