NSX-T Data Center REST API
Create or update a Tier-1 locale-services
If a Tier-1 locale services with the locale-services-id is not alreadypresent, create a new locale-services. If it already exists, replace the
Tier-1 locale services instance with the new object.
Modifying edge cluster re-allocates NSX service routers of TIER1 to a different edge
cluster. You can also place edge nodes manually and provide maximum two indices
for HA mode ACTIVE_STANDBY. To re-allocating edge cluster is a disruptive operation
and all existing statistics of Tier1 gateway will be removed.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/locale-services/{locale-services-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/locale-services/{locale-services-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/locale-services/{locale-services-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LocaleServices+
Example Request:
{ "edge_cluster_path": "/infra/sites/default/enforcement-points/nsx/edge-clusters/95196903-6b8a-4276-a7c4-387263e834fd", "preferred_edge_paths": [ "/infra/sites/default/enforcement-points/nsx/edge-clusters/05e58fcb-8575-4b20-9c49-3f09a0d70572/edge-nodes/0" ], "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LocaleServices+