Policy > Networking > Connectivity > Tier-0 Gateways > Tier-0 Deployment Maps

Create a new Tier-0 Deployment Map under Tier-0

If the passed Tier-0 Deployment Map does not already exist, create a new Tier-0 Deployment Map.
If it already exists, replace it.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/tier-0-deployment-maps/<tier-0-deployment-map-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Tier0DeploymentMap+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/locale-services/default/tier-0-deployment-maps/vmc_t0dm { "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:
Tier0DeploymentMap+

Example Response:

{ "resource_type": "Tier0DeploymentMap", "id": "vmc_t0dm", "display_name": "vmc_t0dm", "path": "/infra/tier-0s/vmc/locale-services/default/tier-0-deployment-maps/vmc_t0dm", "parent_path": "/infra/tier-0s/vmc/locale-services/default", "relative_path": "vmc_t0dm", "enforcement_point": "/infra/deployment-zones/default/enforcement-points/nsxt-ep", "_create_user": "admin", "_create_time": 1516667391141, "_last_modified_user": "admin", "_last_modified_time": 1516667391141, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

infra_admin

Additional Errors: