Freigeben über


BillingAccountConsumptionResource.GetLots(String, CancellationToken) Methode

Definition

Listet alle Microsoft Azure-Verbrauchsverpflichtungen für ein Abrechnungskonto auf. Die API wird nur für Abrechnungskonten von Microsoft-Kundenvereinbarungen (MCA) und Direct Enterprise Agreement (EA) unterstützt.

  • Anforderungspfad/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/lots
  • Vorgangs-IdLots_ListByBillingAccount
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". "ne", "or" oder "not" wird derzeit nicht unterstützt. 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: