System Administration > Configuration > NSX Intelligence > Host

Patch NSX-Intelligence host configuration

Patch the current NSX-Intelligence host configuration.
Return error if NSX-Intelligence is not registered with NSX.

Request:

Method:
PATCH
URI Path(s):
/api/v1/intelligence/host-config
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IntelligenceHostConfigurationInfo+

Example Request:

PATCH https://<nsx-mgr>/api/v1/intelligence/host-config { "flow_data_collection_interval": 2, "context_data_collection_interval": 2 }

Successful Response:

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

Example Response:

{ "enable_data_collection": true, "broker_bootstrap_servers": [ { "address": "127.0.0.1", "port": 9092 } ], "flow_data_collection_interval": 2, "max_active_flow_count": 25000, "max_inactive_flow_count": 50000, "private_ip_prefix": [ { "address_type": "IPV4", "address": "10.0.0.0", "prefix_length": 8 }, { "address_type": "IPV4", "address": "172.16.0.0", "prefix_length": 12 }, { "address_type": "IPV4", "address": "192.168.0.0", "prefix_length": 16 } ], "context_data_collection_interval": 2 }

Required Permissions:

crud

Feature:

nsx_intelligence_host_configuration

Additional Errors: