CustomersOperations interface

Interface representing a Customers operations.

Properties

get

Gets a customer by its ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

getByBillingAccount

Gets a customer by its ID at billing account level. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

listByBillingAccount

Lists the customers that are billed to a billing account. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

listByBillingProfile

Lists the customers that are billed to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

Property Details

get

Gets a customer by its ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

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

Property Value

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

getByBillingAccount

Gets a customer by its ID at billing account level. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

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

Property Value

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

listByBillingAccount

Lists the customers that are billed to a billing account. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

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

Property Value

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

listByBillingProfile

Lists the customers that are billed to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

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

Property Value

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