UsageAggregation

class oci.usage_api.models.UsageAggregation(**kwargs)

Bases: object

The account (tenant) usage.

Methods

__init__(**kwargs) Initializes a new UsageAggregation object with values from keyword arguments.

Attributes

group_by Gets the group_by of this UsageAggregation.
items [Required] Gets the items of this UsageAggregation.
__init__(**kwargs)

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

Parameters:
  • group_by (list[str]) – The value to assign to the group_by property of this UsageAggregation.
  • items (list[oci.usage_api.models.UsageSummary]) – The value to assign to the items property of this UsageAggregation.
group_by

Gets the group_by of this UsageAggregation. Aggregate the result by.

Returns:The group_by of this UsageAggregation.
Return type:list[str]
items

[Required] Gets the items of this UsageAggregation. A list of usage items.

Returns:The items of this UsageAggregation.
Return type:list[oci.usage_api.models.UsageSummary]