System Administration > Configuration > Global Configurations

Configure Node Config profile

Updates properties in the specified Central Node Config profile.

Request:

Method:
PUT
URI Path(s):
/api/v1/configs/central-config/node-config-profiles/{node-config-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
CentralNodeConfigProfile+

Example Request:

PUT https://<nsx-mgr>/api/v1/configs/central-config/node-config-profiles/71d33895-cebf-4ebe-bb84-5cd6f478cf44 { "resource_type": "CentralNodeConfigProfile", "id": "71d33895-cebf-4ebe-bb84-5cd6f478cf44", "display_name": "All NSX nodes", "description": "This profile applies to all NSX nodes", "timezone": "UTC", "ntp": {"servers" : ["ntp1.vmware.com", "ntp2.vmware.com"]}, "syslog": { "exporters": [ { "server": "loginsight.vmware.com", "port": 514, "max_log_level": "INFO", "protocol": "LI", }, { "server": "logging.vmware.com", "port": 515, "max_log_level": "INFO", "protocol": "UDP", } ] }, "snmp": { "v2c": { "communities": [{"access": "READ_ONLY", "community_name": "community1"}], "targets": [ {"server": "10.20.125.4", "port": 1162, "community_name": "community2"} ] }, "v3": { "auth_protocol": "SHA1", "priv_protocol": "AES128", "targets": [ {"server": "10.20.125.4", "port": 1162, "user_id": "user1", "security_level": "AUTH_PRIV"}, {"server": "10.20.125.6", "port": 1162, "user_id": "user2", "security_level": "AUTH_PRIV"} ], "users": [ {"user_id": "user1", "access": "READ_ONLY", "security_level": "AUTH_PRIV"}, {"user_id": "user2", "access": "READ_ONLY", "security_level": "AUTH_PRIV"} ], }, "_revision": 1 }

Successful Response:

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

Example Response:

{ "resource_type": "CentralNodeConfigProfile", "id": "71d33895-cebf-4ebe-bb84-5cd6f478cf44", "display_name": "All NSX nodes", "description": "This profile applies to all NSX nodes", "timezone": "UTC", "ntp": {"servers" : ["ntp1.vmware.com", "ntp2.vmware.com"]}, "syslog": { "exporters": [ { "server": "loginsight.vmware.com", "port": 514, "max_log_level": "INFO", "protocol": "LI", }, { "server": "logging.vmware.com", "port": 515, "max_log_level": "INFO", "protocol": "UDP", } ] }, "snmp": { "v2c": { "communities": [{"access": "READ_ONLY", "community_name": "community1"}], "targets": [ {"server": "10.20.125.4", "port": 1162, "community_name": "community2"} ] }, "v3": { "auth_protocol": "SHA1", "priv_protocol": "AES128", "targets": [ {"server": "10.20.125.4", "port": 1162, "user_id": "user1", "security_level": "AUTH_PRIV"}, {"server": "10.20.125.6", "port": 1162, "user_id": "user2", "security_level": "AUTH_PRIV"} ], "users": [ {"user_id": "user1", "access": "READ_ONLY", "security_level": "AUTH_PRIV"}, {"user_id": "user2", "access": "READ_ONLY", "security_level": "AUTH_PRIV"} ], }, "_revision": 2 }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: