Show / Hide Table of Contents

Class CreateStandardTaskDetails

Details for creating a scheduled task. The client must fully specify the details. Not supported for TaskType ACCELERATION.

Inheritance
object
CreateScheduledTaskDetails
CreateStandardTaskDetails
Inherited Members
CreateScheduledTaskDetails.CompartmentId
CreateScheduledTaskDetails.DisplayName
CreateScheduledTaskDetails.FreeformTags
CreateScheduledTaskDetails.DefinedTags
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
[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.

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

In this article
Back to top