eps__MigrateResource
Migrates a Huawei Cloud resource to a target enterprise project, with optional associated ECS resource migration and region-level resource support.
Instructions
[EPS] 迁移资源到目标企业项目。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"enterprise_project_id": "<enterprise_project_id>",
"resource_id": "<resource_id>",
"resource_type": "<resource_type>"
},
"name": "eps__MigrateResource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_id | No | 资源所属RegionID。迁移OBS服务资源时为必选项。 | |
| associated | No | 是否关联迁移。目前仅支持ECS关联资源EVS、EIP迁移。 | |
| project_id | No | 项目ID。resource_type为region级别服务时为必选项。 | |
| resource_id | Yes | 资源ID | |
| resource_type | Yes | 资源类型 | |
| enterprise_project_id | Yes | 目标企业项目ID,enterprise_project_id为0时表示迁移资源到默认资源组default。注:实际迁移时,会将资源所属的【当前企业项目ID】替换为【目标企业项目ID】,所以不需要指定【当前企业项目ID】。 |