All Products
Search
Document Center

MaxCompute:GetMmsTimer

Last Updated:Apr 09, 2026

GetMmsTimer

Operation description

Before using this API, review the billing methods and pricing for dedicated resource groups and elastic reserved computing resources used for data transfer.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v1/mms/datasources/{sourceId}/timers/{timerId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

sourceId

integer

Yes

The ID of the data source.

2000015

timerId

integer

Yes

The ID of the timer.

1

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

ApiRes

requestId

string

The request ID.

0a06dfe716674588654372173ec0da

data

object

The data returned.

id

integer

The ID of the scheduled task.

2523

name

string

The name of the scheduled task.

sale_detail

sourceId

integer

The ID of the data source.

2000017

dbId

integer

The ID of the source database.

23

srcDbName

string

The name of the source database.

mms_test

type

string

The type of the scheduled task.

Daily, Hourly

config

object

The configuration of the migration job.

partitions

array

If type is set to Partitions, this parameter specifies a list of partition IDs to migrate.

integer

The ID of a table partition to migrate.

[123, 132]

tables

array

If type is set to Tables, this parameter specifies a list of table names to migrate.

string

The name of a table to migrate.

["student", "scores"]

tableBlackList

array

If type is set to Database, this parameter specifies a table deny list. Tables on this list are excluded from the migration.

string

If type is set to Database, this parameter specifies a table to exclude from the migration.

["student", "scores"]

tableWhiteList

array

If type is set to Database, this parameter specifies a table allowlist. If this parameter is not specified, all tables in the database are migrated.

string

If type is set to Database, this parameter specifies a table to include in the migration.

["student", "scores"]

partitionFilters

object

A map of table names to their corresponding partition filter expressions.

string

The partition filter expression for a table. For example: p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde').

In this example, p1, p2, p3, and p4 are partition column names.

Partition values can be strings or numbers. Strings must be enclosed in single (') or double (") quotation marks.

For partition columns of types other than INT and BIGINT, their values must be specified as strings.

Supported comparison operators: >, >=, =, <, <=, and <>.

The IN operator is supported.

Supported logical operators: AND and OR.

Use parentheses () to group conditions.

{ "student": "p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde')" }

enableDataMigration

boolean

Whether to migrate table data.

enableSchemaMigration

boolean

Whether to migrate the table schema.

enableVerification

boolean

Whether to enable verification. The system performs verification by running a SELECT COUNT(*) query on both the source and destination to compare the row count.

true

tableMapping

object

A map of source table names to destination table names.

string

Maps a source table name to a destination table name.

{'a': 'a1'}

columnMapping

object

A map of source column names to destination column names.

string

Maps a source column name to a destination column name.

{"c-1":"c_2"}

others

object

Other configurations.

any

Other configurations.

{}

createTime

string

The creation time of the scheduled task. This is a Unix timestamp in milliseconds.

1730946421757

updateTime

string

The last update time of the scheduled task, in ISO 8601 format.

2026-04-01T02:18:01Z

scheduleType

string

The scheduling type of the scheduled task. Valid values: Daily and Hourly.

Daily

value

string

The scheduling time. If scheduleType is Daily, the value is in the HH:MM format. If scheduleType is Hourly, the value is in the MM format.

p1=1/p2=abc

stopped

boolean

Indicates whether the scheduled task is stopped.

false

Examples

Success response

JSON format

{
  "requestId": "0a06dfe716674588654372173ec0da",
  "data": {
    "id": 2523,
    "name": "sale_detail",
    "sourceId": 2000017,
    "dbId": 23,
    "srcDbName": "mms_test",
    "type": "Daily, Hourly",
    "config": {
      "partitions": [
        0
      ],
      "tables": [
        "[\"student\", \"scores\"]"
      ],
      "tableBlackList": [
        "[\"student\", \"scores\"]"
      ],
      "tableWhiteList": [
        "[\"student\", \"scores\"]"
      ],
      "partitionFilters": {
        "key": "{\n\"student\": \"p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde')\" \n}"
      },
      "enableDataMigration": false,
      "enableSchemaMigration": false,
      "enableVerification": true,
      "tableMapping": {
        "key": "{'a': 'a1'}"
      },
      "columnMapping": {
        "key": "{\"c-1\":\"c_2\"}"
      },
      "others": {
        "key": "{}"
      }
    },
    "createTime": "1730946421757",
    "updateTime": "2026-04-01T02:18:01Z",
    "scheduleType": "Daily",
    "value": "p1=1/p2=abc\n",
    "stopped": false
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.