Skip to content

CycleTaskProps

Properties for defining a CycleTask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-cycletask

Initializer

using AlibabaCloud.SDK.ROS.CDK.Threatdetection;
new CycleTaskProps {
    object Enable,
    object FirstDateStr,
    object IntervalPeriod,
    object PeriodUnit,
    object TargetEndTime,
    object TargetStartTime,
    object TaskName,
    object TaskType,
    object Param = null,
    object Source = null
};

Properties

Name Type Description
Enable object Property enable: Specifies whether to enable the task.
FirstDateStr object Property firstDateStr: The first time when the task is performed.
IntervalPeriod object Property intervalPeriod: The interval at which the task is run.
PeriodUnit object Property periodUnit: The unit of the scan interval.
TargetEndTime object Property targetEndTime: The time when the task ends.
TargetStartTime object Property targetStartTime: The time when the task is started.
TaskName object Property taskName: The task name.
TaskType object Property taskType: The type of the task.
Param object Property param: The additional information.
Source object Property source: The additional source for the task.

EnableRequired

public object Enable { get; set; }
  • Type: object

Property enable: Specifies whether to enable the task.

Valid values:

  • 1: yes
  • 0: no.

FirstDateStrRequired

public object FirstDateStr { get; set; }
  • Type: object

Property firstDateStr: The first time when the task is performed.


IntervalPeriodRequired

public object IntervalPeriod { get; set; }
  • Type: object

Property intervalPeriod: The interval at which the task is run.


PeriodUnitRequired

public object PeriodUnit { get; set; }
  • Type: object

Property periodUnit: The unit of the scan interval.

Valid values:

  • day
  • hour.

TargetEndTimeRequired

public object TargetEndTime { get; set; }
  • Type: object

Property targetEndTime: The time when the task ends.

Unit: hours.


TargetStartTimeRequired

public object TargetStartTime { get; set; }
  • Type: object

Property targetStartTime: The time when the task is started.

Unit: hours.


TaskNameRequired

public object TaskName { get; set; }
  • Type: object

Property taskName: The task name.


TaskTypeRequired

public object TaskType { get; set; }
  • Type: object

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

public object Param { get; set; }
  • Type: object

Property param: The additional information.


SourceOptional

public object Source { get; set; }
  • Type: object

Property source: The additional source for the task.