Updating the Configuration of an Exclusive Microservice Engine
Function
This API is used to update the configuration of an exclusive microservice engine
URI
PUT /v2/{project_id}/enginemgr/engines/{engine_id}/config
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
engine_id |
Yes |
String |
ID of the engine to be updated. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
IAM-Token. |
X-Enterprise-Project-ID |
No |
String |
Default enterprise project: default. Default ID: 0. Default: 0 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
authType |
Yes |
String |
Security authentication type. Value: NONE or RBAC. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
ID of the exclusive microservice engine to be created. |
name |
String |
Name of the exclusive microservice engine to be created. |
jobId |
Integer |
ID of an exclusive microservice engine job. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
detail |
String |
Location details. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
detail |
String |
Location details. |
Example Requests
PUT https://{endpoint}/v2/{project_id}/enginemgr/engines/{engine_id}/config { "authType" : "RBAC" }
Example Responses
Status code: 200
OK
{ "id" : "string", "name" : "string", "jobId" : 0 }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
500 |
Internal Server Error |
Error Codes
See CSE Error Codes..
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot