共用方式為


BillingRoleAssignmentsOperationsExtensions.GetByBillingProfileAsync 方法

定義

取得帳單設定檔上呼叫端的角色指派。 合約類型為Microsoft 合作夥伴合約或Microsoft 客戶合約的計費帳戶支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleAssignment> GetByBillingProfileAsync (this Microsoft.Azure.Management.Billing.IBillingRoleAssignmentsOperations operations, string billingAccountName, string billingProfileName, string billingRoleAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetByBillingProfileAsync : Microsoft.Azure.Management.Billing.IBillingRoleAssignmentsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingRoleAssignment>
<Extension()>
Public Function GetByBillingProfileAsync (operations As IBillingRoleAssignmentsOperations, billingAccountName As String, billingProfileName As String, billingRoleAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingRoleAssignment)

參數

operations
IBillingRoleAssignmentsOperations

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

billingAccountName
String

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

billingProfileName
String

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

billingRoleAssignmentName
String

可唯一識別角色指派的識別碼。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於