BillingRequests interface

Interface representing a BillingRequests.

Methods

beginCreateOrUpdate(string, BillingRequest, BillingRequestsCreateOrUpdateOptionalParams)

Create or update a billing request.

beginCreateOrUpdateAndWait(string, BillingRequest, BillingRequestsCreateOrUpdateOptionalParams)

Create or update a billing request.

get(string, BillingRequestsGetOptionalParams)

Gets a billing request by its ID.

listByBillingAccount(string, BillingRequestsListByBillingAccountOptionalParams)

The list of billing requests submitted for the billing account.

listByBillingProfile(string, string, BillingRequestsListByBillingProfileOptionalParams)

The list of billing requests submitted for the billing profile.

listByCustomer(string, string, string, BillingRequestsListByCustomerOptionalParams)

The list of billing requests submitted for the customer.

listByInvoiceSection(string, string, string, BillingRequestsListByInvoiceSectionOptionalParams)

The list of billing requests submitted for the invoice section.

listByUser(BillingRequestsListByUserOptionalParams)

The list of billing requests submitted by a user.

Method Details

beginCreateOrUpdate(string, BillingRequest, BillingRequestsCreateOrUpdateOptionalParams)

Create or update a billing request.

function beginCreateOrUpdate(billingRequestName: string, parameters: BillingRequest, options?: BillingRequestsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BillingRequest>, BillingRequest>>

Parameters

billingRequestName

string

The ID that uniquely identifies a billing request.

parameters
BillingRequest

A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.

options
BillingRequestsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRequest>, BillingRequest>>

beginCreateOrUpdateAndWait(string, BillingRequest, BillingRequestsCreateOrUpdateOptionalParams)

Create or update a billing request.

function beginCreateOrUpdateAndWait(billingRequestName: string, parameters: BillingRequest, options?: BillingRequestsCreateOrUpdateOptionalParams): Promise<BillingRequest>

Parameters

billingRequestName

string

The ID that uniquely identifies a billing request.

parameters
BillingRequest

A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.

options
BillingRequestsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<BillingRequest>

get(string, BillingRequestsGetOptionalParams)

Gets a billing request by its ID.

function get(billingRequestName: string, options?: BillingRequestsGetOptionalParams): Promise<BillingRequest>

Parameters

billingRequestName

string

The ID that uniquely identifies a billing request.

options
BillingRequestsGetOptionalParams

The options parameters.

Returns

Promise<BillingRequest>

listByBillingAccount(string, BillingRequestsListByBillingAccountOptionalParams)

The list of billing requests submitted for the billing account.

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

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

options
BillingRequestsListByBillingAccountOptionalParams

The options parameters.

Returns

listByBillingProfile(string, string, BillingRequestsListByBillingProfileOptionalParams)

The list of billing requests submitted for the billing profile.

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

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

options
BillingRequestsListByBillingProfileOptionalParams

The options parameters.

Returns

listByCustomer(string, string, string, BillingRequestsListByCustomerOptionalParams)

The list of billing requests submitted for the customer.

function listByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, options?: BillingRequestsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingRequest, BillingRequest[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

options
BillingRequestsListByCustomerOptionalParams

The options parameters.

Returns

listByInvoiceSection(string, string, string, BillingRequestsListByInvoiceSectionOptionalParams)

The list of billing requests submitted for the invoice section.

function listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRequestsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRequest, BillingRequest[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

options
BillingRequestsListByInvoiceSectionOptionalParams

The options parameters.

Returns

listByUser(BillingRequestsListByUserOptionalParams)

The list of billing requests submitted by a user.

function listByUser(options?: BillingRequestsListByUserOptionalParams): PagedAsyncIterableIterator<BillingRequest, BillingRequest[], PageSettings>

Parameters

options
BillingRequestsListByUserOptionalParams

The options parameters.

Returns