ScheduledRunSummary¶
- class oci.usage_api.models.ScheduledRunSummary(**kwargs)¶
Bases:
objectThe saved history past run.
Methods:
__init__(**kwargs)Initializes a new ScheduledRunSummary object with values from keyword arguments.
Attributes:
[Required] Gets the id of this ScheduledRunSummary.
[Required] Gets the lifecycle_details of this ScheduledRunSummary.
[Required] Gets the lifecycle_state of this ScheduledRunSummary.
[Required] Gets the schedule_id of this ScheduledRunSummary.
[Required] Gets the time_created of this ScheduledRunSummary.
[Required] Gets the time_finished of this ScheduledRunSummary.
- __init__(**kwargs)¶
Initializes a new ScheduledRunSummary 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 ScheduledRunSummary.
schedule_id (str) – The value to assign to the schedule_id property of this ScheduledRunSummary.
time_created (datetime) – The value to assign to the time_created property of this ScheduledRunSummary.
time_finished (datetime) – The value to assign to the time_finished property of this ScheduledRunSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ScheduledRunSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this ScheduledRunSummary.
- property id¶
[Required] Gets the id of this ScheduledRunSummary. The OCID representing a unique shedule run.
- Returns
The id of this ScheduledRunSummary.
- Return type
str
- property lifecycle_details¶
[Required] Gets the lifecycle_details of this ScheduledRunSummary. Additional details about the scheduled run.
- Returns
The lifecycle_details of this ScheduledRunSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this ScheduledRunSummary. Specifies whether or not the schedule job was successfully run.
- Returns
The lifecycle_state of this ScheduledRunSummary.
- Return type
str
- property schedule_id¶
[Required] Gets the schedule_id of this ScheduledRunSummary. The OCID representing a unique shedule.
- Returns
The schedule_id of this ScheduledRunSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this ScheduledRunSummary. The time the schedule started executing.
- Returns
The time_created of this ScheduledRunSummary.
- Return type
datetime
- property time_finished¶
[Required] Gets the time_finished of this ScheduledRunSummary. The time the schedule finished executing.
- Returns
The time_finished of this ScheduledRunSummary.
- Return type
datetime