AggregatedCostOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ConsumptionManagementClient's

<xref:aggregated_cost> attribute.

Constructor

AggregatedCostOperations(*args, **kwargs)

Methods

get_by_management_group

Provides the aggregate cost of a management group and all child management groups by current billing period.

get_for_billing_period_by_management_group

Provides the aggregate cost of a management group and all child management groups by specified billing period.

get_by_management_group

Provides the aggregate cost of a management group and all child management groups by current billing period.

get_by_management_group(management_group_id: str, *, filter: str | None = None, **kwargs: Any) -> ManagementGroupAggregatedCostResult

Parameters

Name Description
management_group_id
Required
str

Order Id of the reservation. Required.

Keyword-Only Parameters

Name Description
filter
str

Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'. Default value is None.

Default value: None

Returns

Type Description

ManagementGroupAggregatedCostResult. The ManagementGroupAggregatedCostResult is compatible with MutableMapping

Exceptions

Type Description

get_for_billing_period_by_management_group

Provides the aggregate cost of a management group and all child management groups by specified billing period.

get_for_billing_period_by_management_group(management_group_id: str, billing_period_name: str, **kwargs: Any) -> ManagementGroupAggregatedCostResult

Parameters

Name Description
management_group_id
Required
str

Order Id of the reservation. Required.

billing_period_name
Required
str

Billing Period Name. Required.

Returns

Type Description

ManagementGroupAggregatedCostResult. The ManagementGroupAggregatedCostResult is compatible with MutableMapping

Exceptions

Type Description