import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { CapacityReservation , CapacityReservationsListByCapacityReservationGroupOptionalParams , CapacityReservationsCreateOrUpdateOptionalParams , CapacityReservationsCreateOrUpdateResponse , CapacityReservationUpdate , CapacityReservationsUpdateOptionalParams , CapacityReservationsUpdateResponse , CapacityReservationsDeleteOptionalParams , CapacityReservationsGetOptionalParams , CapacityReservationsGetResponse } from "../models" ; /** Interface representing a CapacityReservations. */ export interface CapacityReservations { param resourceGroupName param capacityReservationGroupName param options listByCapacityReservationGroup ( resourceGroupName , capacityReservationGroupName , options ? ) : PagedAsyncIterableIterator < CapacityReservation > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param parameters param options beginCreateOrUpdate ( resourceGroupName , capacityReservationGroupName , capacityReservationName , parameters , options ? ) : Promise < PollerLike < PollOperationState < CapacityReservationsCreateOrUpdateResponse > , CapacityReservationsCreateOrUpdateResponse > > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param parameters param options beginCreateOrUpdateAndWait ( resourceGroupName , capacityReservationGroupName , capacityReservationName , parameters , options ? ) : Promise < CapacityReservationsCreateOrUpdateResponse > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param parameters param options beginUpdate ( resourceGroupName , capacityReservationGroupName , capacityReservationName , parameters , options ? ) : Promise < PollerLike < PollOperationState < CapacityReservationsUpdateResponse > , CapacityReservationsUpdateResponse > > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param parameters param options beginUpdateAndWait ( resourceGroupName , capacityReservationGroupName , capacityReservationName , parameters , options ? ) : Promise < CapacityReservationsUpdateResponse > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param options beginDelete ( resourceGroupName , capacityReservationGroupName , capacityReservationName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param options beginDeleteAndWait ( resourceGroupName , capacityReservationGroupName , capacityReservationName , options ? ) : Promise < void > ; param resourceGroupName param capacityReservationGroupName param capacityReservationName param options get ( resourceGroupName , capacityReservationGroupName , capacityReservationName , options ? ) : Promise < CapacityReservationsGetResponse > ; }