Sdílet prostřednictvím


CustomersOperationsExtensions.GetAsync Metoda

Definice

Získá zákazníka podle jeho ID. Operace se podporuje jenom u fakturačních účtů s typem smlouvy Smlouva s partnerem Microsoftu. 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)

Parametry

operations
ICustomersOperations

Skupina operací pro tuto metodu rozšíření.

billingAccountName
String

ID, které jednoznačně identifikuje fakturační účet.

customerName
String

ID, které jednoznačně identifikuje zákazníka.

expand
String

Může se použít k rozšíření povolenýchAzurePlans a prodejců

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro