SummarizeDatabaseInsightResourceUtilizationInsightAggregation

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

Bases: object

Insights response containing current/projected groups for storage or CPU.

Attributes

RESOURCE_METRIC_CPU A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
RESOURCE_METRIC_IO A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
RESOURCE_METRIC_MEMORY A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
RESOURCE_METRIC_MEMORY_PGA A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
RESOURCE_METRIC_MEMORY_SGA A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
RESOURCE_METRIC_STORAGE A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
current_utilization [Required] Gets the current_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
projected_utilization [Required] Gets the projected_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
resource_metric [Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
time_interval_end [Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
time_interval_start [Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.

Methods

__init__(**kwargs) Initializes a new SummarizeDatabaseInsightResourceUtilizationInsightAggregation object with values from keyword arguments.
RESOURCE_METRIC_CPU = 'CPU'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “CPU”

RESOURCE_METRIC_IO = 'IO'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “IO”

RESOURCE_METRIC_MEMORY = 'MEMORY'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “MEMORY”

RESOURCE_METRIC_MEMORY_PGA = 'MEMORY_PGA'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “MEMORY_PGA”

RESOURCE_METRIC_MEMORY_SGA = 'MEMORY_SGA'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “MEMORY_SGA”

RESOURCE_METRIC_STORAGE = 'STORAGE'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “STORAGE”

__init__(**kwargs)

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

Parameters:
  • time_interval_start (datetime) – The value to assign to the time_interval_start property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
  • resource_metric (str) – The value to assign to the resource_metric property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Allowed values for this property are: “CPU”, “STORAGE”, “IO”, “MEMORY”, “MEMORY_PGA”, “MEMORY_SGA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • projected_utilization (oci.opsi.models.ResourceInsightProjectedUtilization) – The value to assign to the projected_utilization property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
  • current_utilization (oci.opsi.models.ResourceInsightCurrentUtilization) – The value to assign to the current_utilization property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
current_utilization

[Required] Gets the current_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.

Returns:The current_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
Return type:oci.opsi.models.ResourceInsightCurrentUtilization
projected_utilization

[Required] Gets the projected_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.

Returns:The projected_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
Return type:oci.opsi.models.ResourceInsightProjectedUtilization
resource_metric

[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Defines the type of resource metric (example: CPU, STORAGE)

Allowed values for this property are: “CPU”, “STORAGE”, “IO”, “MEMORY”, “MEMORY_PGA”, “MEMORY_SGA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The resource_metric of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
Return type:str
time_interval_end

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

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

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

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