Udostępnij za pośrednictwem


PoliciesOperationsExtensions.GetByCustomerAsync Metoda

Definicja

Wyświetla listę zasad dla klienta. Ta operacja jest obsługiwana tylko w przypadku kont rozliczeniowych z typem umowy Microsoft Partner Agreement. https://docs.microsoft.com/en-us/rest/api/billing/

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

Parametry

operations
IPoliciesOperations

Grupa operacji dla tej metody rozszerzenia.

billingAccountName
String

Identyfikator, który jednoznacznie identyfikuje konto rozliczeniowe.

customerName
String

Identyfikator, który jednoznacznie identyfikuje klienta.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Dotyczy