HistoricAddmResult¶
-
class
oci.database_management.models.
HistoricAddmResult
(**kwargs)¶ Bases:
object
The details of the historic ADDM task.
Attributes
HOW_CREATED_AUTO
A constant which can be used with the how_created property of a HistoricAddmResult. HOW_CREATED_MANUAL
A constant which can be used with the how_created property of a HistoricAddmResult. STATUS_COMPLETED
A constant which can be used with the status property of a HistoricAddmResult. STATUS_ERROR
A constant which can be used with the status property of a HistoricAddmResult. STATUS_EXECUTING
A constant which can be used with the status property of a HistoricAddmResult. STATUS_INITIAL
A constant which can be used with the status property of a HistoricAddmResult. STATUS_INTERRUPTED
A constant which can be used with the status property of a HistoricAddmResult. begin_snapshot_id
Gets the begin_snapshot_id of this HistoricAddmResult. db_user
Gets the db_user of this HistoricAddmResult. description
Gets the description of this HistoricAddmResult. end_snapshot_id
Gets the end_snapshot_id of this HistoricAddmResult. end_snapshot_time
Gets the end_snapshot_time of this HistoricAddmResult. findings
Gets the findings of this HistoricAddmResult. how_created
Gets the how_created of this HistoricAddmResult. is_newly_created
Gets the is_newly_created of this HistoricAddmResult. start_snapshot_time
Gets the start_snapshot_time of this HistoricAddmResult. status
Gets the status of this HistoricAddmResult. task_id
[Required] Gets the task_id of this HistoricAddmResult. task_name
Gets the task_name of this HistoricAddmResult. time_created
[Required] Gets the time_created of this HistoricAddmResult. Methods
__init__
(**kwargs)Initializes a new HistoricAddmResult object with values from keyword arguments. -
HOW_CREATED_AUTO
= 'AUTO'¶ A constant which can be used with the how_created property of a HistoricAddmResult. This constant has a value of “AUTO”
-
HOW_CREATED_MANUAL
= 'MANUAL'¶ A constant which can be used with the how_created property of a HistoricAddmResult. This constant has a value of “MANUAL”
-
STATUS_COMPLETED
= 'COMPLETED'¶ A constant which can be used with the status property of a HistoricAddmResult. This constant has a value of “COMPLETED”
-
STATUS_ERROR
= 'ERROR'¶ A constant which can be used with the status property of a HistoricAddmResult. This constant has a value of “ERROR”
-
STATUS_EXECUTING
= 'EXECUTING'¶ A constant which can be used with the status property of a HistoricAddmResult. This constant has a value of “EXECUTING”
-
STATUS_INITIAL
= 'INITIAL'¶ A constant which can be used with the status property of a HistoricAddmResult. This constant has a value of “INITIAL”
-
STATUS_INTERRUPTED
= 'INTERRUPTED'¶ A constant which can be used with the status property of a HistoricAddmResult. This constant has a value of “INTERRUPTED”
-
__init__
(**kwargs)¶ Initializes a new HistoricAddmResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_newly_created (bool) – The value to assign to the is_newly_created property of this HistoricAddmResult.
- task_name (str) – The value to assign to the task_name property of this HistoricAddmResult.
- task_id (int) – The value to assign to the task_id property of this HistoricAddmResult.
- description (str) – The value to assign to the description property of this HistoricAddmResult.
- db_user (str) – The value to assign to the db_user property of this HistoricAddmResult.
- status (str) – The value to assign to the status property of this HistoricAddmResult. Allowed values for this property are: “INITIAL”, “EXECUTING”, “INTERRUPTED”, “COMPLETED”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this HistoricAddmResult.
- how_created (str) – The value to assign to the how_created property of this HistoricAddmResult. Allowed values for this property are: “AUTO”, “MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- start_snapshot_time (datetime) – The value to assign to the start_snapshot_time property of this HistoricAddmResult.
- end_snapshot_time (datetime) – The value to assign to the end_snapshot_time property of this HistoricAddmResult.
- begin_snapshot_id (int) – The value to assign to the begin_snapshot_id property of this HistoricAddmResult.
- end_snapshot_id (int) – The value to assign to the end_snapshot_id property of this HistoricAddmResult.
- findings (int) – The value to assign to the findings property of this HistoricAddmResult.
-
begin_snapshot_id
¶ Gets the begin_snapshot_id of this HistoricAddmResult. The ID number of the beginning AWR snapshot.
Returns: The begin_snapshot_id of this HistoricAddmResult. Return type: int
-
db_user
¶ Gets the db_user of this HistoricAddmResult. The database user who owns the historic ADDM task.
Returns: The db_user of this HistoricAddmResult. Return type: str
-
description
¶ Gets the description of this HistoricAddmResult. The description of the ADDM task.
Returns: The description of this HistoricAddmResult. Return type: str
-
end_snapshot_id
¶ Gets the end_snapshot_id of this HistoricAddmResult. The ID number of the ending AWR snapshot.
Returns: The end_snapshot_id of this HistoricAddmResult. Return type: int
-
end_snapshot_time
¶ Gets the end_snapshot_time of this HistoricAddmResult. The timestamp of the ending AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.
Returns: The end_snapshot_time of this HistoricAddmResult. Return type: datetime
-
findings
¶ Gets the findings of this HistoricAddmResult. The number of ADDM findings.
Returns: The findings of this HistoricAddmResult. Return type: int
-
how_created
¶ Gets the how_created of this HistoricAddmResult. A description of how the task was created.
Allowed values for this property are: “AUTO”, “MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The how_created of this HistoricAddmResult. Return type: str
-
is_newly_created
¶ Gets the is_newly_created of this HistoricAddmResult. Specifies whether the ADDM task returned had already existed or was newly created by the api call.
Returns: The is_newly_created of this HistoricAddmResult. Return type: bool
-
start_snapshot_time
¶ Gets the start_snapshot_time of this HistoricAddmResult. The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.
Returns: The start_snapshot_time of this HistoricAddmResult. Return type: datetime
-
status
¶ Gets the status of this HistoricAddmResult. The status of the ADDM task.
Allowed values for this property are: “INITIAL”, “EXECUTING”, “INTERRUPTED”, “COMPLETED”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this HistoricAddmResult. Return type: str
-
task_id
¶ [Required] Gets the task_id of this HistoricAddmResult. The ID of the historic ADDM task.
Returns: The task_id of this HistoricAddmResult. Return type: int
-
task_name
¶ Gets the task_name of this HistoricAddmResult. The name of the historic ADDM task.
Returns: The task_name of this HistoricAddmResult. Return type: str
-
time_created
¶ [Required] Gets the time_created of this HistoricAddmResult. The creation date of the ADDM task.
Returns: The time_created of this HistoricAddmResult. Return type: datetime
-