SummarizeHostInsightResourceForecastTrendAggregation

class oci.opsi.models.SummarizeHostInsightResourceForecastTrendAggregation(**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 SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_MONTHLY_AND_YEARLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_MONTHLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_WEEKLY_AND_MONTHLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_WEEKLY_AND_YEARLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_WEEKLY_MONTHLY_AND_YEARLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_WEEKLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
PATTERN_YEARLY_SEASONS A constant which can be used with the pattern property of a SummarizeHostInsightResourceForecastTrendAggregation.
RESOURCE_METRIC_CPU A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceForecastTrendAggregation.
RESOURCE_METRIC_LOGICAL_MEMORY A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceForecastTrendAggregation.
RESOURCE_METRIC_MEMORY A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceForecastTrendAggregation.
USAGE_UNIT_CORES A constant which can be used with the usage_unit property of a SummarizeHostInsightResourceForecastTrendAggregation.
USAGE_UNIT_GB A constant which can be used with the usage_unit property of a SummarizeHostInsightResourceForecastTrendAggregation.
USAGE_UNIT_IOPS A constant which can be used with the usage_unit property of a SummarizeHostInsightResourceForecastTrendAggregation.
USAGE_UNIT_MBPS A constant which can be used with the usage_unit property of a SummarizeHostInsightResourceForecastTrendAggregation.
USAGE_UNIT_PERCENT A constant which can be used with the usage_unit property of a SummarizeHostInsightResourceForecastTrendAggregation.
historical_data [Required] Gets the historical_data of this SummarizeHostInsightResourceForecastTrendAggregation.
pattern [Required] Gets the pattern of this SummarizeHostInsightResourceForecastTrendAggregation.
projected_data [Required] Gets the projected_data of this SummarizeHostInsightResourceForecastTrendAggregation.
resource_metric [Required] Gets the resource_metric of this SummarizeHostInsightResourceForecastTrendAggregation.
time_interval_end [Required] Gets the time_interval_end of this SummarizeHostInsightResourceForecastTrendAggregation.
time_interval_start [Required] Gets the time_interval_start of this SummarizeHostInsightResourceForecastTrendAggregation.
usage_unit [Required] Gets the usage_unit of this SummarizeHostInsightResourceForecastTrendAggregation.

Methods

__init__(**kwargs) Initializes a new SummarizeHostInsightResourceForecastTrendAggregation object with values from keyword arguments.
PATTERN_LINEAR = 'LINEAR'

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

RESOURCE_METRIC_LOGICAL_MEMORY = 'LOGICAL_MEMORY'

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

RESOURCE_METRIC_MEMORY = 'MEMORY'

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

USAGE_UNIT_CORES = 'CORES'

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

USAGE_UNIT_GB = 'GB'

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

USAGE_UNIT_IOPS = 'IOPS'

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

USAGE_UNIT_MBPS = 'MBPS'

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

USAGE_UNIT_PERCENT = 'PERCENT'

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

__init__(**kwargs)

Initializes a new SummarizeHostInsightResourceForecastTrendAggregation 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 SummarizeHostInsightResourceForecastTrendAggregation.
  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeHostInsightResourceForecastTrendAggregation.
  • resource_metric (str) – The value to assign to the resource_metric property of this SummarizeHostInsightResourceForecastTrendAggregation. Allowed values for this property are: “CPU”, “MEMORY”, “LOGICAL_MEMORY”, ‘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 SummarizeHostInsightResourceForecastTrendAggregation. 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’.
  • pattern (str) – The value to assign to the pattern property of this SummarizeHostInsightResourceForecastTrendAggregation. 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’.
  • historical_data (list[oci.opsi.models.HistoricalDataItem]) – The value to assign to the historical_data property of this SummarizeHostInsightResourceForecastTrendAggregation.
  • projected_data (list[oci.opsi.models.ProjectedDataItem]) – The value to assign to the projected_data property of this SummarizeHostInsightResourceForecastTrendAggregation.
historical_data

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

Returns:The historical_data of this SummarizeHostInsightResourceForecastTrendAggregation.
Return type:list[oci.opsi.models.HistoricalDataItem]
pattern

[Required] Gets the pattern of this SummarizeHostInsightResourceForecastTrendAggregation. 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 SummarizeHostInsightResourceForecastTrendAggregation.
Return type:str
projected_data

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

Returns:The projected_data of this SummarizeHostInsightResourceForecastTrendAggregation.
Return type:list[oci.opsi.models.ProjectedDataItem]
resource_metric

[Required] Gets the resource_metric of this SummarizeHostInsightResourceForecastTrendAggregation. Defines the type of resource metric (CPU, Physical Memory, Logical Memory)

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

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

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

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

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

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

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

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 SummarizeHostInsightResourceForecastTrendAggregation.
Return type:str