Class CreateStandardTaskDetails
Details for creating a scheduled task. The client must fully specify the details. Not supported for TaskType ACCELERATION.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class CreateStandardTaskDetails : CreateScheduledTaskDetails
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
public Action Action { get; set; }
Property Value
Type | Description |
---|---|
Action |
Remarks
Required
Schedules
Declaration
[Required(ErrorMessage = "Schedules is required.")]
[JsonProperty(PropertyName = "schedules")]
public List<Schedule> Schedules { get; set; }
Property Value
Type | Description |
---|---|
List<Schedule> | Schedules, typically a single schedule. Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks. |
Remarks
Required
TaskType
Declaration
[Required(ErrorMessage = "TaskType is required.")]
[JsonProperty(PropertyName = "taskType")]
[JsonConverter(typeof(StringEnumConverter))]
public TaskType? TaskType { get; set; }
Property Value
Type | Description |
---|---|
TaskType? | Task type. |
Remarks
Required