共用方式為


PoliciesOperationsExtensions.GetByBillingProfileAsync 方法

定義

列出帳單設定檔的原則。 只有合約類型為 Microsoft 客戶合約 的計費帳戶才支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

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

參數

operations
IPoliciesOperations

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

billingAccountName
String

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

billingProfileName
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於