InvoiceSectionsClient Interface
public interface InvoiceSectionsClient
An instance of this class provides access to all the operations defined in InvoiceSectionsClient.
Method Summary
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns: