Class TaskScheduleSummary
A summary of the task schedule properties.
Inherited Members
Namespace: Oci.JmsService.Models
Assembly: OCI.DotNetSDK.Jms.dll
Syntax
public class TaskScheduleSummary
Properties
CreatedBy
Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the task creator. |
Remarks
Required
ExecutionRecurrences
Declaration
[Required(ErrorMessage = "ExecutionRecurrences is required.")]
[JsonProperty(PropertyName = "executionRecurrences")]
public string ExecutionRecurrences { get; set; }
Property Value
Type | Description |
---|---|
string | Recurrence specification for the task schedule execution (formatted according to RFC-5545). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'. |
Remarks
Required
FleetId
Declaration
[Required(ErrorMessage = "FleetId is required.")]
[JsonProperty(PropertyName = "fleetId")]
public string FleetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Fleet. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID to identify this task schedule. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public TaskSchedule.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
TaskSchedule.LifecycleStateEnum? | The current state of the task schedule. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the task schedule. |
Remarks
Required
TaskDetails
Declaration
[Required(ErrorMessage = "TaskDetails is required.")]
[JsonProperty(PropertyName = "taskDetails")]
public TaskDetails TaskDetails { get; set; }
Property Value
Type | Description |
---|---|
TaskDetails |
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 task schedule was created (formatted according to RFC3339). |
Remarks
Required
TimeLastRun
Declaration
[JsonProperty(PropertyName = "timeLastRun")]
public DateTime? TimeLastRun { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the task schedule ran last (formatted according to RFC3339). |
TimeLastUpdated
Declaration
[Required(ErrorMessage = "TimeLastUpdated is required.")]
[JsonProperty(PropertyName = "timeLastUpdated")]
public DateTime? TimeLastUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the task schedule was last updated (formatted according to RFC3339). |
Remarks
Required
TimeNextRun
Declaration
[JsonProperty(PropertyName = "timeNextRun")]
public DateTime? TimeNextRun { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the task schedule will run next (formatted according to RFC3339). |