System Administration >
Configuration
>
Fabric
>
Nodes
>
NSX Manager
>
Services
>
HTTP Service
Update http service properties
(Deprecated)
This API is deprecated. Make changes to the http service
configuration by calling the PUT /api/v1/cluster/api-service API.
Request:
Method:
PUT
URI Path(s):
/api/v1/cluster/<cluster-node-id>/node/services/http
/api/v1/node/services/http
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeHttpServiceProperties
+
NodeHttpServiceProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
service_name
Service name
string
Required
service_properties
HTTP Service properties
HttpServiceProperties
Example Request:
PUT https://<nsx-mgr>/api/v1/node/services/http { "service_name": "http", "service_properties": { "logging_level": "INFO", "certificate": { "pem_encoded": "-BEGIN CERTIFICATE-
-END CERTIFICATE-\n" }, "cipher_suites": [ { "enabled": true, "name": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" }, { "enabled": false, "name": "TLS_RSA_WITH_AES_256_GCM_SHA384" }, { "enabled": true, "name": "TLS_RSA_WITH_AES_256_CBC_SHA" } ], "connection_timeout": 60000, "protocol_versions": [ { "enabled": true, "name": "TLSv1.1" }, { "enabled": true, "name": "TLSv1.2" } ], "redirect_host": "10.0.0.1", "session_timeout": 2400 } }
Successful Response:
Response Code:
202 Accepted
Response Headers:
Content-type: application/json
Response Body:
NodeHttpServiceProperties
+
NodeHttpServiceProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
service_name
Service name
string
Required
service_properties
HTTP Service properties
HttpServiceProperties
Example Response:
same as GET https://<nsx-mgr>/api/v1/node/services/http
Required Permissions:
crud
Feature:
system_administration
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable