SqlResponseTimeDistributionAggregationCollection

class oci.opsi.models.SqlResponseTimeDistributionAggregationCollection(**kwargs)

Bases: object

SQL response time distribution over the selected time window.

Methods

__init__(**kwargs) Initializes a new SqlResponseTimeDistributionAggregationCollection object with values from keyword arguments.

Attributes

database_id [Required] Gets the database_id of this SqlResponseTimeDistributionAggregationCollection.
id [Required] Gets the id of this SqlResponseTimeDistributionAggregationCollection.
items [Required] Gets the items of this SqlResponseTimeDistributionAggregationCollection.
sql_identifier [Required] Gets the sql_identifier of this SqlResponseTimeDistributionAggregationCollection.
time_interval_end [Required] Gets the time_interval_end of this SqlResponseTimeDistributionAggregationCollection.
time_interval_start [Required] Gets the time_interval_start of this SqlResponseTimeDistributionAggregationCollection.
__init__(**kwargs)

Initializes a new SqlResponseTimeDistributionAggregationCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • sql_identifier (str) – The value to assign to the sql_identifier property of this SqlResponseTimeDistributionAggregationCollection.
  • id (str) – The value to assign to the id property of this SqlResponseTimeDistributionAggregationCollection.
  • database_id (str) – The value to assign to the database_id property of this SqlResponseTimeDistributionAggregationCollection.
  • time_interval_start (datetime) – The value to assign to the time_interval_start property of this SqlResponseTimeDistributionAggregationCollection.
  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SqlResponseTimeDistributionAggregationCollection.
  • items (list[oci.opsi.models.SqlResponseTimeDistributionAggregation]) – The value to assign to the items property of this SqlResponseTimeDistributionAggregationCollection.
database_id

[Required] Gets the database_id of this SqlResponseTimeDistributionAggregationCollection. The OCID of the database.

Returns:The database_id of this SqlResponseTimeDistributionAggregationCollection.
Return type:str
id

[Required] Gets the id of this SqlResponseTimeDistributionAggregationCollection. The OCID of the database insight resource.

Returns:The id of this SqlResponseTimeDistributionAggregationCollection.
Return type:str
items

[Required] Gets the items of this SqlResponseTimeDistributionAggregationCollection. Array of pre defined SQL response time bucket id and SQL executions count.

Returns:The items of this SqlResponseTimeDistributionAggregationCollection.
Return type:list[oci.opsi.models.SqlResponseTimeDistributionAggregation]
sql_identifier

[Required] Gets the sql_identifier of this SqlResponseTimeDistributionAggregationCollection. Unique SQL_ID for a SQL Statement.

Returns:The sql_identifier of this SqlResponseTimeDistributionAggregationCollection.
Return type:str
time_interval_end

[Required] Gets the time_interval_end of this SqlResponseTimeDistributionAggregationCollection. The end timestamp that was passed into the request.

Returns:The time_interval_end of this SqlResponseTimeDistributionAggregationCollection.
Return type:datetime
time_interval_start

[Required] Gets the time_interval_start of this SqlResponseTimeDistributionAggregationCollection. The start timestamp that was passed into the request.

Returns:The time_interval_start of this SqlResponseTimeDistributionAggregationCollection.
Return type:datetime