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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/dist/index.js +43 -113
  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 +2 -2
  52. package/src/microsoftResourceHealth.ts +1 -1
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
@@ -1987,16 +1987,11 @@ class AvailabilityStatusesImpl {
1987
1987
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
1988
1988
  var _a, e_1, _b, _c;
1989
1989
  try {
1990
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1990
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1991
1991
  _c = _f.value;
1992
1992
  _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
- }
1993
+ const page = _c;
1994
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2000
1995
  }
2001
1996
  }
2002
1997
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2054,16 +2049,11 @@ class AvailabilityStatusesImpl {
2054
2049
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2055
2050
  var _a, e_2, _b, _c;
2056
2051
  try {
2057
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2052
+ 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
2053
  _c = _f.value;
2059
2054
  _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
- }
2055
+ const page = _c;
2056
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2067
2057
  }
2068
2058
  }
2069
2059
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -2125,16 +2115,11 @@ class AvailabilityStatusesImpl {
2125
2115
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2126
2116
  var _a, e_3, _b, _c;
2127
2117
  try {
2128
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2118
+ 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
2119
  _c = _f.value;
2130
2120
  _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
- }
2121
+ const page = _c;
2122
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2138
2123
  }
2139
2124
  }
2140
2125
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -2466,16 +2451,11 @@ class MetadataImpl {
2466
2451
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2467
2452
  var _a, e_1, _b, _c;
2468
2453
  try {
2469
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2454
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2470
2455
  _c = _f.value;
2471
2456
  _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
- }
2457
+ const page = _c;
2458
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2479
2459
  }
2480
2460
  }
2481
2461
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2624,16 +2604,11 @@ class ImpactedResourcesImpl {
2624
2604
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
2625
2605
  var _a, e_1, _b, _c;
2626
2606
  try {
2627
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2607
+ 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
2608
  _c = _f.value;
2629
2609
  _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
- }
2610
+ const page = _c;
2611
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2637
2612
  }
2638
2613
  }
2639
2614
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2691,16 +2666,11 @@ class ImpactedResourcesImpl {
2691
2666
  return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
2692
2667
  var _a, e_2, _b, _c;
2693
2668
  try {
2694
- for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2669
+ 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
2670
  _c = _f.value;
2696
2671
  _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
- }
2672
+ const page = _c;
2673
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2704
2674
  }
2705
2675
  }
2706
2676
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -2949,16 +2919,11 @@ class SecurityAdvisoryImpactedResourcesImpl {
2949
2919
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
2950
2920
  var _a, e_1, _b, _c;
2951
2921
  try {
2952
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2922
+ 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
2923
  _c = _f.value;
2954
2924
  _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
- }
2925
+ const page = _c;
2926
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2962
2927
  }
2963
2928
  }
2964
2929
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3016,16 +2981,11 @@ class SecurityAdvisoryImpactedResourcesImpl {
3016
2981
  return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
3017
2982
  var _a, e_2, _b, _c;
3018
2983
  try {
3019
- for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2984
+ 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
2985
  _c = _f.value;
3021
2986
  _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
- }
2987
+ const page = _c;
2988
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3029
2989
  }
3030
2990
  }
3031
2991
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -3214,16 +3174,11 @@ class EventsOperationsImpl {
3214
3174
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
3215
3175
  var _a, e_1, _b, _c;
3216
3176
  try {
3217
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3177
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3218
3178
  _c = _f.value;
3219
3179
  _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
- }
3180
+ const page = _c;
3181
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3227
3182
  }
3228
3183
  }
3229
3184
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3280,16 +3235,11 @@ class EventsOperationsImpl {
3280
3235
  return tslib.__asyncGenerator(this, arguments, function* listByTenantIdPagingAll_1() {
3281
3236
  var _a, e_2, _b, _c;
3282
3237
  try {
3283
- for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3238
+ for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3284
3239
  _c = _f.value;
3285
3240
  _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
- }
3241
+ const page = _c;
3242
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3293
3243
  }
3294
3244
  }
3295
3245
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -3351,16 +3301,11 @@ class EventsOperationsImpl {
3351
3301
  return tslib.__asyncGenerator(this, arguments, function* listBySingleResourcePagingAll_1() {
3352
3302
  var _a, e_3, _b, _c;
3353
3303
  try {
3354
- for (var _d = true, _e = tslib.__asyncValues(this.listBySingleResourcePagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3304
+ 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
3305
  _c = _f.value;
3356
3306
  _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
- }
3307
+ const page = _c;
3308
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3364
3309
  }
3365
3310
  }
3366
3311
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -3740,16 +3685,11 @@ class ChildAvailabilityStatusesImpl {
3740
3685
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
3741
3686
  var _a, e_1, _b, _c;
3742
3687
  try {
3743
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3688
+ 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
3689
  _c = _f.value;
3745
3690
  _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
- }
3691
+ const page = _c;
3692
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3753
3693
  }
3754
3694
  }
3755
3695
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3922,16 +3862,11 @@ class ChildResourcesImpl {
3922
3862
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
3923
3863
  var _a, e_1, _b, _c;
3924
3864
  try {
3925
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3865
+ 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
3866
  _c = _f.value;
3927
3867
  _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
- }
3868
+ const page = _c;
3869
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3935
3870
  }
3936
3871
  }
3937
3872
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4070,16 +4005,11 @@ class EmergingIssuesImpl {
4070
4005
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4071
4006
  var _a, e_1, _b, _c;
4072
4007
  try {
4073
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4008
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4074
4009
  _c = _f.value;
4075
4010
  _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
- }
4011
+ const page = _c;
4012
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4083
4013
  }
4084
4014
  }
4085
4015
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4193,7 +4123,7 @@ class MicrosoftResourceHealth extends coreClient__namespace.ServiceClient {
4193
4123
  requestContentType: "application/json; charset=utf-8",
4194
4124
  credential: credentials
4195
4125
  };
4196
- const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.1`;
4126
+ const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.2`;
4197
4127
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4198
4128
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4199
4129
  : `${packageDetails}`;