ListMmsTimers
ListMmsTimers
Operation description
Before you call this operation, make sure that you fully understand the billing methods and pricing of exclusive resource groups and elastic reserved compute resources for the data transmission service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ListMmsTimers |
list |
*Project
|
None | None |
Request syntax
GET /api/v1/mms/datasources/{sourceId}/timers HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceId |
integer |
Yes |
The data source ID. |
2000015 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
No |
The table name. |
demo |
| srcDbName |
string |
No |
The source database name. |
test_db_1 |
| srcTableName |
string |
No |
The source table name. |
test_table_1 |
| stopped |
boolean |
No |
Specifies whether the job is stopped. |
false |
| pageNum |
integer |
No |
The page number. |
1 |
| pageSize |
integer |
No |
The number of entries per page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ApiRes<PagedListDTO |
||
| requestId |
string |
The request ID. |
0b87b7e716665825896565060e87a4 |
| data |
object |
The returned data. |
|
| total |
integer |
The total number of entries. |
13 |
| objectList |
array<object> |
The log information. |
|
|
object |
The scheduled task object. |
||
| id |
integer |
The scheduled task ID. |
18 |
| name |
string |
The scheduled task name. |
migrate_db_1 |
| sourceId |
integer |
The data source ID. |
2000015 |
| dbId |
integer |
The source database ID. |
196 |
| srcDbName |
string |
The source database name. |
db_1 |
| type |
string |
The job type. |
TABLES |
| createTime |
string |
The creation time. The format is YYYY-MM-DD HH:mm:ss. |
2024-12-17 09:29:58 |
| scheduleType |
string |
The schedule type of the scheduled task. |
Daily |
| value |
string |
The schedule time. |
00:00 |
| stopped |
boolean |
Indicates whether the task is stopped. |
false |
| pageNum |
integer |
The page number. |
1 |
| pageSize |
integer |
The number of entries displayed per page. |
10 |
Examples
Success response
JSON format
{
"requestId": "0b87b7e716665825896565060e87a4",
"data": {
"total": 13,
"objectList": [
{
"id": 18,
"name": "migrate_db_1",
"sourceId": 2000015,
"dbId": 196,
"srcDbName": "db_1",
"type": "TABLES",
"createTime": "2024-12-17 09:29:58\n\n",
"scheduleType": "Daily",
"value": "00:00",
"stopped": false
}
],
"pageNum": 1,
"pageSize": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.