BillingRequests interface
Interface representing a BillingRequests.
Methods
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.
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.
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.
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.
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.
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.
The options parameters.
Returns
listByUser(BillingRequestsListByUserOptionalParams)
The list of billing requests submitted by a user.
function listByUser(options?: BillingRequestsListByUserOptionalParams): PagedAsyncIterableIterator<BillingRequest, BillingRequest[], PageSettings>
Parameters
The options parameters.