SummarizeDatabaseInsightResourceForecastTrendAggregation

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

Bases: object

Forecast results from the selected time period.

Attributes:

PATTERN_LINEAR

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_MONTHLY_AND_YEARLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_MONTHLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_WEEKLY_AND_MONTHLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_WEEKLY_AND_YEARLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_WEEKLY_MONTHLY_AND_YEARLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_WEEKLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

PATTERN_YEARLY_SEASONS

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

RESOURCE_METRIC_CPU

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

RESOURCE_METRIC_IO

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

RESOURCE_METRIC_MEMORY

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

RESOURCE_METRIC_MEMORY_PGA

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

RESOURCE_METRIC_MEMORY_SGA

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

RESOURCE_METRIC_STORAGE

A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

USAGE_UNIT_CORES

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

USAGE_UNIT_GB

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

USAGE_UNIT_IOPS

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

USAGE_UNIT_MBPS

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

USAGE_UNIT_PERCENT

A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceForecastTrendAggregation.

high_utilization_threshold

[Required] Gets the high_utilization_threshold of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

historical_data

[Required] Gets the historical_data of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

low_utilization_threshold

[Required] Gets the low_utilization_threshold of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

pattern

[Required] Gets the pattern of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

projected_data

[Required] Gets the projected_data of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

resource_metric

[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

selected_forecast_algorithm

Gets the selected_forecast_algorithm of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

tablespace_name

[Required] Gets the tablespace_name of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

time_interval_end

[Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

time_interval_start

[Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

usage_unit

[Required] Gets the usage_unit of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Methods:

__init__(**kwargs)

Initializes a new SummarizeDatabaseInsightResourceForecastTrendAggregation object with values from keyword arguments.

PATTERN_LINEAR = 'LINEAR'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “LINEAR”

PATTERN_MONTHLY_AND_YEARLY_SEASONS = 'MONTHLY_AND_YEARLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “MONTHLY_AND_YEARLY_SEASONS”

PATTERN_MONTHLY_SEASONS = 'MONTHLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “MONTHLY_SEASONS”

PATTERN_WEEKLY_AND_MONTHLY_SEASONS = 'WEEKLY_AND_MONTHLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “WEEKLY_AND_MONTHLY_SEASONS”

PATTERN_WEEKLY_AND_YEARLY_SEASONS = 'WEEKLY_AND_YEARLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “WEEKLY_AND_YEARLY_SEASONS”

PATTERN_WEEKLY_MONTHLY_AND_YEARLY_SEASONS = 'WEEKLY_MONTHLY_AND_YEARLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “WEEKLY_MONTHLY_AND_YEARLY_SEASONS”

PATTERN_WEEKLY_SEASONS = 'WEEKLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “WEEKLY_SEASONS”

PATTERN_YEARLY_SEASONS = 'YEARLY_SEASONS'

A constant which can be used with the pattern property of a SummarizeDatabaseInsightResourceForecastTrendAggregation. This constant has a value of “YEARLY_SEASONS”

RESOURCE_METRIC_CPU = 'CPU'

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

RESOURCE_METRIC_IO = 'IO'

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

RESOURCE_METRIC_MEMORY = 'MEMORY'

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

USAGE_UNIT_CORES = 'CORES'

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

USAGE_UNIT_GB = 'GB'

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

USAGE_UNIT_IOPS = 'IOPS'

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

USAGE_UNIT_MBPS = 'MBPS'

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

USAGE_UNIT_PERCENT = 'PERCENT'

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

__init__(**kwargs)

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

  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

  • high_utilization_threshold (int) – The value to assign to the high_utilization_threshold property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

  • low_utilization_threshold (int) – The value to assign to the low_utilization_threshold property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

  • resource_metric (str) – The value to assign to the resource_metric property of this SummarizeDatabaseInsightResourceForecastTrendAggregation. 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 SummarizeDatabaseInsightResourceForecastTrendAggregation. Allowed values for this property are: “CORES”, “GB”, “MBPS”, “IOPS”, “PERCENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • selected_forecast_algorithm (str) – The value to assign to the selected_forecast_algorithm property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

  • pattern (str) – The value to assign to the pattern property of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Allowed values for this property are: “LINEAR”, “MONTHLY_SEASONS”, “MONTHLY_AND_YEARLY_SEASONS”, “WEEKLY_SEASONS”, “WEEKLY_AND_MONTHLY_SEASONS”, “WEEKLY_MONTHLY_AND_YEARLY_SEASONS”, “WEEKLY_AND_YEARLY_SEASONS”, “YEARLY_SEASONS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • tablespace_name (str) – The value to assign to the tablespace_name property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

  • historical_data (list[oci.opsi.models.HistoricalDataItem]) – The value to assign to the historical_data property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

  • projected_data (list[oci.opsi.models.ProjectedDataItem]) – The value to assign to the projected_data property of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

property high_utilization_threshold

[Required] Gets the high_utilization_threshold of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Percent value in which a resource metric is considered highly utilized.

Returns

The high_utilization_threshold of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

int

property historical_data

[Required] Gets the historical_data of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Time series data used for the forecast analysis.

Returns

The historical_data of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

list[oci.opsi.models.HistoricalDataItem]

property low_utilization_threshold

[Required] Gets the low_utilization_threshold of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Percent value in which a resource metric is considered lowly utilized.

Returns

The low_utilization_threshold of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

int

property pattern

[Required] Gets the pattern of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Time series patterns used in the forecasting.

Allowed values for this property are: “LINEAR”, “MONTHLY_SEASONS”, “MONTHLY_AND_YEARLY_SEASONS”, “WEEKLY_SEASONS”, “WEEKLY_AND_MONTHLY_SEASONS”, “WEEKLY_MONTHLY_AND_YEARLY_SEASONS”, “WEEKLY_AND_YEARLY_SEASONS”, “YEARLY_SEASONS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The pattern of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

str

property projected_data

[Required] Gets the projected_data of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Time series data result of the forecasting analysis.

Returns

The projected_data of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

list[oci.opsi.models.ProjectedDataItem]

property resource_metric

[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceForecastTrendAggregation. 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 SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

str

property selected_forecast_algorithm

Gets the selected_forecast_algorithm of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Auto-ML algorithm leveraged for the forecast. Only applicable for Auto-ML forecast.

Returns

The selected_forecast_algorithm of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

str

property tablespace_name

[Required] Gets the tablespace_name of this SummarizeDatabaseInsightResourceForecastTrendAggregation. The name of tablespace.

Returns

The tablespace_name of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

str

property time_interval_end

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

Returns

The time_interval_end of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

datetime

property time_interval_start

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

Returns

The time_interval_start of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

datetime

property usage_unit

[Required] Gets the usage_unit of this SummarizeDatabaseInsightResourceForecastTrendAggregation. Displays usage unit ( CORES, GB , PERCENT, MBPS)

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

Returns

The usage_unit of this SummarizeDatabaseInsightResourceForecastTrendAggregation.

Return type

str