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

Create or update a Tier-0

If a Tier-0 with the tier-0-id is not already present, create a new
Tier-0. If it already exists, replace the Tier-0 instance with the new object.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Tier0+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv { "transit_subnets": [ "10.2.3.0/24" ], "ha_mode":"ACTIVE_STANDBY", "_revision": 0 }

Successful Response:

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

Example Response:

{ "resource_type": "Tier0", "id": "vmc_prv", "display_name": "/infra/tier-0s/vmc_prv", "path": "/infra/tier-0s/vmc_prv", "parent_path": "/infra/tier-0s/vmc_prv", "relative_path": "vmc_prv", "ha_mode": "ACTIVE_STANDBY", "transit_subnets": [ "10.2.3.0/24" ], "force_whitelisting": false, "_create_user": "admin", "_create_time": 1516667421694, "_last_modified_user": "admin", "_last_modified_time": 1516667421694, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: