Share via


ManagementGroupBillingPeriodConsumptionResource.GetAggregatedCost Method

Definition

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

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/aggregatedCost
  • Operation Id: AggregatedCost_GetForBillingPeriodByManagementGroup
public virtual Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult> GetAggregatedCost (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAggregatedCost : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>
override this.GetAggregatedCost : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>
Public Overridable Function GetAggregatedCost (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConsumptionAggregatedCostResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to