EventsOperations Interface

public interface EventsOperations

Resource collection API of EventsOperations.

Method Summary

Modifier and Type Method and Description
abstract 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.

abstract PagedIterable<EventSummary> listByBillingAccount(String billingAccountId, String filter, 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.

abstract 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.

abstract PagedIterable<EventSummary> listByBillingProfile(String billingAccountId, String billingProfileId, String startDate, String endDate, 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 Details

listByBillingAccount

public abstract PagedIterable 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.

listByBillingAccount

public abstract PagedIterable listByBillingAccount(String billingAccountId, String filter, 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.

listByBillingProfile

public abstract PagedIterable 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.

listByBillingProfile

public abstract PagedIterable listByBillingProfile(String billingAccountId, String billingProfileId, String startDate, String endDate, 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.

Applies to