UsageAggregation¶
- class oci.usage_api.models.UsageAggregation(**kwargs)¶
Bases:
objectThe account (tenant) usage.
Methods:
__init__(**kwargs)Initializes a new UsageAggregation object with values from keyword arguments.
Attributes:
Gets the group_by of this UsageAggregation.
[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.
- property group_by¶
Gets the group_by of this UsageAggregation. Aggregate the result by.
- Returns
The group_by of this UsageAggregation.
- Return type
list[str]
- property items¶
[Required] Gets the items of this UsageAggregation. A list of usage items.
- Returns
The items of this UsageAggregation.
- Return type