@azure/arm-storsimple1200series 2.1.1-alpha.20230320.1 → 2.1.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.
Files changed (107) hide show
  1. package/dist/index.js +420 -175
  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/accessControlRecordsListByManagerSample.js +12 -5
  6. package/dist-esm/samples-dev/accessControlRecordsListByManagerSample.js.map +1 -1
  7. package/dist-esm/samples-dev/alertsListByManagerSample.js +12 -5
  8. package/dist-esm/samples-dev/alertsListByManagerSample.js.map +1 -1
  9. package/dist-esm/samples-dev/availableProviderOperationsListSample.js +12 -5
  10. package/dist-esm/samples-dev/availableProviderOperationsListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/backupScheduleGroupsListByDeviceSample.js +12 -5
  12. package/dist-esm/samples-dev/backupScheduleGroupsListByDeviceSample.js.map +1 -1
  13. package/dist-esm/samples-dev/backupsListByDeviceSample.js +12 -5
  14. package/dist-esm/samples-dev/backupsListByDeviceSample.js.map +1 -1
  15. package/dist-esm/samples-dev/backupsListByManagerSample.js +12 -5
  16. package/dist-esm/samples-dev/backupsListByManagerSample.js.map +1 -1
  17. package/dist-esm/samples-dev/chapSettingsListByDeviceSample.js +12 -5
  18. package/dist-esm/samples-dev/chapSettingsListByDeviceSample.js.map +1 -1
  19. package/dist-esm/samples-dev/devicesListByManagerSample.js +12 -5
  20. package/dist-esm/samples-dev/devicesListByManagerSample.js.map +1 -1
  21. package/dist-esm/samples-dev/devicesListFailoverTargetSample.js +12 -5
  22. package/dist-esm/samples-dev/devicesListFailoverTargetSample.js.map +1 -1
  23. package/dist-esm/samples-dev/devicesListMetricDefinitionSample.js +12 -5
  24. package/dist-esm/samples-dev/devicesListMetricDefinitionSample.js.map +1 -1
  25. package/dist-esm/samples-dev/devicesListMetricsSample.js +12 -5
  26. package/dist-esm/samples-dev/devicesListMetricsSample.js.map +1 -1
  27. package/dist-esm/samples-dev/fileServersListByDeviceSample.js +12 -5
  28. package/dist-esm/samples-dev/fileServersListByDeviceSample.js.map +1 -1
  29. package/dist-esm/samples-dev/fileServersListByManagerSample.js +12 -5
  30. package/dist-esm/samples-dev/fileServersListByManagerSample.js.map +1 -1
  31. package/dist-esm/samples-dev/fileServersListMetricDefinitionSample.js +12 -5
  32. package/dist-esm/samples-dev/fileServersListMetricDefinitionSample.js.map +1 -1
  33. package/dist-esm/samples-dev/fileServersListMetricsSample.js +12 -5
  34. package/dist-esm/samples-dev/fileServersListMetricsSample.js.map +1 -1
  35. package/dist-esm/samples-dev/fileSharesListByDeviceSample.js +12 -5
  36. package/dist-esm/samples-dev/fileSharesListByDeviceSample.js.map +1 -1
  37. package/dist-esm/samples-dev/fileSharesListByFileServerSample.js +12 -5
  38. package/dist-esm/samples-dev/fileSharesListByFileServerSample.js.map +1 -1
  39. package/dist-esm/samples-dev/fileSharesListMetricDefinitionSample.js +12 -5
  40. package/dist-esm/samples-dev/fileSharesListMetricDefinitionSample.js.map +1 -1
  41. package/dist-esm/samples-dev/fileSharesListMetricsSample.js +12 -5
  42. package/dist-esm/samples-dev/fileSharesListMetricsSample.js.map +1 -1
  43. package/dist-esm/samples-dev/iscsiDisksListByDeviceSample.js +12 -5
  44. package/dist-esm/samples-dev/iscsiDisksListByDeviceSample.js.map +1 -1
  45. package/dist-esm/samples-dev/iscsiDisksListByIscsiServerSample.js +12 -5
  46. package/dist-esm/samples-dev/iscsiDisksListByIscsiServerSample.js.map +1 -1
  47. package/dist-esm/samples-dev/iscsiDisksListMetricDefinitionSample.js +12 -5
  48. package/dist-esm/samples-dev/iscsiDisksListMetricDefinitionSample.js.map +1 -1
  49. package/dist-esm/samples-dev/iscsiDisksListMetricsSample.js +12 -5
  50. package/dist-esm/samples-dev/iscsiDisksListMetricsSample.js.map +1 -1
  51. package/dist-esm/samples-dev/iscsiServersListByDeviceSample.js +12 -5
  52. package/dist-esm/samples-dev/iscsiServersListByDeviceSample.js.map +1 -1
  53. package/dist-esm/samples-dev/iscsiServersListByManagerSample.js +12 -5
  54. package/dist-esm/samples-dev/iscsiServersListByManagerSample.js.map +1 -1
  55. package/dist-esm/samples-dev/iscsiServersListMetricDefinitionSample.js +12 -5
  56. package/dist-esm/samples-dev/iscsiServersListMetricDefinitionSample.js.map +1 -1
  57. package/dist-esm/samples-dev/iscsiServersListMetricsSample.js +12 -5
  58. package/dist-esm/samples-dev/iscsiServersListMetricsSample.js.map +1 -1
  59. package/dist-esm/samples-dev/jobsListByDeviceSample.js +12 -5
  60. package/dist-esm/samples-dev/jobsListByDeviceSample.js.map +1 -1
  61. package/dist-esm/samples-dev/jobsListByManagerSample.js +12 -5
  62. package/dist-esm/samples-dev/jobsListByManagerSample.js.map +1 -1
  63. package/dist-esm/samples-dev/managersListByResourceGroupSample.js +12 -5
  64. package/dist-esm/samples-dev/managersListByResourceGroupSample.js.map +1 -1
  65. package/dist-esm/samples-dev/managersListMetricDefinitionSample.js +12 -5
  66. package/dist-esm/samples-dev/managersListMetricDefinitionSample.js.map +1 -1
  67. package/dist-esm/samples-dev/managersListMetricsSample.js +12 -5
  68. package/dist-esm/samples-dev/managersListMetricsSample.js.map +1 -1
  69. package/dist-esm/samples-dev/managersListSample.js +12 -5
  70. package/dist-esm/samples-dev/managersListSample.js.map +1 -1
  71. package/dist-esm/samples-dev/storageAccountCredentialsListByManagerSample.js +12 -5
  72. package/dist-esm/samples-dev/storageAccountCredentialsListByManagerSample.js.map +1 -1
  73. package/dist-esm/samples-dev/storageDomainsListByManagerSample.js +12 -5
  74. package/dist-esm/samples-dev/storageDomainsListByManagerSample.js.map +1 -1
  75. package/dist-esm/src/models/index.d.ts +108 -108
  76. package/dist-esm/src/models/index.d.ts.map +1 -1
  77. package/dist-esm/src/operations/accessControlRecords.js +12 -5
  78. package/dist-esm/src/operations/accessControlRecords.js.map +1 -1
  79. package/dist-esm/src/operations/alerts.js +12 -5
  80. package/dist-esm/src/operations/alerts.js.map +1 -1
  81. package/dist-esm/src/operations/availableProviderOperationsOperations.js +12 -5
  82. package/dist-esm/src/operations/availableProviderOperationsOperations.js.map +1 -1
  83. package/dist-esm/src/operations/backupScheduleGroups.js +12 -5
  84. package/dist-esm/src/operations/backupScheduleGroups.js.map +1 -1
  85. package/dist-esm/src/operations/backups.js +24 -10
  86. package/dist-esm/src/operations/backups.js.map +1 -1
  87. package/dist-esm/src/operations/chapSettingsOperations.js +12 -5
  88. package/dist-esm/src/operations/chapSettingsOperations.js.map +1 -1
  89. package/dist-esm/src/operations/devices.js +48 -20
  90. package/dist-esm/src/operations/devices.js.map +1 -1
  91. package/dist-esm/src/operations/fileServers.js +48 -20
  92. package/dist-esm/src/operations/fileServers.js.map +1 -1
  93. package/dist-esm/src/operations/fileShares.js +48 -20
  94. package/dist-esm/src/operations/fileShares.js.map +1 -1
  95. package/dist-esm/src/operations/iscsiDisks.js +48 -20
  96. package/dist-esm/src/operations/iscsiDisks.js.map +1 -1
  97. package/dist-esm/src/operations/iscsiServers.js +48 -20
  98. package/dist-esm/src/operations/iscsiServers.js.map +1 -1
  99. package/dist-esm/src/operations/jobs.js +24 -10
  100. package/dist-esm/src/operations/jobs.js.map +1 -1
  101. package/dist-esm/src/operations/managers.js +48 -20
  102. package/dist-esm/src/operations/managers.js.map +1 -1
  103. package/dist-esm/src/operations/storageAccountCredentials.js +12 -5
  104. package/dist-esm/src/operations/storageAccountCredentials.js.map +1 -1
  105. package/dist-esm/src/operations/storageDomains.js +12 -5
  106. package/dist-esm/src/operations/storageDomains.js.map +1 -1
  107. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -3458,17 +3458,24 @@ class ManagersImpl {
3458
3458
  }
3459
3459
  listPagingAll(options) {
3460
3460
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
3461
- var e_1, _a;
3461
+ var _a, e_1, _b, _c;
3462
3462
  try {
3463
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3464
- const page = _c.value;
3465
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3463
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3464
+ _c = _f.value;
3465
+ _d = false;
3466
+ try {
3467
+ const page = _c;
3468
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3469
+ }
3470
+ finally {
3471
+ _d = true;
3472
+ }
3466
3473
  }
3467
3474
  }
3468
3475
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
3469
3476
  finally {
3470
3477
  try {
3471
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3478
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3472
3479
  }
3473
3480
  finally { if (e_1) throw e_1.error; }
3474
3481
  }
@@ -3505,17 +3512,24 @@ class ManagersImpl {
3505
3512
  }
3506
3513
  listByResourceGroupPagingAll(resourceGroupName, options) {
3507
3514
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
3508
- var e_2, _a;
3515
+ var _a, e_2, _b, _c;
3509
3516
  try {
3510
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3511
- const page = _c.value;
3512
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3517
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3518
+ _c = _f.value;
3519
+ _d = false;
3520
+ try {
3521
+ const page = _c;
3522
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3523
+ }
3524
+ finally {
3525
+ _d = true;
3526
+ }
3513
3527
  }
3514
3528
  }
3515
3529
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
3516
3530
  finally {
3517
3531
  try {
3518
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3532
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3519
3533
  }
3520
3534
  finally { if (e_2) throw e_2.error; }
3521
3535
  }
@@ -3553,17 +3567,24 @@ class ManagersImpl {
3553
3567
  }
3554
3568
  listMetricsPagingAll(resourceGroupName, managerName, options) {
3555
3569
  return tslib.__asyncGenerator(this, arguments, function* listMetricsPagingAll_1() {
3556
- var e_3, _a;
3570
+ var _a, e_3, _b, _c;
3557
3571
  try {
3558
- for (var _b = tslib.__asyncValues(this.listMetricsPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3559
- const page = _c.value;
3560
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3572
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricsPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3573
+ _c = _f.value;
3574
+ _d = false;
3575
+ try {
3576
+ const page = _c;
3577
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3578
+ }
3579
+ finally {
3580
+ _d = true;
3581
+ }
3561
3582
  }
3562
3583
  }
3563
3584
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
3564
3585
  finally {
3565
3586
  try {
3566
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3587
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3567
3588
  }
3568
3589
  finally { if (e_3) throw e_3.error; }
3569
3590
  }
@@ -3601,17 +3622,24 @@ class ManagersImpl {
3601
3622
  }
3602
3623
  listMetricDefinitionPagingAll(resourceGroupName, managerName, options) {
3603
3624
  return tslib.__asyncGenerator(this, arguments, function* listMetricDefinitionPagingAll_1() {
3604
- var e_4, _a;
3625
+ var _a, e_4, _b, _c;
3605
3626
  try {
3606
- for (var _b = tslib.__asyncValues(this.listMetricDefinitionPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3607
- const page = _c.value;
3608
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3627
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricDefinitionPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3628
+ _c = _f.value;
3629
+ _d = false;
3630
+ try {
3631
+ const page = _c;
3632
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3633
+ }
3634
+ finally {
3635
+ _d = true;
3636
+ }
3609
3637
  }
3610
3638
  }
3611
3639
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
3612
3640
  finally {
3613
3641
  try {
3614
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3642
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3615
3643
  }
3616
3644
  finally { if (e_4) throw e_4.error; }
3617
3645
  }
@@ -4151,17 +4179,24 @@ class AvailableProviderOperationsOperationsImpl {
4151
4179
  }
4152
4180
  listPagingAll(options) {
4153
4181
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4154
- var e_1, _a;
4182
+ var _a, e_1, _b, _c;
4155
4183
  try {
4156
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4157
- const page = _c.value;
4158
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4184
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4185
+ _c = _f.value;
4186
+ _d = false;
4187
+ try {
4188
+ const page = _c;
4189
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4190
+ }
4191
+ finally {
4192
+ _d = true;
4193
+ }
4159
4194
  }
4160
4195
  }
4161
4196
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
4162
4197
  finally {
4163
4198
  try {
4164
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4199
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4165
4200
  }
4166
4201
  finally { if (e_1) throw e_1.error; }
4167
4202
  }
@@ -4294,17 +4329,24 @@ class AccessControlRecordsImpl {
4294
4329
  }
4295
4330
  listByManagerPagingAll(resourceGroupName, managerName, options) {
4296
4331
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
4297
- var e_1, _a;
4332
+ var _a, e_1, _b, _c;
4298
4333
  try {
4299
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4300
- const page = _c.value;
4301
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4334
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4335
+ _c = _f.value;
4336
+ _d = false;
4337
+ try {
4338
+ const page = _c;
4339
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4340
+ }
4341
+ finally {
4342
+ _d = true;
4343
+ }
4302
4344
  }
4303
4345
  }
4304
4346
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
4305
4347
  finally {
4306
4348
  try {
4307
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4349
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4308
4350
  }
4309
4351
  finally { if (e_1) throw e_1.error; }
4310
4352
  }
@@ -4608,17 +4650,24 @@ class AlertsImpl {
4608
4650
  }
4609
4651
  listByManagerPagingAll(resourceGroupName, managerName, options) {
4610
4652
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
4611
- var e_1, _a;
4653
+ var _a, e_1, _b, _c;
4612
4654
  try {
4613
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4614
- const page = _c.value;
4615
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4655
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4656
+ _c = _f.value;
4657
+ _d = false;
4658
+ try {
4659
+ const page = _c;
4660
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4661
+ }
4662
+ finally {
4663
+ _d = true;
4664
+ }
4616
4665
  }
4617
4666
  }
4618
4667
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
4619
4668
  finally {
4620
4669
  try {
4621
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4670
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4622
4671
  }
4623
4672
  finally { if (e_1) throw e_1.error; }
4624
4673
  }
@@ -4815,17 +4864,24 @@ class BackupsImpl {
4815
4864
  }
4816
4865
  listByManagerPagingAll(resourceGroupName, managerName, options) {
4817
4866
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
4818
- var e_1, _a;
4867
+ var _a, e_1, _b, _c;
4819
4868
  try {
4820
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4821
- const page = _c.value;
4822
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4869
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4870
+ _c = _f.value;
4871
+ _d = false;
4872
+ try {
4873
+ const page = _c;
4874
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4875
+ }
4876
+ finally {
4877
+ _d = true;
4878
+ }
4823
4879
  }
4824
4880
  }
4825
4881
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
4826
4882
  finally {
4827
4883
  try {
4828
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4884
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4829
4885
  }
4830
4886
  finally { if (e_1) throw e_1.error; }
4831
4887
  }
@@ -4877,17 +4933,24 @@ class BackupsImpl {
4877
4933
  }
4878
4934
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
4879
4935
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
4880
- var e_2, _a;
4936
+ var _a, e_2, _b, _c;
4881
4937
  try {
4882
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4883
- const page = _c.value;
4884
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4938
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4939
+ _c = _f.value;
4940
+ _d = false;
4941
+ try {
4942
+ const page = _c;
4943
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4944
+ }
4945
+ finally {
4946
+ _d = true;
4947
+ }
4885
4948
  }
4886
4949
  }
4887
4950
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
4888
4951
  finally {
4889
4952
  try {
4890
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4953
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4891
4954
  }
4892
4955
  finally { if (e_2) throw e_2.error; }
4893
4956
  }
@@ -5249,17 +5312,24 @@ class DevicesImpl {
5249
5312
  }
5250
5313
  listByManagerPagingAll(resourceGroupName, managerName, options) {
5251
5314
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
5252
- var e_1, _a;
5315
+ var _a, e_1, _b, _c;
5253
5316
  try {
5254
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5255
- const page = _c.value;
5256
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5317
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5318
+ _c = _f.value;
5319
+ _d = false;
5320
+ try {
5321
+ const page = _c;
5322
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5323
+ }
5324
+ finally {
5325
+ _d = true;
5326
+ }
5257
5327
  }
5258
5328
  }
5259
5329
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
5260
5330
  finally {
5261
5331
  try {
5262
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5332
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5263
5333
  }
5264
5334
  finally { if (e_1) throw e_1.error; }
5265
5335
  }
@@ -5298,17 +5368,24 @@ class DevicesImpl {
5298
5368
  }
5299
5369
  listFailoverTargetPagingAll(deviceName, resourceGroupName, managerName, options) {
5300
5370
  return tslib.__asyncGenerator(this, arguments, function* listFailoverTargetPagingAll_1() {
5301
- var e_2, _a;
5371
+ var _a, e_2, _b, _c;
5302
5372
  try {
5303
- for (var _b = tslib.__asyncValues(this.listFailoverTargetPagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5304
- const page = _c.value;
5305
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5373
+ for (var _d = true, _e = tslib.__asyncValues(this.listFailoverTargetPagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5374
+ _c = _f.value;
5375
+ _d = false;
5376
+ try {
5377
+ const page = _c;
5378
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5379
+ }
5380
+ finally {
5381
+ _d = true;
5382
+ }
5306
5383
  }
5307
5384
  }
5308
5385
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
5309
5386
  finally {
5310
5387
  try {
5311
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5388
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5312
5389
  }
5313
5390
  finally { if (e_2) throw e_2.error; }
5314
5391
  }
@@ -5347,17 +5424,24 @@ class DevicesImpl {
5347
5424
  }
5348
5425
  listMetricsPagingAll(deviceName, resourceGroupName, managerName, options) {
5349
5426
  return tslib.__asyncGenerator(this, arguments, function* listMetricsPagingAll_1() {
5350
- var e_3, _a;
5427
+ var _a, e_3, _b, _c;
5351
5428
  try {
5352
- for (var _b = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5353
- const page = _c.value;
5354
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5429
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5430
+ _c = _f.value;
5431
+ _d = false;
5432
+ try {
5433
+ const page = _c;
5434
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5435
+ }
5436
+ finally {
5437
+ _d = true;
5438
+ }
5355
5439
  }
5356
5440
  }
5357
5441
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
5358
5442
  finally {
5359
5443
  try {
5360
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5444
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5361
5445
  }
5362
5446
  finally { if (e_3) throw e_3.error; }
5363
5447
  }
@@ -5396,17 +5480,24 @@ class DevicesImpl {
5396
5480
  }
5397
5481
  listMetricDefinitionPagingAll(deviceName, resourceGroupName, managerName, options) {
5398
5482
  return tslib.__asyncGenerator(this, arguments, function* listMetricDefinitionPagingAll_1() {
5399
- var e_4, _a;
5483
+ var _a, e_4, _b, _c;
5400
5484
  try {
5401
- for (var _b = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5402
- const page = _c.value;
5403
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5485
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5486
+ _c = _f.value;
5487
+ _d = false;
5488
+ try {
5489
+ const page = _c;
5490
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5491
+ }
5492
+ finally {
5493
+ _d = true;
5494
+ }
5404
5495
  }
5405
5496
  }
5406
5497
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
5407
5498
  finally {
5408
5499
  try {
5409
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5500
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5410
5501
  }
5411
5502
  finally { if (e_4) throw e_4.error; }
5412
5503
  }
@@ -6468,17 +6559,24 @@ class BackupScheduleGroupsImpl {
6468
6559
  }
6469
6560
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
6470
6561
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
6471
- var e_1, _a;
6562
+ var _a, e_1, _b, _c;
6472
6563
  try {
6473
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
6474
- const page = _c.value;
6475
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6564
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6565
+ _c = _f.value;
6566
+ _d = false;
6567
+ try {
6568
+ const page = _c;
6569
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6570
+ }
6571
+ finally {
6572
+ _d = true;
6573
+ }
6476
6574
  }
6477
6575
  }
6478
6576
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6479
6577
  finally {
6480
6578
  try {
6481
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
6579
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
6482
6580
  }
6483
6581
  finally { if (e_1) throw e_1.error; }
6484
6582
  }
@@ -6793,17 +6891,24 @@ class ChapSettingsOperationsImpl {
6793
6891
  }
6794
6892
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
6795
6893
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
6796
- var e_1, _a;
6894
+ var _a, e_1, _b, _c;
6797
6895
  try {
6798
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
6799
- const page = _c.value;
6800
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6896
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6897
+ _c = _f.value;
6898
+ _d = false;
6899
+ try {
6900
+ const page = _c;
6901
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6902
+ }
6903
+ finally {
6904
+ _d = true;
6905
+ }
6801
6906
  }
6802
6907
  }
6803
6908
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6804
6909
  finally {
6805
6910
  try {
6806
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
6911
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
6807
6912
  }
6808
6913
  finally { if (e_1) throw e_1.error; }
6809
6914
  }
@@ -7106,17 +7211,24 @@ class IscsiDisksImpl {
7106
7211
  }
7107
7212
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
7108
7213
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
7109
- var e_1, _a;
7214
+ var _a, e_1, _b, _c;
7110
7215
  try {
7111
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7112
- const page = _c.value;
7113
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7216
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7217
+ _c = _f.value;
7218
+ _d = false;
7219
+ try {
7220
+ const page = _c;
7221
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7222
+ }
7223
+ finally {
7224
+ _d = true;
7225
+ }
7114
7226
  }
7115
7227
  }
7116
7228
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
7117
7229
  finally {
7118
7230
  try {
7119
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7231
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7120
7232
  }
7121
7233
  finally { if (e_1) throw e_1.error; }
7122
7234
  }
@@ -7156,17 +7268,24 @@ class IscsiDisksImpl {
7156
7268
  }
7157
7269
  listByIscsiServerPagingAll(deviceName, iscsiServerName, resourceGroupName, managerName, options) {
7158
7270
  return tslib.__asyncGenerator(this, arguments, function* listByIscsiServerPagingAll_1() {
7159
- var e_2, _a;
7271
+ var _a, e_2, _b, _c;
7160
7272
  try {
7161
- for (var _b = tslib.__asyncValues(this.listByIscsiServerPagingPage(deviceName, iscsiServerName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7162
- const page = _c.value;
7163
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7273
+ for (var _d = true, _e = tslib.__asyncValues(this.listByIscsiServerPagingPage(deviceName, iscsiServerName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7274
+ _c = _f.value;
7275
+ _d = false;
7276
+ try {
7277
+ const page = _c;
7278
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7279
+ }
7280
+ finally {
7281
+ _d = true;
7282
+ }
7164
7283
  }
7165
7284
  }
7166
7285
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
7167
7286
  finally {
7168
7287
  try {
7169
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7288
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7170
7289
  }
7171
7290
  finally { if (e_2) throw e_2.error; }
7172
7291
  }
@@ -7207,17 +7326,24 @@ class IscsiDisksImpl {
7207
7326
  }
7208
7327
  listMetricsPagingAll(deviceName, iscsiServerName, diskName, resourceGroupName, managerName, options) {
7209
7328
  return tslib.__asyncGenerator(this, arguments, function* listMetricsPagingAll_1() {
7210
- var e_3, _a;
7329
+ var _a, e_3, _b, _c;
7211
7330
  try {
7212
- for (var _b = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, iscsiServerName, diskName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7213
- const page = _c.value;
7214
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7331
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, iscsiServerName, diskName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7332
+ _c = _f.value;
7333
+ _d = false;
7334
+ try {
7335
+ const page = _c;
7336
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7337
+ }
7338
+ finally {
7339
+ _d = true;
7340
+ }
7215
7341
  }
7216
7342
  }
7217
7343
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
7218
7344
  finally {
7219
7345
  try {
7220
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7346
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7221
7347
  }
7222
7348
  finally { if (e_3) throw e_3.error; }
7223
7349
  }
@@ -7258,17 +7384,24 @@ class IscsiDisksImpl {
7258
7384
  }
7259
7385
  listMetricDefinitionPagingAll(deviceName, iscsiServerName, diskName, resourceGroupName, managerName, options) {
7260
7386
  return tslib.__asyncGenerator(this, arguments, function* listMetricDefinitionPagingAll_1() {
7261
- var e_4, _a;
7387
+ var _a, e_4, _b, _c;
7262
7388
  try {
7263
- for (var _b = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, iscsiServerName, diskName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7264
- const page = _c.value;
7265
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7389
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, iscsiServerName, diskName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7390
+ _c = _f.value;
7391
+ _d = false;
7392
+ try {
7393
+ const page = _c;
7394
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7395
+ }
7396
+ finally {
7397
+ _d = true;
7398
+ }
7266
7399
  }
7267
7400
  }
7268
7401
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
7269
7402
  finally {
7270
7403
  try {
7271
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7404
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7272
7405
  }
7273
7406
  finally { if (e_4) throw e_4.error; }
7274
7407
  }
@@ -7714,17 +7847,24 @@ class FileServersImpl {
7714
7847
  }
7715
7848
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
7716
7849
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
7717
- var e_1, _a;
7850
+ var _a, e_1, _b, _c;
7718
7851
  try {
7719
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7720
- const page = _c.value;
7721
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7852
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7853
+ _c = _f.value;
7854
+ _d = false;
7855
+ try {
7856
+ const page = _c;
7857
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7858
+ }
7859
+ finally {
7860
+ _d = true;
7861
+ }
7722
7862
  }
7723
7863
  }
7724
7864
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
7725
7865
  finally {
7726
7866
  try {
7727
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7867
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7728
7868
  }
7729
7869
  finally { if (e_1) throw e_1.error; }
7730
7870
  }
@@ -7764,17 +7904,24 @@ class FileServersImpl {
7764
7904
  }
7765
7905
  listMetricsPagingAll(deviceName, fileServerName, resourceGroupName, managerName, options) {
7766
7906
  return tslib.__asyncGenerator(this, arguments, function* listMetricsPagingAll_1() {
7767
- var e_2, _a;
7907
+ var _a, e_2, _b, _c;
7768
7908
  try {
7769
- for (var _b = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, fileServerName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7770
- const page = _c.value;
7771
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7909
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, fileServerName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7910
+ _c = _f.value;
7911
+ _d = false;
7912
+ try {
7913
+ const page = _c;
7914
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7915
+ }
7916
+ finally {
7917
+ _d = true;
7918
+ }
7772
7919
  }
7773
7920
  }
7774
7921
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
7775
7922
  finally {
7776
7923
  try {
7777
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7924
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7778
7925
  }
7779
7926
  finally { if (e_2) throw e_2.error; }
7780
7927
  }
@@ -7814,17 +7961,24 @@ class FileServersImpl {
7814
7961
  }
7815
7962
  listMetricDefinitionPagingAll(deviceName, fileServerName, resourceGroupName, managerName, options) {
7816
7963
  return tslib.__asyncGenerator(this, arguments, function* listMetricDefinitionPagingAll_1() {
7817
- var e_3, _a;
7964
+ var _a, e_3, _b, _c;
7818
7965
  try {
7819
- for (var _b = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, fileServerName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7820
- const page = _c.value;
7821
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7966
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, fileServerName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7967
+ _c = _f.value;
7968
+ _d = false;
7969
+ try {
7970
+ const page = _c;
7971
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7972
+ }
7973
+ finally {
7974
+ _d = true;
7975
+ }
7822
7976
  }
7823
7977
  }
7824
7978
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
7825
7979
  finally {
7826
7980
  try {
7827
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7981
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7828
7982
  }
7829
7983
  finally { if (e_3) throw e_3.error; }
7830
7984
  }
@@ -7862,17 +8016,24 @@ class FileServersImpl {
7862
8016
  }
7863
8017
  listByManagerPagingAll(resourceGroupName, managerName, options) {
7864
8018
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
7865
- var e_4, _a;
8019
+ var _a, e_4, _b, _c;
7866
8020
  try {
7867
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7868
- const page = _c.value;
7869
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8021
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
8022
+ _c = _f.value;
8023
+ _d = false;
8024
+ try {
8025
+ const page = _c;
8026
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8027
+ }
8028
+ finally {
8029
+ _d = true;
8030
+ }
7870
8031
  }
7871
8032
  }
7872
8033
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
7873
8034
  finally {
7874
8035
  try {
7875
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
8036
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7876
8037
  }
7877
8038
  finally { if (e_4) throw e_4.error; }
7878
8039
  }
@@ -8353,17 +8514,24 @@ class FileSharesImpl {
8353
8514
  }
8354
8515
  listByFileServerPagingAll(deviceName, fileServerName, resourceGroupName, managerName, options) {
8355
8516
  return tslib.__asyncGenerator(this, arguments, function* listByFileServerPagingAll_1() {
8356
- var e_1, _a;
8517
+ var _a, e_1, _b, _c;
8357
8518
  try {
8358
- for (var _b = tslib.__asyncValues(this.listByFileServerPagingPage(deviceName, fileServerName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
8359
- const page = _c.value;
8360
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8519
+ for (var _d = true, _e = tslib.__asyncValues(this.listByFileServerPagingPage(deviceName, fileServerName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
8520
+ _c = _f.value;
8521
+ _d = false;
8522
+ try {
8523
+ const page = _c;
8524
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8525
+ }
8526
+ finally {
8527
+ _d = true;
8528
+ }
8361
8529
  }
8362
8530
  }
8363
8531
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
8364
8532
  finally {
8365
8533
  try {
8366
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
8534
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
8367
8535
  }
8368
8536
  finally { if (e_1) throw e_1.error; }
8369
8537
  }
@@ -8404,17 +8572,24 @@ class FileSharesImpl {
8404
8572
  }
8405
8573
  listMetricsPagingAll(deviceName, fileServerName, shareName, resourceGroupName, managerName, options) {
8406
8574
  return tslib.__asyncGenerator(this, arguments, function* listMetricsPagingAll_1() {
8407
- var e_2, _a;
8575
+ var _a, e_2, _b, _c;
8408
8576
  try {
8409
- for (var _b = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, fileServerName, shareName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
8410
- const page = _c.value;
8411
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8577
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, fileServerName, shareName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
8578
+ _c = _f.value;
8579
+ _d = false;
8580
+ try {
8581
+ const page = _c;
8582
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8583
+ }
8584
+ finally {
8585
+ _d = true;
8586
+ }
8412
8587
  }
8413
8588
  }
8414
8589
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
8415
8590
  finally {
8416
8591
  try {
8417
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
8592
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
8418
8593
  }
8419
8594
  finally { if (e_2) throw e_2.error; }
8420
8595
  }
@@ -8455,17 +8630,24 @@ class FileSharesImpl {
8455
8630
  }
8456
8631
  listMetricDefinitionPagingAll(deviceName, fileServerName, shareName, resourceGroupName, managerName, options) {
8457
8632
  return tslib.__asyncGenerator(this, arguments, function* listMetricDefinitionPagingAll_1() {
8458
- var e_3, _a;
8633
+ var _a, e_3, _b, _c;
8459
8634
  try {
8460
- for (var _b = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, fileServerName, shareName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
8461
- const page = _c.value;
8462
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8635
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, fileServerName, shareName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
8636
+ _c = _f.value;
8637
+ _d = false;
8638
+ try {
8639
+ const page = _c;
8640
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8641
+ }
8642
+ finally {
8643
+ _d = true;
8644
+ }
8463
8645
  }
8464
8646
  }
8465
8647
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
8466
8648
  finally {
8467
8649
  try {
8468
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
8650
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
8469
8651
  }
8470
8652
  finally { if (e_3) throw e_3.error; }
8471
8653
  }
@@ -8504,17 +8686,24 @@ class FileSharesImpl {
8504
8686
  }
8505
8687
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
8506
8688
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
8507
- var e_4, _a;
8689
+ var _a, e_4, _b, _c;
8508
8690
  try {
8509
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
8510
- const page = _c.value;
8511
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8691
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
8692
+ _c = _f.value;
8693
+ _d = false;
8694
+ try {
8695
+ const page = _c;
8696
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
8697
+ }
8698
+ finally {
8699
+ _d = true;
8700
+ }
8512
8701
  }
8513
8702
  }
8514
8703
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
8515
8704
  finally {
8516
8705
  try {
8517
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
8706
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
8518
8707
  }
8519
8708
  finally { if (e_4) throw e_4.error; }
8520
8709
  }
@@ -8960,17 +9149,24 @@ class IscsiServersImpl {
8960
9149
  }
8961
9150
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
8962
9151
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
8963
- var e_1, _a;
9152
+ var _a, e_1, _b, _c;
8964
9153
  try {
8965
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
8966
- const page = _c.value;
8967
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9154
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
9155
+ _c = _f.value;
9156
+ _d = false;
9157
+ try {
9158
+ const page = _c;
9159
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9160
+ }
9161
+ finally {
9162
+ _d = true;
9163
+ }
8968
9164
  }
8969
9165
  }
8970
9166
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
8971
9167
  finally {
8972
9168
  try {
8973
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9169
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
8974
9170
  }
8975
9171
  finally { if (e_1) throw e_1.error; }
8976
9172
  }
@@ -9010,17 +9206,24 @@ class IscsiServersImpl {
9010
9206
  }
9011
9207
  listMetricsPagingAll(deviceName, iscsiServerName, resourceGroupName, managerName, options) {
9012
9208
  return tslib.__asyncGenerator(this, arguments, function* listMetricsPagingAll_1() {
9013
- var e_2, _a;
9209
+ var _a, e_2, _b, _c;
9014
9210
  try {
9015
- for (var _b = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, iscsiServerName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9016
- const page = _c.value;
9017
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9211
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricsPagingPage(deviceName, iscsiServerName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
9212
+ _c = _f.value;
9213
+ _d = false;
9214
+ try {
9215
+ const page = _c;
9216
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9217
+ }
9218
+ finally {
9219
+ _d = true;
9220
+ }
9018
9221
  }
9019
9222
  }
9020
9223
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
9021
9224
  finally {
9022
9225
  try {
9023
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9226
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9024
9227
  }
9025
9228
  finally { if (e_2) throw e_2.error; }
9026
9229
  }
@@ -9060,17 +9263,24 @@ class IscsiServersImpl {
9060
9263
  }
9061
9264
  listMetricDefinitionPagingAll(deviceName, iscsiServerName, resourceGroupName, managerName, options) {
9062
9265
  return tslib.__asyncGenerator(this, arguments, function* listMetricDefinitionPagingAll_1() {
9063
- var e_3, _a;
9266
+ var _a, e_3, _b, _c;
9064
9267
  try {
9065
- for (var _b = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, iscsiServerName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9066
- const page = _c.value;
9067
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9268
+ for (var _d = true, _e = tslib.__asyncValues(this.listMetricDefinitionPagingPage(deviceName, iscsiServerName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
9269
+ _c = _f.value;
9270
+ _d = false;
9271
+ try {
9272
+ const page = _c;
9273
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9274
+ }
9275
+ finally {
9276
+ _d = true;
9277
+ }
9068
9278
  }
9069
9279
  }
9070
9280
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
9071
9281
  finally {
9072
9282
  try {
9073
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9283
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9074
9284
  }
9075
9285
  finally { if (e_3) throw e_3.error; }
9076
9286
  }
@@ -9108,17 +9318,24 @@ class IscsiServersImpl {
9108
9318
  }
9109
9319
  listByManagerPagingAll(resourceGroupName, managerName, options) {
9110
9320
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
9111
- var e_4, _a;
9321
+ var _a, e_4, _b, _c;
9112
9322
  try {
9113
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9114
- const page = _c.value;
9115
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9323
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
9324
+ _c = _f.value;
9325
+ _d = false;
9326
+ try {
9327
+ const page = _c;
9328
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9329
+ }
9330
+ finally {
9331
+ _d = true;
9332
+ }
9116
9333
  }
9117
9334
  }
9118
9335
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
9119
9336
  finally {
9120
9337
  try {
9121
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9338
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9122
9339
  }
9123
9340
  finally { if (e_4) throw e_4.error; }
9124
9341
  }
@@ -9611,17 +9828,24 @@ class JobsImpl {
9611
9828
  }
9612
9829
  listByDevicePagingAll(deviceName, resourceGroupName, managerName, options) {
9613
9830
  return tslib.__asyncGenerator(this, arguments, function* listByDevicePagingAll_1() {
9614
- var e_1, _a;
9831
+ var _a, e_1, _b, _c;
9615
9832
  try {
9616
- for (var _b = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9617
- const page = _c.value;
9618
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9833
+ for (var _d = true, _e = tslib.__asyncValues(this.listByDevicePagingPage(deviceName, resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
9834
+ _c = _f.value;
9835
+ _d = false;
9836
+ try {
9837
+ const page = _c;
9838
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9839
+ }
9840
+ finally {
9841
+ _d = true;
9842
+ }
9619
9843
  }
9620
9844
  }
9621
9845
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
9622
9846
  finally {
9623
9847
  try {
9624
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9848
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9625
9849
  }
9626
9850
  finally { if (e_1) throw e_1.error; }
9627
9851
  }
@@ -9672,17 +9896,24 @@ class JobsImpl {
9672
9896
  }
9673
9897
  listByManagerPagingAll(resourceGroupName, managerName, options) {
9674
9898
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
9675
- var e_2, _a;
9899
+ var _a, e_2, _b, _c;
9676
9900
  try {
9677
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9678
- const page = _c.value;
9679
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9901
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
9902
+ _c = _f.value;
9903
+ _d = false;
9904
+ try {
9905
+ const page = _c;
9906
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9907
+ }
9908
+ finally {
9909
+ _d = true;
9910
+ }
9680
9911
  }
9681
9912
  }
9682
9913
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
9683
9914
  finally {
9684
9915
  try {
9685
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9916
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9686
9917
  }
9687
9918
  finally { if (e_2) throw e_2.error; }
9688
9919
  }
@@ -9901,17 +10132,24 @@ class StorageAccountCredentialsImpl {
9901
10132
  }
9902
10133
  listByManagerPagingAll(resourceGroupName, managerName, options) {
9903
10134
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
9904
- var e_1, _a;
10135
+ var _a, e_1, _b, _c;
9905
10136
  try {
9906
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9907
- const page = _c.value;
9908
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
10137
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
10138
+ _c = _f.value;
10139
+ _d = false;
10140
+ try {
10141
+ const page = _c;
10142
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
10143
+ }
10144
+ finally {
10145
+ _d = true;
10146
+ }
9909
10147
  }
9910
10148
  }
9911
10149
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
9912
10150
  finally {
9913
10151
  try {
9914
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
10152
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9915
10153
  }
9916
10154
  finally { if (e_1) throw e_1.error; }
9917
10155
  }
@@ -10202,17 +10440,24 @@ class StorageDomainsImpl {
10202
10440
  }
10203
10441
  listByManagerPagingAll(resourceGroupName, managerName, options) {
10204
10442
  return tslib.__asyncGenerator(this, arguments, function* listByManagerPagingAll_1() {
10205
- var e_1, _a;
10443
+ var _a, e_1, _b, _c;
10206
10444
  try {
10207
- for (var _b = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
10208
- const page = _c.value;
10209
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
10445
+ for (var _d = true, _e = tslib.__asyncValues(this.listByManagerPagingPage(resourceGroupName, managerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
10446
+ _c = _f.value;
10447
+ _d = false;
10448
+ try {
10449
+ const page = _c;
10450
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
10451
+ }
10452
+ finally {
10453
+ _d = true;
10454
+ }
10210
10455
  }
10211
10456
  }
10212
10457
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
10213
10458
  finally {
10214
10459
  try {
10215
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
10460
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
10216
10461
  }
10217
10462
  finally { if (e_1) throw e_1.error; }
10218
10463
  }