Updates an engine configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:UpdateEngineConfig |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/engineconfigs/{EngineConfigId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EngineConfigId |
string |
No |
The engine configuration ID. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Name |
string |
No |
The name of the engine configuration. |
engine_config_v1 |
| ConfigValue |
string |
No |
The content of the engine configuration. |
{ "ListenConf": { "HttpAddr": "", "HttpPort": 8000 } } |
| Environment |
string |
No |
The environment.
|
Pre |
| InstanceId |
string |
No |
The instance ID. To get the instance ID, see ListInstances. |
pairec-cn-***test |
| Description |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
F8F613A9-DF1C-551A-88E1-397A3981A785 |
Examples
Success response
JSON format
{
"RequestId": "F8F613A9-DF1C-551A-88E1-397A3981A785"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.