Management Plane API > Networking > Services > Metadata Proxy

Create a metadata proxy

Request:

Method:
POST
URI Path(s):
/api/v1/md-proxies
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MetadataProxy+

Example Request:

POST https://<nsx-mgr>/api/v1/md-proxies { "display_name" : "metadata-proxy-2", "metadata_server_url" : "http://12.34.56.78:3000", "secret" : "secret123", "edge_cluster_id" : "4a6a13e0-eb66-4c02-96c3-85c9a250a946", "enable_standby_relocation": true }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
MetadataProxy+

Example Response:

{ "resource_type" : "MetadataProxy", "id" : "e62a2471-d2ed-4644-b50c-1c61df81c011", "display_name" : "metadata-proxy-2", "metadata_server_url" : "http://12.34.56.78:3000", "edge_cluster_id" : "4a6a13e0-eb66-4c02-96c3-85c9a250a946", "enable_standby_relocation": true, "_create_time" : 1478285793221, "_create_user" : "admin", "_last_modified_user" : "admin", "_system_owned" : false, "_last_modified_time" : 1478285793221, "_revision" : 0 }

Required Permissions:

crud

Feature:

metadata_proxies

Additional Errors: