@azure/arm-batch 8.0.1-alpha.20230320.1 → 8.0.1-alpha.20230419.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/index.js +156 -65
  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/applicationListSample.js +12 -5
  6. package/dist-esm/samples-dev/applicationListSample.js.map +1 -1
  7. package/dist-esm/samples-dev/applicationPackageListSample.js +12 -5
  8. package/dist-esm/samples-dev/applicationPackageListSample.js.map +1 -1
  9. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +12 -5
  10. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js.map +1 -1
  11. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +12 -5
  12. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js.map +1 -1
  13. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +12 -5
  14. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  15. package/dist-esm/samples-dev/batchAccountListSample.js +12 -5
  16. package/dist-esm/samples-dev/batchAccountListSample.js.map +1 -1
  17. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +24 -10
  18. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js.map +1 -1
  19. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js +12 -5
  20. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +1 -1
  21. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +12 -5
  22. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js.map +1 -1
  23. package/dist-esm/samples-dev/operationsListSample.js +12 -5
  24. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/poolListByBatchAccountSample.js +24 -10
  26. package/dist-esm/samples-dev/poolListByBatchAccountSample.js.map +1 -1
  27. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +12 -5
  28. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js.map +1 -1
  29. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +12 -5
  30. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js.map +1 -1
  31. package/dist-esm/src/models/index.d.ts +89 -89
  32. package/dist-esm/src/models/index.d.ts.map +1 -1
  33. package/dist-esm/src/operations/applicationOperations.js +12 -5
  34. package/dist-esm/src/operations/applicationOperations.js.map +1 -1
  35. package/dist-esm/src/operations/applicationPackageOperations.js +12 -5
  36. package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -1
  37. package/dist-esm/src/operations/batchAccountOperations.js +48 -20
  38. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
  39. package/dist-esm/src/operations/certificateOperations.js +12 -5
  40. package/dist-esm/src/operations/certificateOperations.js.map +1 -1
  41. package/dist-esm/src/operations/location.js +24 -10
  42. package/dist-esm/src/operations/location.js.map +1 -1
  43. package/dist-esm/src/operations/operations.js +12 -5
  44. package/dist-esm/src/operations/operations.js.map +1 -1
  45. package/dist-esm/src/operations/poolOperations.js +12 -5
  46. package/dist-esm/src/operations/poolOperations.js.map +1 -1
  47. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +12 -5
  48. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
  49. package/dist-esm/src/operations/privateLinkResourceOperations.js +12 -5
  50. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -1
  51. package/dist-esm/test/batch_examples.js +144 -60
  52. package/dist-esm/test/batch_examples.js.map +1 -1
  53. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4242,17 +4242,24 @@ class BatchAccountOperationsImpl {
4242
4242
  }
4243
4243
  listPagingAll(options) {
4244
4244
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4245
- var e_1, _a;
4245
+ var _a, e_1, _b, _c;
4246
4246
  try {
4247
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4248
- const page = _c.value;
4249
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4247
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4248
+ _c = _f.value;
4249
+ _d = false;
4250
+ try {
4251
+ const page = _c;
4252
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4253
+ }
4254
+ finally {
4255
+ _d = true;
4256
+ }
4250
4257
  }
4251
4258
  }
4252
4259
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
4253
4260
  finally {
4254
4261
  try {
4255
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4262
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4256
4263
  }
4257
4264
  finally { if (e_1) throw e_1.error; }
4258
4265
  }
@@ -4302,17 +4309,24 @@ class BatchAccountOperationsImpl {
4302
4309
  }
4303
4310
  listByResourceGroupPagingAll(resourceGroupName, options) {
4304
4311
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
4305
- var e_2, _a;
4312
+ var _a, e_2, _b, _c;
4306
4313
  try {
4307
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4308
- const page = _c.value;
4309
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4314
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4315
+ _c = _f.value;
4316
+ _d = false;
4317
+ try {
4318
+ const page = _c;
4319
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4320
+ }
4321
+ finally {
4322
+ _d = true;
4323
+ }
4310
4324
  }
4311
4325
  }
4312
4326
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
4313
4327
  finally {
4314
4328
  try {
4315
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4329
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4316
4330
  }
4317
4331
  finally { if (e_2) throw e_2.error; }
4318
4332
  }
@@ -4363,17 +4377,24 @@ class BatchAccountOperationsImpl {
4363
4377
  }
4364
4378
  listDetectorsPagingAll(resourceGroupName, accountName, options) {
4365
4379
  return tslib.__asyncGenerator(this, arguments, function* listDetectorsPagingAll_1() {
4366
- var e_3, _a;
4380
+ var _a, e_3, _b, _c;
4367
4381
  try {
4368
- for (var _b = tslib.__asyncValues(this.listDetectorsPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4369
- const page = _c.value;
4370
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4382
+ for (var _d = true, _e = tslib.__asyncValues(this.listDetectorsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4383
+ _c = _f.value;
4384
+ _d = false;
4385
+ try {
4386
+ const page = _c;
4387
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4388
+ }
4389
+ finally {
4390
+ _d = true;
4391
+ }
4371
4392
  }
4372
4393
  }
4373
4394
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
4374
4395
  finally {
4375
4396
  try {
4376
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4397
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4377
4398
  }
4378
4399
  finally { if (e_3) throw e_3.error; }
4379
4400
  }
@@ -4429,17 +4450,24 @@ class BatchAccountOperationsImpl {
4429
4450
  }
4430
4451
  listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, accountName, options) {
4431
4452
  return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
4432
- var e_4, _a;
4453
+ var _a, e_4, _b, _c;
4433
4454
  try {
4434
- for (var _b = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4435
- const page = _c.value;
4436
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4455
+ for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4456
+ _c = _f.value;
4457
+ _d = false;
4458
+ try {
4459
+ const page = _c;
4460
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4461
+ }
4462
+ finally {
4463
+ _d = true;
4464
+ }
4437
4465
  }
4438
4466
  }
4439
4467
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
4440
4468
  finally {
4441
4469
  try {
4442
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4470
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4443
4471
  }
4444
4472
  finally { if (e_4) throw e_4.error; }
4445
4473
  }
@@ -5112,17 +5140,24 @@ class ApplicationPackageOperationsImpl {
5112
5140
  }
5113
5141
  listPagingAll(resourceGroupName, accountName, applicationName, options) {
5114
5142
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5115
- var e_1, _a;
5143
+ var _a, e_1, _b, _c;
5116
5144
  try {
5117
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, applicationName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5118
- const page = _c.value;
5119
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5145
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, applicationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5146
+ _c = _f.value;
5147
+ _d = false;
5148
+ try {
5149
+ const page = _c;
5150
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5151
+ }
5152
+ finally {
5153
+ _d = true;
5154
+ }
5120
5155
  }
5121
5156
  }
5122
5157
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
5123
5158
  finally {
5124
5159
  try {
5125
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5160
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5126
5161
  }
5127
5162
  finally { if (e_1) throw e_1.error; }
5128
5163
  }
@@ -5412,17 +5447,24 @@ class ApplicationOperationsImpl {
5412
5447
  }
5413
5448
  listPagingAll(resourceGroupName, accountName, options) {
5414
5449
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5415
- var e_1, _a;
5450
+ var _a, e_1, _b, _c;
5416
5451
  try {
5417
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5418
- const page = _c.value;
5419
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5452
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5453
+ _c = _f.value;
5454
+ _d = false;
5455
+ try {
5456
+ const page = _c;
5457
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5458
+ }
5459
+ finally {
5460
+ _d = true;
5461
+ }
5420
5462
  }
5421
5463
  }
5422
5464
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
5423
5465
  finally {
5424
5466
  try {
5425
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5467
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5426
5468
  }
5427
5469
  finally { if (e_1) throw e_1.error; }
5428
5470
  }
@@ -5687,17 +5729,24 @@ class LocationImpl {
5687
5729
  }
5688
5730
  listSupportedVirtualMachineSkusPagingAll(locationName, options) {
5689
5731
  return tslib.__asyncGenerator(this, arguments, function* listSupportedVirtualMachineSkusPagingAll_1() {
5690
- var e_1, _a;
5732
+ var _a, e_1, _b, _c;
5691
5733
  try {
5692
- for (var _b = tslib.__asyncValues(this.listSupportedVirtualMachineSkusPagingPage(locationName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5693
- const page = _c.value;
5694
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5734
+ for (var _d = true, _e = tslib.__asyncValues(this.listSupportedVirtualMachineSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5735
+ _c = _f.value;
5736
+ _d = false;
5737
+ try {
5738
+ const page = _c;
5739
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5740
+ }
5741
+ finally {
5742
+ _d = true;
5743
+ }
5695
5744
  }
5696
5745
  }
5697
5746
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
5698
5747
  finally {
5699
5748
  try {
5700
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5749
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5701
5750
  }
5702
5751
  finally { if (e_1) throw e_1.error; }
5703
5752
  }
@@ -5747,17 +5796,24 @@ class LocationImpl {
5747
5796
  }
5748
5797
  listSupportedCloudServiceSkusPagingAll(locationName, options) {
5749
5798
  return tslib.__asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingAll_1() {
5750
- var e_2, _a;
5799
+ var _a, e_2, _b, _c;
5751
5800
  try {
5752
- for (var _b = tslib.__asyncValues(this.listSupportedCloudServiceSkusPagingPage(locationName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5753
- const page = _c.value;
5754
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5801
+ for (var _d = true, _e = tslib.__asyncValues(this.listSupportedCloudServiceSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5802
+ _c = _f.value;
5803
+ _d = false;
5804
+ try {
5805
+ const page = _c;
5806
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5807
+ }
5808
+ finally {
5809
+ _d = true;
5810
+ }
5755
5811
  }
5756
5812
  }
5757
5813
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
5758
5814
  finally {
5759
5815
  try {
5760
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5816
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
5761
5817
  }
5762
5818
  finally { if (e_2) throw e_2.error; }
5763
5819
  }
@@ -6020,17 +6076,24 @@ class OperationsImpl {
6020
6076
  }
6021
6077
  listPagingAll(options) {
6022
6078
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6023
- var e_1, _a;
6079
+ var _a, e_1, _b, _c;
6024
6080
  try {
6025
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
6026
- const page = _c.value;
6027
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6081
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6082
+ _c = _f.value;
6083
+ _d = false;
6084
+ try {
6085
+ const page = _c;
6086
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6087
+ }
6088
+ finally {
6089
+ _d = true;
6090
+ }
6028
6091
  }
6029
6092
  }
6030
6093
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6031
6094
  finally {
6032
6095
  try {
6033
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
6096
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
6034
6097
  }
6035
6098
  finally { if (e_1) throw e_1.error; }
6036
6099
  }
@@ -6151,17 +6214,24 @@ class CertificateOperationsImpl {
6151
6214
  }
6152
6215
  listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
6153
6216
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6154
- var e_1, _a;
6217
+ var _a, e_1, _b, _c;
6155
6218
  try {
6156
- for (var _b = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
6157
- const page = _c.value;
6158
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6219
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6220
+ _c = _f.value;
6221
+ _d = false;
6222
+ try {
6223
+ const page = _c;
6224
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6225
+ }
6226
+ finally {
6227
+ _d = true;
6228
+ }
6159
6229
  }
6160
6230
  }
6161
6231
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6162
6232
  finally {
6163
6233
  try {
6164
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
6234
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
6165
6235
  }
6166
6236
  finally { if (e_1) throw e_1.error; }
6167
6237
  }
@@ -6562,17 +6632,24 @@ class PrivateLinkResourceOperationsImpl {
6562
6632
  }
6563
6633
  listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
6564
6634
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6565
- var e_1, _a;
6635
+ var _a, e_1, _b, _c;
6566
6636
  try {
6567
- for (var _b = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
6568
- const page = _c.value;
6569
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6637
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6638
+ _c = _f.value;
6639
+ _d = false;
6640
+ try {
6641
+ const page = _c;
6642
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6643
+ }
6644
+ finally {
6645
+ _d = true;
6646
+ }
6570
6647
  }
6571
6648
  }
6572
6649
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6573
6650
  finally {
6574
6651
  try {
6575
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
6652
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
6576
6653
  }
6577
6654
  finally { if (e_1) throw e_1.error; }
6578
6655
  }
@@ -6739,17 +6816,24 @@ class PrivateEndpointConnectionOperationsImpl {
6739
6816
  }
6740
6817
  listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
6741
6818
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6742
- var e_1, _a;
6819
+ var _a, e_1, _b, _c;
6743
6820
  try {
6744
- for (var _b = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
6745
- const page = _c.value;
6746
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6821
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6822
+ _c = _f.value;
6823
+ _d = false;
6824
+ try {
6825
+ const page = _c;
6826
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6827
+ }
6828
+ finally {
6829
+ _d = true;
6830
+ }
6747
6831
  }
6748
6832
  }
6749
6833
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6750
6834
  finally {
6751
6835
  try {
6752
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
6836
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
6753
6837
  }
6754
6838
  finally { if (e_1) throw e_1.error; }
6755
6839
  }
@@ -7116,17 +7200,24 @@ class PoolOperationsImpl {
7116
7200
  }
7117
7201
  listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
7118
7202
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
7119
- var e_1, _a;
7203
+ var _a, e_1, _b, _c;
7120
7204
  try {
7121
- for (var _b = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
7122
- const page = _c.value;
7123
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7205
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7206
+ _c = _f.value;
7207
+ _d = false;
7208
+ try {
7209
+ const page = _c;
7210
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7211
+ }
7212
+ finally {
7213
+ _d = true;
7214
+ }
7124
7215
  }
7125
7216
  }
7126
7217
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
7127
7218
  finally {
7128
7219
  try {
7129
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
7220
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
7130
7221
  }
7131
7222
  finally { if (e_1) throw e_1.error; }
7132
7223
  }