@azure/arm-batch 7.1.0 → 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/CHANGELOG.md +16 -0
- package/dist/index.js +110 -107
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +2 -2
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +3 -2
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
- package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.js +98 -102
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateOperations.js +3 -1
- package/dist-esm/src/operations/certificateOperations.js.map +1 -1
- package/dist-esm/src/operations/poolOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/poolOperations.js +3 -1
- package/dist-esm/src/operations/poolOperations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +3 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/batchManagementClient.ts +3 -2
- package/src/operations/batchAccountOperations.ts +128 -186
- package/src/operations/certificateOperations.ts +3 -1
- package/src/operations/poolOperations.ts +3 -1
- package/src/operations/privateEndpointConnectionOperations.ts +3 -1
- package/src/operationsInterfaces/batchAccountOperations.ts +4 -9
- package/types/arm-batch.d.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
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/
|
|
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,16 +4235,18 @@ 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
|
+
yield poller.poll();
|
|
4249
|
+
return poller;
|
|
4248
4250
|
});
|
|
4249
4251
|
}
|
|
4250
4252
|
/**
|
|
@@ -4300,16 +4302,18 @@ class BatchAccountOperationsImpl {
|
|
|
4300
4302
|
rawResponse: {
|
|
4301
4303
|
statusCode: currentRawResponse.status,
|
|
4302
4304
|
body: currentRawResponse.parsedBody,
|
|
4303
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4304
|
-
}
|
|
4305
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4306
|
+
},
|
|
4305
4307
|
};
|
|
4306
4308
|
});
|
|
4307
4309
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$4);
|
|
4308
|
-
|
|
4310
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
4309
4311
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4310
4312
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4311
|
-
lroResourceLocationConfig: "location"
|
|
4313
|
+
lroResourceLocationConfig: "location",
|
|
4312
4314
|
});
|
|
4315
|
+
yield poller.poll();
|
|
4316
|
+
return poller;
|
|
4313
4317
|
});
|
|
4314
4318
|
}
|
|
4315
4319
|
/**
|
|
@@ -4408,7 +4412,7 @@ class BatchAccountOperationsImpl {
|
|
|
4408
4412
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
4409
4413
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
4410
4414
|
* about creating a pool inside of a virtual network, see
|
|
4411
|
-
* https://docs.microsoft.com/
|
|
4415
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
4412
4416
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
4413
4417
|
* @param accountName The name of the Batch account.
|
|
4414
4418
|
* @param options The options parameters.
|
|
@@ -4462,20 +4466,20 @@ const createOperationSpec$4 = {
|
|
|
4462
4466
|
httpMethod: "PUT",
|
|
4463
4467
|
responses: {
|
|
4464
4468
|
200: {
|
|
4465
|
-
bodyMapper: BatchAccount
|
|
4469
|
+
bodyMapper: BatchAccount,
|
|
4466
4470
|
},
|
|
4467
4471
|
201: {
|
|
4468
|
-
bodyMapper: BatchAccount
|
|
4472
|
+
bodyMapper: BatchAccount,
|
|
4469
4473
|
},
|
|
4470
4474
|
202: {
|
|
4471
|
-
bodyMapper: BatchAccount
|
|
4475
|
+
bodyMapper: BatchAccount,
|
|
4472
4476
|
},
|
|
4473
4477
|
204: {
|
|
4474
|
-
bodyMapper: BatchAccount
|
|
4478
|
+
bodyMapper: BatchAccount,
|
|
4475
4479
|
},
|
|
4476
4480
|
default: {
|
|
4477
|
-
bodyMapper: CloudError
|
|
4478
|
-
}
|
|
4481
|
+
bodyMapper: CloudError,
|
|
4482
|
+
},
|
|
4479
4483
|
},
|
|
4480
4484
|
requestBody: parameters,
|
|
4481
4485
|
queryParameters: [apiVersion],
|
|
@@ -4483,22 +4487,22 @@ const createOperationSpec$4 = {
|
|
|
4483
4487
|
$host,
|
|
4484
4488
|
resourceGroupName,
|
|
4485
4489
|
accountName,
|
|
4486
|
-
subscriptionId
|
|
4490
|
+
subscriptionId,
|
|
4487
4491
|
],
|
|
4488
4492
|
headerParameters: [contentType, accept],
|
|
4489
4493
|
mediaType: "json",
|
|
4490
|
-
serializer: serializer$8
|
|
4494
|
+
serializer: serializer$8,
|
|
4491
4495
|
};
|
|
4492
4496
|
const updateOperationSpec$4 = {
|
|
4493
4497
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
4494
4498
|
httpMethod: "PATCH",
|
|
4495
4499
|
responses: {
|
|
4496
4500
|
200: {
|
|
4497
|
-
bodyMapper: BatchAccount
|
|
4501
|
+
bodyMapper: BatchAccount,
|
|
4498
4502
|
},
|
|
4499
4503
|
default: {
|
|
4500
|
-
bodyMapper: CloudError
|
|
4501
|
-
}
|
|
4504
|
+
bodyMapper: CloudError,
|
|
4505
|
+
},
|
|
4502
4506
|
},
|
|
4503
4507
|
requestBody: parameters1,
|
|
4504
4508
|
queryParameters: [apiVersion],
|
|
@@ -4506,11 +4510,11 @@ const updateOperationSpec$4 = {
|
|
|
4506
4510
|
$host,
|
|
4507
4511
|
resourceGroupName,
|
|
4508
4512
|
subscriptionId,
|
|
4509
|
-
accountName1
|
|
4513
|
+
accountName1,
|
|
4510
4514
|
],
|
|
4511
4515
|
headerParameters: [contentType, accept],
|
|
4512
4516
|
mediaType: "json",
|
|
4513
|
-
serializer: serializer$8
|
|
4517
|
+
serializer: serializer$8,
|
|
4514
4518
|
};
|
|
4515
4519
|
const deleteOperationSpec$4 = {
|
|
4516
4520
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
@@ -4521,75 +4525,71 @@ const deleteOperationSpec$4 = {
|
|
|
4521
4525
|
202: {},
|
|
4522
4526
|
204: {},
|
|
4523
4527
|
default: {
|
|
4524
|
-
bodyMapper: CloudError
|
|
4525
|
-
}
|
|
4528
|
+
bodyMapper: CloudError,
|
|
4529
|
+
},
|
|
4526
4530
|
},
|
|
4527
4531
|
queryParameters: [apiVersion],
|
|
4528
4532
|
urlParameters: [
|
|
4529
4533
|
$host,
|
|
4530
4534
|
resourceGroupName,
|
|
4531
4535
|
subscriptionId,
|
|
4532
|
-
accountName1
|
|
4536
|
+
accountName1,
|
|
4533
4537
|
],
|
|
4534
4538
|
headerParameters: [accept],
|
|
4535
|
-
serializer: serializer$8
|
|
4539
|
+
serializer: serializer$8,
|
|
4536
4540
|
};
|
|
4537
4541
|
const getOperationSpec$6 = {
|
|
4538
4542
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
4539
4543
|
httpMethod: "GET",
|
|
4540
4544
|
responses: {
|
|
4541
4545
|
200: {
|
|
4542
|
-
bodyMapper: BatchAccount
|
|
4546
|
+
bodyMapper: BatchAccount,
|
|
4543
4547
|
},
|
|
4544
4548
|
default: {
|
|
4545
|
-
bodyMapper: CloudError
|
|
4546
|
-
}
|
|
4549
|
+
bodyMapper: CloudError,
|
|
4550
|
+
},
|
|
4547
4551
|
},
|
|
4548
4552
|
queryParameters: [apiVersion],
|
|
4549
4553
|
urlParameters: [
|
|
4550
4554
|
$host,
|
|
4551
4555
|
resourceGroupName,
|
|
4552
4556
|
subscriptionId,
|
|
4553
|
-
accountName1
|
|
4557
|
+
accountName1,
|
|
4554
4558
|
],
|
|
4555
4559
|
headerParameters: [accept],
|
|
4556
|
-
serializer: serializer$8
|
|
4560
|
+
serializer: serializer$8,
|
|
4557
4561
|
};
|
|
4558
4562
|
const listOperationSpec$3 = {
|
|
4559
4563
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts",
|
|
4560
4564
|
httpMethod: "GET",
|
|
4561
4565
|
responses: {
|
|
4562
4566
|
200: {
|
|
4563
|
-
bodyMapper: BatchAccountListResult
|
|
4567
|
+
bodyMapper: BatchAccountListResult,
|
|
4564
4568
|
},
|
|
4565
4569
|
default: {
|
|
4566
|
-
bodyMapper: CloudError
|
|
4567
|
-
}
|
|
4570
|
+
bodyMapper: CloudError,
|
|
4571
|
+
},
|
|
4568
4572
|
},
|
|
4569
4573
|
queryParameters: [apiVersion],
|
|
4570
4574
|
urlParameters: [$host, subscriptionId],
|
|
4571
4575
|
headerParameters: [accept],
|
|
4572
|
-
serializer: serializer$8
|
|
4576
|
+
serializer: serializer$8,
|
|
4573
4577
|
};
|
|
4574
4578
|
const listByResourceGroupOperationSpec = {
|
|
4575
4579
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts",
|
|
4576
4580
|
httpMethod: "GET",
|
|
4577
4581
|
responses: {
|
|
4578
4582
|
200: {
|
|
4579
|
-
bodyMapper: BatchAccountListResult
|
|
4583
|
+
bodyMapper: BatchAccountListResult,
|
|
4580
4584
|
},
|
|
4581
4585
|
default: {
|
|
4582
|
-
bodyMapper: CloudError
|
|
4583
|
-
}
|
|
4586
|
+
bodyMapper: CloudError,
|
|
4587
|
+
},
|
|
4584
4588
|
},
|
|
4585
4589
|
queryParameters: [apiVersion],
|
|
4586
|
-
urlParameters: [
|
|
4587
|
-
$host,
|
|
4588
|
-
resourceGroupName,
|
|
4589
|
-
subscriptionId
|
|
4590
|
-
],
|
|
4590
|
+
urlParameters: [$host, resourceGroupName, subscriptionId],
|
|
4591
4591
|
headerParameters: [accept],
|
|
4592
|
-
serializer: serializer$8
|
|
4592
|
+
serializer: serializer$8,
|
|
4593
4593
|
};
|
|
4594
4594
|
const synchronizeAutoStorageKeysOperationSpec = {
|
|
4595
4595
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys",
|
|
@@ -4597,29 +4597,29 @@ const synchronizeAutoStorageKeysOperationSpec = {
|
|
|
4597
4597
|
responses: {
|
|
4598
4598
|
204: {},
|
|
4599
4599
|
default: {
|
|
4600
|
-
bodyMapper: CloudError
|
|
4601
|
-
}
|
|
4600
|
+
bodyMapper: CloudError,
|
|
4601
|
+
},
|
|
4602
4602
|
},
|
|
4603
4603
|
queryParameters: [apiVersion],
|
|
4604
4604
|
urlParameters: [
|
|
4605
4605
|
$host,
|
|
4606
4606
|
resourceGroupName,
|
|
4607
4607
|
subscriptionId,
|
|
4608
|
-
accountName1
|
|
4608
|
+
accountName1,
|
|
4609
4609
|
],
|
|
4610
4610
|
headerParameters: [accept],
|
|
4611
|
-
serializer: serializer$8
|
|
4611
|
+
serializer: serializer$8,
|
|
4612
4612
|
};
|
|
4613
4613
|
const regenerateKeyOperationSpec = {
|
|
4614
4614
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys",
|
|
4615
4615
|
httpMethod: "POST",
|
|
4616
4616
|
responses: {
|
|
4617
4617
|
200: {
|
|
4618
|
-
bodyMapper: BatchAccountKeys
|
|
4618
|
+
bodyMapper: BatchAccountKeys,
|
|
4619
4619
|
},
|
|
4620
4620
|
default: {
|
|
4621
|
-
bodyMapper: CloudError
|
|
4622
|
-
}
|
|
4621
|
+
bodyMapper: CloudError,
|
|
4622
|
+
},
|
|
4623
4623
|
},
|
|
4624
4624
|
requestBody: parameters2,
|
|
4625
4625
|
queryParameters: [apiVersion],
|
|
@@ -4627,64 +4627,64 @@ const regenerateKeyOperationSpec = {
|
|
|
4627
4627
|
$host,
|
|
4628
4628
|
resourceGroupName,
|
|
4629
4629
|
subscriptionId,
|
|
4630
|
-
accountName1
|
|
4630
|
+
accountName1,
|
|
4631
4631
|
],
|
|
4632
4632
|
headerParameters: [contentType, accept],
|
|
4633
4633
|
mediaType: "json",
|
|
4634
|
-
serializer: serializer$8
|
|
4634
|
+
serializer: serializer$8,
|
|
4635
4635
|
};
|
|
4636
4636
|
const getKeysOperationSpec = {
|
|
4637
4637
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys",
|
|
4638
4638
|
httpMethod: "POST",
|
|
4639
4639
|
responses: {
|
|
4640
4640
|
200: {
|
|
4641
|
-
bodyMapper: BatchAccountKeys
|
|
4641
|
+
bodyMapper: BatchAccountKeys,
|
|
4642
4642
|
},
|
|
4643
4643
|
default: {
|
|
4644
|
-
bodyMapper: CloudError
|
|
4645
|
-
}
|
|
4644
|
+
bodyMapper: CloudError,
|
|
4645
|
+
},
|
|
4646
4646
|
},
|
|
4647
4647
|
queryParameters: [apiVersion],
|
|
4648
4648
|
urlParameters: [
|
|
4649
4649
|
$host,
|
|
4650
4650
|
resourceGroupName,
|
|
4651
4651
|
subscriptionId,
|
|
4652
|
-
accountName1
|
|
4652
|
+
accountName1,
|
|
4653
4653
|
],
|
|
4654
4654
|
headerParameters: [accept],
|
|
4655
|
-
serializer: serializer$8
|
|
4655
|
+
serializer: serializer$8,
|
|
4656
4656
|
};
|
|
4657
4657
|
const listDetectorsOperationSpec = {
|
|
4658
4658
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors",
|
|
4659
4659
|
httpMethod: "GET",
|
|
4660
4660
|
responses: {
|
|
4661
4661
|
200: {
|
|
4662
|
-
bodyMapper: DetectorListResult
|
|
4662
|
+
bodyMapper: DetectorListResult,
|
|
4663
4663
|
},
|
|
4664
4664
|
default: {
|
|
4665
|
-
bodyMapper: CloudError
|
|
4666
|
-
}
|
|
4665
|
+
bodyMapper: CloudError,
|
|
4666
|
+
},
|
|
4667
4667
|
},
|
|
4668
4668
|
queryParameters: [apiVersion],
|
|
4669
4669
|
urlParameters: [
|
|
4670
4670
|
$host,
|
|
4671
4671
|
resourceGroupName,
|
|
4672
4672
|
subscriptionId,
|
|
4673
|
-
accountName1
|
|
4673
|
+
accountName1,
|
|
4674
4674
|
],
|
|
4675
4675
|
headerParameters: [accept],
|
|
4676
|
-
serializer: serializer$8
|
|
4676
|
+
serializer: serializer$8,
|
|
4677
4677
|
};
|
|
4678
4678
|
const getDetectorOperationSpec = {
|
|
4679
4679
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}",
|
|
4680
4680
|
httpMethod: "GET",
|
|
4681
4681
|
responses: {
|
|
4682
4682
|
200: {
|
|
4683
|
-
bodyMapper: DetectorResponse
|
|
4683
|
+
bodyMapper: DetectorResponse,
|
|
4684
4684
|
},
|
|
4685
4685
|
default: {
|
|
4686
|
-
bodyMapper: CloudError
|
|
4687
|
-
}
|
|
4686
|
+
bodyMapper: CloudError,
|
|
4687
|
+
},
|
|
4688
4688
|
},
|
|
4689
4689
|
queryParameters: [apiVersion],
|
|
4690
4690
|
urlParameters: [
|
|
@@ -4692,83 +4692,79 @@ const getDetectorOperationSpec = {
|
|
|
4692
4692
|
resourceGroupName,
|
|
4693
4693
|
subscriptionId,
|
|
4694
4694
|
accountName1,
|
|
4695
|
-
detectorId
|
|
4695
|
+
detectorId,
|
|
4696
4696
|
],
|
|
4697
4697
|
headerParameters: [accept],
|
|
4698
|
-
serializer: serializer$8
|
|
4698
|
+
serializer: serializer$8,
|
|
4699
4699
|
};
|
|
4700
4700
|
const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
4701
4701
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints",
|
|
4702
4702
|
httpMethod: "GET",
|
|
4703
4703
|
responses: {
|
|
4704
4704
|
200: {
|
|
4705
|
-
bodyMapper: OutboundEnvironmentEndpointCollection
|
|
4705
|
+
bodyMapper: OutboundEnvironmentEndpointCollection,
|
|
4706
4706
|
},
|
|
4707
4707
|
default: {
|
|
4708
|
-
bodyMapper: CloudError
|
|
4709
|
-
}
|
|
4708
|
+
bodyMapper: CloudError,
|
|
4709
|
+
},
|
|
4710
4710
|
},
|
|
4711
4711
|
queryParameters: [apiVersion],
|
|
4712
4712
|
urlParameters: [
|
|
4713
4713
|
$host,
|
|
4714
4714
|
resourceGroupName,
|
|
4715
4715
|
subscriptionId,
|
|
4716
|
-
accountName1
|
|
4716
|
+
accountName1,
|
|
4717
4717
|
],
|
|
4718
4718
|
headerParameters: [accept],
|
|
4719
|
-
serializer: serializer$8
|
|
4719
|
+
serializer: serializer$8,
|
|
4720
4720
|
};
|
|
4721
4721
|
const listNextOperationSpec$3 = {
|
|
4722
4722
|
path: "{nextLink}",
|
|
4723
4723
|
httpMethod: "GET",
|
|
4724
4724
|
responses: {
|
|
4725
4725
|
200: {
|
|
4726
|
-
bodyMapper: BatchAccountListResult
|
|
4726
|
+
bodyMapper: BatchAccountListResult,
|
|
4727
4727
|
},
|
|
4728
4728
|
default: {
|
|
4729
|
-
bodyMapper: CloudError
|
|
4730
|
-
}
|
|
4729
|
+
bodyMapper: CloudError,
|
|
4730
|
+
},
|
|
4731
4731
|
},
|
|
4732
4732
|
queryParameters: [apiVersion],
|
|
4733
|
-
urlParameters: [
|
|
4734
|
-
$host,
|
|
4735
|
-
subscriptionId,
|
|
4736
|
-
nextLink
|
|
4737
|
-
],
|
|
4733
|
+
urlParameters: [$host, subscriptionId, nextLink],
|
|
4738
4734
|
headerParameters: [accept],
|
|
4739
|
-
serializer: serializer$8
|
|
4735
|
+
serializer: serializer$8,
|
|
4740
4736
|
};
|
|
4741
4737
|
const listByResourceGroupNextOperationSpec = {
|
|
4742
4738
|
path: "{nextLink}",
|
|
4743
4739
|
httpMethod: "GET",
|
|
4744
4740
|
responses: {
|
|
4745
4741
|
200: {
|
|
4746
|
-
bodyMapper: BatchAccountListResult
|
|
4742
|
+
bodyMapper: BatchAccountListResult,
|
|
4747
4743
|
},
|
|
4748
4744
|
default: {
|
|
4749
|
-
bodyMapper: CloudError
|
|
4750
|
-
}
|
|
4745
|
+
bodyMapper: CloudError,
|
|
4746
|
+
},
|
|
4751
4747
|
},
|
|
4752
4748
|
queryParameters: [apiVersion],
|
|
4753
4749
|
urlParameters: [
|
|
4754
4750
|
$host,
|
|
4755
4751
|
resourceGroupName,
|
|
4756
4752
|
subscriptionId,
|
|
4757
|
-
nextLink
|
|
4753
|
+
nextLink,
|
|
4758
4754
|
],
|
|
4759
4755
|
headerParameters: [accept],
|
|
4760
|
-
serializer: serializer$8
|
|
4756
|
+
serializer: serializer$8,
|
|
4761
4757
|
};
|
|
4762
4758
|
const listDetectorsNextOperationSpec = {
|
|
4763
4759
|
path: "{nextLink}",
|
|
4764
4760
|
httpMethod: "GET",
|
|
4765
4761
|
responses: {
|
|
4766
4762
|
200: {
|
|
4767
|
-
bodyMapper: DetectorListResult
|
|
4763
|
+
bodyMapper: DetectorListResult,
|
|
4768
4764
|
},
|
|
4769
4765
|
default: {
|
|
4770
|
-
bodyMapper: CloudError
|
|
4771
|
-
}
|
|
4766
|
+
bodyMapper: CloudError,
|
|
4767
|
+
},
|
|
4772
4768
|
},
|
|
4773
4769
|
queryParameters: [apiVersion],
|
|
4774
4770
|
urlParameters: [
|
|
@@ -4776,21 +4772,21 @@ const listDetectorsNextOperationSpec = {
|
|
|
4776
4772
|
resourceGroupName,
|
|
4777
4773
|
subscriptionId,
|
|
4778
4774
|
accountName1,
|
|
4779
|
-
nextLink
|
|
4775
|
+
nextLink,
|
|
4780
4776
|
],
|
|
4781
4777
|
headerParameters: [accept],
|
|
4782
|
-
serializer: serializer$8
|
|
4778
|
+
serializer: serializer$8,
|
|
4783
4779
|
};
|
|
4784
4780
|
const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
4785
4781
|
path: "{nextLink}",
|
|
4786
4782
|
httpMethod: "GET",
|
|
4787
4783
|
responses: {
|
|
4788
4784
|
200: {
|
|
4789
|
-
bodyMapper: OutboundEnvironmentEndpointCollection
|
|
4785
|
+
bodyMapper: OutboundEnvironmentEndpointCollection,
|
|
4790
4786
|
},
|
|
4791
4787
|
default: {
|
|
4792
|
-
bodyMapper: CloudError
|
|
4793
|
-
}
|
|
4788
|
+
bodyMapper: CloudError,
|
|
4789
|
+
},
|
|
4794
4790
|
},
|
|
4795
4791
|
queryParameters: [apiVersion],
|
|
4796
4792
|
urlParameters: [
|
|
@@ -4798,10 +4794,10 @@ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
|
4798
4794
|
resourceGroupName,
|
|
4799
4795
|
subscriptionId,
|
|
4800
4796
|
accountName1,
|
|
4801
|
-
nextLink
|
|
4797
|
+
nextLink,
|
|
4802
4798
|
],
|
|
4803
4799
|
headerParameters: [accept],
|
|
4804
|
-
serializer: serializer$8
|
|
4800
|
+
serializer: serializer$8,
|
|
4805
4801
|
};
|
|
4806
4802
|
|
|
4807
4803
|
/*
|
|
@@ -5923,11 +5919,13 @@ class CertificateOperationsImpl {
|
|
|
5923
5919
|
};
|
|
5924
5920
|
});
|
|
5925
5921
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, certificateName, options }, deleteOperationSpec$1);
|
|
5926
|
-
|
|
5922
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
5927
5923
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5928
5924
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5929
5925
|
lroResourceLocationConfig: "location"
|
|
5930
5926
|
});
|
|
5927
|
+
yield poller.poll();
|
|
5928
|
+
return poller;
|
|
5931
5929
|
});
|
|
5932
5930
|
}
|
|
5933
5931
|
/**
|
|
@@ -6468,11 +6466,13 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6468
6466
|
parameters,
|
|
6469
6467
|
options
|
|
6470
6468
|
}, updateOperationSpec$1);
|
|
6471
|
-
|
|
6469
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
6472
6470
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6473
6471
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6474
6472
|
lroResourceLocationConfig: "azure-async-operation"
|
|
6475
6473
|
});
|
|
6474
|
+
yield poller.poll();
|
|
6475
|
+
return poller;
|
|
6476
6476
|
});
|
|
6477
6477
|
}
|
|
6478
6478
|
/**
|
|
@@ -6738,11 +6738,13 @@ class PoolOperationsImpl {
|
|
|
6738
6738
|
};
|
|
6739
6739
|
});
|
|
6740
6740
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, options }, deleteOperationSpec);
|
|
6741
|
-
|
|
6741
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
6742
6742
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6743
6743
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6744
6744
|
lroResourceLocationConfig: "location"
|
|
6745
6745
|
});
|
|
6746
|
+
yield poller.poll();
|
|
6747
|
+
return poller;
|
|
6746
6748
|
});
|
|
6747
6749
|
}
|
|
6748
6750
|
/**
|
|
@@ -7027,6 +7029,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7027
7029
|
* @param options The parameter options
|
|
7028
7030
|
*/
|
|
7029
7031
|
constructor(credentials, subscriptionId, options) {
|
|
7032
|
+
var _a, _b;
|
|
7030
7033
|
if (credentials === undefined) {
|
|
7031
7034
|
throw new Error("'credentials' cannot be null");
|
|
7032
7035
|
}
|
|
@@ -7041,7 +7044,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7041
7044
|
requestContentType: "application/json; charset=utf-8",
|
|
7042
7045
|
credential: credentials
|
|
7043
7046
|
};
|
|
7044
|
-
const packageDetails = `azsdk-js-arm-batch/7.1.
|
|
7047
|
+
const packageDetails = `azsdk-js-arm-batch/7.1.2`;
|
|
7045
7048
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
7046
7049
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
7047
7050
|
: `${packageDetails}`;
|
|
@@ -7050,7 +7053,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7050
7053
|
}
|
|
7051
7054
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
7052
7055
|
userAgentPrefix
|
|
7053
|
-
}, baseUri: options.endpoint
|
|
7056
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
7054
7057
|
super(optionsWithDefaults);
|
|
7055
7058
|
// Parameter assignments
|
|
7056
7059
|
this.subscriptionId = subscriptionId;
|