Import or transfer ECS instances. This API is applicable to ECS clusters.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request header

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

POST /pop/v5/resource/transform_cluster_member HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
InstanceIds String Yes i-2ze7s2v0b789k60p automatic snapshot policies *

The instance ID set, separated with commas (,).

Note
  • InstanceId does not belong to any cluster, but an InstanceId can belong to only one cluster.
  • The physical region ID and network type of the ECS instance must be consistent with those of the target cluster.
Password String Yes Hello****

You must specify a logon password for the ECS instances in the target cluster.

TargetClusterId String Yes B3f3e77 b-462e-****-****-bec8727a4dc8

The ID of the target cluster.

Response parameters

Parameter Type Example Description
Code Integer 200

code

Data String ransform submit success!

"Transform submit success!" is returned if the submission is successful.

Message String success

The returned message.

RequestId String b197-40ab-9155-7ca7

The ID of the request.

Examples

Sample requests

POST /pop/v5/resource/transform_cluster_member HTTP/1.1
Common request header
{
  "InstanceIds": "i-2ze7s289k60pxxxx"
  "Password": "Hxxxx"
  "TargetClusterId": "b3e3f77b-462e-xxxx-bec8727xxxx"
}

Sample success responses

XML format

<Data>Transform submit success! </Data>
<Message>success</Message>
<Code>200</Code>

JSON format

{
    "Data": "Transform submit success! ",
    "Message": "success",
    "Code": 200
}

Error codes

For a list of error codes, visit the API Error Center.