NSX-T Data Center REST API
Get Mac Discovery Profile
API will get Mac Discovery profile.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/mac-discovery-profiles/{mac-discovery-profile-id}
/policy/api/v1/global-infra/mac-discovery-profiles/{mac-discovery-profile-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/mac-discovery-profiles/{mac-discovery-profile-id}
/policy/api/v1/global-infra/mac-discovery-profiles/{mac-discovery-profile-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/mac-discovery-profiles/{mac-discovery-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/policy/api/v1/infra/mac-discovery-profiles/mdp1Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
MacDiscoveryProfile+