CostManagementExtensions.GetBenefitUtilizationSummariesBySavingsPlanId メソッド

定義

毎日または毎月のグレインの節約プラン使用率の概要を一覧表示します。

  • 要求パス/プロバイダー/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • 操作IdBenefitUtilizationSummaries_ListBySavingsPlanId
public static Azure.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesBySavingsPlanId (this Azure.ResourceManager.Resources.TenantResource tenantResource, string savingsPlanOrderId, string savingsPlanId, string filter = default, Azure.ResourceManager.CostManagement.Models.GrainContent? grainParameter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBenefitUtilizationSummariesBySavingsPlanId : Azure.ResourceManager.Resources.TenantResource * string * string * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
<Extension()>
Public Function GetBenefitUtilizationSummariesBySavingsPlanId (tenantResource As TenantResource, savingsPlanOrderId As String, savingsPlanId As String, Optional filter As String = Nothing, Optional grainParameter As Nullable(Of GrainContent) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BenefitUtilizationSummary)

パラメーター

tenantResource
TenantResource

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

savingsPlanOrderId
String

節約プランの注文 ID。

savingsPlanId
String

節約プラン ID。

filter
String

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

grainParameter
Nullable<GrainContent>

穀物。

cancellationToken
CancellationToken

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

戻り値

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

例外

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

savingsPlanOrderId または savingsPlanId が null です。

適用対象