Domain name for API request: trocket.intl.tencentcloudapi.com.
This API is used to query the migration task list smoothly.
This API is used to query the supported fields of the query parameter Filters as follows:.
Task status, supports multiple selections.
ConnectionType, network connection type, supports multiple selections. See the description of SmoothMigrationTaskItem (https://www.tencentcloud.com/document/api/1493/96031?from_cn_redirect=1#SmoothMigrationTaskItem).
This API is used to search for an instance by instance ID with precise matching.
This API is used to query task names with fuzzy search support.
This API is used to demonstrate Filters.
[{
"Name": "InstanceId",
"Values": ["rmq-1gzecldfg"]
}]
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 Params. The value used for this API: DescribeSmoothMigrationTaskList. |
| Version | Yes | String | Common Params. The value used for this API: 2023-03-08. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| Limit | No | Integer | Maximum number of queried results. Default value: 20. |
| Offset | No | Integer | Starting position of the query. Default value: 0. |
| Filters.N | No | Array of Filter | Filtering condition list. See the description of the API using this parameter for the usage method. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total query count |
| Data | Array of SmoothMigrationTaskItem | Task list. Note: This field may return null, indicating that no valid values can be obtained. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: trocket.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSmoothMigrationTaskList
<Common request parameters>
{
"Filters": [],
"Offset": 0,
"Limit": 10
}{
"Error": null,
"RequestId": null,
"Response": {
"TotalCount": 10,
"Data": [
{
"TaskId": "28deebbb-d489-471e-bb21-69fab50aed36",
"TaskName": "test-task",
"SourceClusterName": "source-cluster",
"InstanceId": "rmq-1gabcde",
"ConnectionType": "VPC",
"SourceNameServer": "1.1.1.1:9876",
"TaskStatus": "ServiceMigration",
"InstanceVersion": "5"
}
],
"RequestId": "9b299610-7402-47d3-91d1-f012faf13929"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
文档反馈