LotsOperations Interface

public interface LotsOperations

Resource collection API of LotsOperations.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<LotSummary> listByBillingAccount(String billingAccountId)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile.

abstract PagedIterable<LotSummary> listByBillingAccount(String billingAccountId, String filter, Context context)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile.

abstract PagedIterable<LotSummary> listByBillingProfile(String billingAccountId, String billingProfileId)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile.

abstract PagedIterable<LotSummary> listByBillingProfile(String billingAccountId, String billingProfileId, Context context)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile.

Method Details

listByBillingAccount

public abstract PagedIterable listByBillingAccount(String billingAccountId)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile. Microsoft Azure consumption commitments are only supported for the billing account scope.

Parameters:

billingAccountId - BillingAccount ID.

Returns:

result of listing lot summary.

listByBillingAccount

public abstract PagedIterable listByBillingAccount(String billingAccountId, String filter, Context context)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile. Microsoft Azure consumption commitments are only supported for the billing account scope.

Parameters:

billingAccountId - BillingAccount ID.
filter - May be used to filter the lots by Status, Source 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 lot summary.

listByBillingProfile

public abstract PagedIterable listByBillingProfile(String billingAccountId, String billingProfileId)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile. Microsoft Azure consumption commitments are only supported for the billing account scope.

Parameters:

billingAccountId - BillingAccount ID.
billingProfileId - Azure Billing Profile ID.

Returns:

result of listing lot summary.

listByBillingProfile

public abstract PagedIterable listByBillingProfile(String billingAccountId, String billingProfileId, Context context)

Lists all Azure credits and Microsoft Azure consumption commitments for a billing account or a billing profile. Microsoft Azure consumption commitments are only supported for the billing account scope.

Parameters:

billingAccountId - BillingAccount ID.
billingProfileId - Azure Billing Profile ID.
context - The context to associate with this operation.

Returns:

result of listing lot summary.

Applies to