你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CustomersOperationsExtensions.GetAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按客户 ID 获取客户。 仅协议类型为 Microsoft 合作伙伴协议 的计费帐户支持此操作。 https://docs.microsoft.com/en-us/rest/api/billing/
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Customer> GetAsync (this Microsoft.Azure.Management.Billing.ICustomersOperations operations, string billingAccountName, string customerName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Billing.ICustomersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Customer>
<Extension()>
Public Function GetAsync (operations As ICustomersOperations, billingAccountName As String, customerName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Customer)
参数
- operations
- ICustomersOperations
此扩展方法的操作组。
- billingAccountName
- String
唯一标识计费帐户的 ID。
- customerName
- String
唯一标识客户的 ID。
- expand
- String
可用于扩展已启用的AzurePlans 和经销商
- cancellationToken
- CancellationToken
取消标记。