System Administration > Configuration > Fabric > Nodes > NSX Manager > Services > Policy Service

Update service properties (Deprecated)

Deprecated: Please use below endpoints.
PUT https://<nsx-mgr>/api/v1/node/services/manager

Request:

Method:
PUT
URI Path(s):
/api/v1/cluster/{cluster-node-id}/node/services/policy
/api/v1/node/services/policy
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodePolicyServiceProperties+

Example Request:

PUT https://<nsx-mgr>/api/v1/node/services/policy { "service_name": "policy", "service_properties": { "logging_level": "DEBUG", "package_logging_level": [ { "logging_level": "INFO", "package_name": "com.vmware.nsx" }, { "logging_level": "DEBUG", "package_name": "com.vmware.nsx.management.switching" }, { "logging_level": "DEBUG", "package_name": "com.vmware.nsx.management.edge" }, { "logging_level": "INFO", "package_name": "com.vmware.nsx.management.container.restartor" }, { "logging_level": "ERROR", "package_name": "org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer" }, { "logging_level": "INFO", "package_name": "com.gemstone" } ] } }

Successful Response:

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

Example Response:

{ "_schema": "NodePolicyServiceProperties", "_self": "/node/services/policy", "service_name": "policy", "service_properties": { "logging_level": "DEBUG", "package_logging_level": [ { "logging_level": "INFO", "package_name": "com.vmware.nsx" }, { "logging_level": "DEBUG", "package_name": "com.vmware.nsx.management.switching" }, { "logging_level": "DEBUG", "package_name": "com.vmware.nsx.management.edge" }, { "logging_level": "ERROR", "package_name": "org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer" }, { "logging_level": "INFO", "package_name": "com.vmware.nsx.management.container.restartor" }, { "logging_level": "INFO", "package_name": "com.gemstone" } ] } }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: