AlertSchedule

data class AlertSchedule(val cronExpression: String? = null, val delay: Int? = null, val interval: String? = null, val runImmdiately: Boolean? = null, val timeZone: String? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(cronExpression: String? = null, delay: Int? = null, interval: String? = null, runImmdiately: Boolean? = null, timeZone: String? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cronExpression: String? = null

Cron expression, the minimum accuracy is minutes, 24 hours. For example, 0 0/1 * * * means that the check is conducted every 1 hour from 00:00. When type is set to Cron, cronExpression must be set.

Link copied to clipboard
val delay: Int? = null

Timed task execution delay (unit: s).

Link copied to clipboard
val interval: String? = null

Fixed interval for scheduling.

Link copied to clipboard
val runImmdiately: Boolean? = null

Dispatch immediately.

Link copied to clipboard
val timeZone: String? = null

The time zone where the Cron expression is located. The default value is null, indicating the eighth zone in the east.

Link copied to clipboard
val type: String? = null

Check the frequency type. Log Service checks the query and analysis results according to the frequency you configured. The values are as follows: Fixedate: checks query and analysis results at regular intervals. Cron: specifies the time interval by using the Cron expression, and checks the query and analysis results at the specified time interval.