NSX-T Data Center REST API
Create/update a new Enforcement Point under infra (Deprecated)
If the passed Enforcement Point does not already exist, create a new Enforcement Point.If it already exists, replace it.
Deprecated: This is a deprecated API. DeploymentZone has been renamed to Site. Use PUT /infra/sites/site-id/enforcement-points/enforcementpoint-id.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/deployment-zones/{deployment-zone-id}/enforcement-points/{enforcementpoint-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
EnforcementPoint+
Example Request:
{ "connection_info": { "enforcement_point_address":"10.192.201.163", "resource_type":"NSXTConnectionInfo", "username":"admin", "password":"Admin!23Admin", "thumbprint":"f53d7052535613b3032a41d555631228cb4d0d8b584a8225b94fbf0ba83eb9a4", "transport_zone_ids": [ "992759f9-434a-45ea-9347-2ff45fba1f31" ], "edge_cluster_ids": [ "ad79b022-69bd-4bd9-969a-273627690bd9" ] }, "_revision" : 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
EnforcementPoint+