@azure/arm-resourcehealth 4.1.0-alpha.20231020.1 → 4.1.0-alpha.20231025.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/dist/index.js +76 -149
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +3 -8
  7. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +1 -1
  8. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +3 -8
  9. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +1 -1
  10. package/dist-esm/samples-dev/availabilityStatusesListSample.js +3 -8
  11. package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +1 -1
  12. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +3 -8
  13. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
  14. package/dist-esm/samples-dev/childResourcesListSample.js +3 -8
  15. package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
  16. package/dist-esm/samples-dev/emergingIssuesListSample.js +3 -8
  17. package/dist-esm/samples-dev/emergingIssuesListSample.js.map +1 -1
  18. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +3 -8
  19. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +1 -1
  20. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +3 -8
  21. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +1 -1
  22. package/dist-esm/samples-dev/eventsListByTenantIdSample.js +3 -8
  23. package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +1 -1
  24. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +3 -8
  25. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -1
  26. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +3 -8
  27. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +1 -1
  28. package/dist-esm/samples-dev/metadataListSample.js +3 -8
  29. package/dist-esm/samples-dev/metadataListSample.js.map +1 -1
  30. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +3 -8
  31. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -1
  32. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +3 -8
  33. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +1 -1
  34. package/dist-esm/src/microsoftResourceHealth.js +1 -1
  35. package/dist-esm/src/operations/availabilityStatuses.js +9 -24
  36. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -1
  37. package/dist-esm/src/operations/childAvailabilityStatuses.js +3 -8
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -1
  39. package/dist-esm/src/operations/childResources.js +3 -8
  40. package/dist-esm/src/operations/childResources.js.map +1 -1
  41. package/dist-esm/src/operations/emergingIssues.js +3 -8
  42. package/dist-esm/src/operations/emergingIssues.js.map +1 -1
  43. package/dist-esm/src/operations/eventsOperations.js +9 -24
  44. package/dist-esm/src/operations/eventsOperations.js.map +1 -1
  45. package/dist-esm/src/operations/impactedResources.js +6 -16
  46. package/dist-esm/src/operations/impactedResources.js.map +1 -1
  47. package/dist-esm/src/operations/metadata.js +3 -8
  48. package/dist-esm/src/operations/metadata.js.map +1 -1
  49. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js +6 -16
  50. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js.map +1 -1
  51. package/package.json +3 -10
  52. package/src/microsoftResourceHealth.ts +1 -1
  53. package/rollup.config.js +0 -122
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History
2
-
2
+
3
+ ## 4.1.0-beta.2 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
3
13
  ## 4.1.0-beta.1 (2023-10-17)
4
14
 
5
15
  **Features**
package/dist/index.js CHANGED
@@ -1,13 +1,10 @@
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
 
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
7
+ function _interopNamespaceDefault(e) {
11
8
  var n = Object.create(null);
12
9
  if (e) {
13
10
  Object.keys(e).forEach(function (k) {
@@ -20,12 +17,12 @@ function _interopNamespace(e) {
20
17
  }
21
18
  });
22
19
  }
23
- n["default"] = e;
20
+ n.default = e;
24
21
  return Object.freeze(n);
25
22
  }
26
23
 
27
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
28
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
24
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
25
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
29
26
 
30
27
  /*
31
28
  * Copyright (c) Microsoft Corporation.
@@ -1723,46 +1720,46 @@ const ImpactedResourceStatus = {
1723
1720
 
1724
1721
  var Mappers = /*#__PURE__*/Object.freeze({
1725
1722
  __proto__: null,
1726
- AvailabilityStatusListResult: AvailabilityStatusListResult,
1727
1723
  AvailabilityStatus: AvailabilityStatus,
1724
+ AvailabilityStatusListResult: AvailabilityStatusListResult,
1728
1725
  AvailabilityStatusProperties: AvailabilityStatusProperties,
1729
1726
  AvailabilityStatusPropertiesRecentlyResolved: AvailabilityStatusPropertiesRecentlyResolved,
1730
- RecommendedAction: RecommendedAction,
1731
- ServiceImpactingEvent: ServiceImpactingEvent,
1732
- ServiceImpactingEventStatus: ServiceImpactingEventStatus,
1733
- ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
1727
+ EmergingIssueImpact: EmergingIssueImpact,
1728
+ EmergingIssueListResult: EmergingIssueListResult,
1729
+ EmergingIssuesGetResult: EmergingIssuesGetResult,
1734
1730
  ErrorResponse: ErrorResponse,
1735
- OperationListResult: OperationListResult,
1736
- Operation: Operation,
1737
- OperationDisplay: OperationDisplay,
1738
- MetadataEntityListResult: MetadataEntityListResult,
1739
- MetadataSupportedValueDetail: MetadataSupportedValueDetail,
1740
- Resource: Resource,
1741
- SystemData: SystemData,
1731
+ Event: Event,
1732
+ EventImpactedResource: EventImpactedResource,
1742
1733
  EventImpactedResourceListResult: EventImpactedResourceListResult,
1743
- KeyValueItem: KeyValueItem,
1744
- Events: Events,
1734
+ EventPropertiesAdditionalInformation: EventPropertiesAdditionalInformation,
1745
1735
  EventPropertiesArticle: EventPropertiesArticle,
1746
- Link: Link,
1747
- LinkDisplayText: LinkDisplayText,
1748
- Impact: Impact,
1749
- ImpactedServiceRegion: ImpactedServiceRegion,
1750
- Update: Update,
1751
1736
  EventPropertiesRecommendedActions: EventPropertiesRecommendedActions,
1752
1737
  EventPropertiesRecommendedActionsItem: EventPropertiesRecommendedActionsItem,
1738
+ Events: Events,
1753
1739
  Faq: Faq,
1754
- EventPropertiesAdditionalInformation: EventPropertiesAdditionalInformation,
1755
- EmergingIssueListResult: EmergingIssueListResult,
1756
- StatusBanner: StatusBanner,
1757
- StatusActiveEvent: StatusActiveEvent,
1758
- EmergingIssueImpact: EmergingIssueImpact,
1740
+ Impact: Impact,
1759
1741
  ImpactedRegion: ImpactedRegion,
1760
- ProxyResource: ProxyResource,
1742
+ ImpactedResourceStatus: ImpactedResourceStatus,
1743
+ ImpactedServiceRegion: ImpactedServiceRegion,
1744
+ KeyValueItem: KeyValueItem,
1745
+ Link: Link,
1746
+ LinkDisplayText: LinkDisplayText,
1761
1747
  MetadataEntity: MetadataEntity,
1762
- EventImpactedResource: EventImpactedResource,
1763
- Event: Event,
1764
- EmergingIssuesGetResult: EmergingIssuesGetResult,
1765
- ImpactedResourceStatus: ImpactedResourceStatus
1748
+ MetadataEntityListResult: MetadataEntityListResult,
1749
+ MetadataSupportedValueDetail: MetadataSupportedValueDetail,
1750
+ Operation: Operation,
1751
+ OperationDisplay: OperationDisplay,
1752
+ OperationListResult: OperationListResult,
1753
+ ProxyResource: ProxyResource,
1754
+ RecommendedAction: RecommendedAction,
1755
+ Resource: Resource,
1756
+ ServiceImpactingEvent: ServiceImpactingEvent,
1757
+ ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
1758
+ ServiceImpactingEventStatus: ServiceImpactingEventStatus,
1759
+ StatusActiveEvent: StatusActiveEvent,
1760
+ StatusBanner: StatusBanner,
1761
+ SystemData: SystemData,
1762
+ Update: Update
1766
1763
  });
1767
1764
 
1768
1765
  /*
@@ -1987,16 +1984,11 @@ class AvailabilityStatusesImpl {
1987
1984
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
1988
1985
  var _a, e_1, _b, _c;
1989
1986
  try {
1990
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1987
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1991
1988
  _c = _f.value;
1992
1989
  _d = false;
1993
- try {
1994
- const page = _c;
1995
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1996
- }
1997
- finally {
1998
- _d = true;
1999
- }
1990
+ const page = _c;
1991
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2000
1992
  }
2001
1993
  }
2002
1994
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2054,16 +2046,11 @@ class AvailabilityStatusesImpl {
2054
2046
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2055
2047
  var _a, e_2, _b, _c;
2056
2048
  try {
2057
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2049
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2058
2050
  _c = _f.value;
2059
2051
  _d = false;
2060
- try {
2061
- const page = _c;
2062
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2063
- }
2064
- finally {
2065
- _d = true;
2066
- }
2052
+ const page = _c;
2053
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2067
2054
  }
2068
2055
  }
2069
2056
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -2125,16 +2112,11 @@ class AvailabilityStatusesImpl {
2125
2112
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2126
2113
  var _a, e_3, _b, _c;
2127
2114
  try {
2128
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2115
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2129
2116
  _c = _f.value;
2130
2117
  _d = false;
2131
- try {
2132
- const page = _c;
2133
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2134
- }
2135
- finally {
2136
- _d = true;
2137
- }
2118
+ const page = _c;
2119
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2138
2120
  }
2139
2121
  }
2140
2122
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -2466,16 +2448,11 @@ class MetadataImpl {
2466
2448
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2467
2449
  var _a, e_1, _b, _c;
2468
2450
  try {
2469
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2451
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2470
2452
  _c = _f.value;
2471
2453
  _d = false;
2472
- try {
2473
- const page = _c;
2474
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2475
- }
2476
- finally {
2477
- _d = true;
2478
- }
2454
+ const page = _c;
2455
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2479
2456
  }
2480
2457
  }
2481
2458
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2624,16 +2601,11 @@ class ImpactedResourcesImpl {
2624
2601
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
2625
2602
  var _a, e_1, _b, _c;
2626
2603
  try {
2627
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2604
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2628
2605
  _c = _f.value;
2629
2606
  _d = false;
2630
- try {
2631
- const page = _c;
2632
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2633
- }
2634
- finally {
2635
- _d = true;
2636
- }
2607
+ const page = _c;
2608
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2637
2609
  }
2638
2610
  }
2639
2611
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2691,16 +2663,11 @@ class ImpactedResourcesImpl {
2691
2663
  return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
2692
2664
  var _a, e_2, _b, _c;
2693
2665
  try {
2694
- for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2666
+ for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2695
2667
  _c = _f.value;
2696
2668
  _d = false;
2697
- try {
2698
- const page = _c;
2699
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2700
- }
2701
- finally {
2702
- _d = true;
2703
- }
2669
+ const page = _c;
2670
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2704
2671
  }
2705
2672
  }
2706
2673
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -2949,16 +2916,11 @@ class SecurityAdvisoryImpactedResourcesImpl {
2949
2916
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
2950
2917
  var _a, e_1, _b, _c;
2951
2918
  try {
2952
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2919
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2953
2920
  _c = _f.value;
2954
2921
  _d = false;
2955
- try {
2956
- const page = _c;
2957
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2958
- }
2959
- finally {
2960
- _d = true;
2961
- }
2922
+ const page = _c;
2923
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2962
2924
  }
2963
2925
  }
2964
2926
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3016,16 +2978,11 @@ class SecurityAdvisoryImpactedResourcesImpl {
3016
2978
  return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
3017
2979
  var _a, e_2, _b, _c;
3018
2980
  try {
3019
- for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2981
+ for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3020
2982
  _c = _f.value;
3021
2983
  _d = false;
3022
- try {
3023
- const page = _c;
3024
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3025
- }
3026
- finally {
3027
- _d = true;
3028
- }
2984
+ const page = _c;
2985
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3029
2986
  }
3030
2987
  }
3031
2988
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -3214,16 +3171,11 @@ class EventsOperationsImpl {
3214
3171
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
3215
3172
  var _a, e_1, _b, _c;
3216
3173
  try {
3217
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3174
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3218
3175
  _c = _f.value;
3219
3176
  _d = false;
3220
- try {
3221
- const page = _c;
3222
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3223
- }
3224
- finally {
3225
- _d = true;
3226
- }
3177
+ const page = _c;
3178
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3227
3179
  }
3228
3180
  }
3229
3181
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3280,16 +3232,11 @@ class EventsOperationsImpl {
3280
3232
  return tslib.__asyncGenerator(this, arguments, function* listByTenantIdPagingAll_1() {
3281
3233
  var _a, e_2, _b, _c;
3282
3234
  try {
3283
- for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3235
+ for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3284
3236
  _c = _f.value;
3285
3237
  _d = false;
3286
- try {
3287
- const page = _c;
3288
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3289
- }
3290
- finally {
3291
- _d = true;
3292
- }
3238
+ const page = _c;
3239
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3293
3240
  }
3294
3241
  }
3295
3242
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -3351,16 +3298,11 @@ class EventsOperationsImpl {
3351
3298
  return tslib.__asyncGenerator(this, arguments, function* listBySingleResourcePagingAll_1() {
3352
3299
  var _a, e_3, _b, _c;
3353
3300
  try {
3354
- for (var _d = true, _e = tslib.__asyncValues(this.listBySingleResourcePagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3301
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySingleResourcePagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3355
3302
  _c = _f.value;
3356
3303
  _d = false;
3357
- try {
3358
- const page = _c;
3359
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3360
- }
3361
- finally {
3362
- _d = true;
3363
- }
3304
+ const page = _c;
3305
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3364
3306
  }
3365
3307
  }
3366
3308
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -3740,16 +3682,11 @@ class ChildAvailabilityStatusesImpl {
3740
3682
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
3741
3683
  var _a, e_1, _b, _c;
3742
3684
  try {
3743
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3685
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3744
3686
  _c = _f.value;
3745
3687
  _d = false;
3746
- try {
3747
- const page = _c;
3748
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3749
- }
3750
- finally {
3751
- _d = true;
3752
- }
3688
+ const page = _c;
3689
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3753
3690
  }
3754
3691
  }
3755
3692
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3922,16 +3859,11 @@ class ChildResourcesImpl {
3922
3859
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
3923
3860
  var _a, e_1, _b, _c;
3924
3861
  try {
3925
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3862
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3926
3863
  _c = _f.value;
3927
3864
  _d = false;
3928
- try {
3929
- const page = _c;
3930
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3931
- }
3932
- finally {
3933
- _d = true;
3934
- }
3865
+ const page = _c;
3866
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3935
3867
  }
3936
3868
  }
3937
3869
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4070,16 +4002,11 @@ class EmergingIssuesImpl {
4070
4002
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4071
4003
  var _a, e_1, _b, _c;
4072
4004
  try {
4073
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4005
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4074
4006
  _c = _f.value;
4075
4007
  _d = false;
4076
- try {
4077
- const page = _c;
4078
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4079
- }
4080
- finally {
4081
- _d = true;
4082
- }
4008
+ const page = _c;
4009
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4083
4010
  }
4084
4011
  }
4085
4012
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4193,7 +4120,7 @@ class MicrosoftResourceHealth extends coreClient__namespace.ServiceClient {
4193
4120
  requestContentType: "application/json; charset=utf-8",
4194
4121
  credential: credentials
4195
4122
  };
4196
- const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.1`;
4123
+ const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.2`;
4197
4124
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4198
4125
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4199
4126
  : `${packageDetails}`;