cls_describe_scheduled_sql_tasks
Retrieve and filter scheduled SQL tasks that periodically analyze logs and store results in target topics, with pagination and filtering options.
Instructions
查询定时 SQL 任务列表。定时 SQL 用于周期性执行 SQL 分析并将结果存入目标日志主题。
参数说明
offset: 分页偏移量,默认 0
limit: 每页条数,默认 20
task_name: 按任务名称过滤(可选)
src_topic_id: 按源日志主题 ID 过滤(可选)
region: 地域(可选),如 ap-guangzhou、na-ashburn,不传则使用默认地域,可通过 cls_describe_regions 查询所有可用地域
返回信息
任务 ID、名称、状态
源主题、SQL 语句、调度周期
目标主题、创建时间
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| limit | No | ||
| task_name | No | ||
| src_topic_id | No | ||
| region | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |