CreateTaskScheduleDetails¶
-
class
oci.jms.models.
CreateTaskScheduleDetails
(**kwargs)¶ Bases:
object
Attributes to create a task schedule.
Methods
__init__
(**kwargs)Initializes a new CreateTaskScheduleDetails object with values from keyword arguments. Attributes
execution_recurrences
[Required] Gets the execution_recurrences of this CreateTaskScheduleDetails. fleet_id
[Required] Gets the fleet_id of this CreateTaskScheduleDetails. task_details
[Required] Gets the task_details of this CreateTaskScheduleDetails. -
__init__
(**kwargs)¶ Initializes a new CreateTaskScheduleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - fleet_id (str) – The value to assign to the fleet_id property of this CreateTaskScheduleDetails.
- execution_recurrences (str) – The value to assign to the execution_recurrences property of this CreateTaskScheduleDetails.
- task_details (oci.jms.models.TaskDetails) – The value to assign to the task_details property of this CreateTaskScheduleDetails.
-
execution_recurrences
¶ [Required] Gets the execution_recurrences of this CreateTaskScheduleDetails. 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 CreateTaskScheduleDetails. Return type: str
-
fleet_id
¶ [Required] Gets the fleet_id of this CreateTaskScheduleDetails. The OCID of the Fleet.
Returns: The fleet_id of this CreateTaskScheduleDetails. Return type: str
-
task_details
¶ [Required] Gets the task_details of this CreateTaskScheduleDetails.
Returns: The task_details of this CreateTaskScheduleDetails. Return type: oci.jms.models.TaskDetails
-