AddmTaskSummary¶
- class oci.database_management.models.AddmTaskSummary(**kwargs)¶
Bases:
objectThe object containing the ADDM task metadata.
Attributes:
A constant which can be used with the how_created property of a AddmTaskSummary.
A constant which can be used with the how_created property of a AddmTaskSummary.
A constant which can be used with the status property of a AddmTaskSummary.
A constant which can be used with the status property of a AddmTaskSummary.
A constant which can be used with the status property of a AddmTaskSummary.
A constant which can be used with the status property of a AddmTaskSummary.
A constant which can be used with the status property of a AddmTaskSummary.
Gets the begin_snapshot_id of this AddmTaskSummary.
Gets the db_user of this AddmTaskSummary.
Gets the description of this AddmTaskSummary.
Gets the end_snapshot_id of this AddmTaskSummary.
Gets the end_snapshot_time of this AddmTaskSummary.
Gets the findings of this AddmTaskSummary.
Gets the how_created of this AddmTaskSummary.
Gets the start_snapshot_time of this AddmTaskSummary.
Gets the status of this AddmTaskSummary.
[Required] Gets the task_id of this AddmTaskSummary.
Gets the task_name of this AddmTaskSummary.
[Required] Gets the time_created of this AddmTaskSummary.
Methods:
__init__(**kwargs)Initializes a new AddmTaskSummary object with values from keyword arguments.
- HOW_CREATED_AUTO = 'AUTO'¶
A constant which can be used with the how_created property of a AddmTaskSummary. This constant has a value of “AUTO”
- HOW_CREATED_MANUAL = 'MANUAL'¶
A constant which can be used with the how_created property of a AddmTaskSummary. This constant has a value of “MANUAL”
- STATUS_COMPLETED = 'COMPLETED'¶
A constant which can be used with the status property of a AddmTaskSummary. This constant has a value of “COMPLETED”
- STATUS_ERROR = 'ERROR'¶
A constant which can be used with the status property of a AddmTaskSummary. This constant has a value of “ERROR”
- STATUS_EXECUTING = 'EXECUTING'¶
A constant which can be used with the status property of a AddmTaskSummary. This constant has a value of “EXECUTING”
- STATUS_INITIAL = 'INITIAL'¶
A constant which can be used with the status property of a AddmTaskSummary. This constant has a value of “INITIAL”
- STATUS_INTERRUPTED = 'INTERRUPTED'¶
A constant which can be used with the status property of a AddmTaskSummary. This constant has a value of “INTERRUPTED”
- __init__(**kwargs)¶
Initializes a new AddmTaskSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
task_name (str) – The value to assign to the task_name property of this AddmTaskSummary.
task_id (int) – The value to assign to the task_id property of this AddmTaskSummary.
description (str) – The value to assign to the description property of this AddmTaskSummary.
db_user (str) – The value to assign to the db_user property of this AddmTaskSummary.
status (str) – The value to assign to the status property of this AddmTaskSummary. 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 AddmTaskSummary.
how_created (str) – The value to assign to the how_created property of this AddmTaskSummary. 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 AddmTaskSummary.
end_snapshot_time (datetime) – The value to assign to the end_snapshot_time property of this AddmTaskSummary.
begin_snapshot_id (int) – The value to assign to the begin_snapshot_id property of this AddmTaskSummary.
end_snapshot_id (int) – The value to assign to the end_snapshot_id property of this AddmTaskSummary.
findings (int) – The value to assign to the findings property of this AddmTaskSummary.
- property begin_snapshot_id¶
Gets the begin_snapshot_id of this AddmTaskSummary. The ID number of the beginning AWR snapshot.
- Returns
The begin_snapshot_id of this AddmTaskSummary.
- Return type
int
- property db_user¶
Gets the db_user of this AddmTaskSummary. The database user who owns the ADDM task.
- Returns
The db_user of this AddmTaskSummary.
- Return type
str
- property description¶
Gets the description of this AddmTaskSummary. The description of the ADDM task.
- Returns
The description of this AddmTaskSummary.
- Return type
str
- property end_snapshot_id¶
Gets the end_snapshot_id of this AddmTaskSummary. The ID number of the ending AWR snapshot.
- Returns
The end_snapshot_id of this AddmTaskSummary.
- Return type
int
- property end_snapshot_time¶
Gets the end_snapshot_time of this AddmTaskSummary. 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 AddmTaskSummary.
- Return type
datetime
- property findings¶
Gets the findings of this AddmTaskSummary. The number of ADDM findings.
- Returns
The findings of this AddmTaskSummary.
- Return type
int
- property how_created¶
Gets the how_created of this AddmTaskSummary. 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 AddmTaskSummary.
- Return type
str
- property start_snapshot_time¶
Gets the start_snapshot_time of this AddmTaskSummary. 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 AddmTaskSummary.
- Return type
datetime
- property status¶
Gets the status of this AddmTaskSummary. 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 AddmTaskSummary.
- Return type
str
- property task_id¶
[Required] Gets the task_id of this AddmTaskSummary. The ID number of the ADDM task.
- Returns
The task_id of this AddmTaskSummary.
- Return type
int
- property task_name¶
Gets the task_name of this AddmTaskSummary. The name of the ADDM task.
- Returns
The task_name of this AddmTaskSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this AddmTaskSummary. The creation date of the ADDM task.
- Returns
The time_created of this AddmTaskSummary.
- Return type
datetime