Interface EventsOperations


  • public interface EventsOperations
    Resource collection API of EventsOperations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingAccount​(String billingAccountId)
      Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
      com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingAccount​(String billingAccountId, String filter, com.azure.core.util.Context context)
      Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
      com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingProfile​(String billingAccountId, String billingProfileId, String startDate, String endDate)
      Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
      com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingProfile​(String billingAccountId, String billingProfileId, String startDate, String endDate, com.azure.core.util.Context context)
      Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
    • Method Detail

      • listByBillingProfile

        com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingProfile​(String billingAccountId,
                                                                                  String billingProfileId,
                                                                                  String startDate,
                                                                                  String endDate)
        Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
        Parameters:
        billingAccountId - BillingAccount ID.
        billingProfileId - Azure Billing Profile ID.
        startDate - Start date.
        endDate - End date.
        Returns:
        result of listing event summary.
        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.
      • listByBillingProfile

        com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingProfile​(String billingAccountId,
                                                                                  String billingProfileId,
                                                                                  String startDate,
                                                                                  String endDate,
                                                                                  com.azure.core.util.Context context)
        Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
        Parameters:
        billingAccountId - BillingAccount ID.
        billingProfileId - Azure Billing Profile ID.
        startDate - Start date.
        endDate - End date.
        context - The context to associate with this operation.
        Returns:
        result of listing event summary.
        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.
      • listByBillingAccount

        com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingAccount​(String billingAccountId)
        Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
        Parameters:
        billingAccountId - BillingAccount ID.
        Returns:
        result of listing event summary.
        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.
      • listByBillingAccount

        com.azure.core.http.rest.PagedIterable<EventSummary> listByBillingAccount​(String billingAccountId,
                                                                                  String filter,
                                                                                  com.azure.core.util.Context context)
        Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
        Parameters:
        billingAccountId - BillingAccount ID.
        filter - May be used to filter the events by lotId, lotSource etc. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).
        context - The context to associate with this operation.
        Returns:
        result of listing event summary.
        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.