NSX-T Data Center REST API
Get groups for which the given IP address is a member
Get policy groups for which the given IP address is a member.This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/ip-address-group-associations
/policy/api/v1/global-infra/ip-address-group-associations
/policy/api/v1/global-infra/ip-address-group-associations
Request Headers:
n/a
Query Parameters:
IPAddressGroupAssociationRequestParams+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/ip-address-group-associations?ip_address=10.1.19.10&enforcement_point_path=/infra/sites/default/enforcement-points/ep1Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyResourceReferenceForEPListResult+