CloneEngineConfig
Clones an engine configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:CloneEngineConfig |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/engineconfigs/{EngineConfigId}/action/clone HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EngineConfigId |
string |
No |
The engine configuration ID. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| ConfigValue |
string |
No |
The content of the engine configuration. |
{} |
| InstanceId |
string |
No |
The instance ID. To obtain an instance ID, see ListInstances. |
pairec-cn-******** |
| Environment |
string |
No |
The environment. Valid values:
|
Pre |
| Description |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
A04CB8C0-E74A-5E83-BC61-64D153574EC7 |
| EngineConfigId |
string |
The engine configuration ID. |
2 |
Examples
Success response
JSON format
{
"RequestId": "A04CB8C0-E74A-5E83-BC61-64D153574EC7",
"EngineConfigId": "2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.