次の方法で共有


CostManagementExtensions.GetBenefitUtilizationSummariesByBillingProfileIdAsync メソッド

定義

課金プロファイルの節約プラン使用率の概要を一覧表示します。 グレイン値 'Daily' と 'Monthly' でサポートされます。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • 操作IdBenefitUtilizationSummaries_ListByBillingProfileId
public static Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesByBillingProfileIdAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountId, string billingProfileId, Azure.ResourceManager.CostManagement.Models.GrainContent? grainParameter = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBenefitUtilizationSummariesByBillingProfileIdAsync : Azure.ResourceManager.Resources.TenantResource * string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
<Extension()>
Public Function GetBenefitUtilizationSummariesByBillingProfileIdAsync (tenantResource As TenantResource, billingAccountId As String, billingProfileId As String, Optional grainParameter As Nullable(Of GrainContent) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BenefitUtilizationSummary)

パラメーター

tenantResource
TenantResource

TenantResourceメソッドが実行するインスタンス。

billingAccountId
String

課金アカウント ID。

billingProfileId
String

課金プロファイル ID。

grainParameter
Nullable<GrainContent>

穀物。

filter
String

properties/benefitId、properties/benefitOrderId、properties/usageDate によるフィルター処理をサポートします。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の BenefitUtilizationSummary サービス要求を受け取る可能性がある の非同期コレクション。

例外

billingAccountId または billingProfileId が空の文字列であり、空でないと想定されていました。

billingAccountId または billingProfileId が null です。

適用対象