System Administration > Configuration > Global Configurations

Update global configurations of a config type

Updates global configurations that belong to a config type. The request must
include the updated values along with the unmodified values. The values that
are updated(different) would trigger update to config-type specific state.
However, the realization of the new configurations is config-type specific.
Refer to config-type specific documentation for details about the config-
uration push state.
Policy api will overwrite the fipsGlobalConfig set using MP api. Always use
https:///policy/api/v1/infra/global-config to update fips config-
uration.

Request:

Method:
PUT
URI Path(s):
/api/v1/global-configs/<config-type>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
EsxGlobalOpaqueConfig+
FipsGlobalConfig+
FirewallGlobalConfig+
IdsGlobalConfig+
OperationCollectorGlobalConfig+
RoutingGlobalConfig+
SecurityGlobalConfig+
SwitchingGlobalConfig+

Example Request:

PUT https://<nsx-mgr>/api/v1/global-configs/SwitchingGlobalConfig { "_revision": 5, "resource_type": "SwitchingGlobalConfig", "physical_uplink_mtu": 1950, "remote_tunnel_physical_mtu": 1800 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
EsxGlobalOpaqueConfig+
FipsGlobalConfig+
FirewallGlobalConfig+
IdsGlobalConfig+
OperationCollectorGlobalConfig+
RoutingGlobalConfig+
SecurityGlobalConfig+
SwitchingGlobalConfig+

Example Response:

{ "resource_type": "SwitchingGlobalConfig", "id": "aeb822b6-7778-40e1-8415-1aef6d87c618", "display_name": "aeb822b6-7778-40e1-8415-1aef6d87c618", "physical_uplink_mtu": 1950, "global_replication_mode_enabled": false, "remote_tunnel_physical_mtu": 1800, "_create_user": "system", "_create_time": 1534221197344, "_last_modified_user": "admin", "_last_modified_time": 1534306102612, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 6 }

Required Permissions:

crud

Feature:

global_configs_global_configs

Additional Errors: