@azure/arm-resourcehealth 3.2.1-alpha.20230320.1 → 3.2.1-alpha.20230501.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/index.js +72 -30
  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/availabilityStatusesListByResourceGroupSample.js +12 -5
  6. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +1 -1
  7. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +12 -5
  8. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +1 -1
  9. package/dist-esm/samples-dev/availabilityStatusesListSample.js +12 -5
  10. package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +12 -5
  12. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/childResourcesListSample.js +12 -5
  14. package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
  15. package/dist-esm/samples-dev/emergingIssuesListSample.js +12 -5
  16. package/dist-esm/samples-dev/emergingIssuesListSample.js.map +1 -1
  17. package/dist-esm/src/models/index.d.ts +20 -20
  18. package/dist-esm/src/models/index.d.ts.map +1 -1
  19. package/dist-esm/src/operations/availabilityStatuses.js +36 -15
  20. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -1
  21. package/dist-esm/src/operations/childAvailabilityStatuses.js +12 -5
  22. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -1
  23. package/dist-esm/src/operations/childResources.js +12 -5
  24. package/dist-esm/src/operations/childResources.js.map +1 -1
  25. package/dist-esm/src/operations/emergingIssues.js +12 -5
  26. package/dist-esm/src/operations/emergingIssues.js.map +1 -1
  27. package/package.json +2 -2
  28. package/types/tsdoc-metadata.json +1 -1
package/dist/index.js CHANGED
@@ -964,17 +964,24 @@ class AvailabilityStatusesImpl {
964
964
  }
965
965
  listBySubscriptionIdPagingAll(options) {
966
966
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
967
- var e_1, _a;
967
+ var _a, e_1, _b, _c;
968
968
  try {
969
- for (var _b = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
970
- const page = _c.value;
971
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
969
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
970
+ _c = _f.value;
971
+ _d = false;
972
+ try {
973
+ const page = _c;
974
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
975
+ }
976
+ finally {
977
+ _d = true;
978
+ }
972
979
  }
973
980
  }
974
981
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
975
982
  finally {
976
983
  try {
977
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
984
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
978
985
  }
979
986
  finally { if (e_1) throw e_1.error; }
980
987
  }
@@ -1025,17 +1032,24 @@ class AvailabilityStatusesImpl {
1025
1032
  }
1026
1033
  listByResourceGroupPagingAll(resourceGroupName, options) {
1027
1034
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1028
- var e_2, _a;
1035
+ var _a, e_2, _b, _c;
1029
1036
  try {
1030
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1031
- const page = _c.value;
1032
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1037
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1038
+ _c = _f.value;
1039
+ _d = false;
1040
+ try {
1041
+ const page = _c;
1042
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1043
+ }
1044
+ finally {
1045
+ _d = true;
1046
+ }
1033
1047
  }
1034
1048
  }
1035
1049
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
1036
1050
  finally {
1037
1051
  try {
1038
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1052
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1039
1053
  }
1040
1054
  finally { if (e_2) throw e_2.error; }
1041
1055
  }
@@ -1090,17 +1104,24 @@ class AvailabilityStatusesImpl {
1090
1104
  }
1091
1105
  listPagingAll(resourceUri, options) {
1092
1106
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1093
- var e_3, _a;
1107
+ var _a, e_3, _b, _c;
1094
1108
  try {
1095
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1096
- const page = _c.value;
1097
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1109
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1110
+ _c = _f.value;
1111
+ _d = false;
1112
+ try {
1113
+ const page = _c;
1114
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1115
+ }
1116
+ finally {
1117
+ _d = true;
1118
+ }
1098
1119
  }
1099
1120
  }
1100
1121
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
1101
1122
  finally {
1102
1123
  try {
1103
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1124
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1104
1125
  }
1105
1126
  finally { if (e_3) throw e_3.error; }
1106
1127
  }
@@ -1388,17 +1409,24 @@ class ChildAvailabilityStatusesImpl {
1388
1409
  }
1389
1410
  listPagingAll(resourceUri, options) {
1390
1411
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1391
- var e_1, _a;
1412
+ var _a, e_1, _b, _c;
1392
1413
  try {
1393
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1394
- const page = _c.value;
1395
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1414
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1415
+ _c = _f.value;
1416
+ _d = false;
1417
+ try {
1418
+ const page = _c;
1419
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1420
+ }
1421
+ finally {
1422
+ _d = true;
1423
+ }
1396
1424
  }
1397
1425
  }
1398
1426
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1399
1427
  finally {
1400
1428
  try {
1401
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1429
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1402
1430
  }
1403
1431
  finally { if (e_1) throw e_1.error; }
1404
1432
  }
@@ -1563,17 +1591,24 @@ class ChildResourcesImpl {
1563
1591
  }
1564
1592
  listPagingAll(resourceUri, options) {
1565
1593
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1566
- var e_1, _a;
1594
+ var _a, e_1, _b, _c;
1567
1595
  try {
1568
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1569
- const page = _c.value;
1570
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1596
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, 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
+ }
1571
1606
  }
1572
1607
  }
1573
1608
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1574
1609
  finally {
1575
1610
  try {
1576
- 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));
1577
1612
  }
1578
1613
  finally { if (e_1) throw e_1.error; }
1579
1614
  }
@@ -1747,17 +1782,24 @@ class EmergingIssuesImpl {
1747
1782
  }
1748
1783
  listPagingAll(options) {
1749
1784
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1750
- var e_1, _a;
1785
+ var _a, e_1, _b, _c;
1751
1786
  try {
1752
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1753
- const page = _c.value;
1754
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1787
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1788
+ _c = _f.value;
1789
+ _d = false;
1790
+ try {
1791
+ const page = _c;
1792
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1793
+ }
1794
+ finally {
1795
+ _d = true;
1796
+ }
1755
1797
  }
1756
1798
  }
1757
1799
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1758
1800
  finally {
1759
1801
  try {
1760
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1802
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1761
1803
  }
1762
1804
  finally { if (e_1) throw e_1.error; }
1763
1805
  }