CreateTaskScheduleDetails¶
- class oci.jms.models.CreateTaskScheduleDetails(**kwargs)¶
Bases:
objectAttributes to create a task schedule.
Methods:
__init__(**kwargs)Initializes a new CreateTaskScheduleDetails object with values from keyword arguments.
Attributes:
[Required] Gets the execution_recurrences of this CreateTaskScheduleDetails.
[Required] Gets the fleet_id of this CreateTaskScheduleDetails.
[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.
- property 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 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 CreateTaskScheduleDetails.
- Return type
str
- property 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
- property task_details¶
[Required] Gets the task_details of this CreateTaskScheduleDetails.
- Returns
The task_details of this CreateTaskScheduleDetails.
- Return type