ExecutionWindow¶
-
class
oci.database.models.
ExecutionWindow
(**kwargs)¶ Bases:
object
Details of an execution window.
Attributes
LIFECYCLE_STATE_CANCELED
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_CREATED
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_PARTIAL_SUCCESS
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_SCHEDULED
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a ExecutionWindow. LIFECYCLE_SUBSTATE_DURATION_EXCEEDED
A constant which can be used with the lifecycle_substate property of a ExecutionWindow. LIFECYCLE_SUBSTATE_MAINTENANCE_IN_PROGRESS
A constant which can be used with the lifecycle_substate property of a ExecutionWindow. LIFECYCLE_SUBSTATE_RESCHEDULED
A constant which can be used with the lifecycle_substate property of a ExecutionWindow. LIFECYCLE_SUBSTATE_WAITING
A constant which can be used with the lifecycle_substate property of a ExecutionWindow. WINDOW_TYPE_PLANNED
A constant which can be used with the window_type property of a ExecutionWindow. WINDOW_TYPE_UNPLANNED
A constant which can be used with the window_type property of a ExecutionWindow. compartment_id
[Required] Gets the compartment_id of this ExecutionWindow. defined_tags
Gets the defined_tags of this ExecutionWindow. description
Gets the description of this ExecutionWindow. display_name
[Required] Gets the display_name of this ExecutionWindow. estimated_time_in_mins
Gets the estimated_time_in_mins of this ExecutionWindow. execution_resource_id
[Required] Gets the execution_resource_id of this ExecutionWindow. freeform_tags
Gets the freeform_tags of this ExecutionWindow. id
[Required] Gets the id of this ExecutionWindow. is_enforced_duration
Gets the is_enforced_duration of this ExecutionWindow. lifecycle_details
Gets the lifecycle_details of this ExecutionWindow. lifecycle_state
[Required] Gets the lifecycle_state of this ExecutionWindow. lifecycle_substate
Gets the lifecycle_substate of this ExecutionWindow. time_created
Gets the time_created of this ExecutionWindow. time_ended
Gets the time_ended of this ExecutionWindow. time_scheduled
[Required] Gets the time_scheduled of this ExecutionWindow. time_started
Gets the time_started of this ExecutionWindow. time_updated
Gets the time_updated of this ExecutionWindow. total_time_taken_in_mins
Gets the total_time_taken_in_mins of this ExecutionWindow. window_duration_in_mins
[Required] Gets the window_duration_in_mins of this ExecutionWindow. window_type
Gets the window_type of this ExecutionWindow. Methods
__init__
(**kwargs)Initializes a new ExecutionWindow object with values from keyword arguments. -
LIFECYCLE_STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_CREATED
= 'CREATED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “CREATED”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “IN_PROGRESS”
-
LIFECYCLE_STATE_PARTIAL_SUCCESS
= 'PARTIAL_SUCCESS'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “PARTIAL_SUCCESS”
-
LIFECYCLE_STATE_SCHEDULED
= 'SCHEDULED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “SCHEDULED”
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “SUCCEEDED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindow. This constant has a value of “UPDATING”
-
LIFECYCLE_SUBSTATE_DURATION_EXCEEDED
= 'DURATION_EXCEEDED'¶ A constant which can be used with the lifecycle_substate property of a ExecutionWindow. This constant has a value of “DURATION_EXCEEDED”
-
LIFECYCLE_SUBSTATE_MAINTENANCE_IN_PROGRESS
= 'MAINTENANCE_IN_PROGRESS'¶ A constant which can be used with the lifecycle_substate property of a ExecutionWindow. This constant has a value of “MAINTENANCE_IN_PROGRESS”
-
LIFECYCLE_SUBSTATE_RESCHEDULED
= 'RESCHEDULED'¶ A constant which can be used with the lifecycle_substate property of a ExecutionWindow. This constant has a value of “RESCHEDULED”
-
LIFECYCLE_SUBSTATE_WAITING
= 'WAITING'¶ A constant which can be used with the lifecycle_substate property of a ExecutionWindow. This constant has a value of “WAITING”
-
WINDOW_TYPE_PLANNED
= 'PLANNED'¶ A constant which can be used with the window_type property of a ExecutionWindow. This constant has a value of “PLANNED”
-
WINDOW_TYPE_UNPLANNED
= 'UNPLANNED'¶ A constant which can be used with the window_type property of a ExecutionWindow. This constant has a value of “UNPLANNED”
-
__init__
(**kwargs)¶ Initializes a new ExecutionWindow 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 ExecutionWindow.
- execution_resource_id (str) – The value to assign to the execution_resource_id property of this ExecutionWindow.
- compartment_id (str) – The value to assign to the compartment_id property of this ExecutionWindow.
- display_name (str) – The value to assign to the display_name property of this ExecutionWindow.
- description (str) – The value to assign to the description property of this ExecutionWindow.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExecutionWindow. Allowed values for this property are: “CREATED”, “SCHEDULED”, “IN_PROGRESS”, “FAILED”, “CANCELED”, “UPDATING”, “DELETED”, “SUCCEEDED”, “PARTIAL_SUCCESS”, “CREATING”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_substate (str) – The value to assign to the lifecycle_substate property of this ExecutionWindow. Allowed values for this property are: “DURATION_EXCEEDED”, “MAINTENANCE_IN_PROGRESS”, “WAITING”, “RESCHEDULED”, ‘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 ExecutionWindow.
- time_created (datetime) – The value to assign to the time_created property of this ExecutionWindow.
- time_updated (datetime) – The value to assign to the time_updated property of this ExecutionWindow.
- time_started (datetime) – The value to assign to the time_started property of this ExecutionWindow.
- time_ended (datetime) – The value to assign to the time_ended property of this ExecutionWindow.
- time_scheduled (datetime) – The value to assign to the time_scheduled property of this ExecutionWindow.
- window_duration_in_mins (int) – The value to assign to the window_duration_in_mins property of this ExecutionWindow.
- is_enforced_duration (bool) – The value to assign to the is_enforced_duration property of this ExecutionWindow.
- estimated_time_in_mins (int) – The value to assign to the estimated_time_in_mins property of this ExecutionWindow.
- total_time_taken_in_mins (int) – The value to assign to the total_time_taken_in_mins property of this ExecutionWindow.
- window_type (str) – The value to assign to the window_type property of this ExecutionWindow. Allowed values for this property are: “PLANNED”, “UNPLANNED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ExecutionWindow.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ExecutionWindow.
-
compartment_id
¶ [Required] Gets the compartment_id of this ExecutionWindow. The OCID of the compartment.
Returns: The compartment_id of this ExecutionWindow. Return type: str
Gets the defined_tags of this ExecutionWindow. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Returns: The defined_tags of this ExecutionWindow. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this ExecutionWindow. Description of the execution window.
Returns: The description of this ExecutionWindow. Return type: str
-
display_name
¶ [Required] Gets the display_name of this ExecutionWindow. The user-friendly name for the execution window. The name does not need to be unique.
Returns: The display_name of this ExecutionWindow. Return type: str
-
estimated_time_in_mins
¶ Gets the estimated_time_in_mins of this ExecutionWindow. The estimated time of the execution window in minutes.
Returns: The estimated_time_in_mins of this ExecutionWindow. Return type: int
-
execution_resource_id
¶ [Required] Gets the execution_resource_id of this ExecutionWindow. The OCID of the execution resource the execution window belongs to.
Returns: The execution_resource_id of this ExecutionWindow. Return type: str
Gets the freeform_tags of this ExecutionWindow. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this ExecutionWindow. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ExecutionWindow. The OCID of the execution window.
Returns: The id of this ExecutionWindow. Return type: str
-
is_enforced_duration
¶ Gets the is_enforced_duration of this ExecutionWindow. Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
Returns: The is_enforced_duration of this ExecutionWindow. Return type: bool
-
lifecycle_details
¶ Gets the lifecycle_details of this ExecutionWindow. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this ExecutionWindow. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ExecutionWindow. The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
Allowed values for this property are: “CREATED”, “SCHEDULED”, “IN_PROGRESS”, “FAILED”, “CANCELED”, “UPDATING”, “DELETED”, “SUCCEEDED”, “PARTIAL_SUCCESS”, “CREATING”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ExecutionWindow. Return type: str
-
lifecycle_substate
¶ Gets the lifecycle_substate of this ExecutionWindow. The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
Allowed values for this property are: “DURATION_EXCEEDED”, “MAINTENANCE_IN_PROGRESS”, “WAITING”, “RESCHEDULED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_substate of this ExecutionWindow. Return type: str
-
time_created
¶ Gets the time_created of this ExecutionWindow. The date and time the execution window was created.
Returns: The time_created of this ExecutionWindow. Return type: datetime
-
time_ended
¶ Gets the time_ended of this ExecutionWindow. The date and time that the execution window ended.
Returns: The time_ended of this ExecutionWindow. Return type: datetime
-
time_scheduled
¶ [Required] Gets the time_scheduled of this ExecutionWindow. The scheduled start date and time of the execution window.
Returns: The time_scheduled of this ExecutionWindow. Return type: datetime
-
time_started
¶ Gets the time_started of this ExecutionWindow. The date and time that the execution window was started.
Returns: The time_started of this ExecutionWindow. Return type: datetime
-
time_updated
¶ Gets the time_updated of this ExecutionWindow. The last date and time that the execution window was updated.
Returns: The time_updated of this ExecutionWindow. Return type: datetime
-
total_time_taken_in_mins
¶ Gets the total_time_taken_in_mins of this ExecutionWindow. The total time taken by corresponding resource activity in minutes.
Returns: The total_time_taken_in_mins of this ExecutionWindow. Return type: int
-
window_duration_in_mins
¶ [Required] Gets the window_duration_in_mins of this ExecutionWindow. Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
Returns: The window_duration_in_mins of this ExecutionWindow. Return type: int
-
window_type
¶ Gets the window_type of this ExecutionWindow. The execution window is of PLANNED or UNPLANNED type.
Allowed values for this property are: “PLANNED”, “UNPLANNED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The window_type of this ExecutionWindow. Return type: str
-