共用方式為


ProductsOperationsExtensions.ListByBillingProfileAsync 方法

定義

列出帳單設定檔的產品。 這些不包含根據使用量計費的產品。 合約類型為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>> ListByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string billingProfileName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingProfileAsync : Microsoft.Azure.Management.Billing.IProductsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.Product>>
<Extension()>
Public Function ListByBillingProfileAsync (operations As IProductsOperations, billingAccountName As String, billingProfileName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Product))

參數

operations
IProductsOperations

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

billingAccountName
String

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

billingProfileName
String

可唯一識別帳單設定檔的識別碼。

filter
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於