@azure/arm-batch 9.0.1-alpha.20231017.1 → 9.0.1-alpha.20231023.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 (51) hide show
  1. package/dist/index.js +39 -104
  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 +3 -8
  6. package/dist-esm/samples-dev/applicationListSample.js.map +1 -1
  7. package/dist-esm/samples-dev/applicationPackageListSample.js +3 -8
  8. package/dist-esm/samples-dev/applicationPackageListSample.js.map +1 -1
  9. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +3 -8
  10. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js.map +1 -1
  11. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +3 -8
  12. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js.map +1 -1
  13. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +3 -8
  14. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  15. package/dist-esm/samples-dev/batchAccountListSample.js +3 -8
  16. package/dist-esm/samples-dev/batchAccountListSample.js.map +1 -1
  17. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +6 -16
  18. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js.map +1 -1
  19. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js +3 -8
  20. package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +1 -1
  21. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +3 -8
  22. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js.map +1 -1
  23. package/dist-esm/samples-dev/operationsListSample.js +3 -8
  24. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/poolListByBatchAccountSample.js +6 -16
  26. package/dist-esm/samples-dev/poolListByBatchAccountSample.js.map +1 -1
  27. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +3 -8
  28. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js.map +1 -1
  29. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +3 -8
  30. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js.map +1 -1
  31. package/dist-esm/src/operations/applicationOperations.js +3 -8
  32. package/dist-esm/src/operations/applicationOperations.js.map +1 -1
  33. package/dist-esm/src/operations/applicationPackageOperations.js +3 -8
  34. package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -1
  35. package/dist-esm/src/operations/batchAccountOperations.js +12 -32
  36. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
  37. package/dist-esm/src/operations/certificateOperations.js +3 -8
  38. package/dist-esm/src/operations/certificateOperations.js.map +1 -1
  39. package/dist-esm/src/operations/location.js +6 -16
  40. package/dist-esm/src/operations/location.js.map +1 -1
  41. package/dist-esm/src/operations/operations.js +3 -8
  42. package/dist-esm/src/operations/operations.js.map +1 -1
  43. package/dist-esm/src/operations/poolOperations.js +3 -8
  44. package/dist-esm/src/operations/poolOperations.js.map +1 -1
  45. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +3 -8
  46. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
  47. package/dist-esm/src/operations/privateLinkResourceOperations.js +3 -8
  48. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -1
  49. package/dist-esm/test/batch_examples.js +36 -96
  50. package/dist-esm/test/batch_examples.js.map +1 -1
  51. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4260,16 +4260,11 @@ class BatchAccountOperationsImpl {
4260
4260
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4261
4261
  var _a, e_1, _b, _c;
4262
4262
  try {
4263
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4263
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4264
4264
  _c = _f.value;
4265
4265
  _d = false;
4266
- try {
4267
- const page = _c;
4268
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4269
- }
4270
- finally {
4271
- _d = true;
4272
- }
4266
+ const page = _c;
4267
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4273
4268
  }
4274
4269
  }
4275
4270
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4327,16 +4322,11 @@ class BatchAccountOperationsImpl {
4327
4322
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
4328
4323
  var _a, e_2, _b, _c;
4329
4324
  try {
4330
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4325
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4331
4326
  _c = _f.value;
4332
4327
  _d = false;
4333
- try {
4334
- const page = _c;
4335
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4336
- }
4337
- finally {
4338
- _d = true;
4339
- }
4328
+ const page = _c;
4329
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4340
4330
  }
4341
4331
  }
4342
4332
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -4395,16 +4385,11 @@ class BatchAccountOperationsImpl {
4395
4385
  return tslib.__asyncGenerator(this, arguments, function* listDetectorsPagingAll_1() {
4396
4386
  var _a, e_3, _b, _c;
4397
4387
  try {
4398
- for (var _d = true, _e = tslib.__asyncValues(this.listDetectorsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4388
+ for (var _d = true, _e = tslib.__asyncValues(this.listDetectorsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4399
4389
  _c = _f.value;
4400
4390
  _d = false;
4401
- try {
4402
- const page = _c;
4403
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4404
- }
4405
- finally {
4406
- _d = true;
4407
- }
4391
+ const page = _c;
4392
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4408
4393
  }
4409
4394
  }
4410
4395
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -4468,16 +4453,11 @@ class BatchAccountOperationsImpl {
4468
4453
  return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
4469
4454
  var _a, e_4, _b, _c;
4470
4455
  try {
4471
- for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4456
+ for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4472
4457
  _c = _f.value;
4473
4458
  _d = false;
4474
- try {
4475
- const page = _c;
4476
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4477
- }
4478
- finally {
4479
- _d = true;
4480
- }
4459
+ const page = _c;
4460
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4481
4461
  }
4482
4462
  }
4483
4463
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
@@ -5162,16 +5142,11 @@ class ApplicationPackageOperationsImpl {
5162
5142
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5163
5143
  var _a, e_1, _b, _c;
5164
5144
  try {
5165
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, applicationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
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; _d = true) {
5166
5146
  _c = _f.value;
5167
5147
  _d = false;
5168
- try {
5169
- const page = _c;
5170
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5171
- }
5172
- finally {
5173
- _d = true;
5174
- }
5148
+ const page = _c;
5149
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5175
5150
  }
5176
5151
  }
5177
5152
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5468,16 +5443,11 @@ class ApplicationOperationsImpl {
5468
5443
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5469
5444
  var _a, e_1, _b, _c;
5470
5445
  try {
5471
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5446
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5472
5447
  _c = _f.value;
5473
5448
  _d = false;
5474
- try {
5475
- const page = _c;
5476
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5477
- }
5478
- finally {
5479
- _d = true;
5480
- }
5449
+ const page = _c;
5450
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5481
5451
  }
5482
5452
  }
5483
5453
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5749,16 +5719,11 @@ class LocationImpl {
5749
5719
  return tslib.__asyncGenerator(this, arguments, function* listSupportedVirtualMachineSkusPagingAll_1() {
5750
5720
  var _a, e_1, _b, _c;
5751
5721
  try {
5752
- for (var _d = true, _e = tslib.__asyncValues(this.listSupportedVirtualMachineSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5722
+ for (var _d = true, _e = tslib.__asyncValues(this.listSupportedVirtualMachineSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5753
5723
  _c = _f.value;
5754
5724
  _d = false;
5755
- try {
5756
- const page = _c;
5757
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5758
- }
5759
- finally {
5760
- _d = true;
5761
- }
5725
+ const page = _c;
5726
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5762
5727
  }
5763
5728
  }
5764
5729
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5816,16 +5781,11 @@ class LocationImpl {
5816
5781
  return tslib.__asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingAll_1() {
5817
5782
  var _a, e_2, _b, _c;
5818
5783
  try {
5819
- for (var _d = true, _e = tslib.__asyncValues(this.listSupportedCloudServiceSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5784
+ for (var _d = true, _e = tslib.__asyncValues(this.listSupportedCloudServiceSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5820
5785
  _c = _f.value;
5821
5786
  _d = false;
5822
- try {
5823
- const page = _c;
5824
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5825
- }
5826
- finally {
5827
- _d = true;
5828
- }
5787
+ const page = _c;
5788
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5829
5789
  }
5830
5790
  }
5831
5791
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -6086,16 +6046,11 @@ class OperationsImpl {
6086
6046
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6087
6047
  var _a, e_1, _b, _c;
6088
6048
  try {
6089
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6049
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6090
6050
  _c = _f.value;
6091
6051
  _d = false;
6092
- try {
6093
- const page = _c;
6094
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6095
- }
6096
- finally {
6097
- _d = true;
6098
- }
6052
+ const page = _c;
6053
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6099
6054
  }
6100
6055
  }
6101
6056
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6223,16 +6178,11 @@ class CertificateOperationsImpl {
6223
6178
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6224
6179
  var _a, e_1, _b, _c;
6225
6180
  try {
6226
- for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6181
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6227
6182
  _c = _f.value;
6228
6183
  _d = false;
6229
- try {
6230
- const page = _c;
6231
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6232
- }
6233
- finally {
6234
- _d = true;
6235
- }
6184
+ const page = _c;
6185
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6236
6186
  }
6237
6187
  }
6238
6188
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6639,16 +6589,11 @@ class PrivateLinkResourceOperationsImpl {
6639
6589
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6640
6590
  var _a, e_1, _b, _c;
6641
6591
  try {
6642
- for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6592
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6643
6593
  _c = _f.value;
6644
6594
  _d = false;
6645
- try {
6646
- const page = _c;
6647
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6648
- }
6649
- finally {
6650
- _d = true;
6651
- }
6595
+ const page = _c;
6596
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6652
6597
  }
6653
6598
  }
6654
6599
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6822,16 +6767,11 @@ class PrivateEndpointConnectionOperationsImpl {
6822
6767
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6823
6768
  var _a, e_1, _b, _c;
6824
6769
  try {
6825
- for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6770
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6826
6771
  _c = _f.value;
6827
6772
  _d = false;
6828
- try {
6829
- const page = _c;
6830
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6831
- }
6832
- finally {
6833
- _d = true;
6834
- }
6773
+ const page = _c;
6774
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6835
6775
  }
6836
6776
  }
6837
6777
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -7213,16 +7153,11 @@ class PoolOperationsImpl {
7213
7153
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
7214
7154
  var _a, e_1, _b, _c;
7215
7155
  try {
7216
- for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7156
+ for (var _d = true, _e = tslib.__asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
7217
7157
  _c = _f.value;
7218
7158
  _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
- }
7159
+ const page = _c;
7160
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7226
7161
  }
7227
7162
  }
7228
7163
  catch (e_1_1) { e_1 = { error: e_1_1 }; }