Policy > Infra > Domains > Domain Deployment Maps

Create a new Domain Deployment Map under infra

If the passed Domain Deployment Map does not already exist, create a new Domain Deployment Map.
If it already exist, replace it.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/domains/{domain-id}/domain-deployment-maps/{domain-deployment-map-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DomainDeploymentMap+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/domains//domain-deployment-maps/ { "enforcement_point":"/infra/deployment-zones/default/enforcement-points/nsxt-ep", "_revision": 0 }

Successful Response:

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

Example Response:

{ "enforcement_point_path": "/infra/sites/default/enforcement-points/default", "resource_type": "DomainDeploymentMap", "id": "ddm1", "display_name": "ddm1", "path": "/infra/domains/SecureWorkload/domain-deployment-maps/ddm1", "relative_path": "ddm1", "parent_path": "/infra/domains/SecureWorkload", "unique_id": "bc9a38cf-7807-4f53-9bf3-d1140d1fc5db", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1604096029230, "_last_modified_user": "admin", "_last_modified_time": 1604096029236, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

domain_admin

Additional Errors: