BillingRequestsClient Interface

public interface BillingRequestsClient

An instance of this class provides access to all the operations defined in BillingRequestsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<BillingRequestInner>,BillingRequestInner> beginCreateOrUpdate(String billingRequestName, BillingRequestInner parameters)

Create or update a billing request.

abstract SyncPoller<PollResult<BillingRequestInner>,BillingRequestInner> beginCreateOrUpdate(String billingRequestName, BillingRequestInner parameters, Context context)

Create or update a billing request.

abstract BillingRequestInner createOrUpdate(String billingRequestName, BillingRequestInner parameters)

Create or update a billing request.

abstract BillingRequestInner createOrUpdate(String billingRequestName, BillingRequestInner parameters, Context context)

Create or update a billing request.

abstract BillingRequestInner get(String billingRequestName)

Gets a billing request by its ID.

abstract Response<BillingRequestInner> getWithResponse(String billingRequestName, Context context)

Gets a billing request by its ID.

abstract PagedIterable<BillingRequestInner> listByBillingAccount(String billingAccountName)

The list of billing requests submitted for the billing account.

abstract PagedIterable<BillingRequestInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the billing account.

abstract PagedIterable<BillingRequestInner> listByBillingProfile(String billingAccountName, String billingProfileName)

The list of billing requests submitted for the billing profile.

abstract PagedIterable<BillingRequestInner> listByBillingProfile(String billingAccountName, String billingProfileName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the billing profile.

abstract PagedIterable<BillingRequestInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName)

The list of billing requests submitted for the customer.

abstract PagedIterable<BillingRequestInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the customer.

abstract PagedIterable<BillingRequestInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName)

The list of billing requests submitted for the invoice section.

abstract PagedIterable<BillingRequestInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the invoice section.

abstract PagedIterable<BillingRequestInner> listByUser()

The list of billing requests submitted by a user.

abstract PagedIterable<BillingRequestInner> listByUser(String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted by a user.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<BillingRequestInner>,BillingRequestInner> beginCreateOrUpdate(String billingRequestName, BillingRequestInner parameters)

Create or update a billing request.

Parameters:

billingRequestName - The ID that uniquely identifies a billing request.
parameters - A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.

Returns:

the SyncPoller<T,U> for polling of a request submitted by a user to manage billing.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<BillingRequestInner>,BillingRequestInner> beginCreateOrUpdate(String billingRequestName, BillingRequestInner parameters, Context context)

Create or update a billing request.

Parameters:

billingRequestName - The ID that uniquely identifies a billing request.
parameters - A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a request submitted by a user to manage billing.

createOrUpdate

public abstract BillingRequestInner createOrUpdate(String billingRequestName, BillingRequestInner parameters)

Create or update a billing request.

Parameters:

billingRequestName - The ID that uniquely identifies a billing request.
parameters - A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.

Returns:

a request submitted by a user to manage billing.

createOrUpdate

public abstract BillingRequestInner createOrUpdate(String billingRequestName, BillingRequestInner parameters, Context context)

Create or update a billing request.

Parameters:

billingRequestName - The ID that uniquely identifies a billing request.
parameters - A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.
context - The context to associate with this operation.

Returns:

a request submitted by a user to manage billing.

get

public abstract BillingRequestInner get(String billingRequestName)

Gets a billing request by its ID.

Parameters:

billingRequestName - The ID that uniquely identifies a billing request.

Returns:

a billing request by its ID.

getWithResponse

public abstract Response<BillingRequestInner> getWithResponse(String billingRequestName, Context context)

Gets a billing request by its ID.

Parameters:

billingRequestName - The ID that uniquely identifies a billing request.
context - The context to associate with this operation.

Returns:

a billing request by its ID along with Response<T>.

listByBillingAccount

public abstract PagedIterable<BillingRequestInner> listByBillingAccount(String billingAccountName)

The list of billing requests submitted for the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<BillingRequestInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<BillingRequestInner> listByBillingProfile(String billingAccountName, String billingProfileName)

The list of billing requests submitted for the billing profile.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<BillingRequestInner> listByBillingProfile(String billingAccountName, String billingProfileName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the billing profile.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByCustomer

public abstract PagedIterable<BillingRequestInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName)

The list of billing requests submitted for the customer.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
customerName - The ID that uniquely identifies a customer.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByCustomer

public abstract PagedIterable<BillingRequestInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the customer.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
customerName - The ID that uniquely identifies a customer.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByInvoiceSection

public abstract PagedIterable<BillingRequestInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName)

The list of billing requests submitted for the invoice section.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
invoiceSectionName - The ID that uniquely identifies an invoice section.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByInvoiceSection

public abstract PagedIterable<BillingRequestInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted for the invoice section.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
invoiceSectionName - The ID that uniquely identifies an invoice section.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByUser

public abstract PagedIterable<BillingRequestInner> listByUser()

The list of billing requests submitted by a user.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByUser

public abstract PagedIterable<BillingRequestInner> listByUser(String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

The list of billing requests submitted by a user.

Parameters:

filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

Applies to