共用方式為


BillingRoleDefinitionsOperationsExtensions.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.BillingRoleDefinition>> ListByBillingAccountAsync (this Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations operations, string billingAccountName, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingAccountAsync : Microsoft.Azure.Management.Billing.IBillingRoleDefinitionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingRoleDefinition>>
<Extension()>
Public Function ListByBillingAccountAsync (operations As IBillingRoleDefinitionsOperations, billingAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BillingRoleDefinition))

參數

operations
IBillingRoleDefinitionsOperations

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

billingAccountName
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於