ScheduledRun¶
- 
class oci.usage_api.models.ScheduledRun(**kwargs)¶
- Bases: - object- The saved schedule run. - Attributes - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a ScheduledRun. - LIFECYCLE_STATE_SUCCEEDED- A constant which can be used with the lifecycle_state property of a ScheduledRun. - id- [Required] Gets the id of this ScheduledRun. - lifecycle_details- [Required] Gets the lifecycle_details of this ScheduledRun. - lifecycle_state- [Required] Gets the lifecycle_state of this ScheduledRun. - schedule_id- [Required] Gets the schedule_id of this ScheduledRun. - time_created- [Required] Gets the time_created of this ScheduledRun. - time_finished- [Required] Gets the time_finished of this ScheduledRun. - Methods - __init__(**kwargs)- Initializes a new ScheduledRun object with values from keyword arguments. - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a ScheduledRun. This constant has a value of “FAILED” 
 - 
LIFECYCLE_STATE_SUCCEEDED= 'SUCCEEDED'¶
- A constant which can be used with the lifecycle_state property of a ScheduledRun. This constant has a value of “SUCCEEDED” 
 - 
__init__(**kwargs)¶
- Initializes a new ScheduledRun 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 ScheduledRun.
- schedule_id (str) – The value to assign to the schedule_id property of this ScheduledRun.
- time_created (datetime) – The value to assign to the time_created property of this ScheduledRun.
- time_finished (datetime) – The value to assign to the time_finished property of this ScheduledRun.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ScheduledRun. Allowed values for this property are: “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this ScheduledRun.
 
 - 
id¶
- [Required] Gets the id of this ScheduledRun. The OCID representing a unique shedule run. - Returns: - The id of this ScheduledRun. - Return type: - str 
 - 
lifecycle_details¶
- [Required] Gets the lifecycle_details of this ScheduledRun. Additional details about the scheduled run. - Returns: - The lifecycle_details of this ScheduledRun. - Return type: - str 
 - 
lifecycle_state¶
- [Required] Gets the lifecycle_state of this ScheduledRun. Specifies whether or not the schedule job was successfully run. - Allowed values for this property are: “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this ScheduledRun. - Return type: - str 
 - 
schedule_id¶
- [Required] Gets the schedule_id of this ScheduledRun. The OCID representing a unique shedule. - Returns: - The schedule_id of this ScheduledRun. - Return type: - str 
 - 
time_created¶
- [Required] Gets the time_created of this ScheduledRun. The time the schedule started executing. - Returns: - The time_created of this ScheduledRun. - Return type: - datetime 
 - 
time_finished¶
- [Required] Gets the time_finished of this ScheduledRun. The time the schedule finished executing. - Returns: - The time_finished of this ScheduledRun. - Return type: - datetime 
 
-