System Administration > Configuration > Fabric > Associations

Retrieve scope associations for discovered resources

Retrieve scope associations for discovered resources

Request:

Method:
GET
URI Path(s):
/api/v1/fabric/scope-associations
Request Headers:
n/a
Query Parameters:
ScopeAssociationListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/fabric/scope-associations

Successful Response:

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

Example Response:

{ "results" : [ { "scope_id" : "/tenant-root/tenants/t-1/accounts/a-1/vhcs/vhc-1", "scope_type" : "VPC", "resource_type" : "ScopeAssociation", "external_id" : "502edb00-ccd9-0cbb-b70c-cd78f1ce537f", "discovered_resource_type" : "VirtualMachine", "_create_time" : 1620392593345, "_last_modified_time" : 1620392593345, "_create_user" : "system", "_last_modified_user" : "system", "_revision" : 0 } ], "result_count" : 1 }

Required Permissions:

read

Feature:

vm_vm_info

Additional Errors: