FixedFrequencySchedule¶
-
class
oci.log_analytics.models.FixedFrequencySchedule(**kwargs)¶ Bases:
oci.log_analytics.models.schedule.ScheduleFixed frequency schedule for a scheduled task.
Attributes
MISFIRE_POLICY_RETRY_INDEFINITELYstr(object=’’) -> str MISFIRE_POLICY_RETRY_ONCEstr(object=’’) -> str MISFIRE_POLICY_SKIPstr(object=’’) -> str TYPE_AUTOstr(object=’’) -> str TYPE_CRONstr(object=’’) -> str TYPE_FIXED_FREQUENCYstr(object=’’) -> str misfire_policyGets the misfire_policy of this Schedule. recurring_intervalGets the recurring_interval of this FixedFrequencySchedule. repeat_countGets the repeat_count of this FixedFrequencySchedule. time_of_first_executionGets the time_of_first_execution of this Schedule. type[Required] Gets the type of this Schedule. Methods
__init__(**kwargs)Initializes a new FixedFrequencySchedule object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MISFIRE_POLICY_RETRY_INDEFINITELY= 'RETRY_INDEFINITELY'¶
-
MISFIRE_POLICY_RETRY_ONCE= 'RETRY_ONCE'¶
-
MISFIRE_POLICY_SKIP= 'SKIP'¶
-
TYPE_AUTO= 'AUTO'¶
-
TYPE_CRON= 'CRON'¶
-
TYPE_FIXED_FREQUENCY= 'FIXED_FREQUENCY'¶
-
__init__(**kwargs)¶ Initializes a new FixedFrequencySchedule object with values from keyword arguments. The default value of the
typeattribute of this class isFIXED_FREQUENCYand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this FixedFrequencySchedule. Allowed values for this property are: “FIXED_FREQUENCY”, “CRON”, “AUTO”
- misfire_policy (str) – The value to assign to the misfire_policy property of this FixedFrequencySchedule. Allowed values for this property are: “RETRY_ONCE”, “RETRY_INDEFINITELY”, “SKIP”
- time_of_first_execution (datetime) – The value to assign to the time_of_first_execution property of this FixedFrequencySchedule.
- recurring_interval (str) – The value to assign to the recurring_interval property of this FixedFrequencySchedule.
- repeat_count (int) – The value to assign to the repeat_count property of this FixedFrequencySchedule.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
misfire_policy¶ Gets the misfire_policy of this Schedule. Schedule misfire retry policy.
Allowed values for this property are: “RETRY_ONCE”, “RETRY_INDEFINITELY”, “SKIP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The misfire_policy of this Schedule. Return type: str
-
recurring_interval¶ Gets the recurring_interval of this FixedFrequencySchedule. Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
Returns: The recurring_interval of this FixedFrequencySchedule. Return type: str
-
repeat_count¶ Gets the repeat_count of this FixedFrequencySchedule. Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
Returns: The repeat_count of this FixedFrequencySchedule. Return type: int
-
time_of_first_execution¶ Gets the time_of_first_execution of this Schedule. The date and time the scheduled task should execute first time after create or update; thereafter the task will execute as specified in the schedule.
Returns: The time_of_first_execution of this Schedule. Return type: datetime
-
type¶ [Required] Gets the type of this Schedule. Schedule type discriminator.
Allowed values for this property are: “FIXED_FREQUENCY”, “CRON”, “AUTO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this Schedule. Return type: str
-