共用方式為


ManagementGroupBillingPeriodConsumptionResource.GetAggregatedCostAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>> GetAggregatedCostAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAggregatedCostAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>>
override this.GetAggregatedCostAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>>
Public Overridable Function GetAggregatedCostAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConsumptionAggregatedCostResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to