ConsumptionExtensions.GetAggregatedCostAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在の請求期間別に、管理グループとすべての子管理グループの集計コストを提供します。
- 要求パス/プロバイダー/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost
- 操作IdAggregatedCost_GetByManagementGroup
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>> GetAggregatedCostAsync (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAggregatedCostAsync : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult>>
<Extension()>
Public Function GetAggregatedCostAsync (managementGroupResource As ManagementGroupResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConsumptionAggregatedCostResult))
パラメーター
- managementGroupResource
- ManagementGroupResource
ManagementGroupResourceメソッドが実行されるインスタンス。
- filter
- String
集計されたコストをプロパティ/usageStart (Utc 時刻)、properties/usageEnd (Utc 時刻) でフィルター処理するために使用できます。 フィルターは、'eq'、'lt'、'gt'、'le'、'ge'、および 'and' をサポートしています。 現在、'ne'、'or'、または 'not' はサポートされていません。 タグ フィルターは、キーと値がコロン (:)で区切られたキー値ペア文字列です。
- cancellationToken
- CancellationToken
使用する取り消しトークン。