OptimizerStatisticsAdvisorExecutionSummary

class oci.database_management.models.OptimizerStatisticsAdvisorExecutionSummary(**kwargs)

Bases: object

The summary of the Optimizer Statistics Advisor execution.

Attributes:

STATUS_CANCELLED

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary.

STATUS_COMPLETED

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary.

STATUS_EXECUTING

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary.

STATUS_FATAL_ERROR

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary.

STATUS_INTERRUPTED

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary.

error_message

Gets the error_message of this OptimizerStatisticsAdvisorExecutionSummary.

execution_name

[Required] Gets the execution_name of this OptimizerStatisticsAdvisorExecutionSummary.

findings

Gets the findings of this OptimizerStatisticsAdvisorExecutionSummary.

status

[Required] Gets the status of this OptimizerStatisticsAdvisorExecutionSummary.

status_message

Gets the status_message of this OptimizerStatisticsAdvisorExecutionSummary.

task_name

[Required] Gets the task_name of this OptimizerStatisticsAdvisorExecutionSummary.

time_end

[Required] Gets the time_end of this OptimizerStatisticsAdvisorExecutionSummary.

time_start

[Required] Gets the time_start of this OptimizerStatisticsAdvisorExecutionSummary.

Methods:

__init__(**kwargs)

Initializes a new OptimizerStatisticsAdvisorExecutionSummary object with values from keyword arguments.

STATUS_CANCELLED = 'CANCELLED'

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary. This constant has a value of “CANCELLED”

STATUS_COMPLETED = 'COMPLETED'

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary. This constant has a value of “COMPLETED”

STATUS_EXECUTING = 'EXECUTING'

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary. This constant has a value of “EXECUTING”

STATUS_FATAL_ERROR = 'FATAL_ERROR'

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary. This constant has a value of “FATAL_ERROR”

STATUS_INTERRUPTED = 'INTERRUPTED'

A constant which can be used with the status property of a OptimizerStatisticsAdvisorExecutionSummary. This constant has a value of “INTERRUPTED”

__init__(**kwargs)

Initializes a new OptimizerStatisticsAdvisorExecutionSummary 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 OptimizerStatisticsAdvisorExecutionSummary.

  • execution_name (str) – The value to assign to the execution_name property of this OptimizerStatisticsAdvisorExecutionSummary.

  • time_start (datetime) – The value to assign to the time_start property of this OptimizerStatisticsAdvisorExecutionSummary.

  • time_end (datetime) – The value to assign to the time_end property of this OptimizerStatisticsAdvisorExecutionSummary.

  • status (str) – The value to assign to the status property of this OptimizerStatisticsAdvisorExecutionSummary. Allowed values for this property are: “EXECUTING”, “COMPLETED”, “INTERRUPTED”, “CANCELLED”, “FATAL_ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • status_message (str) – The value to assign to the status_message property of this OptimizerStatisticsAdvisorExecutionSummary.

  • error_message (str) – The value to assign to the error_message property of this OptimizerStatisticsAdvisorExecutionSummary.

  • findings (int) – The value to assign to the findings property of this OptimizerStatisticsAdvisorExecutionSummary.

property error_message

Gets the error_message of this OptimizerStatisticsAdvisorExecutionSummary. The errors in the Optimizer Statistics Advisor execution, if any.

Returns

The error_message of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

str

property execution_name

[Required] Gets the execution_name of this OptimizerStatisticsAdvisorExecutionSummary. The name of the Optimizer Statistics Advisor execution.

Returns

The execution_name of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

str

property findings

Gets the findings of this OptimizerStatisticsAdvisorExecutionSummary. The number of findings generated by the Optimizer Statistics Advisor execution.

Returns

The findings of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

int

property status

[Required] Gets the status of this OptimizerStatisticsAdvisorExecutionSummary. The status of the Optimizer Statistics Advisor execution.

Allowed values for this property are: “EXECUTING”, “COMPLETED”, “INTERRUPTED”, “CANCELLED”, “FATAL_ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

str

property status_message

Gets the status_message of this OptimizerStatisticsAdvisorExecutionSummary. The Optimizer Statistics Advisor execution status message, if any.

Returns

The status_message of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

str

property task_name

[Required] Gets the task_name of this OptimizerStatisticsAdvisorExecutionSummary. The name of the Optimizer Statistics Advisor task.

Returns

The task_name of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

str

property time_end

[Required] Gets the time_end of this OptimizerStatisticsAdvisorExecutionSummary. The end time of the time range to retrieve the Optimizer Statistics Advisor execution of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.

Returns

The time_end of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

datetime

property time_start

[Required] Gets the time_start of this OptimizerStatisticsAdvisorExecutionSummary. The start time of the time range to retrieve the Optimizer Statistics Advisor execution of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.

Returns

The time_start of this OptimizerStatisticsAdvisorExecutionSummary.

Return type

datetime