Freigeben über


CostManagementExtensions.GetBenefitUtilizationSummariesByBillingAccountIdAsync Methode

Definition

Listet Zusammenfassungen der Nutzung des Sparplans für den Enterprise Agreement-Bereich auf. Unterstützt bei Kornwerten: "Daily" und "Monthly".

  • Anfordern von Path/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Vorgang IdBenefitUtilizationSummaries_ListByBillingAccountId
public static Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary> GetBenefitUtilizationSummariesByBillingAccountIdAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountId, Azure.ResourceManager.CostManagement.Models.GrainContent? grainParameter = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBenefitUtilizationSummariesByBillingAccountIdAsync : Azure.ResourceManager.Resources.TenantResource * string * Nullable<Azure.ResourceManager.CostManagement.Models.GrainContent> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.BenefitUtilizationSummary>
<Extension()>
Public Function GetBenefitUtilizationSummariesByBillingAccountIdAsync (tenantResource As TenantResource, billingAccountId As String, Optional grainParameter As Nullable(Of GrainContent) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BenefitUtilizationSummary)

Parameter

tenantResource
TenantResource

Der TenantResource instance, für den die Methode ausgeführt wird.

billingAccountId
String

Id des Abrechnungskontos.

grainParameter
Nullable<GrainContent>

Korn.

filter
String

Unterstützt das Filtern nach properties/benefitId, properties/benefitOrderId und properties/usageDate.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der BenefitUtilizationSummary mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Ausnahmen

billingAccountId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

billingAccountId ist NULL.

Gilt für: