TaskScheduleSummary¶
- class oci.jms.models.TaskScheduleSummary(**kwargs)¶
Bases:
objectA summary of the task schedule properties.
Methods:
__init__(**kwargs)Initializes a new TaskScheduleSummary object with values from keyword arguments.
Attributes:
[Required] Gets the created_by of this TaskScheduleSummary.
[Required] Gets the execution_recurrences of this TaskScheduleSummary.
[Required] Gets the fleet_id of this TaskScheduleSummary.
[Required] Gets the id of this TaskScheduleSummary.
[Required] Gets the lifecycle_state of this TaskScheduleSummary.
[Required] Gets the name of this TaskScheduleSummary.
[Required] Gets the task_details of this TaskScheduleSummary.
[Required] Gets the time_created of this TaskScheduleSummary.
Gets the time_last_run of this TaskScheduleSummary.
[Required] Gets the time_last_updated of this TaskScheduleSummary.
Gets the time_next_run of this TaskScheduleSummary.
- __init__(**kwargs)¶
Initializes a new TaskScheduleSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this TaskScheduleSummary.
fleet_id (str) – The value to assign to the fleet_id property of this TaskScheduleSummary.
name (str) – The value to assign to the name property of this TaskScheduleSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this TaskScheduleSummary.
created_by (str) – The value to assign to the created_by property of this TaskScheduleSummary.
execution_recurrences (str) – The value to assign to the execution_recurrences property of this TaskScheduleSummary.
task_details (oci.jms.models.TaskDetails) – The value to assign to the task_details property of this TaskScheduleSummary.
time_created (datetime) – The value to assign to the time_created property of this TaskScheduleSummary.
time_last_run (datetime) – The value to assign to the time_last_run property of this TaskScheduleSummary.
time_next_run (datetime) – The value to assign to the time_next_run property of this TaskScheduleSummary.
time_last_updated (datetime) – The value to assign to the time_last_updated property of this TaskScheduleSummary.
- property created_by¶
[Required] Gets the created_by of this TaskScheduleSummary. The name of the task creator.
- Returns
The created_by of this TaskScheduleSummary.
- Return type
str
- property execution_recurrences¶
[Required] Gets the execution_recurrences of this TaskScheduleSummary. 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 UTC, it should be ‘DTSTART=20240902T090000Z RRULE:FREQ=DAILY;COUNT=10’. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 UTC, it should be ‘DTSTART=20240805T090000Z;RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z’.
- Returns
The execution_recurrences of this TaskScheduleSummary.
- Return type
str
- property fleet_id¶
[Required] Gets the fleet_id of this TaskScheduleSummary. The OCID of the Fleet.
- Returns
The fleet_id of this TaskScheduleSummary.
- Return type
str
- property id¶
[Required] Gets the id of this TaskScheduleSummary. The OCID to identify this task schedule.
- Returns
The id of this TaskScheduleSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this TaskScheduleSummary. The current state of the task schedule.
- Returns
The lifecycle_state of this TaskScheduleSummary.
- Return type
str
- property name¶
[Required] Gets the name of this TaskScheduleSummary. The name of the task schedule.
- Returns
The name of this TaskScheduleSummary.
- Return type
str
- property task_details¶
[Required] Gets the task_details of this TaskScheduleSummary.
- Returns
The task_details of this TaskScheduleSummary.
- Return type
- property time_created¶
[Required] Gets the time_created of this TaskScheduleSummary. The date and time the task schedule was created (formatted according to RFC3339).
- Returns
The time_created of this TaskScheduleSummary.
- Return type
datetime
- property time_last_run¶
Gets the time_last_run of this TaskScheduleSummary. The date and time the task schedule ran last (formatted according to RFC3339).
- Returns
The time_last_run of this TaskScheduleSummary.
- Return type
datetime