Volcano Engine Function as a Service
Parameter | Type | Required or Not | Sample value | Description |
Action | String | Yes | CreateTimer | Interface name. The current API is called CreateTimer. |
Version | String | Yes | 2024-06-06 | Interface version. The current version of the API is 2024-06-06. |
FunctionId | String | Yes | qtqzj*** | Specify a function ID, and create a Timer Trigger in this function. |
Name | String | Yes | doc-timer | Custom settings for the name of the Timer Trigger.
|
Description | String | No | Timer Trigger | The remarks information for the Timer Trigger. |
Enabled | Boolean | No | true | Whether the Timer Trigger is enabled or not.
|
Crontab | String | Yes | */5 * * * * | Set the timed triggering time for Timer Triggers. The time format is a crontab expression. You can access crontab guru to view the meanings of the crontab expression. |
Payload | String | No | {"body": "create event payload"} | The Timer Trigger sends the requested content payload, which is the trigger message. The length should not exceed 1,000 unicode characters. |
EnableConcurrency | Boolean | No | false | Whether the Timer Trigger allows concurrency.
|
Retries | Integer | No | 0 | The number of retries for the Timer Trigger. |
Parameter | Type | Sample value | Description |
FunctionId | String | qtqzj** | Function ID. |
Id | String | v02ww8** | Timer Trigger ID. |
Name | String | doc-timer | Timer Trigger name. |
Description | String | Timer Trigger | The remarks information for the Timer Trigger. |
Enabled | Boolean | true | Timer Trigger whether enabled or not, true means enabled. |
Crontab | String | */5 * * * * | The triggering time of the Timer Trigger in the format of a crontab expression. |
Payload | String | {"body": "update event payload"} | The Timer Trigger sends the requested payload, which is the trigger message. |
CreationTime | String | 2024-06-14 15:31:07.143863441 +0800 CST m=+88714.902440864 | Timer Trigger creation time. |
LastUpdateTime | String | 2024-06-14 15:31:07.143863441 +0800 CST m=+88714.902440864 | Timer Trigger update time. |
EnableConcurrency | Boolean | true | Whether the Timer Trigger allows concurrency, true means concurrency is allowed. |
Retries | Integer | 0 | The number of retries for the Timer Trigger. |