/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ReservationDetail, ReservationsDetailsListByReservationOrderOptionalParams, ReservationsDetailsListByReservationOrderAndReservationOptionalParams, ReservationsDetailsListOptionalParams } from "../models"; /// /** Interface representing a ReservationsDetails. */ export interface ReservationsDetails { /** * Lists the reservations details for provided date range. * @param reservationOrderId Order Id of the reservation * @param filter Filter reservation details by date range. The properties/UsageDate for start date and * end date. The filter supports 'le' and 'ge' * @param options The options parameters. */ listByReservationOrder( reservationOrderId: string, filter: string, options?: ReservationsDetailsListByReservationOrderOptionalParams ): PagedAsyncIterableIterator; /** * Lists the reservations details for provided date range. * @param reservationOrderId Order Id of the reservation * @param reservationId Id of the reservation * @param filter Filter reservation details by date range. The properties/UsageDate for start date and * end date. The filter supports 'le' and 'ge' * @param options The options parameters. */ listByReservationOrderAndReservation( reservationOrderId: string, reservationId: string, filter: string, options?: ReservationsDetailsListByReservationOrderAndReservationOptionalParams ): PagedAsyncIterableIterator; /** * Lists the reservations details for the defined scope and provided date range. * @param 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). * @param options The options parameters. */ list( scope: string, options?: ReservationsDetailsListOptionalParams ): PagedAsyncIterableIterator; }