NSX-T Data Center REST API
Get groups for which the given object is a member
Get policy groups for which the given object is a member.In Federation environment, if the given object is a global entity
(eg: global segment) and if the entity is not stretched to the site
specified in the enforcement_point_path parameter,then the following is returned:-
1)If the entity is a member of any global group and that group is stretched
to the enforcement_point_path site,then the API returns an empty list.
2)If the entity is not a member of any global group,this API returns
an 'invalid path' error message.
3)If both the entity and its corresponding groups are stretched to the
enforcement_point_path site , then the API returns the groups list.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/group-associations
/policy/api/v1/global-infra/group-associations
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/group-associations
/policy/api/v1/global-infra/group-associations
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/group-associations
Request Headers:
n/a
Query Parameters:
IntentEnforcementPointListRequestParams+
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyResourceReferenceForEPListResult+