@azure/arm-reservations 9.0.1-alpha.20231010.1 → 9.0.1-alpha.20231024.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.
Files changed (36) hide show
  1. package/dist/index.js +121 -164
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist-esm/samples-dev/getCatalogSample.js +3 -8
  6. package/dist-esm/samples-dev/getCatalogSample.js.map +1 -1
  7. package/dist-esm/samples-dev/operationListSample.js +3 -8
  8. package/dist-esm/samples-dev/operationListSample.js.map +1 -1
  9. package/dist-esm/samples-dev/quotaListSample.js +6 -16
  10. package/dist-esm/samples-dev/quotaListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/quotaRequestStatusListSample.js +3 -8
  12. package/dist-esm/samples-dev/quotaRequestStatusListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/reservationListAllSample.js +3 -8
  14. package/dist-esm/samples-dev/reservationListAllSample.js.map +1 -1
  15. package/dist-esm/samples-dev/reservationListRevisionsSample.js +3 -8
  16. package/dist-esm/samples-dev/reservationListRevisionsSample.js.map +1 -1
  17. package/dist-esm/samples-dev/reservationListSample.js +3 -8
  18. package/dist-esm/samples-dev/reservationListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/reservationOrderListSample.js +3 -8
  20. package/dist-esm/samples-dev/reservationOrderListSample.js.map +1 -1
  21. package/dist-esm/src/azureReservationAPI.js +3 -8
  22. package/dist-esm/src/azureReservationAPI.js.map +1 -1
  23. package/dist-esm/src/operations/operation.js +3 -8
  24. package/dist-esm/src/operations/operation.js.map +1 -1
  25. package/dist-esm/src/operations/quota.js +3 -8
  26. package/dist-esm/src/operations/quota.js.map +1 -1
  27. package/dist-esm/src/operations/quotaRequestStatus.js +3 -8
  28. package/dist-esm/src/operations/quotaRequestStatus.js.map +1 -1
  29. package/dist-esm/src/operations/reservation.js +9 -24
  30. package/dist-esm/src/operations/reservation.js.map +1 -1
  31. package/dist-esm/src/operations/reservationOrder.js +3 -8
  32. package/dist-esm/src/operations/reservationOrder.js.map +1 -1
  33. package/dist-esm/test/reservations_examples.spec.js +3 -8
  34. package/dist-esm/test/reservations_examples.spec.js.map +1 -1
  35. package/package.json +3 -10
  36. package/rollup.config.js +0 -122
package/dist/index.js CHANGED
@@ -1,14 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var tslib = require('tslib');
6
4
  var coreClient = require('@azure/core-client');
7
5
  var coreRestPipeline = require('@azure/core-rest-pipeline');
8
6
  var coreLro = require('@azure/core-lro');
9
7
 
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
8
+ function _interopNamespaceDefault(e) {
12
9
  var n = Object.create(null);
13
10
  if (e) {
14
11
  Object.keys(e).forEach(function (k) {
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
21
18
  }
22
19
  });
23
20
  }
24
- n["default"] = e;
21
+ n.default = e;
25
22
  return Object.freeze(n);
26
23
  }
27
24
 
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
25
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
26
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
27
 
31
28
  /*
32
29
  * Copyright (c) Microsoft Corporation.
@@ -4444,122 +4441,122 @@ const QuotaListNextHeaders = {
4444
4441
 
4445
4442
  var Mappers = /*#__PURE__*/Object.freeze({
4446
4443
  __proto__: null,
4447
- AvailableScopeRequest: AvailableScopeRequest,
4448
- AvailableScopeRequestProperties: AvailableScopeRequestProperties,
4449
- AvailableScopeProperties: AvailableScopeProperties,
4450
- SubscriptionScopeProperties: SubscriptionScopeProperties,
4451
- ScopeProperties: ScopeProperties,
4452
- ErrorModel: ErrorModel,
4453
- ExtendedErrorInfo: ExtendedErrorInfo,
4454
- CatalogsResult: CatalogsResult,
4455
- Catalog: Catalog,
4456
- SkuProperty: SkuProperty,
4457
- CatalogMsrp: CatalogMsrp,
4458
- Price: Price,
4459
- SkuRestriction: SkuRestriction,
4460
- SkuCapability: SkuCapability,
4461
- AppliedReservations: AppliedReservations,
4462
4444
  AppliedReservationList: AppliedReservationList,
4463
- PurchaseRequest: PurchaseRequest,
4464
- SkuName: SkuName,
4445
+ AppliedReservations: AppliedReservations,
4465
4446
  AppliedScopeProperties: AppliedScopeProperties,
4466
- PurchaseRequestPropertiesReservedResourceProperties: PurchaseRequestPropertiesReservedResourceProperties,
4447
+ AvailableScopeProperties: AvailableScopeProperties,
4448
+ AvailableScopeRequest: AvailableScopeRequest,
4449
+ AvailableScopeRequestProperties: AvailableScopeRequestProperties,
4450
+ BillingInformation: BillingInformation,
4451
+ CalculateExchangeOperationResultResponse: CalculateExchangeOperationResultResponse,
4452
+ CalculateExchangePostHeaders: CalculateExchangePostHeaders,
4453
+ CalculateExchangeRequest: CalculateExchangeRequest,
4454
+ CalculateExchangeRequestProperties: CalculateExchangeRequestProperties,
4455
+ CalculateExchangeResponseProperties: CalculateExchangeResponseProperties,
4467
4456
  CalculatePriceResponse: CalculatePriceResponse,
4468
4457
  CalculatePriceResponseProperties: CalculatePriceResponseProperties,
4469
4458
  CalculatePriceResponsePropertiesBillingCurrencyTotal: CalculatePriceResponsePropertiesBillingCurrencyTotal,
4470
4459
  CalculatePriceResponsePropertiesPricingCurrencyTotal: CalculatePriceResponsePropertiesPricingCurrencyTotal,
4471
- PaymentDetail: PaymentDetail,
4472
- ExtendedStatusInfo: ExtendedStatusInfo,
4473
- ReservationOrderList: ReservationOrderList,
4474
- ReservationOrderResponse: ReservationOrderResponse,
4475
- ReservationOrderBillingPlanInformation: ReservationOrderBillingPlanInformation,
4476
- ReservationsProperties: ReservationsProperties,
4477
- ReservationSplitProperties: ReservationSplitProperties,
4478
- ReservationMergeProperties: ReservationMergeProperties,
4479
- ReservationSwapProperties: ReservationSwapProperties,
4480
- RenewPropertiesResponse: RenewPropertiesResponse,
4481
- RenewPropertiesResponsePricingCurrencyTotal: RenewPropertiesResponsePricingCurrencyTotal,
4482
- RenewPropertiesResponseBillingCurrencyTotal: RenewPropertiesResponseBillingCurrencyTotal,
4483
- ReservationsPropertiesUtilization: ReservationsPropertiesUtilization,
4484
- ReservationUtilizationAggregates: ReservationUtilizationAggregates,
4485
- Resource: Resource,
4486
- SystemData: SystemData,
4487
- SplitRequest: SplitRequest,
4488
- MergeRequest: MergeRequest,
4489
- ReservationList: ReservationList,
4490
- Patch: Patch,
4491
- PatchPropertiesRenewProperties: PatchPropertiesRenewProperties,
4492
- OperationList: OperationList,
4493
- OperationResponse: OperationResponse,
4494
- OperationDisplay: OperationDisplay,
4495
4460
  CalculateRefundRequest: CalculateRefundRequest,
4496
4461
  CalculateRefundRequestProperties: CalculateRefundRequestProperties,
4497
- ReservationToReturn: ReservationToReturn,
4498
4462
  CalculateRefundResponse: CalculateRefundResponse,
4499
- RefundResponseProperties: RefundResponseProperties,
4500
- RefundPolicyResult: RefundPolicyResult,
4501
- RefundPolicyResultProperty: RefundPolicyResultProperty,
4502
- RefundPolicyError: RefundPolicyError,
4503
- RefundBillingInformation: RefundBillingInformation,
4504
- RefundRequest: RefundRequest,
4505
- RefundRequestProperties: RefundRequestProperties,
4506
- RefundResponse: RefundResponse,
4507
- CalculateExchangeRequest: CalculateExchangeRequest,
4508
- CalculateExchangeRequestProperties: CalculateExchangeRequestProperties,
4509
- SavingsPlanPurchaseRequest: SavingsPlanPurchaseRequest,
4510
- CalculateExchangeOperationResultResponse: CalculateExchangeOperationResultResponse,
4511
- CalculateExchangeResponseProperties: CalculateExchangeResponseProperties,
4512
- ReservationToPurchaseCalculateExchange: ReservationToPurchaseCalculateExchange,
4513
- SavingsPlanToPurchaseCalculateExchange: SavingsPlanToPurchaseCalculateExchange,
4514
- ReservationToExchange: ReservationToExchange,
4515
- BillingInformation: BillingInformation,
4516
- ExchangePolicyErrors: ExchangePolicyErrors,
4517
- ExchangePolicyError: ExchangePolicyError,
4518
- OperationResultError: OperationResultError,
4519
- ExchangeRequest: ExchangeRequest,
4520
- ExchangeRequestProperties: ExchangeRequestProperties,
4521
- ExchangeOperationResultResponse: ExchangeOperationResultResponse,
4522
- ExchangeResponseProperties: ExchangeResponseProperties,
4523
- ReservationToPurchaseExchange: ReservationToPurchaseExchange,
4524
- SavingsPlanToPurchaseExchange: SavingsPlanToPurchaseExchange,
4525
- ReservationToReturnForExchange: ReservationToReturnForExchange,
4526
- ReservationsListResult: ReservationsListResult,
4527
- ReservationSummary: ReservationSummary,
4528
- ErrorResponse: ErrorResponse,
4529
- ErrorDetails: ErrorDetails,
4463
+ Catalog: Catalog,
4464
+ CatalogMsrp: CatalogMsrp,
4465
+ CatalogsResult: CatalogsResult,
4530
4466
  ChangeDirectoryRequest: ChangeDirectoryRequest,
4531
4467
  ChangeDirectoryResponse: ChangeDirectoryResponse,
4532
4468
  ChangeDirectoryResult: ChangeDirectoryResult,
4469
+ Commitment: Commitment,
4470
+ CreateGenericQuotaRequestParameters: CreateGenericQuotaRequestParameters,
4471
+ CurrentQuotaLimit: CurrentQuotaLimit,
4533
4472
  CurrentQuotaLimitBase: CurrentQuotaLimitBase,
4534
- QuotaProperties: QuotaProperties,
4535
- ResourceName: ResourceName,
4473
+ ErrorDetails: ErrorDetails,
4474
+ ErrorModel: ErrorModel,
4475
+ ErrorResponse: ErrorResponse,
4536
4476
  ExceptionResponse: ExceptionResponse,
4537
- ServiceError: ServiceError,
4538
- ServiceErrorDetail: ServiceErrorDetail,
4539
- QuotaRequestSubmitResponse201: QuotaRequestSubmitResponse201,
4477
+ ExchangeOperationResultResponse: ExchangeOperationResultResponse,
4478
+ ExchangePolicyError: ExchangePolicyError,
4479
+ ExchangePolicyErrors: ExchangePolicyErrors,
4480
+ ExchangePostHeaders: ExchangePostHeaders,
4481
+ ExchangeRequest: ExchangeRequest,
4482
+ ExchangeRequestProperties: ExchangeRequestProperties,
4483
+ ExchangeResponseProperties: ExchangeResponseProperties,
4484
+ ExtendedErrorInfo: ExtendedErrorInfo,
4485
+ ExtendedStatusInfo: ExtendedStatusInfo,
4486
+ MergeRequest: MergeRequest,
4487
+ OperationDisplay: OperationDisplay,
4488
+ OperationList: OperationList,
4489
+ OperationResponse: OperationResponse,
4490
+ OperationResultError: OperationResultError,
4491
+ Patch: Patch,
4492
+ PatchPropertiesRenewProperties: PatchPropertiesRenewProperties,
4493
+ PaymentDetail: PaymentDetail,
4494
+ Price: Price,
4495
+ ProxyResource: ProxyResource,
4496
+ PurchaseRequest: PurchaseRequest,
4497
+ PurchaseRequestPropertiesReservedResourceProperties: PurchaseRequestPropertiesReservedResourceProperties,
4498
+ QuotaGetHeaders: QuotaGetHeaders,
4540
4499
  QuotaLimits: QuotaLimits,
4500
+ QuotaLimitsResponse: QuotaLimitsResponse,
4501
+ QuotaListHeaders: QuotaListHeaders,
4502
+ QuotaListNextHeaders: QuotaListNextHeaders,
4503
+ QuotaProperties: QuotaProperties,
4541
4504
  QuotaRequestDetails: QuotaRequestDetails,
4542
- QuotaRequestProperties: QuotaRequestProperties,
4543
- SubRequest: SubRequest,
4544
4505
  QuotaRequestDetailsList: QuotaRequestDetailsList,
4545
- CurrentQuotaLimit: CurrentQuotaLimit,
4546
- QuotaLimitsResponse: QuotaLimitsResponse,
4547
- CreateGenericQuotaRequestParameters: CreateGenericQuotaRequestParameters,
4548
4506
  QuotaRequestOneResourceSubmitResponse: QuotaRequestOneResourceSubmitResponse,
4507
+ QuotaRequestProperties: QuotaRequestProperties,
4549
4508
  QuotaRequestSubmitResponse: QuotaRequestSubmitResponse,
4550
- Commitment: Commitment,
4551
- ProxyResource: ProxyResource,
4509
+ QuotaRequestSubmitResponse201: QuotaRequestSubmitResponse201,
4510
+ RefundBillingInformation: RefundBillingInformation,
4511
+ RefundPolicyError: RefundPolicyError,
4512
+ RefundPolicyResult: RefundPolicyResult,
4513
+ RefundPolicyResultProperty: RefundPolicyResultProperty,
4514
+ RefundRequest: RefundRequest,
4515
+ RefundRequestProperties: RefundRequestProperties,
4516
+ RefundResponse: RefundResponse,
4517
+ RefundResponseProperties: RefundResponseProperties,
4518
+ RenewPropertiesResponse: RenewPropertiesResponse,
4519
+ RenewPropertiesResponseBillingCurrencyTotal: RenewPropertiesResponseBillingCurrencyTotal,
4520
+ RenewPropertiesResponsePricingCurrencyTotal: RenewPropertiesResponsePricingCurrencyTotal,
4521
+ ReservationList: ReservationList,
4522
+ ReservationMergeHeaders: ReservationMergeHeaders,
4523
+ ReservationMergeProperties: ReservationMergeProperties,
4524
+ ReservationOrderBillingPlanInformation: ReservationOrderBillingPlanInformation,
4525
+ ReservationOrderList: ReservationOrderList,
4526
+ ReservationOrderPurchaseHeaders: ReservationOrderPurchaseHeaders,
4527
+ ReservationOrderResponse: ReservationOrderResponse,
4552
4528
  ReservationResponse: ReservationResponse,
4553
4529
  ReservationSplitHeaders: ReservationSplitHeaders,
4554
- ReservationMergeHeaders: ReservationMergeHeaders,
4530
+ ReservationSplitProperties: ReservationSplitProperties,
4531
+ ReservationSummary: ReservationSummary,
4532
+ ReservationSwapProperties: ReservationSwapProperties,
4533
+ ReservationToExchange: ReservationToExchange,
4534
+ ReservationToPurchaseCalculateExchange: ReservationToPurchaseCalculateExchange,
4535
+ ReservationToPurchaseExchange: ReservationToPurchaseExchange,
4536
+ ReservationToReturn: ReservationToReturn,
4537
+ ReservationToReturnForExchange: ReservationToReturnForExchange,
4555
4538
  ReservationUpdateHeaders: ReservationUpdateHeaders,
4556
- ReservationOrderPurchaseHeaders: ReservationOrderPurchaseHeaders,
4539
+ ReservationUtilizationAggregates: ReservationUtilizationAggregates,
4540
+ ReservationsListResult: ReservationsListResult,
4541
+ ReservationsProperties: ReservationsProperties,
4542
+ ReservationsPropertiesUtilization: ReservationsPropertiesUtilization,
4543
+ Resource: Resource,
4544
+ ResourceName: ResourceName,
4557
4545
  ReturnPostHeaders: ReturnPostHeaders,
4558
- CalculateExchangePostHeaders: CalculateExchangePostHeaders,
4559
- ExchangePostHeaders: ExchangePostHeaders,
4560
- QuotaGetHeaders: QuotaGetHeaders,
4561
- QuotaListHeaders: QuotaListHeaders,
4562
- QuotaListNextHeaders: QuotaListNextHeaders
4546
+ SavingsPlanPurchaseRequest: SavingsPlanPurchaseRequest,
4547
+ SavingsPlanToPurchaseCalculateExchange: SavingsPlanToPurchaseCalculateExchange,
4548
+ SavingsPlanToPurchaseExchange: SavingsPlanToPurchaseExchange,
4549
+ ScopeProperties: ScopeProperties,
4550
+ ServiceError: ServiceError,
4551
+ ServiceErrorDetail: ServiceErrorDetail,
4552
+ SkuCapability: SkuCapability,
4553
+ SkuName: SkuName,
4554
+ SkuProperty: SkuProperty,
4555
+ SkuRestriction: SkuRestriction,
4556
+ SplitRequest: SplitRequest,
4557
+ SubRequest: SubRequest,
4558
+ SubscriptionScopeProperties: SubscriptionScopeProperties,
4559
+ SystemData: SystemData
4563
4560
  });
4564
4561
 
4565
4562
  /*
@@ -4980,16 +4977,11 @@ class ReservationImpl {
4980
4977
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4981
4978
  var _a, e_1, _b, _c;
4982
4979
  try {
4983
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(reservationOrderId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4980
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(reservationOrderId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4984
4981
  _c = _f.value;
4985
4982
  _d = false;
4986
- try {
4987
- const page = _c;
4988
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4989
- }
4990
- finally {
4991
- _d = true;
4992
- }
4983
+ const page = _c;
4984
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4993
4985
  }
4994
4986
  }
4995
4987
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5048,16 +5040,11 @@ class ReservationImpl {
5048
5040
  return tslib.__asyncGenerator(this, arguments, function* listRevisionsPagingAll_1() {
5049
5041
  var _a, e_2, _b, _c;
5050
5042
  try {
5051
- for (var _d = true, _e = tslib.__asyncValues(this.listRevisionsPagingPage(reservationOrderId, reservationId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5043
+ for (var _d = true, _e = tslib.__asyncValues(this.listRevisionsPagingPage(reservationOrderId, reservationId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5052
5044
  _c = _f.value;
5053
5045
  _d = false;
5054
- try {
5055
- const page = _c;
5056
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5057
- }
5058
- finally {
5059
- _d = true;
5060
- }
5046
+ const page = _c;
5047
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5061
5048
  }
5062
5049
  }
5063
5050
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -5115,16 +5102,11 @@ class ReservationImpl {
5115
5102
  return tslib.__asyncGenerator(this, arguments, function* listAllPagingAll_1() {
5116
5103
  var _a, e_3, _b, _c;
5117
5104
  try {
5118
- for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5105
+ for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5119
5106
  _c = _f.value;
5120
5107
  _d = false;
5121
- try {
5122
- const page = _c;
5123
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5124
- }
5125
- finally {
5126
- _d = true;
5127
- }
5108
+ const page = _c;
5109
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5128
5110
  }
5129
5111
  }
5130
5112
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -5855,16 +5837,11 @@ class ReservationOrderImpl {
5855
5837
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5856
5838
  var _a, e_1, _b, _c;
5857
5839
  try {
5858
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5840
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5859
5841
  _c = _f.value;
5860
5842
  _d = false;
5861
- try {
5862
- const page = _c;
5863
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5864
- }
5865
- finally {
5866
- _d = true;
5867
- }
5843
+ const page = _c;
5844
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5868
5845
  }
5869
5846
  }
5870
5847
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6149,16 +6126,11 @@ class OperationImpl {
6149
6126
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6150
6127
  var _a, e_1, _b, _c;
6151
6128
  try {
6152
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6129
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6153
6130
  _c = _f.value;
6154
6131
  _d = false;
6155
- try {
6156
- const page = _c;
6157
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6158
- }
6159
- finally {
6160
- _d = true;
6161
- }
6132
+ const page = _c;
6133
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6162
6134
  }
6163
6135
  }
6164
6136
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6643,16 +6615,11 @@ class QuotaImpl {
6643
6615
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6644
6616
  var _a, e_1, _b, _c;
6645
6617
  try {
6646
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6618
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6647
6619
  _c = _f.value;
6648
6620
  _d = false;
6649
- try {
6650
- const page = _c;
6651
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6652
- }
6653
- finally {
6654
- _d = true;
6655
- }
6621
+ const page = _c;
6622
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6656
6623
  }
6657
6624
  }
6658
6625
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -7066,16 +7033,11 @@ class QuotaRequestStatusImpl {
7066
7033
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
7067
7034
  var _a, e_1, _b, _c;
7068
7035
  try {
7069
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7036
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
7070
7037
  _c = _f.value;
7071
7038
  _d = false;
7072
- try {
7073
- const page = _c;
7074
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7075
- }
7076
- finally {
7077
- _d = true;
7078
- }
7039
+ const page = _c;
7040
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7079
7041
  }
7080
7042
  }
7081
7043
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -7309,16 +7271,11 @@ class AzureReservationAPI extends coreClient__namespace.ServiceClient {
7309
7271
  return tslib.__asyncGenerator(this, arguments, function* getCatalogPagingAll_1() {
7310
7272
  var _a, e_1, _b, _c;
7311
7273
  try {
7312
- for (var _d = true, _e = tslib.__asyncValues(this.getCatalogPagingPage(subscriptionId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7274
+ for (var _d = true, _e = tslib.__asyncValues(this.getCatalogPagingPage(subscriptionId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
7313
7275
  _c = _f.value;
7314
7276
  _d = false;
7315
- try {
7316
- const page = _c;
7317
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7318
- }
7319
- finally {
7320
- _d = true;
7321
- }
7277
+ const page = _c;
7278
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7322
7279
  }
7323
7280
  }
7324
7281
  catch (e_1_1) { e_1 = { error: e_1_1 }; }