ReservationsSummariesClient Interface

public interface ReservationsSummariesClient

An instance of this class provides access to all the operations defined in ReservationsSummariesClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<ReservationSummaryInner> list(String resourceScope, Datagrain grain)

Lists the reservations summaries for the defined scope daily or monthly grain.

abstract PagedIterable<ReservationSummaryInner> list(String resourceScope, Datagrain grain, String startDate, String endDate, String filter, String reservationId, String reservationOrderId, Context context)

Lists the reservations summaries for the defined scope daily or monthly grain.

abstract PagedIterable<ReservationSummaryInner> listByReservationOrder(String reservationOrderId, Datagrain grain)

Lists the reservations summaries for daily or monthly grain.

abstract PagedIterable<ReservationSummaryInner> listByReservationOrder(String reservationOrderId, Datagrain grain, String filter, Context context)

Lists the reservations summaries for daily or monthly grain.

abstract PagedIterable<ReservationSummaryInner> listByReservationOrderAndReservation(String reservationOrderId, String reservationId, Datagrain grain)

Lists the reservations summaries for daily or monthly grain.

abstract PagedIterable<ReservationSummaryInner> listByReservationOrderAndReservation(String reservationOrderId, String reservationId, Datagrain grain, String filter, Context context)

Lists the reservations summaries for daily or monthly grain.

Method Details

list

public abstract PagedIterable list(String resourceScope, Datagrain grain)

Lists the reservations summaries for the defined scope daily or monthly grain.

Parameters:

resourceScope - The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
grain - Can be daily or monthly.

Returns:

result of listing reservation summaries as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceScope, Datagrain grain, String startDate, String endDate, String filter, String reservationId, String reservationOrderId, Context context)

Lists the reservations summaries for the defined scope daily or monthly grain.

Parameters:

resourceScope - The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
grain - Can be daily or monthly.
startDate - Start date. Only applicable when querying with billing profile.
endDate - End date. Only applicable when querying with billing profile.
filter - Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'. Not applicable when querying with billing profile.
reservationId - Reservation Id GUID. Only valid if reservationOrderId is also provided. Filter to a specific reservation.
reservationOrderId - Reservation Order Id GUID. Required if reservationId is provided. Filter to a specific reservation order.
context - The context to associate with this operation.

Returns:

result of listing reservation summaries as paginated response with PagedIterable<T>.

listByReservationOrder

public abstract PagedIterable listByReservationOrder(String reservationOrderId, Datagrain grain)

Lists the reservations summaries for daily or monthly grain.

Parameters:

reservationOrderId - Order Id of the reservation.
grain - Can be daily or monthly.

Returns:

result of listing reservation summaries as paginated response with PagedIterable<T>.

listByReservationOrder

public abstract PagedIterable listByReservationOrder(String reservationOrderId, Datagrain grain, String filter, Context context)

Lists the reservations summaries for daily or monthly grain.

Parameters:

reservationOrderId - Order Id of the reservation.
grain - Can be daily or monthly.
filter - Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'.
context - The context to associate with this operation.

Returns:

result of listing reservation summaries as paginated response with PagedIterable<T>.

listByReservationOrderAndReservation

public abstract PagedIterable listByReservationOrderAndReservation(String reservationOrderId, String reservationId, Datagrain grain)

Lists the reservations summaries for daily or monthly grain.

Parameters:

reservationOrderId - Order Id of the reservation.
reservationId - Id of the reservation.
grain - Can be daily or monthly.

Returns:

result of listing reservation summaries as paginated response with PagedIterable<T>.

listByReservationOrderAndReservation

public abstract PagedIterable listByReservationOrderAndReservation(String reservationOrderId, String reservationId, Datagrain grain, String filter, Context context)

Lists the reservations summaries for daily or monthly grain.

Parameters:

reservationOrderId - Order Id of the reservation.
reservationId - Id of the reservation.
grain - Can be daily or monthly.
filter - Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'.
context - The context to associate with this operation.

Returns:

result of listing reservation summaries as paginated response with PagedIterable<T>.

Applies to