Partager via


Customers interface

Interface représentant un client.

Méthodes

get(string, string, string, CustomersGetOptionalParams)

Obtient un client par son ID. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

getByBillingAccount(string, string, CustomersGetByBillingAccountOptionalParams)

Obtient un client par son ID au niveau du compte de facturation. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

listByBillingAccount(string, CustomersListByBillingAccountOptionalParams)

Répertorie les clients facturés à un compte de facturation. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

listByBillingProfile(string, string, CustomersListByBillingProfileOptionalParams)

Répertorie les clients facturés à un profil de facturation. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

Détails de la méthode

get(string, string, string, CustomersGetOptionalParams)

Obtient un client par son ID. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

function get(billingAccountName: string, billingProfileName: string, customerName: string, options?: CustomersGetOptionalParams): Promise<Customer>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

customerName

string

ID qui identifie de façon unique un client.

options
CustomersGetOptionalParams

Paramètres d’options.

Retours

Promise<Customer>

getByBillingAccount(string, string, CustomersGetByBillingAccountOptionalParams)

Obtient un client par son ID au niveau du compte de facturation. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

function getByBillingAccount(billingAccountName: string, customerName: string, options?: CustomersGetByBillingAccountOptionalParams): Promise<Customer>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

customerName

string

ID qui identifie de façon unique un client.

options
CustomersGetByBillingAccountOptionalParams

Paramètres d’options.

Retours

Promise<Customer>

listByBillingAccount(string, CustomersListByBillingAccountOptionalParams)

Répertorie les clients facturés à un compte de facturation. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

function listByBillingAccount(billingAccountName: string, options?: CustomersListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Customer, Customer[], PageSettings>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

options
CustomersListByBillingAccountOptionalParams

Paramètres d’options.

Retours

listByBillingProfile(string, string, CustomersListByBillingProfileOptionalParams)

Répertorie les clients facturés à un profil de facturation. L’opération est prise en charge uniquement pour les comptes de facturation avec le type contrat Partenaire Microsoft.

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: CustomersListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Customer, Customer[], PageSettings>

Paramètres

billingAccountName

string

ID qui identifie de façon unique un compte de facturation.

billingProfileName

string

ID qui identifie de façon unique un profil de facturation.

options
CustomersListByBillingProfileOptionalParams

Paramètres d’options.

Retours