ProfileLevelSummary

class oci.optimizer.models.ProfileLevelSummary(**kwargs)

Bases: object

The metadata associated with the profile level summary.

Methods:

__init__(**kwargs)

Initializes a new ProfileLevelSummary object with values from keyword arguments.

Attributes:

default_interval

[Required] Gets the default_interval of this ProfileLevelSummary.

metrics

[Required] Gets the metrics of this ProfileLevelSummary.

name

[Required] Gets the name of this ProfileLevelSummary.

recommendation_name

[Required] Gets the recommendation_name of this ProfileLevelSummary.

time_created

[Required] Gets the time_created of this ProfileLevelSummary.

time_updated

[Required] Gets the time_updated of this ProfileLevelSummary.

valid_intervals

[Required] Gets the valid_intervals of this ProfileLevelSummary.

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this ProfileLevelSummary.

  • recommendation_name (str) – The value to assign to the recommendation_name property of this ProfileLevelSummary.

  • metrics (list[oci.optimizer.models.EvaluatedMetric]) – The value to assign to the metrics property of this ProfileLevelSummary.

  • default_interval (int) – The value to assign to the default_interval property of this ProfileLevelSummary.

  • valid_intervals (list[int]) – The value to assign to the valid_intervals property of this ProfileLevelSummary.

  • time_created (datetime) – The value to assign to the time_created property of this ProfileLevelSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this ProfileLevelSummary.

property default_interval

[Required] Gets the default_interval of this ProfileLevelSummary. The default aggregation interval (in days) for profiles using this profile level.

Returns

The default_interval of this ProfileLevelSummary.

Return type

int

property metrics

[Required] Gets the metrics of this ProfileLevelSummary. The metrics that will be evaluated by profiles using this profile level.

Returns

The metrics of this ProfileLevelSummary.

Return type

list[oci.optimizer.models.EvaluatedMetric]

property name

[Required] Gets the name of this ProfileLevelSummary. A unique name for the profile level.

Returns

The name of this ProfileLevelSummary.

Return type

str

property recommendation_name

[Required] Gets the recommendation_name of this ProfileLevelSummary. The name of the recommendation this profile level applies to.

Returns

The recommendation_name of this ProfileLevelSummary.

Return type

str

property time_created

[Required] Gets the time_created of this ProfileLevelSummary. The date and time the category details were created, in the format defined by RFC3339.

Returns

The time_created of this ProfileLevelSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this ProfileLevelSummary. The date and time the category details were last updated, in the format defined by RFC3339.

Returns

The time_updated of this ProfileLevelSummary.

Return type

datetime

property valid_intervals

[Required] Gets the valid_intervals of this ProfileLevelSummary. An array of aggregation intervals (in days) allowed for profiles using this profile level.

Returns

The valid_intervals of this ProfileLevelSummary.

Return type

list[int]