Freigeben über


BillingCustomerConsumptionResource.GetLots(String, CancellationToken) Methode

Definition

Listet alle Azure-Gutschriften für einen Kunden auf. Die API wird nur für Abrechnungskonten von Microsoft Partner Agreements (MPA) unterstützt.

  • Request Path/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}/providers/Microsoft.Consumption/lots
  • Vorgangs-IdLots_ListByCustomer
public virtual Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary> GetLots (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLots : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary>
override this.GetLots : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary>
Public Overridable Function GetLots (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConsumptionLotSummary)

Parameter

filter
String

Kann verwendet werden, um die Lose nach Status, Quelle usw. zu filtern. Der Filter unterstützt "eq", "lt", "gt", "le", "ge" und "and". Tagfilter ist eine Schlüssel-Wert-Paarzeichenfolge, bei der Schlüssel und Wert durch einen Doppelpunkt (:).

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von ConsumptionLotSummary , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: