次の方法で共有


BillingProfileConsumptionResource.GetLotsAsync(CancellationToken) メソッド

定義

課金アカウントまたは課金プロファイルのすべての Azure クレジットを一覧表示します。 この API は、Microsoft 顧客契約 (MCA) の課金アカウントでのみサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/lots
  • 操作IdLots_ListByBillingProfile
public virtual Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary> GetLotsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetLotsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary>
override this.GetLotsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary>
Public Overridable Function GetLotsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConsumptionLotSummary)

パラメーター

cancellationToken
CancellationToken

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

戻り値

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

適用対象