Querying Migration Project Details
Function
This API is used to query migration project details. It can be called only when the value of migration_project_status is READY.
URI
GET /v1/{project_id}/migration-projects/{migration_project_id}/detail
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
migration_project_id |
Yes |
String |
Migration project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
migration_project_id |
Integer |
Migration project ID. |
migration_project_name |
String |
Migration project status. |
evaluation_project_name |
String |
Evaluation project name. |
source_db_info |
Table 4 object |
Source database information. |
target_db_info |
Table 4 object |
Target database information. |
created_time |
String |
Creation time. |
updated_time |
String |
Update time. |
Example Request
Querying migration project details
GET https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/migration-projects/220/detail
Example Response
Status code: 200
Request succeeded.
{ "migration_project_id" : 220, "migration_project_name" : "ugo_migration_2", "evaluation_project_name" : "ugo_best", "source_db_info" : { "connection_string" : "100.xx.xxx.xxx:1521:ORCL", "ip" : "", "port" : "", "service_name" : "", "user_name" : "ugo" }, "target_db_info" : { "connection_string" : "", "ip" : "19x.1x8.x.96", "port" : "3306", "service_name" : "ugo", "user_name" : "root" }, "created_time" : "2022-06-20T04:11:13Z", "updated_time" : "2022-06-20T04:11:13Z" }
Status Codes
Status Code |
Description |
---|---|
200 |
Request succeeded. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot