Imports or transfers ECS instances.
Operation description
Limitations
Calling this API to import an ECS instance reinstalls its operating system. This process deletes all data on the instance and requires you to reset the logon password. Before you import the instance, back up any important data.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageCluster |
none |
*Cluster
|
None | None |
Request syntax
POST /pop/v5/resource/transform_cluster_member HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
string |
Yes |
The IDs of the ECS instances. Separate multiple IDs with a comma (,).
|
i-2ze7s2v0b789k60p**** |
| TargetClusterId |
string |
Yes |
The ID of the target cluster. |
b3e3f77b-462e-****-****-bec8727a**** |
| Password |
string |
Yes |
The logon password to set for the instances. |
Hello**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Code |
integer |
The status code of the response. |
200 |
| Message |
string |
The returned message. |
success |
| Data |
string |
The data returned. If the request is successful, |
Transform submit success! |
| RequestId |
string |
The ID of the request. |
b197-40ab-9155-**** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"Data": "Transform submit success!",
"RequestId": "b197-40ab-9155-****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.