ReservationsDetailsClient Interface

public interface ReservationsDetailsClient

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

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<ReservationDetailInner> list(String scope)

Lists the reservations details for the defined scope and provided date range.

abstract PagedIterable<ReservationDetailInner> list(String scope, String startDate, String endDate, String filter, String reservationId, String reservationOrderId, Context context)

Lists the reservations details for the defined scope and provided date range.

abstract PagedIterable<ReservationDetailInner> listByReservationOrder(String reservationOrderId, String filter)

Lists the reservations details for provided date range.

abstract PagedIterable<ReservationDetailInner> listByReservationOrder(String reservationOrderId, String filter, Context context)

Lists the reservations details for provided date range.

abstract PagedIterable<ReservationDetailInner> listByReservationOrderAndReservation(String reservationOrderId, String reservationId, String filter)

Lists the reservations details for provided date range.

abstract PagedIterable<ReservationDetailInner> listByReservationOrderAndReservation(String reservationOrderId, String reservationId, String filter, Context context)

Lists the reservations details for provided date range.

Method Details

list

public abstract PagedIterable list(String scope)

Lists the reservations details for the defined scope and provided date range.

Parameters:

scope - The scope associated with reservations details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).

Returns:

result of listing reservation details.

list

public abstract PagedIterable list(String scope, String startDate, String endDate, String filter, String reservationId, String reservationOrderId, Context context)

Lists the reservations details for the defined scope and provided date range.

Parameters:

scope - The scope associated with reservations details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
startDate - Start date. Only applicable when querying with billing profile.
endDate - End date. Only applicable when querying with billing profile.
filter - Filter reservation details by date range. 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 details.

listByReservationOrder

public abstract PagedIterable listByReservationOrder(String reservationOrderId, String filter)

Lists the reservations details for provided date range.

Parameters:

reservationOrderId - Order Id of the reservation.
filter - Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'.

Returns:

result of listing reservation details.

listByReservationOrder

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

Lists the reservations details for provided date range.

Parameters:

reservationOrderId - Order Id of the reservation.
filter - Filter reservation details by date range. 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 details.

listByReservationOrderAndReservation

public abstract PagedIterable listByReservationOrderAndReservation(String reservationOrderId, String reservationId, String filter)

Lists the reservations details for provided date range.

Parameters:

reservationOrderId - Order Id of the reservation.
reservationId - Id of the reservation.
filter - Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'.

Returns:

result of listing reservation details.

listByReservationOrderAndReservation

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

Lists the reservations details for provided date range.

Parameters:

reservationOrderId - Order Id of the reservation.
reservationId - Id of the reservation.
filter - Filter reservation details by date range. 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 details.

Applies to