@azure/arm-reservations 9.0.1-alpha.20250218.1 → 9.0.1-alpha.20250220.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -16
- package/{dist-esm/src → dist/browser}/azureReservationAPI.d.ts +2 -2
- package/dist/browser/azureReservationAPI.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureReservationAPI.js +4 -4
- package/dist/browser/azureReservationAPI.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/calculateExchange.d.ts +3 -3
- package/dist/browser/operations/calculateExchange.d.ts.map +1 -0
- package/dist/browser/operations/calculateExchange.js +104 -0
- package/dist/browser/operations/calculateExchange.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/calculateRefund.d.ts +3 -3
- package/dist/browser/operations/calculateRefund.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/calculateRefund.js +2 -2
- package/dist/browser/operations/calculateRefund.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/exchange.d.ts +3 -3
- package/dist/browser/operations/exchange.d.ts.map +1 -0
- package/dist/browser/operations/exchange.js +104 -0
- package/dist/browser/operations/exchange.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +17 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operation.d.ts +3 -3
- package/dist/browser/operations/operation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operation.js +3 -3
- package/dist/browser/operations/operation.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/quota.d.ts +3 -3
- package/dist/browser/operations/quota.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/quota.js +93 -101
- package/dist/browser/operations/quota.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/quotaRequestStatus.d.ts +3 -3
- package/dist/browser/operations/quotaRequestStatus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/quotaRequestStatus.js +3 -3
- package/dist/browser/operations/quotaRequestStatus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/reservation.d.ts +3 -3
- package/dist/browser/operations/reservation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/reservation.js +152 -168
- package/dist/browser/operations/reservation.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/reservationOrder.d.ts +3 -3
- package/dist/browser/operations/reservationOrder.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/reservationOrder.js +42 -46
- package/dist/browser/operations/reservationOrder.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/return.d.ts +3 -3
- package/dist/browser/operations/return.d.ts.map +1 -0
- package/dist/browser/operations/return.js +104 -0
- package/dist/browser/operations/return.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/calculateExchange.d.ts +1 -1
- package/dist/browser/operationsInterfaces/calculateExchange.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/calculateExchange.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/calculateRefund.d.ts +1 -1
- package/dist/browser/operationsInterfaces/calculateRefund.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/calculateRefund.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/exchange.d.ts +1 -1
- package/dist/browser/operationsInterfaces/exchange.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/exchange.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +17 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operation.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operation.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operation.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/quota.d.ts +1 -1
- package/dist/browser/operationsInterfaces/quota.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/quota.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/quotaRequestStatus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/quotaRequestStatus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/reservation.d.ts +1 -1
- package/dist/browser/operationsInterfaces/reservation.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservation.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationOrder.d.ts +1 -1
- package/dist/browser/operationsInterfaces/reservationOrder.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservationOrder.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/return.d.ts +1 -1
- package/dist/browser/operationsInterfaces/return.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/return.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureReservationAPI.d.ts +52 -0
- package/dist/commonjs/azureReservationAPI.d.ts.map +1 -0
- package/dist/commonjs/azureReservationAPI.js +232 -0
- package/dist/commonjs/azureReservationAPI.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-reservations.d.ts → dist/commonjs/models/index.d.ts} +2489 -3123
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +489 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +118 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +3901 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +42 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +339 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/calculateExchange.d.ts +28 -0
- package/dist/commonjs/operations/calculateExchange.d.ts.map +1 -0
- package/dist/commonjs/operations/calculateExchange.js +109 -0
- package/dist/commonjs/operations/calculateExchange.js.map +1 -0
- package/dist/commonjs/operations/calculateRefund.d.ts +21 -0
- package/dist/commonjs/operations/calculateRefund.d.ts.map +1 -0
- package/dist/commonjs/operations/calculateRefund.js +56 -0
- package/dist/commonjs/operations/calculateRefund.js.map +1 -0
- package/dist/commonjs/operations/exchange.d.ts +28 -0
- package/dist/commonjs/operations/exchange.d.ts.map +1 -0
- package/dist/commonjs/operations/exchange.js +109 -0
- package/dist/commonjs/operations/exchange.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +20 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operation.d.ts +32 -0
- package/dist/commonjs/operations/operation.d.ts.map +1 -0
- package/dist/commonjs/operations/operation.js +137 -0
- package/dist/commonjs/operations/operation.js.map +1 -0
- package/dist/commonjs/operations/quota.d.ts +121 -0
- package/dist/commonjs/operations/quota.d.ts.map +1 -0
- package/dist/commonjs/operations/quota.js +421 -0
- package/dist/commonjs/operations/quota.js.map +1 -0
- package/dist/commonjs/operations/quotaRequestStatus.d.ts +54 -0
- package/dist/commonjs/operations/quotaRequestStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/quotaRequestStatus.js +199 -0
- package/dist/commonjs/operations/quotaRequestStatus.js.map +1 -0
- package/dist/commonjs/operations/reservation.d.ts +166 -0
- package/dist/commonjs/operations/reservation.d.ts.map +1 -0
- package/dist/commonjs/operations/reservation.js +856 -0
- package/dist/commonjs/operations/reservation.js.map +1 -0
- package/dist/commonjs/operations/reservationOrder.d.ts +67 -0
- package/dist/commonjs/operations/reservationOrder.d.ts.map +1 -0
- package/dist/commonjs/operations/reservationOrder.js +296 -0
- package/dist/commonjs/operations/reservationOrder.js.map +1 -0
- package/dist/commonjs/operations/return.d.ts +28 -0
- package/dist/commonjs/operations/return.d.ts.map +1 -0
- package/dist/commonjs/operations/return.js +109 -0
- package/dist/commonjs/operations/return.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/calculateExchange.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/calculateExchange.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/calculateExchange.js +10 -0
- package/dist/commonjs/operationsInterfaces/calculateExchange.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/calculateRefund.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/calculateRefund.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/calculateRefund.js +10 -0
- package/dist/commonjs/operationsInterfaces/calculateRefund.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/exchange.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/exchange.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/exchange.js +10 -0
- package/dist/commonjs/operationsInterfaces/exchange.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +20 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operation.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operation.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operation.js +10 -0
- package/dist/commonjs/operationsInterfaces/operation.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/quota.d.ts +93 -0
- package/dist/commonjs/operationsInterfaces/quota.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/quota.js +10 -0
- package/dist/commonjs/operationsInterfaces/quota.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/quotaRequestStatus.d.ts +26 -0
- package/dist/commonjs/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/quotaRequestStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/quotaRequestStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservation.d.ts +112 -0
- package/dist/commonjs/operationsInterfaces/reservation.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservation.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservation.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationOrder.d.ts +46 -0
- package/dist/commonjs/operationsInterfaces/reservationOrder.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationOrder.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservationOrder.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/return.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/return.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/return.js +10 -0
- package/dist/commonjs/operationsInterfaces/return.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/azureReservationAPI.d.ts +52 -0
- package/dist/esm/azureReservationAPI.d.ts.map +1 -0
- package/dist/esm/azureReservationAPI.js +228 -0
- package/dist/esm/azureReservationAPI.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +2489 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +486 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +118 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +3896 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +42 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +336 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/calculateExchange.d.ts +28 -0
- package/dist/esm/operations/calculateExchange.d.ts.map +1 -0
- package/dist/esm/operations/calculateExchange.js +104 -0
- package/dist/esm/operations/calculateExchange.js.map +1 -0
- package/dist/esm/operations/calculateRefund.d.ts +21 -0
- package/dist/esm/operations/calculateRefund.d.ts.map +1 -0
- package/dist/esm/operations/calculateRefund.js +51 -0
- package/dist/esm/operations/calculateRefund.js.map +1 -0
- package/dist/esm/operations/exchange.d.ts +28 -0
- package/dist/esm/operations/exchange.d.ts.map +1 -0
- package/dist/esm/operations/exchange.js +104 -0
- package/dist/esm/operations/exchange.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +17 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operation.d.ts +32 -0
- package/dist/esm/operations/operation.d.ts.map +1 -0
- package/dist/esm/operations/operation.js +133 -0
- package/dist/esm/operations/operation.js.map +1 -0
- package/dist/esm/operations/quota.d.ts +121 -0
- package/dist/esm/operations/quota.d.ts.map +1 -0
- package/dist/esm/operations/quota.js +417 -0
- package/dist/esm/operations/quota.js.map +1 -0
- package/dist/esm/operations/quotaRequestStatus.d.ts +54 -0
- package/dist/esm/operations/quotaRequestStatus.d.ts.map +1 -0
- package/dist/esm/operations/quotaRequestStatus.js +195 -0
- package/dist/esm/operations/quotaRequestStatus.js.map +1 -0
- package/dist/esm/operations/reservation.d.ts +166 -0
- package/dist/esm/operations/reservation.d.ts.map +1 -0
- package/dist/esm/operations/reservation.js +852 -0
- package/dist/esm/operations/reservation.js.map +1 -0
- package/dist/esm/operations/reservationOrder.d.ts +67 -0
- package/dist/esm/operations/reservationOrder.d.ts.map +1 -0
- package/dist/esm/operations/reservationOrder.js +292 -0
- package/dist/esm/operations/reservationOrder.js.map +1 -0
- package/dist/esm/operations/return.d.ts +28 -0
- package/dist/esm/operations/return.d.ts.map +1 -0
- package/dist/esm/operations/return.js +104 -0
- package/dist/esm/operations/return.js.map +1 -0
- package/dist/esm/operationsInterfaces/calculateExchange.d.ts +20 -0
- package/dist/esm/operationsInterfaces/calculateExchange.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/calculateExchange.js +9 -0
- package/dist/esm/operationsInterfaces/calculateExchange.js.map +1 -0
- package/dist/esm/operationsInterfaces/calculateRefund.d.ts +13 -0
- package/dist/esm/operationsInterfaces/calculateRefund.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/calculateRefund.js +9 -0
- package/dist/esm/operationsInterfaces/calculateRefund.js.map +1 -0
- package/dist/esm/operationsInterfaces/exchange.d.ts +20 -0
- package/dist/esm/operationsInterfaces/exchange.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/exchange.js +9 -0
- package/dist/esm/operationsInterfaces/exchange.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +17 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operation.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operation.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operation.js +9 -0
- package/dist/esm/operationsInterfaces/operation.js.map +1 -0
- package/dist/esm/operationsInterfaces/quota.d.ts +93 -0
- package/dist/esm/operationsInterfaces/quota.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/quota.js +9 -0
- package/dist/esm/operationsInterfaces/quota.js.map +1 -0
- package/dist/esm/operationsInterfaces/quotaRequestStatus.d.ts +26 -0
- package/dist/esm/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/quotaRequestStatus.js +9 -0
- package/dist/esm/operationsInterfaces/quotaRequestStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservation.d.ts +112 -0
- package/dist/esm/operationsInterfaces/reservation.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservation.js +9 -0
- package/dist/esm/operationsInterfaces/reservation.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservationOrder.d.ts +46 -0
- package/dist/esm/operationsInterfaces/reservationOrder.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservationOrder.js +9 -0
- package/dist/esm/operationsInterfaces/reservationOrder.js.map +1 -0
- package/dist/esm/operationsInterfaces/return.d.ts +20 -0
- package/dist/esm/operationsInterfaces/return.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/return.js +9 -0
- package/dist/esm/operationsInterfaces/return.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureReservationAPI.d.ts +52 -0
- package/dist/react-native/azureReservationAPI.d.ts.map +1 -0
- package/dist/react-native/azureReservationAPI.js +228 -0
- package/dist/react-native/azureReservationAPI.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2489 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +486 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +118 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +3896 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +42 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +336 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/calculateExchange.d.ts +28 -0
- package/dist/react-native/operations/calculateExchange.d.ts.map +1 -0
- package/dist/react-native/operations/calculateExchange.js +104 -0
- package/dist/react-native/operations/calculateExchange.js.map +1 -0
- package/dist/react-native/operations/calculateRefund.d.ts +21 -0
- package/dist/react-native/operations/calculateRefund.d.ts.map +1 -0
- package/dist/react-native/operations/calculateRefund.js +51 -0
- package/dist/react-native/operations/calculateRefund.js.map +1 -0
- package/dist/react-native/operations/exchange.d.ts +28 -0
- package/dist/react-native/operations/exchange.d.ts.map +1 -0
- package/dist/react-native/operations/exchange.js +104 -0
- package/dist/react-native/operations/exchange.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +17 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operation.d.ts +32 -0
- package/dist/react-native/operations/operation.d.ts.map +1 -0
- package/dist/react-native/operations/operation.js +133 -0
- package/dist/react-native/operations/operation.js.map +1 -0
- package/dist/react-native/operations/quota.d.ts +121 -0
- package/dist/react-native/operations/quota.d.ts.map +1 -0
- package/dist/react-native/operations/quota.js +417 -0
- package/dist/react-native/operations/quota.js.map +1 -0
- package/dist/react-native/operations/quotaRequestStatus.d.ts +54 -0
- package/dist/react-native/operations/quotaRequestStatus.d.ts.map +1 -0
- package/dist/react-native/operations/quotaRequestStatus.js +195 -0
- package/dist/react-native/operations/quotaRequestStatus.js.map +1 -0
- package/dist/react-native/operations/reservation.d.ts +166 -0
- package/dist/react-native/operations/reservation.d.ts.map +1 -0
- package/dist/react-native/operations/reservation.js +852 -0
- package/dist/react-native/operations/reservation.js.map +1 -0
- package/dist/react-native/operations/reservationOrder.d.ts +67 -0
- package/dist/react-native/operations/reservationOrder.d.ts.map +1 -0
- package/dist/react-native/operations/reservationOrder.js +292 -0
- package/dist/react-native/operations/reservationOrder.js.map +1 -0
- package/dist/react-native/operations/return.d.ts +28 -0
- package/dist/react-native/operations/return.d.ts.map +1 -0
- package/dist/react-native/operations/return.js +104 -0
- package/dist/react-native/operations/return.js.map +1 -0
- package/dist/react-native/operationsInterfaces/calculateExchange.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/calculateExchange.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/calculateExchange.js +9 -0
- package/dist/react-native/operationsInterfaces/calculateExchange.js.map +1 -0
- package/dist/react-native/operationsInterfaces/calculateRefund.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/calculateRefund.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/calculateRefund.js +9 -0
- package/dist/react-native/operationsInterfaces/calculateRefund.js.map +1 -0
- package/dist/react-native/operationsInterfaces/exchange.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/exchange.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/exchange.js +9 -0
- package/dist/react-native/operationsInterfaces/exchange.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +17 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operation.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operation.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operation.js +9 -0
- package/dist/react-native/operationsInterfaces/operation.js.map +1 -0
- package/dist/react-native/operationsInterfaces/quota.d.ts +93 -0
- package/dist/react-native/operationsInterfaces/quota.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/quota.js +9 -0
- package/dist/react-native/operationsInterfaces/quota.js.map +1 -0
- package/dist/react-native/operationsInterfaces/quotaRequestStatus.d.ts +26 -0
- package/dist/react-native/operationsInterfaces/quotaRequestStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/quotaRequestStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/quotaRequestStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservation.d.ts +112 -0
- package/dist/react-native/operationsInterfaces/reservation.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservation.js +9 -0
- package/dist/react-native/operationsInterfaces/reservation.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationOrder.d.ts +46 -0
- package/dist/react-native/operationsInterfaces/reservationOrder.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationOrder.js +9 -0
- package/dist/react-native/operationsInterfaces/reservationOrder.js.map +1 -0
- package/dist/react-native/operationsInterfaces/return.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/return.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/return.js +9 -0
- package/dist/react-native/operationsInterfaces/return.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -7378
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/calculateExchangePostSample.d.ts +0 -2
- package/dist-esm/samples-dev/calculateExchangePostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/calculateExchangePostSample.js +0 -67
- package/dist-esm/samples-dev/calculateExchangePostSample.js.map +0 -1
- package/dist-esm/samples-dev/calculateRefundPostSample.d.ts +0 -2
- package/dist-esm/samples-dev/calculateRefundPostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/calculateRefundPostSample.js +0 -39
- package/dist-esm/samples-dev/calculateRefundPostSample.js.map +0 -1
- package/dist-esm/samples-dev/exchangePostSample.d.ts +0 -2
- package/dist-esm/samples-dev/exchangePostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/exchangePostSample.js +0 -31
- package/dist-esm/samples-dev/exchangePostSample.js.map +0 -1
- package/dist-esm/samples-dev/getAppliedReservationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/getAppliedReservationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAppliedReservationListSample.js +0 -34
- package/dist-esm/samples-dev/getAppliedReservationListSample.js.map +0 -1
- package/dist-esm/samples-dev/getCatalogSample.d.ts +0 -2
- package/dist-esm/samples-dev/getCatalogSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/getCatalogSample.js +0 -46
- package/dist-esm/samples-dev/getCatalogSample.js.map +0 -1
- package/dist-esm/samples-dev/operationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationListSample.js +0 -49
- package/dist-esm/samples-dev/operationListSample.js.map +0 -1
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js +0 -121
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/quotaGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotaGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotaGetSample.js +0 -37
- package/dist-esm/samples-dev/quotaGetSample.js.map +0 -1
- package/dist-esm/samples-dev/quotaListSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotaListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotaListSample.js +0 -86
- package/dist-esm/samples-dev/quotaListSample.js.map +0 -1
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.js +0 -75
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/quotaRequestStatusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotaRequestStatusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotaRequestStatusListSample.js +0 -52
- package/dist-esm/samples-dev/quotaRequestStatusListSample.js.map +0 -1
- package/dist-esm/samples-dev/quotaUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotaUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotaUpdateSample.js +0 -45
- package/dist-esm/samples-dev/quotaUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationArchiveSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationArchiveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationArchiveSample.js +0 -35
- package/dist-esm/samples-dev/reservationArchiveSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationAvailableScopesSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationAvailableScopesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationAvailableScopesSample.js +0 -35
- package/dist-esm/samples-dev/reservationAvailableScopesSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationGetSample.js +0 -30
- package/dist-esm/samples-dev/reservationGetSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationListAllSample.js +0 -52
- package/dist-esm/samples-dev/reservationListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationListRevisionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationListRevisionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationListRevisionsSample.js +0 -51
- package/dist-esm/samples-dev/reservationListRevisionsSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationListSample.js +0 -50
- package/dist-esm/samples-dev/reservationListSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationMergeSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationMergeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationMergeSample.js +0 -33
- package/dist-esm/samples-dev/reservationMergeSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationOrderCalculateSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationOrderCalculateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationOrderCalculateSample.js +0 -39
- package/dist-esm/samples-dev/reservationOrderCalculateSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.js +0 -30
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.js.map +0 -1
- package/dist-esm/samples-dev/reservationOrderGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationOrderGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationOrderGetSample.js +0 -45
- package/dist-esm/samples-dev/reservationOrderGetSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationOrderListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationOrderListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationOrderListSample.js +0 -49
- package/dist-esm/samples-dev/reservationOrderListSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.js +0 -41
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationSplitSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationSplitSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationSplitSample.js +0 -31
- package/dist-esm/samples-dev/reservationSplitSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationUnarchiveSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationUnarchiveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationUnarchiveSample.js +0 -37
- package/dist-esm/samples-dev/reservationUnarchiveSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationUpdateSample.js +0 -32
- package/dist-esm/samples-dev/reservationUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/returnPostSample.d.ts +0 -2
- package/dist-esm/samples-dev/returnPostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/returnPostSample.js +0 -38
- package/dist-esm/samples-dev/returnPostSample.js.map +0 -1
- package/dist-esm/src/azureReservationAPI.d.ts.map +0 -1
- package/dist-esm/src/azureReservationAPI.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/calculateExchange.d.ts.map +0 -1
- package/dist-esm/src/operations/calculateExchange.js +0 -109
- package/dist-esm/src/operations/calculateExchange.js.map +0 -1
- package/dist-esm/src/operations/calculateRefund.d.ts.map +0 -1
- package/dist-esm/src/operations/calculateRefund.js.map +0 -1
- package/dist-esm/src/operations/exchange.d.ts.map +0 -1
- package/dist-esm/src/operations/exchange.js +0 -109
- package/dist-esm/src/operations/exchange.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -10
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operation.d.ts.map +0 -1
- package/dist-esm/src/operations/operation.js.map +0 -1
- package/dist-esm/src/operations/quota.d.ts.map +0 -1
- package/dist-esm/src/operations/quota.js.map +0 -1
- package/dist-esm/src/operations/quotaRequestStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/quotaRequestStatus.js.map +0 -1
- package/dist-esm/src/operations/reservation.d.ts.map +0 -1
- package/dist-esm/src/operations/reservation.js.map +0 -1
- package/dist-esm/src/operations/reservationOrder.d.ts.map +0 -1
- package/dist-esm/src/operations/reservationOrder.js.map +0 -1
- package/dist-esm/src/operations/return.d.ts.map +0 -1
- package/dist-esm/src/operations/return.js +0 -109
- package/dist-esm/src/operations/return.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/calculateExchange.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/calculateExchange.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/calculateRefund.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/calculateRefund.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/exchange.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/exchange.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -17
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operation.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/quota.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/quota.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/quotaRequestStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/quotaRequestStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservation.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservation.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationOrder.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationOrder.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/return.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/return.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/reservations_examples.spec.d.ts +0 -4
- package/dist-esm/test/reservations_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/reservations_examples.spec.js +0 -103
- package/dist-esm/test/reservations_examples.spec.js.map +0 -1
- package/src/azureReservationAPI.ts +0 -324
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -2735
- package/src/models/mappers.ts +0 -4025
- package/src/models/parameters.ts +0 -393
- package/src/operations/calculateExchange.ts +0 -152
- package/src/operations/calculateRefund.ts +0 -71
- package/src/operations/exchange.ts +0 -149
- package/src/operations/index.ts +0 -17
- package/src/operations/operation.ts +0 -149
- package/src/operations/quota.ts +0 -590
- package/src/operations/quotaRequestStatus.ts +0 -265
- package/src/operations/reservation.ts +0 -1136
- package/src/operations/reservationOrder.ts +0 -380
- package/src/operations/return.ts +0 -152
- package/src/operationsInterfaces/calculateExchange.ts +0 -43
- package/src/operationsInterfaces/calculateRefund.ts +0 -29
- package/src/operationsInterfaces/exchange.ts +0 -40
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/operation.ts +0 -22
- package/src/operationsInterfaces/quota.ts +0 -157
- package/src/operationsInterfaces/quotaRequestStatus.ts +0 -51
- package/src/operationsInterfaces/reservation.ts +0 -219
- package/src/operationsInterfaces/reservationOrder.ts +0 -93
- package/src/operationsInterfaces/return.ts +0 -42
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/calculateExchange.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/calculateRefund.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/exchange.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operation.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/quota.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/quotaRequestStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservation.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationOrder.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/return.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
-
import {
|
|
12
|
-
CurrentQuotaLimitBase,
|
|
13
|
-
QuotaListOptionalParams,
|
|
14
|
-
QuotaGetOptionalParams,
|
|
15
|
-
QuotaGetResponse,
|
|
16
|
-
QuotaCreateOrUpdateOptionalParams,
|
|
17
|
-
QuotaCreateOrUpdateResponse,
|
|
18
|
-
QuotaUpdateOptionalParams,
|
|
19
|
-
QuotaUpdateResponse
|
|
20
|
-
} from "../models";
|
|
21
|
-
|
|
22
|
-
/// <reference lib="esnext.asynciterable" />
|
|
23
|
-
/** Interface representing a Quota. */
|
|
24
|
-
export interface Quota {
|
|
25
|
-
/**
|
|
26
|
-
* Gets a list of current quotas (service limits) and usage for all resources. The response from the
|
|
27
|
-
* list quota operation can be leveraged to request quota updates.
|
|
28
|
-
* @param subscriptionId Azure subscription ID.
|
|
29
|
-
* @param providerId Azure resource provider ID.
|
|
30
|
-
* @param location Azure region.
|
|
31
|
-
* @param options The options parameters.
|
|
32
|
-
*/
|
|
33
|
-
list(
|
|
34
|
-
subscriptionId: string,
|
|
35
|
-
providerId: string,
|
|
36
|
-
location: string,
|
|
37
|
-
options?: QuotaListOptionalParams
|
|
38
|
-
): PagedAsyncIterableIterator<CurrentQuotaLimitBase>;
|
|
39
|
-
/**
|
|
40
|
-
* Get the current quota (service limit) and usage of a resource. You can use the response from the GET
|
|
41
|
-
* operation to submit quota update request.
|
|
42
|
-
* @param subscriptionId Azure subscription ID.
|
|
43
|
-
* @param providerId Azure resource provider ID.
|
|
44
|
-
* @param location Azure region.
|
|
45
|
-
* @param resourceName The resource name for a resource provider, such as SKU name for
|
|
46
|
-
* Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices
|
|
47
|
-
* @param options The options parameters.
|
|
48
|
-
*/
|
|
49
|
-
get(
|
|
50
|
-
subscriptionId: string,
|
|
51
|
-
providerId: string,
|
|
52
|
-
location: string,
|
|
53
|
-
resourceName: string,
|
|
54
|
-
options?: QuotaGetOptionalParams
|
|
55
|
-
): Promise<QuotaGetResponse>;
|
|
56
|
-
/**
|
|
57
|
-
* Create or update the quota (service limits) of a resource to the requested value.
|
|
58
|
-
* Steps:
|
|
59
|
-
* 1. Make the Get request to get the quota information for specific resource.
|
|
60
|
-
* 2. To increase the quota, update the limit field in the response from Get request to new value.
|
|
61
|
-
* 3. Submit the JSON to the quota request API to update the quota.
|
|
62
|
-
* The Create quota request may be constructed as follows. The PUT operation can be used to update
|
|
63
|
-
* the quota.
|
|
64
|
-
* @param subscriptionId Azure subscription ID.
|
|
65
|
-
* @param providerId Azure resource provider ID.
|
|
66
|
-
* @param location Azure region.
|
|
67
|
-
* @param resourceName The resource name for a resource provider, such as SKU name for
|
|
68
|
-
* Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices
|
|
69
|
-
* @param createQuotaRequest Quota requests payload.
|
|
70
|
-
* @param options The options parameters.
|
|
71
|
-
*/
|
|
72
|
-
beginCreateOrUpdate(
|
|
73
|
-
subscriptionId: string,
|
|
74
|
-
providerId: string,
|
|
75
|
-
location: string,
|
|
76
|
-
resourceName: string,
|
|
77
|
-
createQuotaRequest: CurrentQuotaLimitBase,
|
|
78
|
-
options?: QuotaCreateOrUpdateOptionalParams
|
|
79
|
-
): Promise<
|
|
80
|
-
SimplePollerLike<
|
|
81
|
-
OperationState<QuotaCreateOrUpdateResponse>,
|
|
82
|
-
QuotaCreateOrUpdateResponse
|
|
83
|
-
>
|
|
84
|
-
>;
|
|
85
|
-
/**
|
|
86
|
-
* Create or update the quota (service limits) of a resource to the requested value.
|
|
87
|
-
* Steps:
|
|
88
|
-
* 1. Make the Get request to get the quota information for specific resource.
|
|
89
|
-
* 2. To increase the quota, update the limit field in the response from Get request to new value.
|
|
90
|
-
* 3. Submit the JSON to the quota request API to update the quota.
|
|
91
|
-
* The Create quota request may be constructed as follows. The PUT operation can be used to update
|
|
92
|
-
* the quota.
|
|
93
|
-
* @param subscriptionId Azure subscription ID.
|
|
94
|
-
* @param providerId Azure resource provider ID.
|
|
95
|
-
* @param location Azure region.
|
|
96
|
-
* @param resourceName The resource name for a resource provider, such as SKU name for
|
|
97
|
-
* Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices
|
|
98
|
-
* @param createQuotaRequest Quota requests payload.
|
|
99
|
-
* @param options The options parameters.
|
|
100
|
-
*/
|
|
101
|
-
beginCreateOrUpdateAndWait(
|
|
102
|
-
subscriptionId: string,
|
|
103
|
-
providerId: string,
|
|
104
|
-
location: string,
|
|
105
|
-
resourceName: string,
|
|
106
|
-
createQuotaRequest: CurrentQuotaLimitBase,
|
|
107
|
-
options?: QuotaCreateOrUpdateOptionalParams
|
|
108
|
-
): Promise<QuotaCreateOrUpdateResponse>;
|
|
109
|
-
/**
|
|
110
|
-
* Update the quota (service limits) of this resource to the requested value.
|
|
111
|
-
* • To get the quota information for specific resource, send a GET request.
|
|
112
|
-
* • To increase the quota, update the limit field from the GET response to a new value.
|
|
113
|
-
* • To update the quota value, submit the JSON response to the quota request API to update the
|
|
114
|
-
* quota.
|
|
115
|
-
* • To update the quota. use the PATCH operation.
|
|
116
|
-
* @param subscriptionId Azure subscription ID.
|
|
117
|
-
* @param providerId Azure resource provider ID.
|
|
118
|
-
* @param location Azure region.
|
|
119
|
-
* @param resourceName The resource name for a resource provider, such as SKU name for
|
|
120
|
-
* Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices
|
|
121
|
-
* @param createQuotaRequest Payload for the quota request.
|
|
122
|
-
* @param options The options parameters.
|
|
123
|
-
*/
|
|
124
|
-
beginUpdate(
|
|
125
|
-
subscriptionId: string,
|
|
126
|
-
providerId: string,
|
|
127
|
-
location: string,
|
|
128
|
-
resourceName: string,
|
|
129
|
-
createQuotaRequest: CurrentQuotaLimitBase,
|
|
130
|
-
options?: QuotaUpdateOptionalParams
|
|
131
|
-
): Promise<
|
|
132
|
-
SimplePollerLike<OperationState<QuotaUpdateResponse>, QuotaUpdateResponse>
|
|
133
|
-
>;
|
|
134
|
-
/**
|
|
135
|
-
* Update the quota (service limits) of this resource to the requested value.
|
|
136
|
-
* • To get the quota information for specific resource, send a GET request.
|
|
137
|
-
* • To increase the quota, update the limit field from the GET response to a new value.
|
|
138
|
-
* • To update the quota value, submit the JSON response to the quota request API to update the
|
|
139
|
-
* quota.
|
|
140
|
-
* • To update the quota. use the PATCH operation.
|
|
141
|
-
* @param subscriptionId Azure subscription ID.
|
|
142
|
-
* @param providerId Azure resource provider ID.
|
|
143
|
-
* @param location Azure region.
|
|
144
|
-
* @param resourceName The resource name for a resource provider, such as SKU name for
|
|
145
|
-
* Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices
|
|
146
|
-
* @param createQuotaRequest Payload for the quota request.
|
|
147
|
-
* @param options The options parameters.
|
|
148
|
-
*/
|
|
149
|
-
beginUpdateAndWait(
|
|
150
|
-
subscriptionId: string,
|
|
151
|
-
providerId: string,
|
|
152
|
-
location: string,
|
|
153
|
-
resourceName: string,
|
|
154
|
-
createQuotaRequest: CurrentQuotaLimitBase,
|
|
155
|
-
options?: QuotaUpdateOptionalParams
|
|
156
|
-
): Promise<QuotaUpdateResponse>;
|
|
157
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
11
|
-
QuotaRequestDetails,
|
|
12
|
-
QuotaRequestStatusListOptionalParams,
|
|
13
|
-
QuotaRequestStatusGetOptionalParams,
|
|
14
|
-
QuotaRequestStatusGetResponse
|
|
15
|
-
} from "../models";
|
|
16
|
-
|
|
17
|
-
/// <reference lib="esnext.asynciterable" />
|
|
18
|
-
/** Interface representing a QuotaRequestStatus. */
|
|
19
|
-
export interface QuotaRequestStatus {
|
|
20
|
-
/**
|
|
21
|
-
* For the specified Azure region (location), subscription, and resource provider, get the history of
|
|
22
|
-
* the quota requests for the past year. To select specific quota requests, use the oData filter.
|
|
23
|
-
* @param subscriptionId Azure subscription ID.
|
|
24
|
-
* @param providerId Azure resource provider ID.
|
|
25
|
-
* @param location Azure region.
|
|
26
|
-
* @param options The options parameters.
|
|
27
|
-
*/
|
|
28
|
-
list(
|
|
29
|
-
subscriptionId: string,
|
|
30
|
-
providerId: string,
|
|
31
|
-
location: string,
|
|
32
|
-
options?: QuotaRequestStatusListOptionalParams
|
|
33
|
-
): PagedAsyncIterableIterator<QuotaRequestDetails>;
|
|
34
|
-
/**
|
|
35
|
-
* For the specified Azure region (location), get the details and status of the quota request by the
|
|
36
|
-
* quota request ID for the resources of the resource provider. The PUT request for the quota (service
|
|
37
|
-
* limit) returns a response with the requestId parameter.
|
|
38
|
-
* @param subscriptionId Azure subscription ID.
|
|
39
|
-
* @param providerId Azure resource provider ID.
|
|
40
|
-
* @param location Azure region.
|
|
41
|
-
* @param id Quota Request ID.
|
|
42
|
-
* @param options The options parameters.
|
|
43
|
-
*/
|
|
44
|
-
get(
|
|
45
|
-
subscriptionId: string,
|
|
46
|
-
providerId: string,
|
|
47
|
-
location: string,
|
|
48
|
-
id: string,
|
|
49
|
-
options?: QuotaRequestStatusGetOptionalParams
|
|
50
|
-
): Promise<QuotaRequestStatusGetResponse>;
|
|
51
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
-
import {
|
|
12
|
-
ReservationResponse,
|
|
13
|
-
ReservationListOptionalParams,
|
|
14
|
-
ReservationListRevisionsOptionalParams,
|
|
15
|
-
ReservationListAllOptionalParams,
|
|
16
|
-
AvailableScopeRequest,
|
|
17
|
-
ReservationAvailableScopesOptionalParams,
|
|
18
|
-
ReservationAvailableScopesResponse,
|
|
19
|
-
SplitRequest,
|
|
20
|
-
ReservationSplitOptionalParams,
|
|
21
|
-
ReservationSplitResponse,
|
|
22
|
-
MergeRequest,
|
|
23
|
-
ReservationMergeOptionalParams,
|
|
24
|
-
ReservationMergeResponse,
|
|
25
|
-
ReservationGetOptionalParams,
|
|
26
|
-
ReservationGetResponse,
|
|
27
|
-
Patch,
|
|
28
|
-
ReservationUpdateOptionalParams,
|
|
29
|
-
ReservationUpdateResponse,
|
|
30
|
-
ReservationArchiveOptionalParams,
|
|
31
|
-
ReservationUnarchiveOptionalParams
|
|
32
|
-
} from "../models";
|
|
33
|
-
|
|
34
|
-
/// <reference lib="esnext.asynciterable" />
|
|
35
|
-
/** Interface representing a Reservation. */
|
|
36
|
-
export interface Reservation {
|
|
37
|
-
/**
|
|
38
|
-
* List `Reservation`s within a single `ReservationOrder`.
|
|
39
|
-
* @param reservationOrderId Order Id of the reservation
|
|
40
|
-
* @param options The options parameters.
|
|
41
|
-
*/
|
|
42
|
-
list(
|
|
43
|
-
reservationOrderId: string,
|
|
44
|
-
options?: ReservationListOptionalParams
|
|
45
|
-
): PagedAsyncIterableIterator<ReservationResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* List of all the revisions for the `Reservation`.
|
|
48
|
-
* @param reservationOrderId Order Id of the reservation
|
|
49
|
-
* @param reservationId Id of the reservation item
|
|
50
|
-
* @param options The options parameters.
|
|
51
|
-
*/
|
|
52
|
-
listRevisions(
|
|
53
|
-
reservationOrderId: string,
|
|
54
|
-
reservationId: string,
|
|
55
|
-
options?: ReservationListRevisionsOptionalParams
|
|
56
|
-
): PagedAsyncIterableIterator<ReservationResponse>;
|
|
57
|
-
/**
|
|
58
|
-
* List the reservations and the roll up counts of reservations group by provisioning states that the
|
|
59
|
-
* user has access to in the current tenant.
|
|
60
|
-
* @param options The options parameters.
|
|
61
|
-
*/
|
|
62
|
-
listAll(
|
|
63
|
-
options?: ReservationListAllOptionalParams
|
|
64
|
-
): PagedAsyncIterableIterator<ReservationResponse>;
|
|
65
|
-
/**
|
|
66
|
-
* Check whether the scopes from request is valid for `Reservation`.
|
|
67
|
-
*
|
|
68
|
-
* @param reservationOrderId Order Id of the reservation
|
|
69
|
-
* @param reservationId Id of the reservation item
|
|
70
|
-
* @param body Scopes to be checked for eligibility.
|
|
71
|
-
* @param options The options parameters.
|
|
72
|
-
*/
|
|
73
|
-
beginAvailableScopes(
|
|
74
|
-
reservationOrderId: string,
|
|
75
|
-
reservationId: string,
|
|
76
|
-
body: AvailableScopeRequest,
|
|
77
|
-
options?: ReservationAvailableScopesOptionalParams
|
|
78
|
-
): Promise<
|
|
79
|
-
SimplePollerLike<
|
|
80
|
-
OperationState<ReservationAvailableScopesResponse>,
|
|
81
|
-
ReservationAvailableScopesResponse
|
|
82
|
-
>
|
|
83
|
-
>;
|
|
84
|
-
/**
|
|
85
|
-
* Check whether the scopes from request is valid for `Reservation`.
|
|
86
|
-
*
|
|
87
|
-
* @param reservationOrderId Order Id of the reservation
|
|
88
|
-
* @param reservationId Id of the reservation item
|
|
89
|
-
* @param body Scopes to be checked for eligibility.
|
|
90
|
-
* @param options The options parameters.
|
|
91
|
-
*/
|
|
92
|
-
beginAvailableScopesAndWait(
|
|
93
|
-
reservationOrderId: string,
|
|
94
|
-
reservationId: string,
|
|
95
|
-
body: AvailableScopeRequest,
|
|
96
|
-
options?: ReservationAvailableScopesOptionalParams
|
|
97
|
-
): Promise<ReservationAvailableScopesResponse>;
|
|
98
|
-
/**
|
|
99
|
-
* Split a `Reservation` into two `Reservation`s with specified quantity distribution.
|
|
100
|
-
* @param reservationOrderId Order Id of the reservation
|
|
101
|
-
* @param body Information needed to Split a reservation item
|
|
102
|
-
* @param options The options parameters.
|
|
103
|
-
*/
|
|
104
|
-
beginSplit(
|
|
105
|
-
reservationOrderId: string,
|
|
106
|
-
body: SplitRequest,
|
|
107
|
-
options?: ReservationSplitOptionalParams
|
|
108
|
-
): Promise<
|
|
109
|
-
SimplePollerLike<
|
|
110
|
-
OperationState<ReservationSplitResponse>,
|
|
111
|
-
ReservationSplitResponse
|
|
112
|
-
>
|
|
113
|
-
>;
|
|
114
|
-
/**
|
|
115
|
-
* Split a `Reservation` into two `Reservation`s with specified quantity distribution.
|
|
116
|
-
* @param reservationOrderId Order Id of the reservation
|
|
117
|
-
* @param body Information needed to Split a reservation item
|
|
118
|
-
* @param options The options parameters.
|
|
119
|
-
*/
|
|
120
|
-
beginSplitAndWait(
|
|
121
|
-
reservationOrderId: string,
|
|
122
|
-
body: SplitRequest,
|
|
123
|
-
options?: ReservationSplitOptionalParams
|
|
124
|
-
): Promise<ReservationSplitResponse>;
|
|
125
|
-
/**
|
|
126
|
-
* Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged
|
|
127
|
-
* must have same properties.
|
|
128
|
-
* @param reservationOrderId Order Id of the reservation
|
|
129
|
-
* @param body Information needed for commercial request for a reservation
|
|
130
|
-
* @param options The options parameters.
|
|
131
|
-
*/
|
|
132
|
-
beginMerge(
|
|
133
|
-
reservationOrderId: string,
|
|
134
|
-
body: MergeRequest,
|
|
135
|
-
options?: ReservationMergeOptionalParams
|
|
136
|
-
): Promise<
|
|
137
|
-
SimplePollerLike<
|
|
138
|
-
OperationState<ReservationMergeResponse>,
|
|
139
|
-
ReservationMergeResponse
|
|
140
|
-
>
|
|
141
|
-
>;
|
|
142
|
-
/**
|
|
143
|
-
* Merge the specified `Reservation`s into a new `Reservation`. The two `Reservation`s being merged
|
|
144
|
-
* must have same properties.
|
|
145
|
-
* @param reservationOrderId Order Id of the reservation
|
|
146
|
-
* @param body Information needed for commercial request for a reservation
|
|
147
|
-
* @param options The options parameters.
|
|
148
|
-
*/
|
|
149
|
-
beginMergeAndWait(
|
|
150
|
-
reservationOrderId: string,
|
|
151
|
-
body: MergeRequest,
|
|
152
|
-
options?: ReservationMergeOptionalParams
|
|
153
|
-
): Promise<ReservationMergeResponse>;
|
|
154
|
-
/**
|
|
155
|
-
* Get specific `Reservation` details.
|
|
156
|
-
* @param reservationOrderId Order Id of the reservation
|
|
157
|
-
* @param reservationId Id of the reservation item
|
|
158
|
-
* @param options The options parameters.
|
|
159
|
-
*/
|
|
160
|
-
get(
|
|
161
|
-
reservationOrderId: string,
|
|
162
|
-
reservationId: string,
|
|
163
|
-
options?: ReservationGetOptionalParams
|
|
164
|
-
): Promise<ReservationGetResponse>;
|
|
165
|
-
/**
|
|
166
|
-
* Updates the applied scopes of the `Reservation`.
|
|
167
|
-
* @param reservationOrderId Order Id of the reservation
|
|
168
|
-
* @param reservationId Id of the reservation item
|
|
169
|
-
* @param parameters Information needed to patch a reservation item
|
|
170
|
-
* @param options The options parameters.
|
|
171
|
-
*/
|
|
172
|
-
beginUpdate(
|
|
173
|
-
reservationOrderId: string,
|
|
174
|
-
reservationId: string,
|
|
175
|
-
parameters: Patch,
|
|
176
|
-
options?: ReservationUpdateOptionalParams
|
|
177
|
-
): Promise<
|
|
178
|
-
SimplePollerLike<
|
|
179
|
-
OperationState<ReservationUpdateResponse>,
|
|
180
|
-
ReservationUpdateResponse
|
|
181
|
-
>
|
|
182
|
-
>;
|
|
183
|
-
/**
|
|
184
|
-
* Updates the applied scopes of the `Reservation`.
|
|
185
|
-
* @param reservationOrderId Order Id of the reservation
|
|
186
|
-
* @param reservationId Id of the reservation item
|
|
187
|
-
* @param parameters Information needed to patch a reservation item
|
|
188
|
-
* @param options The options parameters.
|
|
189
|
-
*/
|
|
190
|
-
beginUpdateAndWait(
|
|
191
|
-
reservationOrderId: string,
|
|
192
|
-
reservationId: string,
|
|
193
|
-
parameters: Patch,
|
|
194
|
-
options?: ReservationUpdateOptionalParams
|
|
195
|
-
): Promise<ReservationUpdateResponse>;
|
|
196
|
-
/**
|
|
197
|
-
* Archiving a `Reservation` moves it to `Archived` state.
|
|
198
|
-
* @param reservationOrderId Order Id of the reservation
|
|
199
|
-
* @param reservationId Id of the reservation item
|
|
200
|
-
* @param options The options parameters.
|
|
201
|
-
*/
|
|
202
|
-
archive(
|
|
203
|
-
reservationOrderId: string,
|
|
204
|
-
reservationId: string,
|
|
205
|
-
options?: ReservationArchiveOptionalParams
|
|
206
|
-
): Promise<void>;
|
|
207
|
-
/**
|
|
208
|
-
* Restores a `Reservation` to the state it was before archiving.
|
|
209
|
-
*
|
|
210
|
-
* @param reservationOrderId Order Id of the reservation
|
|
211
|
-
* @param reservationId Id of the reservation item
|
|
212
|
-
* @param options The options parameters.
|
|
213
|
-
*/
|
|
214
|
-
unarchive(
|
|
215
|
-
reservationOrderId: string,
|
|
216
|
-
reservationId: string,
|
|
217
|
-
options?: ReservationUnarchiveOptionalParams
|
|
218
|
-
): Promise<void>;
|
|
219
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
-
import {
|
|
12
|
-
ReservationOrderResponse,
|
|
13
|
-
ReservationOrderListOptionalParams,
|
|
14
|
-
PurchaseRequest,
|
|
15
|
-
ReservationOrderCalculateOptionalParams,
|
|
16
|
-
ReservationOrderCalculateResponse,
|
|
17
|
-
ReservationOrderPurchaseOptionalParams,
|
|
18
|
-
ReservationOrderPurchaseResponse,
|
|
19
|
-
ReservationOrderGetOptionalParams,
|
|
20
|
-
ReservationOrderGetResponse,
|
|
21
|
-
ChangeDirectoryRequest,
|
|
22
|
-
ReservationOrderChangeDirectoryOptionalParams,
|
|
23
|
-
ReservationOrderChangeDirectoryResponse
|
|
24
|
-
} from "../models";
|
|
25
|
-
|
|
26
|
-
/// <reference lib="esnext.asynciterable" />
|
|
27
|
-
/** Interface representing a ReservationOrder. */
|
|
28
|
-
export interface ReservationOrder {
|
|
29
|
-
/**
|
|
30
|
-
* List of all the `ReservationOrder`s that the user has access to in the current tenant.
|
|
31
|
-
* @param options The options parameters.
|
|
32
|
-
*/
|
|
33
|
-
list(
|
|
34
|
-
options?: ReservationOrderListOptionalParams
|
|
35
|
-
): PagedAsyncIterableIterator<ReservationOrderResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* Calculate price for placing a `ReservationOrder`.
|
|
38
|
-
* @param body Information needed for calculate or purchase reservation
|
|
39
|
-
* @param options The options parameters.
|
|
40
|
-
*/
|
|
41
|
-
calculate(
|
|
42
|
-
body: PurchaseRequest,
|
|
43
|
-
options?: ReservationOrderCalculateOptionalParams
|
|
44
|
-
): Promise<ReservationOrderCalculateResponse>;
|
|
45
|
-
/**
|
|
46
|
-
* Purchase `ReservationOrder` and create resource under the specified URI.
|
|
47
|
-
* @param reservationOrderId Order Id of the reservation
|
|
48
|
-
* @param body Information needed for calculate or purchase reservation
|
|
49
|
-
* @param options The options parameters.
|
|
50
|
-
*/
|
|
51
|
-
beginPurchase(
|
|
52
|
-
reservationOrderId: string,
|
|
53
|
-
body: PurchaseRequest,
|
|
54
|
-
options?: ReservationOrderPurchaseOptionalParams
|
|
55
|
-
): Promise<
|
|
56
|
-
SimplePollerLike<
|
|
57
|
-
OperationState<ReservationOrderPurchaseResponse>,
|
|
58
|
-
ReservationOrderPurchaseResponse
|
|
59
|
-
>
|
|
60
|
-
>;
|
|
61
|
-
/**
|
|
62
|
-
* Purchase `ReservationOrder` and create resource under the specified URI.
|
|
63
|
-
* @param reservationOrderId Order Id of the reservation
|
|
64
|
-
* @param body Information needed for calculate or purchase reservation
|
|
65
|
-
* @param options The options parameters.
|
|
66
|
-
*/
|
|
67
|
-
beginPurchaseAndWait(
|
|
68
|
-
reservationOrderId: string,
|
|
69
|
-
body: PurchaseRequest,
|
|
70
|
-
options?: ReservationOrderPurchaseOptionalParams
|
|
71
|
-
): Promise<ReservationOrderPurchaseResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* Get the details of the `ReservationOrder`.
|
|
74
|
-
* @param reservationOrderId Order Id of the reservation
|
|
75
|
-
* @param options The options parameters.
|
|
76
|
-
*/
|
|
77
|
-
get(
|
|
78
|
-
reservationOrderId: string,
|
|
79
|
-
options?: ReservationOrderGetOptionalParams
|
|
80
|
-
): Promise<ReservationOrderGetResponse>;
|
|
81
|
-
/**
|
|
82
|
-
* Change directory (tenant) of `ReservationOrder` and all `Reservation` under it to specified tenant
|
|
83
|
-
* id
|
|
84
|
-
* @param reservationOrderId Order Id of the reservation
|
|
85
|
-
* @param body Information needed to change directory of reservation order
|
|
86
|
-
* @param options The options parameters.
|
|
87
|
-
*/
|
|
88
|
-
changeDirectory(
|
|
89
|
-
reservationOrderId: string,
|
|
90
|
-
body: ChangeDirectoryRequest,
|
|
91
|
-
options?: ReservationOrderChangeDirectoryOptionalParams
|
|
92
|
-
): Promise<ReservationOrderChangeDirectoryResponse>;
|
|
93
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
|
-
import {
|
|
11
|
-
RefundRequest,
|
|
12
|
-
ReturnPostOptionalParams,
|
|
13
|
-
ReturnPostResponse
|
|
14
|
-
} from "../models";
|
|
15
|
-
|
|
16
|
-
/** Interface representing a Return. */
|
|
17
|
-
export interface Return {
|
|
18
|
-
/**
|
|
19
|
-
* Return a reservation and get refund information.
|
|
20
|
-
* @param reservationOrderId Order Id of the reservation
|
|
21
|
-
* @param body Information needed for returning reservation.
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
beginPost(
|
|
25
|
-
reservationOrderId: string,
|
|
26
|
-
body: RefundRequest,
|
|
27
|
-
options?: ReturnPostOptionalParams
|
|
28
|
-
): Promise<
|
|
29
|
-
SimplePollerLike<OperationState<ReturnPostResponse>, ReturnPostResponse>
|
|
30
|
-
>;
|
|
31
|
-
/**
|
|
32
|
-
* Return a reservation and get refund information.
|
|
33
|
-
* @param reservationOrderId Order Id of the reservation
|
|
34
|
-
* @param body Information needed for returning reservation.
|
|
35
|
-
* @param options The options parameters.
|
|
36
|
-
*/
|
|
37
|
-
beginPostAndWait(
|
|
38
|
-
reservationOrderId: string,
|
|
39
|
-
body: RefundRequest,
|
|
40
|
-
options?: ReturnPostOptionalParams
|
|
41
|
-
): Promise<ReturnPostResponse>;
|
|
42
|
-
}
|
package/src/pagingHelper.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export interface PageInfo {
|
|
10
|
-
continuationToken?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
17
|
-
* returns a continuation token that can be used to begin paging from
|
|
18
|
-
* that point later.
|
|
19
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
20
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
21
|
-
*/
|
|
22
|
-
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
-
if (typeof page !== "object" || page === null) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
return pageMap.get(page)?.continuationToken;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function setContinuationToken(
|
|
30
|
-
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
32
|
-
): void {
|
|
33
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
-
pageInfo.continuationToken = continuationToken;
|
|
38
|
-
pageMap.set(page, pageInfo);
|
|
39
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "es6",
|
|
4
|
-
"moduleResolution": "node",
|
|
5
|
-
"strict": true,
|
|
6
|
-
"target": "es6",
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"allowSyntheticDefaultImports": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": [
|
|
13
|
-
"es6",
|
|
14
|
-
"dom"
|
|
15
|
-
],
|
|
16
|
-
"declaration": true,
|
|
17
|
-
"outDir": "./dist-esm",
|
|
18
|
-
"importHelpers": true,
|
|
19
|
-
"paths": {
|
|
20
|
-
"@azure/arm-reservations": [
|
|
21
|
-
"./src/index"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": [
|
|
26
|
-
"./src/**/*.ts",
|
|
27
|
-
"./test/**/*.ts",
|
|
28
|
-
"samples-dev/**/*.ts"
|
|
29
|
-
],
|
|
30
|
-
"exclude": [
|
|
31
|
-
"node_modules"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|