Domain name for API request: msp.tencentcloudapi.com.
This API is used to obtain migration task list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: ListMigrationTask. |
Version | Yes | String | Common parameter. The value used for this API: 2018-03-19. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Offset | No | Integer | The initial number of records, default value: 0 |
Limit | No | Integer | Number of records, default value: 10 |
ProjectId | No | Integer | Project ID, the default value is empty. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total number of records |
Tasks | Array of Task | Migration task list |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to obtain migration task list.
https://msp.tencentcloudapi.com/?Action=ListMigrationTask
&<Common request parameter>
{
"Response": {
"TotalCount": 13,
"Tasks": [
{
"TaskId": "msp-81pzxxx",
"TaskName": "xxx",
"MigrationType": "file",
"Status": "migrating",
"ProjectId": 0,
"ProjectName": "",
"SrcInfo": {
"Ip": "127.0.0.1",
"Port": "80",
"Region": "cos.ap-beijing",
"InstanceId": "-"
},
"DstInfo": {
"Ip": "127.0.0.1",
"Port": "80",
"Region": "127.0.0.1",
"InstanceId": "-"
},
"MigrationTimeLine": {
"CreateTime": "2018-07-13 15:00:00",
"EndTime": "-"
},
"Updated": "2018-07-13 15:00:00"
},
{
"TaskId": "msp-j33xxx",
"TaskName": "ccc",
"MigrationType": "database",
"Status": "migrating",
"ProjectId": 0,
"ProjectName": "",
"SrcInfo": {
"Ip": "127.0.0.1",
"Port": "80",
"Region": "ap-beijing",
"InstanceId": "-"
},
"DstInfo": {
"Ip": "127.0.0.1",
"Port": "80",
"Region": "ap-beijing",
"InstanceId": "-"
},
"MigrationTimeLine": {
"CreateTime": "2018-07-13 15:00:00",
"EndTime": "-"
},
"Updated": "2018-07-13 15:00:00"
}
],
"RequestId": "b7534e17-4744-4787-95a9-05f7f0419f4c"
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameterValue | Incorrect parameter value. |
Was this page helpful?