ScheduledTaskSpec
ScheduledTaskSpec
Parameters for scheduled task creation.
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"name": "string",
"description": "string",
"enabled": false,
"scheduler": {
"_typeName": "string",
"activeTime": "string",
"expireTime": "string"
},
"action": {
"_typeName": "string"
},
"notification": "string"
}
string
name
Required
Name of the scheduled task.
string
description
Required
Description of the scheduled task.
boolean
enabled
Required
Flag to indicate whether the scheduled task is enabled or disabled.
scheduler
Required
The time scheduler that determines when the scheduled task runs.
action
Required
The action of the scheduled task, to be done when the scheduled task runs.
string
notification
Optional
The email notification.
If not set, this property is set to empty string, indicating no notification.