InvoiceSectionsClient Interface

public interface InvoiceSectionsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<InvoiceSectionInner>,InvoiceSectionInner> beginCreateOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters)

Creates or updates an invoice section.

abstract SyncPoller<PollResult<InvoiceSectionInner>,InvoiceSectionInner> beginCreateOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters, Context context)

Creates or updates an invoice section.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String billingProfileName, String invoiceSectionName)

Deletes an invoice section.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Deletes an invoice section.

abstract InvoiceSectionInner createOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters)

Creates or updates an invoice section.

abstract InvoiceSectionInner createOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters, Context context)

Creates or updates an invoice section.

abstract void delete(String billingAccountName, String billingProfileName, String invoiceSectionName)

Deletes an invoice section.

abstract void delete(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Deletes an invoice section.

abstract InvoiceSectionInner get(String billingAccountName, String billingProfileName, String invoiceSectionName)

Gets an invoice section by its ID.

abstract Response<InvoiceSectionInner> getWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Gets an invoice section by its ID.

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

Lists the invoice sections that a user has access to.

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

Lists the invoice sections that a user has access to.

abstract DeleteInvoiceSectionEligibilityResultInner validateDeleteEligibility(String billingAccountName, String billingProfileName, String invoiceSectionName)

Validates if the invoice section can be deleted.

abstract Response<DeleteInvoiceSectionEligibilityResultInner> validateDeleteEligibilityWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Validates if the invoice section can be deleted.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<InvoiceSectionInner>,InvoiceSectionInner> beginCreateOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters)

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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.
parameters - An invoice section.

Returns:

the SyncPoller<T,U> for polling of an invoice section.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<InvoiceSectionInner>,InvoiceSectionInner> beginCreateOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters, Context context)

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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.
parameters - An invoice section.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an invoice section.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String billingProfileName, String invoiceSectionName)

Deletes an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Deletes an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract InvoiceSectionInner createOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters)

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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.
parameters - An invoice section.

Returns:

an invoice section.

createOrUpdate

public abstract InvoiceSectionInner createOrUpdate(String billingAccountName, String billingProfileName, String invoiceSectionName, InvoiceSectionInner parameters, Context context)

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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.
parameters - An invoice section.
context - The context to associate with this operation.

Returns:

an invoice section.

delete

public abstract void delete(String billingAccountName, String billingProfileName, String invoiceSectionName)

Deletes an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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.

delete

public abstract void delete(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Deletes an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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.
context - The context to associate with this operation.

get

public abstract InvoiceSectionInner get(String billingAccountName, String billingProfileName, String invoiceSectionName)

Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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:

an invoice section by its ID.

getWithResponse

public abstract Response<InvoiceSectionInner> getWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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.
context - The context to associate with this operation.

Returns:

an invoice section by its ID along with Response<T>.

listByBillingProfile

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

Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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<InvoiceSectionInner> listByBillingProfile(String billingAccountName, String billingProfileName, Boolean includeDeleted, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
includeDeleted - Can be used to get deleted invoice sections.
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>.

validateDeleteEligibility

public abstract DeleteInvoiceSectionEligibilityResultInner validateDeleteEligibility(String billingAccountName, String billingProfileName, String invoiceSectionName)

Validates if the invoice section can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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:

eligibility to delete an invoice section result.

validateDeleteEligibilityWithResponse

public abstract Response<DeleteInvoiceSectionEligibilityResultInner> validateDeleteEligibilityWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Validates if the invoice section can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

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.
context - The context to associate with this operation.

Returns:

eligibility to delete an invoice section result along with Response<T>.

Applies to