Interface CreditsClient


  • public interface CreditsClient
    An instance of this class provides access to all the operations defined in CreditsClient.
    • Method Detail

      • get

        CreditSummaryInner get​(String billingAccountId,
                               String billingProfileId)
        The credit summary by billingAccountId and billingProfileId.
        Parameters:
        billingAccountId - BillingAccount ID.
        billingProfileId - Azure Billing Profile ID.
        Returns:
        a credit summary resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<CreditSummaryInner> getWithResponse​(String billingAccountId,
                                                                              String billingProfileId,
                                                                              com.azure.core.util.Context context)
        The credit summary by billingAccountId and billingProfileId.
        Parameters:
        billingAccountId - BillingAccount ID.
        billingProfileId - Azure Billing Profile ID.
        context - The context to associate with this operation.
        Returns:
        a credit summary resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.