SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection

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

Bases: object

Collection of resource capacity trend.

Attributes

RESOURCE_METRIC_CPU A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
RESOURCE_METRIC_IO A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
RESOURCE_METRIC_MEMORY A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
RESOURCE_METRIC_MEMORY_PGA A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
RESOURCE_METRIC_MEMORY_SGA A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
RESOURCE_METRIC_STORAGE A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
USAGE_UNIT_CORES A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
USAGE_UNIT_GB A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
USAGE_UNIT_MBPS A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
USAGE_UNIT_PERCENT A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
capacity_data [Required] Gets the capacity_data of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
item_duration_in_ms [Required] Gets the item_duration_in_ms of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
resource_metric [Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
time_interval_end [Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
time_interval_start [Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
usage_unit [Required] Gets the usage_unit of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.

Methods

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

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

RESOURCE_METRIC_IO = 'IO'

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

RESOURCE_METRIC_MEMORY = 'MEMORY'

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. 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 SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. 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 SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. 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 SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. This constant has a value of “STORAGE”

USAGE_UNIT_CORES = 'CORES'

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. This constant has a value of “CORES”

USAGE_UNIT_GB = 'GB'

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. This constant has a value of “GB”

USAGE_UNIT_MBPS = 'MBPS'

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. This constant has a value of “MBPS”

USAGE_UNIT_PERCENT = 'PERCENT'

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. This constant has a value of “PERCENT”

__init__(**kwargs)

Initializes a new SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection 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 SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
  • resource_metric (str) – The value to assign to the resource_metric property of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. 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’.
  • usage_unit (str) – The value to assign to the usage_unit property of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. Allowed values for this property are: “CORES”, “GB”, “MBPS”, “PERCENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • item_duration_in_ms (int) – The value to assign to the item_duration_in_ms property of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
  • capacity_data (list[oci.opsi.models.ResourceCapacityTrendAggregation]) – The value to assign to the capacity_data property of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
capacity_data

[Required] Gets the capacity_data of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. Capacity Data with time interval

Returns:The capacity_data of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
Return type:list[oci.opsi.models.ResourceCapacityTrendAggregation]
item_duration_in_ms

[Required] Gets the item_duration_in_ms of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. Time duration in milliseconds between data points (one hour or one day).

Returns:The item_duration_in_ms of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
Return type:int
resource_metric

[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. 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 SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
Return type:str
time_interval_end

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

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

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

Returns:The time_interval_start of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
Return type:datetime
usage_unit

[Required] Gets the usage_unit of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection. Identifies the units of the current resource metric (CORES, GB).

Allowed values for this property are: “CORES”, “GB”, “MBPS”, “PERCENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The usage_unit of this SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection.
Return type:str