Imports Elastic Compute Service (ECS) instances into an ECS cluster.
Operation description
Calling this operation reinstalls the operating system of the imported ECS instance, which deletes all existing data. You must also set a logon password. Before you proceed, make sure that no important data exists on the instance or that the data has been backed up.
We recommend that you use InstallAgent instead of this operation.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageCluster |
create |
*Cluster
|
None | None |
Request syntax
POST /pop/v5/resource/cluster_member HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clusterId |
string |
Yes |
The cluster ID. |
b3e3f77b-462e-****-****-bec8727a4dc8 |
| instanceIds |
string |
Yes |
The IDs of the ECS instances to import. Separate multiple IDs with commas (,). |
i-2ze7s2v0b789k60p**** |
| password |
string |
Yes |
The logon password of the ECS instances to import. |
YourPassword |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Code |
integer |
The HTTP status code. |
200 |
| Message |
string |
The additional information. |
success |
| Data |
string |
The returned data. |
Transform submit success! |
| RequestId |
string |
The request ID. |
01B49A88-B06F-423B-A5EF-E5C0A89****** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"Data": "Transform submit success!",
"RequestId": "01B49A88-B06F-423B-A5EF-E5C0A89******"
}
Error codes
See Error CodesError Codes for a complete list.
Release notes
See Release NotesRelease Notes for a complete list.