HistoricAddmResult¶
- class oci.database_management.models.HistoricAddmResult(**kwargs)¶
Bases:
objectThe details of the historic ADDM task.
Attributes:
A constant which can be used with the how_created property of a HistoricAddmResult.
A constant which can be used with the how_created property of a HistoricAddmResult.
A constant which can be used with the status property of a HistoricAddmResult.
A constant which can be used with the status property of a HistoricAddmResult.
A constant which can be used with the status property of a HistoricAddmResult.
A constant which can be used with the status property of a HistoricAddmResult.
A constant which can be used with the status property of a HistoricAddmResult.
Gets the begin_snapshot_id of this HistoricAddmResult.
Gets the db_user of this HistoricAddmResult.
Gets the description of this HistoricAddmResult.
Gets the end_snapshot_id of this HistoricAddmResult.
Gets the end_snapshot_time of this HistoricAddmResult.
Gets the findings of this HistoricAddmResult.
Gets the how_created of this HistoricAddmResult.
Gets the is_newly_created of this HistoricAddmResult.
Gets the start_snapshot_time of this HistoricAddmResult.
Gets the status of this HistoricAddmResult.
[Required] Gets the task_id of this HistoricAddmResult.
Gets the task_name of this HistoricAddmResult.
[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.
- property 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
- property 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
- property description¶
Gets the description of this HistoricAddmResult. The description of the ADDM task.
- Returns
The description of this HistoricAddmResult.
- Return type
str
- property 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
- property 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
- property findings¶
Gets the findings of this HistoricAddmResult. The number of ADDM findings.
- Returns
The findings of this HistoricAddmResult.
- Return type
int
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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