Transfers an ECU to the default cluster in a specified namespace.
Operation description
Usage notes
This API operation is deprecated. Use the TransformClusterMember operation instead. For more information, see TransformClusterMember.
This operation imports an Elastic Compute Service (ECS) instance and reinstalls its operating system. This process deletes all data on the instance. You must also reset the logon password. Before you import an instance, back up its data or make sure it contains no important data.
Terms
-
Namespace: A logical concept in Enterprise Distributed Application Service (EDAS) used to isolate resources and microservices. Resources include clusters, ECS instances, and applications. Namespaces can be default or custom. Each region has one default namespace and can have multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources and microservices.
-
ECU: An ECS instance becomes an Elastic Compute Unit (ECU) after it is imported into a cluster.
-
ECC: An ECU in a cluster becomes an Elastic Compute Container (ECC) after it is deployed in an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:MigrateEcu |
update |
*All Resource
|
None | None |
Request syntax
POST /pop/v5/resource/migrate_ecu HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
string |
Yes |
The IDs of the instances. To specify multiple instances, separate the IDs with commas (,). |
i-2zej4i2jdf3ntwhj**** |
| LogicalRegionId |
string |
No |
The ID of the namespace.
|
cn-hangzhou:test_region |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| Code |
integer |
The status code of the API call. |
200 |
| Message |
string |
The returned message. |
success |
| Data |
string |
The data returned.
|
true |
| RequestId |
string |
The request ID. |
04B0ABAF-95F2-42B6-A7B1**** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"Data": "true",
"RequestId": "04B0ABAF-95F2-42B6-A7B1****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.