@azure/arm-loadtesting 1.0.1-alpha.20230303.1 → 1.0.1-alpha.20230419.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
@@ -1155,17 +1155,24 @@ class OperationsImpl {
1155
1155
  }
1156
1156
  listPagingAll(options) {
1157
1157
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1158
- var e_1, _a;
1158
+ var _a, e_1, _b, _c;
1159
1159
  try {
1160
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1161
- const page = _c.value;
1162
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1160
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1161
+ _c = _f.value;
1162
+ _d = false;
1163
+ try {
1164
+ const page = _c;
1165
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1166
+ }
1167
+ finally {
1168
+ _d = true;
1169
+ }
1163
1170
  }
1164
1171
  }
1165
1172
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1166
1173
  finally {
1167
1174
  try {
1168
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1175
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1169
1176
  }
1170
1177
  finally { if (e_1) throw e_1.error; }
1171
1178
  }
@@ -1282,17 +1289,24 @@ class QuotasImpl {
1282
1289
  }
1283
1290
  listPagingAll(location, options) {
1284
1291
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1285
- var e_1, _a;
1292
+ var _a, e_1, _b, _c;
1286
1293
  try {
1287
- for (var _b = tslib.__asyncValues(this.listPagingPage(location, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1288
- const page = _c.value;
1289
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1294
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1295
+ _c = _f.value;
1296
+ _d = false;
1297
+ try {
1298
+ const page = _c;
1299
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1300
+ }
1301
+ finally {
1302
+ _d = true;
1303
+ }
1290
1304
  }
1291
1305
  }
1292
1306
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1293
1307
  finally {
1294
1308
  try {
1295
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1309
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1296
1310
  }
1297
1311
  finally { if (e_1) throw e_1.error; }
1298
1312
  }
@@ -1510,17 +1524,24 @@ class LoadTestsImpl {
1510
1524
  }
1511
1525
  listBySubscriptionPagingAll(options) {
1512
1526
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
1513
- var e_1, _a;
1527
+ var _a, e_1, _b, _c;
1514
1528
  try {
1515
- for (var _b = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1516
- const page = _c.value;
1517
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1529
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1530
+ _c = _f.value;
1531
+ _d = false;
1532
+ try {
1533
+ const page = _c;
1534
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1535
+ }
1536
+ finally {
1537
+ _d = true;
1538
+ }
1518
1539
  }
1519
1540
  }
1520
1541
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1521
1542
  finally {
1522
1543
  try {
1523
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1544
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1524
1545
  }
1525
1546
  finally { if (e_1) throw e_1.error; }
1526
1547
  }
@@ -1570,17 +1591,24 @@ class LoadTestsImpl {
1570
1591
  }
1571
1592
  listByResourceGroupPagingAll(resourceGroupName, options) {
1572
1593
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1573
- var e_2, _a;
1594
+ var _a, e_2, _b, _c;
1574
1595
  try {
1575
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1576
- const page = _c.value;
1577
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1596
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1597
+ _c = _f.value;
1598
+ _d = false;
1599
+ try {
1600
+ const page = _c;
1601
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1602
+ }
1603
+ finally {
1604
+ _d = true;
1605
+ }
1578
1606
  }
1579
1607
  }
1580
1608
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
1581
1609
  finally {
1582
1610
  try {
1583
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1611
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1584
1612
  }
1585
1613
  finally { if (e_2) throw e_2.error; }
1586
1614
  }
@@ -1631,17 +1659,24 @@ class LoadTestsImpl {
1631
1659
  }
1632
1660
  listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, loadTestName, options) {
1633
1661
  return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
1634
- var e_3, _a;
1662
+ var _a, e_3, _b, _c;
1635
1663
  try {
1636
- for (var _b = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, loadTestName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1637
- const page = _c.value;
1638
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1664
+ for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, loadTestName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1665
+ _c = _f.value;
1666
+ _d = false;
1667
+ try {
1668
+ const page = _c;
1669
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1670
+ }
1671
+ finally {
1672
+ _d = true;
1673
+ }
1639
1674
  }
1640
1675
  }
1641
1676
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
1642
1677
  finally {
1643
1678
  try {
1644
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1679
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1645
1680
  }
1646
1681
  finally { if (e_3) throw e_3.error; }
1647
1682
  }