CycleTaskProps
Properties for defining a CycleTask.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-cycletask
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.CycleTaskProps {
Enable: interface{},
FirstDateStr: interface{},
IntervalPeriod: interface{},
PeriodUnit: interface{},
TargetEndTime: interface{},
TargetStartTime: interface{},
TaskName: interface{},
TaskType: interface{},
Param: interface{},
Source: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Enable | interface{} | Property enable: Specifies whether to enable the task. |
FirstDateStr | interface{} | Property firstDateStr: The first time when the task is performed. |
IntervalPeriod | interface{} | Property intervalPeriod: The interval at which the task is run. |
PeriodUnit | interface{} | Property periodUnit: The unit of the scan interval. |
TargetEndTime | interface{} | Property targetEndTime: The time when the task ends. |
TargetStartTime | interface{} | Property targetStartTime: The time when the task is started. |
TaskName | interface{} | Property taskName: The task name. |
TaskType | interface{} | Property taskType: The type of the task. |
Param | interface{} | Property param: The additional information. |
Source | interface{} | Property source: The additional source for the task. |
EnableRequired
Enable interface{}
- Type: interface{}
Property enable: Specifies whether to enable the task.
Valid values:
- 1: yes
- 0: no.
FirstDateStrRequired
FirstDateStr interface{}
- Type: interface{}
Property firstDateStr: The first time when the task is performed.
IntervalPeriodRequired
IntervalPeriod interface{}
- Type: interface{}
Property intervalPeriod: The interval at which the task is run.
PeriodUnitRequired
PeriodUnit interface{}
- Type: interface{}
Property periodUnit: The unit of the scan interval.
Valid values:
- day
- hour.
TargetEndTimeRequired
TargetEndTime interface{}
- Type: interface{}
Property targetEndTime: The time when the task ends.
Unit: hours.
TargetStartTimeRequired
TargetStartTime interface{}
- Type: interface{}
Property targetStartTime: The time when the task is started.
Unit: hours.
TaskNameRequired
TaskName interface{}
- Type: interface{}
Property taskName: The task name.
TaskTypeRequired
TaskType interface{}
- Type: interface{}
Property taskType: The type of the task.
Valid values:
- VIRUS_VUL_SCHEDULE_SCAN: virus scan task
- IMAGE_SCAN: image scan task
- EMG_VUL_SCHEDULE_SCAN: urgent vulnerability scan task.
ParamOptional
Param interface{}
- Type: interface{}
Property param: The additional information.
SourceOptional
Source interface{}
- Type: interface{}
Property source: The additional source for the task.