最近更新时间:2023.08.14 16:44:51
首次发布时间:2023.02.15 19:04:54
本接口用于更新触发规则。
名称 | 位置 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|---|
Action | Query | String | 是 | UpdateCronJob | 要执行的操作。取值:UpdateCronJob |
domain | Body | String | 是 | test-sparrow.test.test | 函数域名 |
job_name | Body | String | 是 | cron1 | 任务名称。名称需同时满足如下要求:
|
cron_expression | Body | String | 是 | */1 * * * * | 执行表达式。名称需同时满足如下要求:
|
parameter | Body | String | 否 | cron | 执行参数 |
description | Body | String | 否 | test | 任务描述 |
cron_type | Body | Int32 | 是 | 1 | 调度类型
|
无
POST https://veefedge.volcengineapi.com/?Action=UpdateCronJob &<公共请求参数> { "domain":"test-sparrow.test.test", "job_name":"test1", "cron_expression":"*/1 * * * *", "parameter":"cron_al", "description":"", "cron_type":1 }
正常返回示例
{ "ResponseMetadata": { "RequestId": "2022011110011401022524308102B1****", "Action": "UpdateCronJob", "Version": "2021-04-30", "Service": "veefedge", "Region": "cn-north-1" } }