@azure/arm-batch 7.1.2-alpha.20220415.1 → 7.1.2-alpha.20220427.2

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.
package/dist/index.js CHANGED
@@ -4017,7 +4017,7 @@ class BatchAccountOperationsImpl {
4017
4017
  },
4018
4018
  byPage: () => {
4019
4019
  return this.listPagingPage(options);
4020
- }
4020
+ },
4021
4021
  };
4022
4022
  }
4023
4023
  listPagingPage(options) {
@@ -4066,7 +4066,7 @@ class BatchAccountOperationsImpl {
4066
4066
  },
4067
4067
  byPage: () => {
4068
4068
  return this.listByResourceGroupPagingPage(resourceGroupName, options);
4069
- }
4069
+ },
4070
4070
  };
4071
4071
  }
4072
4072
  listByResourceGroupPagingPage(resourceGroupName, options) {
@@ -4116,7 +4116,7 @@ class BatchAccountOperationsImpl {
4116
4116
  },
4117
4117
  byPage: () => {
4118
4118
  return this.listDetectorsPagingPage(resourceGroupName, accountName, options);
4119
- }
4119
+ },
4120
4120
  };
4121
4121
  }
4122
4122
  listDetectorsPagingPage(resourceGroupName, accountName, options) {
@@ -4155,7 +4155,7 @@ class BatchAccountOperationsImpl {
4155
4155
  * you must make sure your network allows outbound access to these endpoints. Failure to allow access
4156
4156
  * to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
4157
4157
  * about creating a pool inside of a virtual network, see
4158
- * https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
4158
+ * https://docs.microsoft.com/azure/batch/batch-virtual-network.
4159
4159
  * @param resourceGroupName The name of the resource group that contains the Batch account.
4160
4160
  * @param accountName The name of the Batch account.
4161
4161
  * @param options The options parameters.
@@ -4171,7 +4171,7 @@ class BatchAccountOperationsImpl {
4171
4171
  },
4172
4172
  byPage: () => {
4173
4173
  return this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, accountName, options);
4174
- }
4174
+ },
4175
4175
  };
4176
4176
  }
4177
4177
  listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, accountName, options) {
@@ -4235,15 +4235,15 @@ class BatchAccountOperationsImpl {
4235
4235
  rawResponse: {
4236
4236
  statusCode: currentRawResponse.status,
4237
4237
  body: currentRawResponse.parsedBody,
4238
- headers: currentRawResponse.headers.toJSON()
4239
- }
4238
+ headers: currentRawResponse.headers.toJSON(),
4239
+ },
4240
4240
  };
4241
4241
  });
4242
4242
  const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec$4);
4243
4243
  const poller = new coreLro.LroEngine(lro, {
4244
4244
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
4245
4245
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
4246
- lroResourceLocationConfig: "location"
4246
+ lroResourceLocationConfig: "location",
4247
4247
  });
4248
4248
  yield poller.poll();
4249
4249
  return poller;
@@ -4302,15 +4302,15 @@ class BatchAccountOperationsImpl {
4302
4302
  rawResponse: {
4303
4303
  statusCode: currentRawResponse.status,
4304
4304
  body: currentRawResponse.parsedBody,
4305
- headers: currentRawResponse.headers.toJSON()
4306
- }
4305
+ headers: currentRawResponse.headers.toJSON(),
4306
+ },
4307
4307
  };
4308
4308
  });
4309
4309
  const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$4);
4310
4310
  const poller = new coreLro.LroEngine(lro, {
4311
4311
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
4312
4312
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
4313
- lroResourceLocationConfig: "location"
4313
+ lroResourceLocationConfig: "location",
4314
4314
  });
4315
4315
  yield poller.poll();
4316
4316
  return poller;
@@ -4412,7 +4412,7 @@ class BatchAccountOperationsImpl {
4412
4412
  * you must make sure your network allows outbound access to these endpoints. Failure to allow access
4413
4413
  * to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
4414
4414
  * about creating a pool inside of a virtual network, see
4415
- * https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
4415
+ * https://docs.microsoft.com/azure/batch/batch-virtual-network.
4416
4416
  * @param resourceGroupName The name of the resource group that contains the Batch account.
4417
4417
  * @param accountName The name of the Batch account.
4418
4418
  * @param options The options parameters.
@@ -4466,20 +4466,20 @@ const createOperationSpec$4 = {
4466
4466
  httpMethod: "PUT",
4467
4467
  responses: {
4468
4468
  200: {
4469
- bodyMapper: BatchAccount
4469
+ bodyMapper: BatchAccount,
4470
4470
  },
4471
4471
  201: {
4472
- bodyMapper: BatchAccount
4472
+ bodyMapper: BatchAccount,
4473
4473
  },
4474
4474
  202: {
4475
- bodyMapper: BatchAccount
4475
+ bodyMapper: BatchAccount,
4476
4476
  },
4477
4477
  204: {
4478
- bodyMapper: BatchAccount
4478
+ bodyMapper: BatchAccount,
4479
4479
  },
4480
4480
  default: {
4481
- bodyMapper: CloudError
4482
- }
4481
+ bodyMapper: CloudError,
4482
+ },
4483
4483
  },
4484
4484
  requestBody: parameters,
4485
4485
  queryParameters: [apiVersion],
@@ -4487,22 +4487,22 @@ const createOperationSpec$4 = {
4487
4487
  $host,
4488
4488
  resourceGroupName,
4489
4489
  accountName,
4490
- subscriptionId
4490
+ subscriptionId,
4491
4491
  ],
4492
4492
  headerParameters: [contentType, accept],
4493
4493
  mediaType: "json",
4494
- serializer: serializer$8
4494
+ serializer: serializer$8,
4495
4495
  };
4496
4496
  const updateOperationSpec$4 = {
4497
4497
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
4498
4498
  httpMethod: "PATCH",
4499
4499
  responses: {
4500
4500
  200: {
4501
- bodyMapper: BatchAccount
4501
+ bodyMapper: BatchAccount,
4502
4502
  },
4503
4503
  default: {
4504
- bodyMapper: CloudError
4505
- }
4504
+ bodyMapper: CloudError,
4505
+ },
4506
4506
  },
4507
4507
  requestBody: parameters1,
4508
4508
  queryParameters: [apiVersion],
@@ -4510,11 +4510,11 @@ const updateOperationSpec$4 = {
4510
4510
  $host,
4511
4511
  resourceGroupName,
4512
4512
  subscriptionId,
4513
- accountName1
4513
+ accountName1,
4514
4514
  ],
4515
4515
  headerParameters: [contentType, accept],
4516
4516
  mediaType: "json",
4517
- serializer: serializer$8
4517
+ serializer: serializer$8,
4518
4518
  };
4519
4519
  const deleteOperationSpec$4 = {
4520
4520
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
@@ -4525,75 +4525,71 @@ const deleteOperationSpec$4 = {
4525
4525
  202: {},
4526
4526
  204: {},
4527
4527
  default: {
4528
- bodyMapper: CloudError
4529
- }
4528
+ bodyMapper: CloudError,
4529
+ },
4530
4530
  },
4531
4531
  queryParameters: [apiVersion],
4532
4532
  urlParameters: [
4533
4533
  $host,
4534
4534
  resourceGroupName,
4535
4535
  subscriptionId,
4536
- accountName1
4536
+ accountName1,
4537
4537
  ],
4538
4538
  headerParameters: [accept],
4539
- serializer: serializer$8
4539
+ serializer: serializer$8,
4540
4540
  };
4541
4541
  const getOperationSpec$6 = {
4542
4542
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
4543
4543
  httpMethod: "GET",
4544
4544
  responses: {
4545
4545
  200: {
4546
- bodyMapper: BatchAccount
4546
+ bodyMapper: BatchAccount,
4547
4547
  },
4548
4548
  default: {
4549
- bodyMapper: CloudError
4550
- }
4549
+ bodyMapper: CloudError,
4550
+ },
4551
4551
  },
4552
4552
  queryParameters: [apiVersion],
4553
4553
  urlParameters: [
4554
4554
  $host,
4555
4555
  resourceGroupName,
4556
4556
  subscriptionId,
4557
- accountName1
4557
+ accountName1,
4558
4558
  ],
4559
4559
  headerParameters: [accept],
4560
- serializer: serializer$8
4560
+ serializer: serializer$8,
4561
4561
  };
4562
4562
  const listOperationSpec$3 = {
4563
4563
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts",
4564
4564
  httpMethod: "GET",
4565
4565
  responses: {
4566
4566
  200: {
4567
- bodyMapper: BatchAccountListResult
4567
+ bodyMapper: BatchAccountListResult,
4568
4568
  },
4569
4569
  default: {
4570
- bodyMapper: CloudError
4571
- }
4570
+ bodyMapper: CloudError,
4571
+ },
4572
4572
  },
4573
4573
  queryParameters: [apiVersion],
4574
4574
  urlParameters: [$host, subscriptionId],
4575
4575
  headerParameters: [accept],
4576
- serializer: serializer$8
4576
+ serializer: serializer$8,
4577
4577
  };
4578
4578
  const listByResourceGroupOperationSpec = {
4579
4579
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts",
4580
4580
  httpMethod: "GET",
4581
4581
  responses: {
4582
4582
  200: {
4583
- bodyMapper: BatchAccountListResult
4583
+ bodyMapper: BatchAccountListResult,
4584
4584
  },
4585
4585
  default: {
4586
- bodyMapper: CloudError
4587
- }
4586
+ bodyMapper: CloudError,
4587
+ },
4588
4588
  },
4589
4589
  queryParameters: [apiVersion],
4590
- urlParameters: [
4591
- $host,
4592
- resourceGroupName,
4593
- subscriptionId
4594
- ],
4590
+ urlParameters: [$host, resourceGroupName, subscriptionId],
4595
4591
  headerParameters: [accept],
4596
- serializer: serializer$8
4592
+ serializer: serializer$8,
4597
4593
  };
4598
4594
  const synchronizeAutoStorageKeysOperationSpec = {
4599
4595
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys",
@@ -4601,29 +4597,29 @@ const synchronizeAutoStorageKeysOperationSpec = {
4601
4597
  responses: {
4602
4598
  204: {},
4603
4599
  default: {
4604
- bodyMapper: CloudError
4605
- }
4600
+ bodyMapper: CloudError,
4601
+ },
4606
4602
  },
4607
4603
  queryParameters: [apiVersion],
4608
4604
  urlParameters: [
4609
4605
  $host,
4610
4606
  resourceGroupName,
4611
4607
  subscriptionId,
4612
- accountName1
4608
+ accountName1,
4613
4609
  ],
4614
4610
  headerParameters: [accept],
4615
- serializer: serializer$8
4611
+ serializer: serializer$8,
4616
4612
  };
4617
4613
  const regenerateKeyOperationSpec = {
4618
4614
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys",
4619
4615
  httpMethod: "POST",
4620
4616
  responses: {
4621
4617
  200: {
4622
- bodyMapper: BatchAccountKeys
4618
+ bodyMapper: BatchAccountKeys,
4623
4619
  },
4624
4620
  default: {
4625
- bodyMapper: CloudError
4626
- }
4621
+ bodyMapper: CloudError,
4622
+ },
4627
4623
  },
4628
4624
  requestBody: parameters2,
4629
4625
  queryParameters: [apiVersion],
@@ -4631,64 +4627,64 @@ const regenerateKeyOperationSpec = {
4631
4627
  $host,
4632
4628
  resourceGroupName,
4633
4629
  subscriptionId,
4634
- accountName1
4630
+ accountName1,
4635
4631
  ],
4636
4632
  headerParameters: [contentType, accept],
4637
4633
  mediaType: "json",
4638
- serializer: serializer$8
4634
+ serializer: serializer$8,
4639
4635
  };
4640
4636
  const getKeysOperationSpec = {
4641
4637
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys",
4642
4638
  httpMethod: "POST",
4643
4639
  responses: {
4644
4640
  200: {
4645
- bodyMapper: BatchAccountKeys
4641
+ bodyMapper: BatchAccountKeys,
4646
4642
  },
4647
4643
  default: {
4648
- bodyMapper: CloudError
4649
- }
4644
+ bodyMapper: CloudError,
4645
+ },
4650
4646
  },
4651
4647
  queryParameters: [apiVersion],
4652
4648
  urlParameters: [
4653
4649
  $host,
4654
4650
  resourceGroupName,
4655
4651
  subscriptionId,
4656
- accountName1
4652
+ accountName1,
4657
4653
  ],
4658
4654
  headerParameters: [accept],
4659
- serializer: serializer$8
4655
+ serializer: serializer$8,
4660
4656
  };
4661
4657
  const listDetectorsOperationSpec = {
4662
4658
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors",
4663
4659
  httpMethod: "GET",
4664
4660
  responses: {
4665
4661
  200: {
4666
- bodyMapper: DetectorListResult
4662
+ bodyMapper: DetectorListResult,
4667
4663
  },
4668
4664
  default: {
4669
- bodyMapper: CloudError
4670
- }
4665
+ bodyMapper: CloudError,
4666
+ },
4671
4667
  },
4672
4668
  queryParameters: [apiVersion],
4673
4669
  urlParameters: [
4674
4670
  $host,
4675
4671
  resourceGroupName,
4676
4672
  subscriptionId,
4677
- accountName1
4673
+ accountName1,
4678
4674
  ],
4679
4675
  headerParameters: [accept],
4680
- serializer: serializer$8
4676
+ serializer: serializer$8,
4681
4677
  };
4682
4678
  const getDetectorOperationSpec = {
4683
4679
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}",
4684
4680
  httpMethod: "GET",
4685
4681
  responses: {
4686
4682
  200: {
4687
- bodyMapper: DetectorResponse
4683
+ bodyMapper: DetectorResponse,
4688
4684
  },
4689
4685
  default: {
4690
- bodyMapper: CloudError
4691
- }
4686
+ bodyMapper: CloudError,
4687
+ },
4692
4688
  },
4693
4689
  queryParameters: [apiVersion],
4694
4690
  urlParameters: [
@@ -4696,83 +4692,79 @@ const getDetectorOperationSpec = {
4696
4692
  resourceGroupName,
4697
4693
  subscriptionId,
4698
4694
  accountName1,
4699
- detectorId
4695
+ detectorId,
4700
4696
  ],
4701
4697
  headerParameters: [accept],
4702
- serializer: serializer$8
4698
+ serializer: serializer$8,
4703
4699
  };
4704
4700
  const listOutboundNetworkDependenciesEndpointsOperationSpec = {
4705
4701
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints",
4706
4702
  httpMethod: "GET",
4707
4703
  responses: {
4708
4704
  200: {
4709
- bodyMapper: OutboundEnvironmentEndpointCollection
4705
+ bodyMapper: OutboundEnvironmentEndpointCollection,
4710
4706
  },
4711
4707
  default: {
4712
- bodyMapper: CloudError
4713
- }
4708
+ bodyMapper: CloudError,
4709
+ },
4714
4710
  },
4715
4711
  queryParameters: [apiVersion],
4716
4712
  urlParameters: [
4717
4713
  $host,
4718
4714
  resourceGroupName,
4719
4715
  subscriptionId,
4720
- accountName1
4716
+ accountName1,
4721
4717
  ],
4722
4718
  headerParameters: [accept],
4723
- serializer: serializer$8
4719
+ serializer: serializer$8,
4724
4720
  };
4725
4721
  const listNextOperationSpec$3 = {
4726
4722
  path: "{nextLink}",
4727
4723
  httpMethod: "GET",
4728
4724
  responses: {
4729
4725
  200: {
4730
- bodyMapper: BatchAccountListResult
4726
+ bodyMapper: BatchAccountListResult,
4731
4727
  },
4732
4728
  default: {
4733
- bodyMapper: CloudError
4734
- }
4729
+ bodyMapper: CloudError,
4730
+ },
4735
4731
  },
4736
4732
  queryParameters: [apiVersion],
4737
- urlParameters: [
4738
- $host,
4739
- subscriptionId,
4740
- nextLink
4741
- ],
4733
+ urlParameters: [$host, subscriptionId, nextLink],
4742
4734
  headerParameters: [accept],
4743
- serializer: serializer$8
4735
+ serializer: serializer$8,
4744
4736
  };
4745
4737
  const listByResourceGroupNextOperationSpec = {
4746
4738
  path: "{nextLink}",
4747
4739
  httpMethod: "GET",
4748
4740
  responses: {
4749
4741
  200: {
4750
- bodyMapper: BatchAccountListResult
4742
+ bodyMapper: BatchAccountListResult,
4751
4743
  },
4752
4744
  default: {
4753
- bodyMapper: CloudError
4754
- }
4745
+ bodyMapper: CloudError,
4746
+ },
4755
4747
  },
4756
4748
  queryParameters: [apiVersion],
4757
4749
  urlParameters: [
4758
4750
  $host,
4759
4751
  resourceGroupName,
4760
4752
  subscriptionId,
4761
- nextLink
4753
+ nextLink,
4762
4754
  ],
4763
4755
  headerParameters: [accept],
4764
- serializer: serializer$8
4756
+ serializer: serializer$8,
4765
4757
  };
4766
4758
  const listDetectorsNextOperationSpec = {
4767
4759
  path: "{nextLink}",
4768
4760
  httpMethod: "GET",
4769
4761
  responses: {
4770
4762
  200: {
4771
- bodyMapper: DetectorListResult
4763
+ bodyMapper: DetectorListResult,
4772
4764
  },
4773
4765
  default: {
4774
- bodyMapper: CloudError
4775
- }
4766
+ bodyMapper: CloudError,
4767
+ },
4776
4768
  },
4777
4769
  queryParameters: [apiVersion],
4778
4770
  urlParameters: [
@@ -4780,21 +4772,21 @@ const listDetectorsNextOperationSpec = {
4780
4772
  resourceGroupName,
4781
4773
  subscriptionId,
4782
4774
  accountName1,
4783
- nextLink
4775
+ nextLink,
4784
4776
  ],
4785
4777
  headerParameters: [accept],
4786
- serializer: serializer$8
4778
+ serializer: serializer$8,
4787
4779
  };
4788
4780
  const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
4789
4781
  path: "{nextLink}",
4790
4782
  httpMethod: "GET",
4791
4783
  responses: {
4792
4784
  200: {
4793
- bodyMapper: OutboundEnvironmentEndpointCollection
4785
+ bodyMapper: OutboundEnvironmentEndpointCollection,
4794
4786
  },
4795
4787
  default: {
4796
- bodyMapper: CloudError
4797
- }
4788
+ bodyMapper: CloudError,
4789
+ },
4798
4790
  },
4799
4791
  queryParameters: [apiVersion],
4800
4792
  urlParameters: [
@@ -4802,10 +4794,10 @@ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
4802
4794
  resourceGroupName,
4803
4795
  subscriptionId,
4804
4796
  accountName1,
4805
- nextLink
4797
+ nextLink,
4806
4798
  ],
4807
4799
  headerParameters: [accept],
4808
- serializer: serializer$8
4800
+ serializer: serializer$8,
4809
4801
  };
4810
4802
 
4811
4803
  /*