Show / Hide Table of Contents

Class ScheduledTaskSummary

Summary information about a scheduled task.

Inheritance
object
ScheduledTaskSummary
Inherited Members
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 ScheduledTaskSummary

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name that is changeable and that does not have to be unique. Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the data plane resource.

Remarks

Required

LastExecutionStatus

Declaration
[JsonProperty(PropertyName = "lastExecutionStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledTaskSummary.LastExecutionStatusEnum? LastExecutionStatus { get; set; }
Property Value
Type Description
ScheduledTaskSummary.LastExecutionStatusEnum?

The most recent task execution status.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledTask.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
ScheduledTask.LifecycleStateEnum?

The current state of the scheduled task.

Remarks

Required

PauseReason

Declaration
[JsonProperty(PropertyName = "pauseReason")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledTask.PauseReasonEnum? PauseReason { get; set; }
Property Value
Type Description
ScheduledTask.PauseReasonEnum?

reason for taskStatus PAUSED.

ScheduleType

Declaration
[JsonProperty(PropertyName = "scheduleType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledTaskSummary.ScheduleTypeEnum? ScheduleType { get; set; }
Property Value
Type Description
ScheduledTaskSummary.ScheduleTypeEnum?

Type of the task schedule

TargetService

Declaration
[JsonProperty(PropertyName = "targetService")]
public string TargetService { get; set; }
Property Value
Type Description
string

Target Service

TaskStatus

Declaration
[JsonProperty(PropertyName = "taskStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledTaskSummary.TaskStatusEnum? TaskStatus { get; set; }
Property Value
Type Description
ScheduledTaskSummary.TaskStatusEnum?

Status of the scheduled task.

TaskType

Declaration
[Required(ErrorMessage = "TaskType is required.")]
[JsonProperty(PropertyName = "taskType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TaskType? TaskType { get; set; }
Property Value
Type Description
TaskType?

Task type.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the schedule task was created, in the format defined by RFC3339.

Remarks

Required

TimeLastExecuted

Declaration
[JsonProperty(PropertyName = "timeLastExecuted")]
public DateTime? TimeLastExecuted { get; set; }
Property Value
Type Description
DateTime?

The date and time the scheduled task last executed, in the format defined by RFC3339.

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the scheduled task was last updated, in the format defined by RFC3339.

Remarks

Required

WorkRequestId

Declaration
[JsonProperty(PropertyName = "workRequestId")]
public string WorkRequestId { get; set; }
Property Value
Type Description
string

most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.

In this article
Back to top