次の方法で共有


BillingAccountConsumptionResource.GetLots(String, CancellationToken) メソッド

定義

課金アカウントのすべての Microsoft Azure 従量課金コミットメントを一覧表示します。 この API は、Microsoft 顧客契約 (MCA) と Direct Enterprise Agreement (EA) の課金アカウントでのみサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/lots
  • 操作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)

パラメーター

filter
String

状態、ソースなどでロットをフィルター処理するために使用できます。フィルターは、'eq'、'lt'、'gt'、'le'、'ge'、および 'and' をサポートしています。 現在、'ne'、'or'、または 'not' はサポートされていません。 タグ フィルターは、キーと値がコロン (:)で区切られたキー値ペア文字列です。

cancellationToken
CancellationToken

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

戻り値

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

適用対象