ExecutionWindowSummary¶
-
class
oci.database.models.
ExecutionWindowSummary
(**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 ExecutionWindowSummary. LIFECYCLE_STATE_CREATED
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_PARTIAL_SUCCESS
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_SCHEDULED
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. LIFECYCLE_SUBSTATE_DURATION_EXCEEDED
A constant which can be used with the lifecycle_substate property of a ExecutionWindowSummary. LIFECYCLE_SUBSTATE_MAINTENANCE_IN_PROGRESS
A constant which can be used with the lifecycle_substate property of a ExecutionWindowSummary. LIFECYCLE_SUBSTATE_RESCHEDULED
A constant which can be used with the lifecycle_substate property of a ExecutionWindowSummary. LIFECYCLE_SUBSTATE_WAITING
A constant which can be used with the lifecycle_substate property of a ExecutionWindowSummary. WINDOW_TYPE_PLANNED
A constant which can be used with the window_type property of a ExecutionWindowSummary. WINDOW_TYPE_UNPLANNED
A constant which can be used with the window_type property of a ExecutionWindowSummary. compartment_id
[Required] Gets the compartment_id of this ExecutionWindowSummary. defined_tags
Gets the defined_tags of this ExecutionWindowSummary. description
Gets the description of this ExecutionWindowSummary. display_name
[Required] Gets the display_name of this ExecutionWindowSummary. estimated_time_in_mins
Gets the estimated_time_in_mins of this ExecutionWindowSummary. execution_resource_id
[Required] Gets the execution_resource_id of this ExecutionWindowSummary. freeform_tags
Gets the freeform_tags of this ExecutionWindowSummary. id
[Required] Gets the id of this ExecutionWindowSummary. is_enforced_duration
Gets the is_enforced_duration of this ExecutionWindowSummary. lifecycle_details
Gets the lifecycle_details of this ExecutionWindowSummary. lifecycle_state
[Required] Gets the lifecycle_state of this ExecutionWindowSummary. lifecycle_substate
Gets the lifecycle_substate of this ExecutionWindowSummary. time_created
Gets the time_created of this ExecutionWindowSummary. time_ended
Gets the time_ended of this ExecutionWindowSummary. time_scheduled
[Required] Gets the time_scheduled of this ExecutionWindowSummary. time_started
Gets the time_started of this ExecutionWindowSummary. time_updated
Gets the time_updated of this ExecutionWindowSummary. total_time_taken_in_mins
Gets the total_time_taken_in_mins of this ExecutionWindowSummary. window_duration_in_mins
[Required] Gets the window_duration_in_mins of this ExecutionWindowSummary. window_type
Gets the window_type of this ExecutionWindowSummary. Methods
__init__
(**kwargs)Initializes a new ExecutionWindowSummary object with values from keyword arguments. -
LIFECYCLE_STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_CREATED
= 'CREATED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. This constant has a value of “CREATED”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. 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 ExecutionWindowSummary. 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 ExecutionWindowSummary. 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 ExecutionWindowSummary. This constant has a value of “SCHEDULED”
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. This constant has a value of “SUCCEEDED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ExecutionWindowSummary. 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 ExecutionWindowSummary. 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 ExecutionWindowSummary. 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 ExecutionWindowSummary. This constant has a value of “RESCHEDULED”
-
LIFECYCLE_SUBSTATE_WAITING
= 'WAITING'¶ A constant which can be used with the lifecycle_substate property of a ExecutionWindowSummary. This constant has a value of “WAITING”
-
WINDOW_TYPE_PLANNED
= 'PLANNED'¶ A constant which can be used with the window_type property of a ExecutionWindowSummary. This constant has a value of “PLANNED”
-
WINDOW_TYPE_UNPLANNED
= 'UNPLANNED'¶ A constant which can be used with the window_type property of a ExecutionWindowSummary. This constant has a value of “UNPLANNED”
-
__init__
(**kwargs)¶ Initializes a new ExecutionWindowSummary 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 ExecutionWindowSummary.
- execution_resource_id (str) – The value to assign to the execution_resource_id property of this ExecutionWindowSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ExecutionWindowSummary.
- display_name (str) – The value to assign to the display_name property of this ExecutionWindowSummary.
- description (str) – The value to assign to the description property of this ExecutionWindowSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExecutionWindowSummary. 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 ExecutionWindowSummary. 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 ExecutionWindowSummary.
- time_created (datetime) – The value to assign to the time_created property of this ExecutionWindowSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ExecutionWindowSummary.
- time_started (datetime) – The value to assign to the time_started property of this ExecutionWindowSummary.
- time_ended (datetime) – The value to assign to the time_ended property of this ExecutionWindowSummary.
- time_scheduled (datetime) – The value to assign to the time_scheduled property of this ExecutionWindowSummary.
- window_duration_in_mins (int) – The value to assign to the window_duration_in_mins property of this ExecutionWindowSummary.
- is_enforced_duration (bool) – The value to assign to the is_enforced_duration property of this ExecutionWindowSummary.
- estimated_time_in_mins (int) – The value to assign to the estimated_time_in_mins property of this ExecutionWindowSummary.
- total_time_taken_in_mins (int) – The value to assign to the total_time_taken_in_mins property of this ExecutionWindowSummary.
- window_type (str) – The value to assign to the window_type property of this ExecutionWindowSummary. 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 ExecutionWindowSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ExecutionWindowSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this ExecutionWindowSummary. The OCID of the compartment.
Returns: The compartment_id of this ExecutionWindowSummary. Return type: str
Gets the defined_tags of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this ExecutionWindowSummary. Description of the execution window.
Returns: The description of this ExecutionWindowSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this ExecutionWindowSummary. The user-friendly name for the execution window. The name does not need to be unique.
Returns: The display_name of this ExecutionWindowSummary. Return type: str
-
estimated_time_in_mins
¶ Gets the estimated_time_in_mins of this ExecutionWindowSummary. The estimated time of the execution window in minutes.
Returns: The estimated_time_in_mins of this ExecutionWindowSummary. Return type: int
-
execution_resource_id
¶ [Required] Gets the execution_resource_id of this ExecutionWindowSummary. The OCID of the execution resource the execution window belongs to.
Returns: The execution_resource_id of this ExecutionWindowSummary. Return type: str
Gets the freeform_tags of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ExecutionWindowSummary. The OCID of the execution window.
Returns: The id of this ExecutionWindowSummary. Return type: str
-
is_enforced_duration
¶ Gets the is_enforced_duration of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: bool
-
lifecycle_details
¶ Gets the lifecycle_details of this ExecutionWindowSummary. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this ExecutionWindowSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: str
-
lifecycle_substate
¶ Gets the lifecycle_substate of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: str
-
time_created
¶ Gets the time_created of this ExecutionWindowSummary. The date and time the execution window was created.
Returns: The time_created of this ExecutionWindowSummary. Return type: datetime
-
time_ended
¶ Gets the time_ended of this ExecutionWindowSummary. The date and time that the execution window ended.
Returns: The time_ended of this ExecutionWindowSummary. Return type: datetime
-
time_scheduled
¶ [Required] Gets the time_scheduled of this ExecutionWindowSummary. The scheduled start date and time of the execution window.
Returns: The time_scheduled of this ExecutionWindowSummary. Return type: datetime
-
time_started
¶ Gets the time_started of this ExecutionWindowSummary. The date and time that the execution window was started.
Returns: The time_started of this ExecutionWindowSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this ExecutionWindowSummary. The last date and time that the execution window was updated.
Returns: The time_updated of this ExecutionWindowSummary. Return type: datetime
-
total_time_taken_in_mins
¶ Gets the total_time_taken_in_mins of this ExecutionWindowSummary. The total time taken by corresponding resource activity in minutes.
Returns: The total_time_taken_in_mins of this ExecutionWindowSummary. Return type: int
-
window_duration_in_mins
¶ [Required] Gets the window_duration_in_mins of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: int
-
window_type
¶ Gets the window_type of this ExecutionWindowSummary. 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 ExecutionWindowSummary. Return type: str
-