System Administration > Configuration > Fabric > Associations

Add scope associations for discovered resources

Add scope associations for discovered resources

Request:

Method:
POST
URI Path(s):
/api/v1/fabric/scope-associations?action=add
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ScopeAssociationList+

Example Request:

POST https://<nsx-mgr>/api/v1/fabric/scope-associations?action=add { "associations": [ { "external_id": "502edb00-ccd9-0cbb-b70c-cd78f1ce537f", "discovered_resource_type": "VirtualMachine", "scope_id": "/tenant-root/tenants/t-1/accounts/a-1/vhcs/vhc-1", "scope_type": "VPC" } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

vm_vm_info

Additional Errors: