@azure/arm-commitmentplans 2.0.0-alpha.20230320.1 → 2.0.0-alpha.20230418.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/dist/index.js CHANGED
@@ -1031,17 +1031,24 @@ class OperationsImpl {
1031
1031
  }
1032
1032
  listPagingAll(options) {
1033
1033
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1034
- var e_1, _a;
1034
+ var _a, e_1, _b, _c;
1035
1035
  try {
1036
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1037
- const page = _c.value;
1038
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1036
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1037
+ _c = _f.value;
1038
+ _d = false;
1039
+ try {
1040
+ const page = _c;
1041
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1042
+ }
1043
+ finally {
1044
+ _d = true;
1045
+ }
1039
1046
  }
1040
1047
  }
1041
1048
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1042
1049
  finally {
1043
1050
  try {
1044
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1051
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1045
1052
  }
1046
1053
  finally { if (e_1) throw e_1.error; }
1047
1054
  }
@@ -1118,17 +1125,24 @@ class SkusImpl {
1118
1125
  }
1119
1126
  listPagingAll(options) {
1120
1127
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1121
- var e_1, _a;
1128
+ var _a, e_1, _b, _c;
1122
1129
  try {
1123
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1124
- const page = _c.value;
1125
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1130
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1131
+ _c = _f.value;
1132
+ _d = false;
1133
+ try {
1134
+ const page = _c;
1135
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1136
+ }
1137
+ finally {
1138
+ _d = true;
1139
+ }
1126
1140
  }
1127
1141
  }
1128
1142
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1129
1143
  finally {
1130
1144
  try {
1131
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1145
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1132
1146
  }
1133
1147
  finally { if (e_1) throw e_1.error; }
1134
1148
  }
@@ -1220,17 +1234,24 @@ class CommitmentAssociationsImpl {
1220
1234
  }
1221
1235
  listPagingAll(resourceGroupName, commitmentPlanName, options) {
1222
1236
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1223
- var e_1, _a;
1237
+ var _a, e_1, _b, _c;
1224
1238
  try {
1225
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, commitmentPlanName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1226
- const page = _c.value;
1227
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1239
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, commitmentPlanName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1240
+ _c = _f.value;
1241
+ _d = false;
1242
+ try {
1243
+ const page = _c;
1244
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1245
+ }
1246
+ finally {
1247
+ _d = true;
1248
+ }
1228
1249
  }
1229
1250
  }
1230
1251
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1231
1252
  finally {
1232
1253
  try {
1233
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1254
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1234
1255
  }
1235
1256
  finally { if (e_1) throw e_1.error; }
1236
1257
  }
@@ -1428,17 +1449,24 @@ class CommitmentPlansImpl {
1428
1449
  }
1429
1450
  listPagingAll(options) {
1430
1451
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1431
- var e_1, _a;
1452
+ var _a, e_1, _b, _c;
1432
1453
  try {
1433
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1434
- const page = _c.value;
1435
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1454
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1455
+ _c = _f.value;
1456
+ _d = false;
1457
+ try {
1458
+ const page = _c;
1459
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1460
+ }
1461
+ finally {
1462
+ _d = true;
1463
+ }
1436
1464
  }
1437
1465
  }
1438
1466
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1439
1467
  finally {
1440
1468
  try {
1441
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1469
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1442
1470
  }
1443
1471
  finally { if (e_1) throw e_1.error; }
1444
1472
  }
@@ -1488,17 +1516,24 @@ class CommitmentPlansImpl {
1488
1516
  }
1489
1517
  listInResourceGroupPagingAll(resourceGroupName, options) {
1490
1518
  return tslib.__asyncGenerator(this, arguments, function* listInResourceGroupPagingAll_1() {
1491
- var e_2, _a;
1519
+ var _a, e_2, _b, _c;
1492
1520
  try {
1493
- for (var _b = tslib.__asyncValues(this.listInResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1494
- const page = _c.value;
1495
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1521
+ for (var _d = true, _e = tslib.__asyncValues(this.listInResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1522
+ _c = _f.value;
1523
+ _d = false;
1524
+ try {
1525
+ const page = _c;
1526
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1527
+ }
1528
+ finally {
1529
+ _d = true;
1530
+ }
1496
1531
  }
1497
1532
  }
1498
1533
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
1499
1534
  finally {
1500
1535
  try {
1501
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1536
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1502
1537
  }
1503
1538
  finally { if (e_2) throw e_2.error; }
1504
1539
  }
@@ -1780,17 +1815,24 @@ class UsageHistoryImpl {
1780
1815
  }
1781
1816
  listPagingAll(resourceGroupName, commitmentPlanName, options) {
1782
1817
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1783
- var e_1, _a;
1818
+ var _a, e_1, _b, _c;
1784
1819
  try {
1785
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, commitmentPlanName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1786
- const page = _c.value;
1787
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1820
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, commitmentPlanName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1821
+ _c = _f.value;
1822
+ _d = false;
1823
+ try {
1824
+ const page = _c;
1825
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1826
+ }
1827
+ finally {
1828
+ _d = true;
1829
+ }
1788
1830
  }
1789
1831
  }
1790
1832
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1791
1833
  finally {
1792
1834
  try {
1793
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1835
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1794
1836
  }
1795
1837
  finally { if (e_1) throw e_1.error; }
1796
1838
  }