IBillingPeriodsOperations.ListWithHttpMessagesAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以反向時間順序列出訂用帳戶的可用計費週期。 只有 Azure Web-Direct訂用帳戶才支援此功能。 此預覽 API 不支援未透過 Azure 入口網站直接購買的其他訂用帳戶類型。 https://go.microsoft.com/fwlink/?linkid=844490
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingPeriod>>> ListWithHttpMessagesAsync (string filter = default, string skiptoken = default, int? top = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * string * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingPeriod>>>
Public Function ListWithHttpMessagesAsync (Optional filter As String = Nothing, Optional skiptoken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of BillingPeriod)))
參數
- filter
- String
可用來依 billingPeriodEndDate 篩選計費週期。 此篩選支援 'eq'、'lt'、'gt'、'le'、'ge' 和 'and'。 它目前不支援 'ne'、'or' 或 'not'。
- skiptoken
- String
只有在先前的作業傳回部分結果時,才會使用 Skiptoken。 如果先前的回應包含 nextLink 元素,nextLink 元素的值會包含 skiptoken 參數,指定用於後續呼叫的起點。
- customHeaders
- Dictionary<String,List<String>>
要新增至要求的標頭。
- cancellationToken
- CancellationToken
取消語彙基元。
傳回
例外狀況
當作業傳回不正確狀態碼時擲回
無法還原序列化回應時擲回
當必要參數為 null 時擲回