NSX-T Data Center REST API
Get ResourceReference objects to which the given resource belongs to (Deprecated)
Returns information about resources that are associated with the givenresource. Id and type of the resource for which associated resources are
to be fetched are to be specified as query parameter in the URI. Resource
type of the associated resources must be specified as query
parameter.
Deprecated: This API is deprecated. Please use below policy API /infra/virtual-machine-group-associations?vm_external_id=<ext-id> /infra/virtual-network-interface-group-associations?vif_external_id=<ext-id> /infra/ip-address-group-associations?ip_address=10.1.19.10 /infra/group-associations?intent_path=<intent-path> to get policy groups associated with the given resource.
Request:
Method:
GET
URI Path(s):
/api/v1/associations
Request Headers:
n/a
Query Parameters:
AssociationListRequestParameters+
Request Body:
n/a
Example Request:
bf250578-c0a5-4ca0-b237-0375966d23ce&resource_type=MACSet&associated_resource_type=NSGroupSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AssociationListResult+