你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BillingProfilesOperationsExtensions.GetAsync 方法

定义

按 ID 获取计费对象信息。 协议类型为 Microsoft 客户协议 或 Microsoft 合作伙伴协议 的计费帐户支持该操作。 https://docs.microsoft.com/en-us/rest/api/billing/

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

参数

operations
IBillingProfilesOperations

此扩展方法的操作组。

billingAccountName
String

唯一标识计费帐户的 ID。

billingProfileName
String

唯一标识计费对象信息的 ID。

expand
String

可用于扩展发票科目。

cancellationToken
CancellationToken

取消标记。

返回

适用于