@azure/arm-batch 9.0.1-alpha.20231010.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 (52) hide show
  1. package/dist/index.js +137 -205
  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 +3 -10
  52. package/rollup.config.js +0 -122
package/dist/index.js CHANGED
@@ -1,14 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var tslib = require('tslib');
6
4
  var coreClient = require('@azure/core-client');
7
5
  var coreRestPipeline = require('@azure/core-rest-pipeline');
8
6
  var coreLro = require('@azure/core-lro');
9
7
 
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
8
+ function _interopNamespaceDefault(e) {
12
9
  var n = Object.create(null);
13
10
  if (e) {
14
11
  Object.keys(e).forEach(function (k) {
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
21
18
  }
22
19
  });
23
20
  }
24
- n["default"] = e;
21
+ n.default = e;
25
22
  return Object.freeze(n);
26
23
  }
27
24
 
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
25
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
26
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
27
 
31
28
  /*
32
29
  * Copyright (c) Microsoft Corporation.
@@ -3751,122 +3748,122 @@ const PoolStopResizeHeaders = {
3751
3748
 
3752
3749
  var Mappers = /*#__PURE__*/Object.freeze({
3753
3750
  __proto__: null,
3754
- BatchAccountCreateParameters: BatchAccountCreateParameters,
3751
+ ActivateApplicationPackageParameters: ActivateApplicationPackageParameters,
3752
+ Application: Application,
3753
+ ApplicationPackage: ApplicationPackage,
3754
+ ApplicationPackageReference: ApplicationPackageReference,
3755
+ AutoScaleRun: AutoScaleRun,
3756
+ AutoScaleRunError: AutoScaleRunError,
3757
+ AutoScaleSettings: AutoScaleSettings,
3755
3758
  AutoStorageBaseProperties: AutoStorageBaseProperties,
3756
- ComputeNodeIdentityReference: ComputeNodeIdentityReference,
3757
- KeyVaultReference: KeyVaultReference,
3758
- NetworkProfile: NetworkProfile,
3759
- EndpointAccessProfile: EndpointAccessProfile,
3760
- IPRule: IPRule,
3761
- EncryptionProperties: EncryptionProperties,
3762
- KeyVaultProperties: KeyVaultProperties,
3759
+ AutoStorageProperties: AutoStorageProperties,
3760
+ AutoUserSpecification: AutoUserSpecification,
3761
+ AzureBlobFileSystemConfiguration: AzureBlobFileSystemConfiguration,
3762
+ AzureFileShareConfiguration: AzureFileShareConfiguration,
3763
+ BatchAccount: BatchAccount,
3764
+ BatchAccountCreateHeaders: BatchAccountCreateHeaders,
3765
+ BatchAccountCreateParameters: BatchAccountCreateParameters,
3766
+ BatchAccountDeleteHeaders: BatchAccountDeleteHeaders,
3763
3767
  BatchAccountIdentity: BatchAccountIdentity,
3764
- UserAssignedIdentities: UserAssignedIdentities,
3765
- PrivateEndpoint: PrivateEndpoint,
3766
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
3767
- ProxyResource: ProxyResource,
3768
- VirtualMachineFamilyCoreQuota: VirtualMachineFamilyCoreQuota,
3769
- Resource: Resource,
3770
- CloudError: CloudError,
3771
- CloudErrorBody: CloudErrorBody,
3772
- BatchAccountUpdateParameters: BatchAccountUpdateParameters,
3768
+ BatchAccountKeys: BatchAccountKeys,
3773
3769
  BatchAccountListResult: BatchAccountListResult,
3774
3770
  BatchAccountRegenerateKeyParameters: BatchAccountRegenerateKeyParameters,
3775
- BatchAccountKeys: BatchAccountKeys,
3776
- ActivateApplicationPackageParameters: ActivateApplicationPackageParameters,
3777
- ListApplicationsResult: ListApplicationsResult,
3778
- ListApplicationPackagesResult: ListApplicationPackagesResult,
3771
+ BatchAccountUpdateParameters: BatchAccountUpdateParameters,
3779
3772
  BatchLocationQuota: BatchLocationQuota,
3780
- SupportedSkusResult: SupportedSkusResult,
3781
- SupportedSku: SupportedSku,
3782
- SkuCapability: SkuCapability,
3783
- OperationListResult: OperationListResult,
3784
- Operation: Operation,
3785
- OperationDisplay: OperationDisplay,
3773
+ BatchPoolIdentity: BatchPoolIdentity,
3774
+ Certificate: Certificate,
3775
+ CertificateBaseProperties: CertificateBaseProperties,
3776
+ CertificateCancelDeletionHeaders: CertificateCancelDeletionHeaders,
3777
+ CertificateCreateHeaders: CertificateCreateHeaders,
3778
+ CertificateCreateOrUpdateParameters: CertificateCreateOrUpdateParameters,
3779
+ CertificateCreateOrUpdateProperties: CertificateCreateOrUpdateProperties,
3780
+ CertificateDeleteHeaders: CertificateDeleteHeaders,
3781
+ CertificateGetHeaders: CertificateGetHeaders,
3782
+ CertificateProperties: CertificateProperties,
3783
+ CertificateReference: CertificateReference,
3784
+ CertificateUpdateHeaders: CertificateUpdateHeaders,
3786
3785
  CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
3787
3786
  CheckNameAvailabilityResult: CheckNameAvailabilityResult,
3788
- ListCertificatesResult: ListCertificatesResult,
3789
- DeleteCertificateError: DeleteCertificateError,
3790
- CertificateBaseProperties: CertificateBaseProperties,
3791
- DetectorListResult: DetectorListResult,
3792
- ListPrivateLinkResourcesResult: ListPrivateLinkResourcesResult,
3793
- ListPrivateEndpointConnectionsResult: ListPrivateEndpointConnectionsResult,
3794
- ListPoolsResult: ListPoolsResult,
3795
- DeploymentConfiguration: DeploymentConfiguration,
3787
+ CifsMountConfiguration: CifsMountConfiguration,
3788
+ CloudError: CloudError,
3789
+ CloudErrorBody: CloudErrorBody,
3796
3790
  CloudServiceConfiguration: CloudServiceConfiguration,
3797
- VirtualMachineConfiguration: VirtualMachineConfiguration,
3798
- ImageReference: ImageReference,
3799
- WindowsConfiguration: WindowsConfiguration,
3800
- DataDisk: DataDisk,
3791
+ ComputeNodeIdentityReference: ComputeNodeIdentityReference,
3801
3792
  ContainerConfiguration: ContainerConfiguration,
3802
3793
  ContainerRegistry: ContainerRegistry,
3803
- DiskEncryptionConfiguration: DiskEncryptionConfiguration,
3804
- NodePlacementConfiguration: NodePlacementConfiguration,
3805
- VMExtension: VMExtension,
3806
- OSDisk: OSDisk,
3794
+ DataDisk: DataDisk,
3795
+ DeleteCertificateError: DeleteCertificateError,
3796
+ DeploymentConfiguration: DeploymentConfiguration,
3797
+ DetectorListResult: DetectorListResult,
3798
+ DetectorResponse: DetectorResponse,
3807
3799
  DiffDiskSettings: DiffDiskSettings,
3808
- ScaleSettings: ScaleSettings,
3800
+ DiskEncryptionConfiguration: DiskEncryptionConfiguration,
3801
+ EncryptionProperties: EncryptionProperties,
3802
+ EndpointAccessProfile: EndpointAccessProfile,
3803
+ EndpointDependency: EndpointDependency,
3804
+ EndpointDetail: EndpointDetail,
3805
+ EnvironmentSetting: EnvironmentSetting,
3809
3806
  FixedScaleSettings: FixedScaleSettings,
3810
- AutoScaleSettings: AutoScaleSettings,
3811
- AutoScaleRun: AutoScaleRun,
3812
- AutoScaleRunError: AutoScaleRunError,
3813
- NetworkConfiguration: NetworkConfiguration,
3814
- PoolEndpointConfiguration: PoolEndpointConfiguration,
3807
+ IPRule: IPRule,
3808
+ ImageReference: ImageReference,
3815
3809
  InboundNatPool: InboundNatPool,
3816
- NetworkSecurityGroupRule: NetworkSecurityGroupRule,
3817
- PublicIPAddressConfiguration: PublicIPAddressConfiguration,
3818
- TaskSchedulingPolicy: TaskSchedulingPolicy,
3819
- UserAccount: UserAccount,
3810
+ KeyVaultProperties: KeyVaultProperties,
3811
+ KeyVaultReference: KeyVaultReference,
3820
3812
  LinuxUserConfiguration: LinuxUserConfiguration,
3821
- WindowsUserConfiguration: WindowsUserConfiguration,
3813
+ ListApplicationPackagesResult: ListApplicationPackagesResult,
3814
+ ListApplicationsResult: ListApplicationsResult,
3815
+ ListCertificatesResult: ListCertificatesResult,
3816
+ ListPoolsResult: ListPoolsResult,
3817
+ ListPrivateEndpointConnectionsResult: ListPrivateEndpointConnectionsResult,
3818
+ ListPrivateLinkResourcesResult: ListPrivateLinkResourcesResult,
3822
3819
  MetadataItem: MetadataItem,
3823
- StartTask: StartTask,
3824
- ResourceFile: ResourceFile,
3825
- EnvironmentSetting: EnvironmentSetting,
3826
- UserIdentity: UserIdentity,
3827
- AutoUserSpecification: AutoUserSpecification,
3828
- TaskContainerSettings: TaskContainerSettings,
3829
- CertificateReference: CertificateReference,
3830
- ApplicationPackageReference: ApplicationPackageReference,
3831
- ResizeOperationStatus: ResizeOperationStatus,
3832
- ResizeError: ResizeError,
3833
3820
  MountConfiguration: MountConfiguration,
3834
- AzureBlobFileSystemConfiguration: AzureBlobFileSystemConfiguration,
3835
3821
  NFSMountConfiguration: NFSMountConfiguration,
3836
- CifsMountConfiguration: CifsMountConfiguration,
3837
- AzureFileShareConfiguration: AzureFileShareConfiguration,
3838
- BatchPoolIdentity: BatchPoolIdentity,
3839
- OutboundEnvironmentEndpointCollection: OutboundEnvironmentEndpointCollection,
3822
+ NetworkConfiguration: NetworkConfiguration,
3823
+ NetworkProfile: NetworkProfile,
3824
+ NetworkSecurityGroupRule: NetworkSecurityGroupRule,
3825
+ NodePlacementConfiguration: NodePlacementConfiguration,
3826
+ OSDisk: OSDisk,
3827
+ Operation: Operation,
3828
+ OperationDisplay: OperationDisplay,
3829
+ OperationListResult: OperationListResult,
3840
3830
  OutboundEnvironmentEndpoint: OutboundEnvironmentEndpoint,
3841
- EndpointDependency: EndpointDependency,
3842
- EndpointDetail: EndpointDetail,
3843
- AutoStorageProperties: AutoStorageProperties,
3844
- PrivateEndpointConnection: PrivateEndpointConnection,
3845
- ApplicationPackage: ApplicationPackage,
3846
- Application: Application,
3847
- Certificate: Certificate,
3848
- CertificateCreateOrUpdateParameters: CertificateCreateOrUpdateParameters,
3849
- DetectorResponse: DetectorResponse,
3850
- PrivateLinkResource: PrivateLinkResource,
3831
+ OutboundEnvironmentEndpointCollection: OutboundEnvironmentEndpointCollection,
3851
3832
  Pool: Pool,
3852
- BatchAccount: BatchAccount,
3853
- CertificateProperties: CertificateProperties,
3854
- CertificateCreateOrUpdateProperties: CertificateCreateOrUpdateProperties,
3855
- BatchAccountCreateHeaders: BatchAccountCreateHeaders,
3856
- BatchAccountDeleteHeaders: BatchAccountDeleteHeaders,
3857
- CertificateCreateHeaders: CertificateCreateHeaders,
3858
- CertificateUpdateHeaders: CertificateUpdateHeaders,
3859
- CertificateDeleteHeaders: CertificateDeleteHeaders,
3860
- CertificateGetHeaders: CertificateGetHeaders,
3861
- CertificateCancelDeletionHeaders: CertificateCancelDeletionHeaders,
3862
- PrivateEndpointConnectionUpdateHeaders: PrivateEndpointConnectionUpdateHeaders,
3863
- PrivateEndpointConnectionDeleteHeaders: PrivateEndpointConnectionDeleteHeaders,
3864
3833
  PoolCreateHeaders: PoolCreateHeaders,
3865
- PoolUpdateHeaders: PoolUpdateHeaders,
3866
3834
  PoolDeleteHeaders: PoolDeleteHeaders,
3867
- PoolGetHeaders: PoolGetHeaders,
3868
3835
  PoolDisableAutoScaleHeaders: PoolDisableAutoScaleHeaders,
3869
- PoolStopResizeHeaders: PoolStopResizeHeaders
3836
+ PoolEndpointConfiguration: PoolEndpointConfiguration,
3837
+ PoolGetHeaders: PoolGetHeaders,
3838
+ PoolStopResizeHeaders: PoolStopResizeHeaders,
3839
+ PoolUpdateHeaders: PoolUpdateHeaders,
3840
+ PrivateEndpoint: PrivateEndpoint,
3841
+ PrivateEndpointConnection: PrivateEndpointConnection,
3842
+ PrivateEndpointConnectionDeleteHeaders: PrivateEndpointConnectionDeleteHeaders,
3843
+ PrivateEndpointConnectionUpdateHeaders: PrivateEndpointConnectionUpdateHeaders,
3844
+ PrivateLinkResource: PrivateLinkResource,
3845
+ PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
3846
+ ProxyResource: ProxyResource,
3847
+ PublicIPAddressConfiguration: PublicIPAddressConfiguration,
3848
+ ResizeError: ResizeError,
3849
+ ResizeOperationStatus: ResizeOperationStatus,
3850
+ Resource: Resource,
3851
+ ResourceFile: ResourceFile,
3852
+ ScaleSettings: ScaleSettings,
3853
+ SkuCapability: SkuCapability,
3854
+ StartTask: StartTask,
3855
+ SupportedSku: SupportedSku,
3856
+ SupportedSkusResult: SupportedSkusResult,
3857
+ TaskContainerSettings: TaskContainerSettings,
3858
+ TaskSchedulingPolicy: TaskSchedulingPolicy,
3859
+ UserAccount: UserAccount,
3860
+ UserAssignedIdentities: UserAssignedIdentities,
3861
+ UserIdentity: UserIdentity,
3862
+ VMExtension: VMExtension,
3863
+ VirtualMachineConfiguration: VirtualMachineConfiguration,
3864
+ VirtualMachineFamilyCoreQuota: VirtualMachineFamilyCoreQuota,
3865
+ WindowsConfiguration: WindowsConfiguration,
3866
+ WindowsUserConfiguration: WindowsUserConfiguration
3870
3867
  });
3871
3868
 
3872
3869
  /*
@@ -4263,16 +4260,11 @@ class BatchAccountOperationsImpl {
4263
4260
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4264
4261
  var _a, e_1, _b, _c;
4265
4262
  try {
4266
- 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) {
4267
4264
  _c = _f.value;
4268
4265
  _d = false;
4269
- try {
4270
- const page = _c;
4271
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4272
- }
4273
- finally {
4274
- _d = true;
4275
- }
4266
+ const page = _c;
4267
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4276
4268
  }
4277
4269
  }
4278
4270
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4330,16 +4322,11 @@ class BatchAccountOperationsImpl {
4330
4322
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
4331
4323
  var _a, e_2, _b, _c;
4332
4324
  try {
4333
- 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) {
4334
4326
  _c = _f.value;
4335
4327
  _d = false;
4336
- try {
4337
- const page = _c;
4338
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4339
- }
4340
- finally {
4341
- _d = true;
4342
- }
4328
+ const page = _c;
4329
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4343
4330
  }
4344
4331
  }
4345
4332
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -4398,16 +4385,11 @@ class BatchAccountOperationsImpl {
4398
4385
  return tslib.__asyncGenerator(this, arguments, function* listDetectorsPagingAll_1() {
4399
4386
  var _a, e_3, _b, _c;
4400
4387
  try {
4401
- 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) {
4402
4389
  _c = _f.value;
4403
4390
  _d = false;
4404
- try {
4405
- const page = _c;
4406
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4407
- }
4408
- finally {
4409
- _d = true;
4410
- }
4391
+ const page = _c;
4392
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4411
4393
  }
4412
4394
  }
4413
4395
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -4471,16 +4453,11 @@ class BatchAccountOperationsImpl {
4471
4453
  return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
4472
4454
  var _a, e_4, _b, _c;
4473
4455
  try {
4474
- 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) {
4475
4457
  _c = _f.value;
4476
4458
  _d = false;
4477
- try {
4478
- const page = _c;
4479
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4480
- }
4481
- finally {
4482
- _d = true;
4483
- }
4459
+ const page = _c;
4460
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4484
4461
  }
4485
4462
  }
4486
4463
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
@@ -5165,16 +5142,11 @@ class ApplicationPackageOperationsImpl {
5165
5142
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5166
5143
  var _a, e_1, _b, _c;
5167
5144
  try {
5168
- 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) {
5169
5146
  _c = _f.value;
5170
5147
  _d = false;
5171
- try {
5172
- const page = _c;
5173
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5174
- }
5175
- finally {
5176
- _d = true;
5177
- }
5148
+ const page = _c;
5149
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5178
5150
  }
5179
5151
  }
5180
5152
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5471,16 +5443,11 @@ class ApplicationOperationsImpl {
5471
5443
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5472
5444
  var _a, e_1, _b, _c;
5473
5445
  try {
5474
- 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) {
5475
5447
  _c = _f.value;
5476
5448
  _d = false;
5477
- try {
5478
- const page = _c;
5479
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5480
- }
5481
- finally {
5482
- _d = true;
5483
- }
5449
+ const page = _c;
5450
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5484
5451
  }
5485
5452
  }
5486
5453
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5752,16 +5719,11 @@ class LocationImpl {
5752
5719
  return tslib.__asyncGenerator(this, arguments, function* listSupportedVirtualMachineSkusPagingAll_1() {
5753
5720
  var _a, e_1, _b, _c;
5754
5721
  try {
5755
- 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) {
5756
5723
  _c = _f.value;
5757
5724
  _d = false;
5758
- try {
5759
- const page = _c;
5760
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5761
- }
5762
- finally {
5763
- _d = true;
5764
- }
5725
+ const page = _c;
5726
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5765
5727
  }
5766
5728
  }
5767
5729
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5819,16 +5781,11 @@ class LocationImpl {
5819
5781
  return tslib.__asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingAll_1() {
5820
5782
  var _a, e_2, _b, _c;
5821
5783
  try {
5822
- 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) {
5823
5785
  _c = _f.value;
5824
5786
  _d = false;
5825
- try {
5826
- const page = _c;
5827
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5828
- }
5829
- finally {
5830
- _d = true;
5831
- }
5787
+ const page = _c;
5788
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5832
5789
  }
5833
5790
  }
5834
5791
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -6089,16 +6046,11 @@ class OperationsImpl {
6089
6046
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6090
6047
  var _a, e_1, _b, _c;
6091
6048
  try {
6092
- 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) {
6093
6050
  _c = _f.value;
6094
6051
  _d = false;
6095
- try {
6096
- const page = _c;
6097
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6098
- }
6099
- finally {
6100
- _d = true;
6101
- }
6052
+ const page = _c;
6053
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6102
6054
  }
6103
6055
  }
6104
6056
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6226,16 +6178,11 @@ class CertificateOperationsImpl {
6226
6178
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6227
6179
  var _a, e_1, _b, _c;
6228
6180
  try {
6229
- 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) {
6230
6182
  _c = _f.value;
6231
6183
  _d = false;
6232
- try {
6233
- const page = _c;
6234
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6235
- }
6236
- finally {
6237
- _d = true;
6238
- }
6184
+ const page = _c;
6185
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6239
6186
  }
6240
6187
  }
6241
6188
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6642,16 +6589,11 @@ class PrivateLinkResourceOperationsImpl {
6642
6589
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6643
6590
  var _a, e_1, _b, _c;
6644
6591
  try {
6645
- 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) {
6646
6593
  _c = _f.value;
6647
6594
  _d = false;
6648
- try {
6649
- const page = _c;
6650
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6651
- }
6652
- finally {
6653
- _d = true;
6654
- }
6595
+ const page = _c;
6596
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6655
6597
  }
6656
6598
  }
6657
6599
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6825,16 +6767,11 @@ class PrivateEndpointConnectionOperationsImpl {
6825
6767
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
6826
6768
  var _a, e_1, _b, _c;
6827
6769
  try {
6828
- 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) {
6829
6771
  _c = _f.value;
6830
6772
  _d = false;
6831
- try {
6832
- const page = _c;
6833
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6834
- }
6835
- finally {
6836
- _d = true;
6837
- }
6773
+ const page = _c;
6774
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6838
6775
  }
6839
6776
  }
6840
6777
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -7216,16 +7153,11 @@ class PoolOperationsImpl {
7216
7153
  return tslib.__asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
7217
7154
  var _a, e_1, _b, _c;
7218
7155
  try {
7219
- 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) {
7220
7157
  _c = _f.value;
7221
7158
  _d = false;
7222
- try {
7223
- const page = _c;
7224
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7225
- }
7226
- finally {
7227
- _d = true;
7228
- }
7159
+ const page = _c;
7160
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7229
7161
  }
7230
7162
  }
7231
7163
  catch (e_1_1) { e_1 = { error: e_1_1 }; }