CreateEngineConfig
Creates an engine config.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:CreateEngineConfig |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/engineconfigs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Name |
string |
No |
The name of the engine config. |
engine_config_v1 |
| ConfigValue |
string |
No |
The content of the engine config. |
{} |
| Environment |
string |
No |
The environment. Valid values:
|
Pre |
| InstanceId |
string |
No |
The ID of the instance. You can obtain this ID by calling the ListInstances operation. |
pairec-cn-***test |
| Description |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The ID of the request. |
E15A1443-7917-5BE0-AE70-25538ECF398D |
| EngineConfigId |
string |
The ID of the engine config. |
1 |
Examples
Success response
JSON format
{
"RequestId": "E15A1443-7917-5BE0-AE70-25538ECF398D",
"EngineConfigId": "1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.