CreateEngineConfig
Creates an engine configuration.
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. |
|
| ConfigValue |
string |
No |
The content of the engine configuration. |
{} |
| Description |
string |
No |
The description. |
this is a test config |
| Environment |
string |
No |
The runtime environment. Valid values:
|
Pre |
| InstanceId |
string |
No |
The instance ID. You can obtain the instance ID from the ListInstances operation. |
pairec-cn-***test |
| Name |
string |
No |
The name of the engine configuration. |
engine_config_v1 |
| SceneId |
string |
No |
The scene ID. |
1 |
| Type |
string |
No |
The engine configuration type. |
Normal |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| EngineConfigId |
string |
The engine configuration ID. |
1 |
| RequestId |
string |
The request ID. |
E15A1443-7917-5BE0-AE70-25538ECF398D |
Examples
Success response
JSON format
{
"EngineConfigId": "1",
"RequestId": "E15A1443-7917-5BE0-AE70-25538ECF398D"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.