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
created_by[Required] Gets the created_by of this TaskScheduleSummary. execution_recurrences[Required] Gets the execution_recurrences of this TaskScheduleSummary. fleet_id[Required] Gets the fleet_id of this TaskScheduleSummary. id[Required] Gets the id of this TaskScheduleSummary. lifecycle_state[Required] Gets the lifecycle_state of this TaskScheduleSummary. name[Required] Gets the name of this TaskScheduleSummary. task_details[Required] Gets the task_details of this TaskScheduleSummary. time_created[Required] Gets the time_created of this TaskScheduleSummary. time_last_runGets the time_last_run of this TaskScheduleSummary. time_last_updated[Required] Gets the time_last_updated of this TaskScheduleSummary. time_next_runGets 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.
-
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
-
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 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’.
Returns: The execution_recurrences of this TaskScheduleSummary. Return type: str
-
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
-
id¶ [Required] Gets the id of this TaskScheduleSummary. The OCID to identify this task schedule.
Returns: The id of this TaskScheduleSummary. Return type: str
-
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
-
name¶ [Required] Gets the name of this TaskScheduleSummary. The name of the task schedule.
Returns: The name of this TaskScheduleSummary. Return type: str
-
task_details¶ [Required] Gets the task_details of this TaskScheduleSummary.
Returns: The task_details of this TaskScheduleSummary. Return type: oci.jms.models.TaskDetails
-
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
-
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
-