共用方式為


ProductsOperationsExtensions.ListByBillingAccountAsync 方法

定義

列出計費帳戶的產品。 這些不包含根據使用量計費的產品。 合約類型為 Microsoft 客戶合約 或 Microsoft 合作夥伴合約 的計費帳戶支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>> ListByBillingAccountAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingAccountAsync : Microsoft.Azure.Management.Billing.IProductsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>>
<Extension()>
Public Function ListByBillingAccountAsync (operations As IProductsOperations, billingAccountName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Product))

參數

operations
IProductsOperations

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

billingAccountName
String

可唯一識別計費帳戶的識別碼。

filter
String

可用來依產品類型進行篩選。 此篩選支援 'eq'、'lt'、'gt'、'le'、'ge' 和 'and'。 它目前不支援 'ne'、'or' 或 'not'。 標籤篩選準則是索引鍵值組字串,其中索引鍵和值會以冒號分隔 (:) 。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於