共用方式為


BillingPeriodsOperationsExtensions.ListAsync 方法

定義

以反向時間順序列出訂用帳戶的可用計費週期。 只有 Azure Web-Direct訂用帳戶才支援此功能。 此預覽 API 不支援未透過 Azure 入口網站直接購買的其他訂用帳戶類型。 https://go.microsoft.com/fwlink/?linkid=844490

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingPeriod>> ListAsync (this Microsoft.Azure.Management.Billing.IBillingPeriodsOperations operations, string filter = default, string skiptoken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Billing.IBillingPeriodsOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingPeriod>>
<Extension()>
Public Function ListAsync (operations As IBillingPeriodsOperations, Optional filter As String = Nothing, Optional skiptoken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BillingPeriod))

參數

operations
IBillingPeriodsOperations

這個擴充方法的作業群組。

filter
String

可用來依 billingPeriodEndDate 篩選計費週期。 篩選準則支援 'eq'、'lt'、'gt'、'le'、'ge'和 'and'。 它目前不支援 'ne'、'or' 或 'not'。

skiptoken
String

只有在先前的作業傳回部分結果時,才會使用 Skiptoken。 如果先前的回應包含 nextLink 元素,nextLink 元素的值將包含 skiptoken 參數,指定要用於後續呼叫的起點。

top
Nullable<Int32>

可用來將結果數目限制為最新的 N 個計費週期。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於