@azure/arm-batch 7.0.1-alpha.20220107.1 → 7.0.1-alpha.20220128.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 +151 -131
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -4112,7 +4132,7 @@ class BatchAccountOperationsImpl {
|
|
|
4112
4132
|
}
|
|
4113
4133
|
};
|
|
4114
4134
|
});
|
|
4115
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec);
|
|
4135
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec$4);
|
|
4116
4136
|
return new coreLro.LroEngine(lro, {
|
|
4117
4137
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4118
4138
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -4145,7 +4165,7 @@ class BatchAccountOperationsImpl {
|
|
|
4145
4165
|
* @param options The options parameters.
|
|
4146
4166
|
*/
|
|
4147
4167
|
update(resourceGroupName, accountName, parameters, options) {
|
|
4148
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, updateOperationSpec);
|
|
4168
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, updateOperationSpec$4);
|
|
4149
4169
|
}
|
|
4150
4170
|
/**
|
|
4151
4171
|
* Deletes the specified Batch account.
|
|
@@ -4177,7 +4197,7 @@ class BatchAccountOperationsImpl {
|
|
|
4177
4197
|
}
|
|
4178
4198
|
};
|
|
4179
4199
|
});
|
|
4180
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec);
|
|
4200
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$4);
|
|
4181
4201
|
return new coreLro.LroEngine(lro, {
|
|
4182
4202
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4183
4203
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -4204,14 +4224,14 @@ class BatchAccountOperationsImpl {
|
|
|
4204
4224
|
* @param options The options parameters.
|
|
4205
4225
|
*/
|
|
4206
4226
|
get(resourceGroupName, accountName, options) {
|
|
4207
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec);
|
|
4227
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec$6);
|
|
4208
4228
|
}
|
|
4209
4229
|
/**
|
|
4210
4230
|
* Gets information about the Batch accounts associated with the subscription.
|
|
4211
4231
|
* @param options The options parameters.
|
|
4212
4232
|
*/
|
|
4213
4233
|
_list(options) {
|
|
4214
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
4234
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$3);
|
|
4215
4235
|
}
|
|
4216
4236
|
/**
|
|
4217
4237
|
* Gets information about the Batch accounts associated with the specified resource group.
|
|
@@ -4276,7 +4296,7 @@ class BatchAccountOperationsImpl {
|
|
|
4276
4296
|
* @param options The options parameters.
|
|
4277
4297
|
*/
|
|
4278
4298
|
_listNext(nextLink, options) {
|
|
4279
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
4299
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$3);
|
|
4280
4300
|
}
|
|
4281
4301
|
/**
|
|
4282
4302
|
* ListByResourceGroupNext
|
|
@@ -4300,8 +4320,8 @@ class BatchAccountOperationsImpl {
|
|
|
4300
4320
|
}
|
|
4301
4321
|
}
|
|
4302
4322
|
// Operation Specifications
|
|
4303
|
-
const serializer =
|
|
4304
|
-
const createOperationSpec = {
|
|
4323
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4324
|
+
const createOperationSpec$4 = {
|
|
4305
4325
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
4306
4326
|
httpMethod: "PUT",
|
|
4307
4327
|
responses: {
|
|
@@ -4331,9 +4351,9 @@ const createOperationSpec = {
|
|
|
4331
4351
|
],
|
|
4332
4352
|
headerParameters: [contentType, accept],
|
|
4333
4353
|
mediaType: "json",
|
|
4334
|
-
serializer
|
|
4354
|
+
serializer: serializer$8
|
|
4335
4355
|
};
|
|
4336
|
-
const updateOperationSpec = {
|
|
4356
|
+
const updateOperationSpec$4 = {
|
|
4337
4357
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
4338
4358
|
httpMethod: "PATCH",
|
|
4339
4359
|
responses: {
|
|
@@ -4354,9 +4374,9 @@ const updateOperationSpec = {
|
|
|
4354
4374
|
],
|
|
4355
4375
|
headerParameters: [contentType, accept],
|
|
4356
4376
|
mediaType: "json",
|
|
4357
|
-
serializer
|
|
4377
|
+
serializer: serializer$8
|
|
4358
4378
|
};
|
|
4359
|
-
const deleteOperationSpec = {
|
|
4379
|
+
const deleteOperationSpec$4 = {
|
|
4360
4380
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
4361
4381
|
httpMethod: "DELETE",
|
|
4362
4382
|
responses: {
|
|
@@ -4376,9 +4396,9 @@ const deleteOperationSpec = {
|
|
|
4376
4396
|
accountName1
|
|
4377
4397
|
],
|
|
4378
4398
|
headerParameters: [accept],
|
|
4379
|
-
serializer
|
|
4399
|
+
serializer: serializer$8
|
|
4380
4400
|
};
|
|
4381
|
-
const getOperationSpec = {
|
|
4401
|
+
const getOperationSpec$6 = {
|
|
4382
4402
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
4383
4403
|
httpMethod: "GET",
|
|
4384
4404
|
responses: {
|
|
@@ -4397,9 +4417,9 @@ const getOperationSpec = {
|
|
|
4397
4417
|
accountName1
|
|
4398
4418
|
],
|
|
4399
4419
|
headerParameters: [accept],
|
|
4400
|
-
serializer
|
|
4420
|
+
serializer: serializer$8
|
|
4401
4421
|
};
|
|
4402
|
-
const listOperationSpec = {
|
|
4422
|
+
const listOperationSpec$3 = {
|
|
4403
4423
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts",
|
|
4404
4424
|
httpMethod: "GET",
|
|
4405
4425
|
responses: {
|
|
@@ -4413,7 +4433,7 @@ const listOperationSpec = {
|
|
|
4413
4433
|
queryParameters: [apiVersion],
|
|
4414
4434
|
urlParameters: [$host, subscriptionId],
|
|
4415
4435
|
headerParameters: [accept],
|
|
4416
|
-
serializer
|
|
4436
|
+
serializer: serializer$8
|
|
4417
4437
|
};
|
|
4418
4438
|
const listByResourceGroupOperationSpec = {
|
|
4419
4439
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts",
|
|
@@ -4433,7 +4453,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
4433
4453
|
subscriptionId
|
|
4434
4454
|
],
|
|
4435
4455
|
headerParameters: [accept],
|
|
4436
|
-
serializer
|
|
4456
|
+
serializer: serializer$8
|
|
4437
4457
|
};
|
|
4438
4458
|
const synchronizeAutoStorageKeysOperationSpec = {
|
|
4439
4459
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys",
|
|
@@ -4452,7 +4472,7 @@ const synchronizeAutoStorageKeysOperationSpec = {
|
|
|
4452
4472
|
accountName1
|
|
4453
4473
|
],
|
|
4454
4474
|
headerParameters: [accept],
|
|
4455
|
-
serializer
|
|
4475
|
+
serializer: serializer$8
|
|
4456
4476
|
};
|
|
4457
4477
|
const regenerateKeyOperationSpec = {
|
|
4458
4478
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys",
|
|
@@ -4475,7 +4495,7 @@ const regenerateKeyOperationSpec = {
|
|
|
4475
4495
|
],
|
|
4476
4496
|
headerParameters: [contentType, accept],
|
|
4477
4497
|
mediaType: "json",
|
|
4478
|
-
serializer
|
|
4498
|
+
serializer: serializer$8
|
|
4479
4499
|
};
|
|
4480
4500
|
const getKeysOperationSpec = {
|
|
4481
4501
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys",
|
|
@@ -4496,7 +4516,7 @@ const getKeysOperationSpec = {
|
|
|
4496
4516
|
accountName1
|
|
4497
4517
|
],
|
|
4498
4518
|
headerParameters: [accept],
|
|
4499
|
-
serializer
|
|
4519
|
+
serializer: serializer$8
|
|
4500
4520
|
};
|
|
4501
4521
|
const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
4502
4522
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints",
|
|
@@ -4517,9 +4537,9 @@ const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
|
4517
4537
|
accountName1
|
|
4518
4538
|
],
|
|
4519
4539
|
headerParameters: [accept],
|
|
4520
|
-
serializer
|
|
4540
|
+
serializer: serializer$8
|
|
4521
4541
|
};
|
|
4522
|
-
const listNextOperationSpec = {
|
|
4542
|
+
const listNextOperationSpec$3 = {
|
|
4523
4543
|
path: "{nextLink}",
|
|
4524
4544
|
httpMethod: "GET",
|
|
4525
4545
|
responses: {
|
|
@@ -4537,7 +4557,7 @@ const listNextOperationSpec = {
|
|
|
4537
4557
|
nextLink
|
|
4538
4558
|
],
|
|
4539
4559
|
headerParameters: [accept],
|
|
4540
|
-
serializer
|
|
4560
|
+
serializer: serializer$8
|
|
4541
4561
|
};
|
|
4542
4562
|
const listByResourceGroupNextOperationSpec = {
|
|
4543
4563
|
path: "{nextLink}",
|
|
@@ -4558,7 +4578,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
4558
4578
|
nextLink
|
|
4559
4579
|
],
|
|
4560
4580
|
headerParameters: [accept],
|
|
4561
|
-
serializer
|
|
4581
|
+
serializer: serializer$8
|
|
4562
4582
|
};
|
|
4563
4583
|
const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
4564
4584
|
path: "{nextLink}",
|
|
@@ -4580,7 +4600,7 @@ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
|
4580
4600
|
nextLink
|
|
4581
4601
|
],
|
|
4582
4602
|
headerParameters: [accept],
|
|
4583
|
-
serializer
|
|
4603
|
+
serializer: serializer$8
|
|
4584
4604
|
};
|
|
4585
4605
|
|
|
4586
4606
|
/*
|
|
@@ -4684,7 +4704,7 @@ class ApplicationPackageOperationsImpl {
|
|
|
4684
4704
|
* @param options The options parameters.
|
|
4685
4705
|
*/
|
|
4686
4706
|
create(resourceGroupName, accountName, applicationName, versionName, options) {
|
|
4687
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, versionName, options }, createOperationSpec$
|
|
4707
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, versionName, options }, createOperationSpec$3);
|
|
4688
4708
|
}
|
|
4689
4709
|
/**
|
|
4690
4710
|
* Deletes an application package record and its associated binary file.
|
|
@@ -4695,7 +4715,7 @@ class ApplicationPackageOperationsImpl {
|
|
|
4695
4715
|
* @param options The options parameters.
|
|
4696
4716
|
*/
|
|
4697
4717
|
delete(resourceGroupName, accountName, applicationName, versionName, options) {
|
|
4698
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, versionName, options }, deleteOperationSpec$
|
|
4718
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, versionName, options }, deleteOperationSpec$3);
|
|
4699
4719
|
}
|
|
4700
4720
|
/**
|
|
4701
4721
|
* Gets information about the specified application package.
|
|
@@ -4706,7 +4726,7 @@ class ApplicationPackageOperationsImpl {
|
|
|
4706
4726
|
* @param options The options parameters.
|
|
4707
4727
|
*/
|
|
4708
4728
|
get(resourceGroupName, accountName, applicationName, versionName, options) {
|
|
4709
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, versionName, options }, getOperationSpec$
|
|
4729
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, versionName, options }, getOperationSpec$5);
|
|
4710
4730
|
}
|
|
4711
4731
|
/**
|
|
4712
4732
|
* Lists all of the application packages in the specified application.
|
|
@@ -4716,7 +4736,7 @@ class ApplicationPackageOperationsImpl {
|
|
|
4716
4736
|
* @param options The options parameters.
|
|
4717
4737
|
*/
|
|
4718
4738
|
_list(resourceGroupName, accountName, applicationName, options) {
|
|
4719
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, options }, listOperationSpec$
|
|
4739
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, options }, listOperationSpec$2);
|
|
4720
4740
|
}
|
|
4721
4741
|
/**
|
|
4722
4742
|
* ListNext
|
|
@@ -4727,11 +4747,11 @@ class ApplicationPackageOperationsImpl {
|
|
|
4727
4747
|
* @param options The options parameters.
|
|
4728
4748
|
*/
|
|
4729
4749
|
_listNext(resourceGroupName, accountName, applicationName, nextLink, options) {
|
|
4730
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, nextLink, options }, listNextOperationSpec$
|
|
4750
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, nextLink, options }, listNextOperationSpec$2);
|
|
4731
4751
|
}
|
|
4732
4752
|
}
|
|
4733
4753
|
// Operation Specifications
|
|
4734
|
-
const serializer$
|
|
4754
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4735
4755
|
const activateOperationSpec = {
|
|
4736
4756
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}/activate",
|
|
4737
4757
|
httpMethod: "POST",
|
|
@@ -4755,9 +4775,9 @@ const activateOperationSpec = {
|
|
|
4755
4775
|
],
|
|
4756
4776
|
headerParameters: [contentType, accept],
|
|
4757
4777
|
mediaType: "json",
|
|
4758
|
-
serializer: serializer$
|
|
4778
|
+
serializer: serializer$7
|
|
4759
4779
|
};
|
|
4760
|
-
const createOperationSpec$
|
|
4780
|
+
const createOperationSpec$3 = {
|
|
4761
4781
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}",
|
|
4762
4782
|
httpMethod: "PUT",
|
|
4763
4783
|
responses: {
|
|
@@ -4780,9 +4800,9 @@ const createOperationSpec$1 = {
|
|
|
4780
4800
|
],
|
|
4781
4801
|
headerParameters: [contentType, accept],
|
|
4782
4802
|
mediaType: "json",
|
|
4783
|
-
serializer: serializer$
|
|
4803
|
+
serializer: serializer$7
|
|
4784
4804
|
};
|
|
4785
|
-
const deleteOperationSpec$
|
|
4805
|
+
const deleteOperationSpec$3 = {
|
|
4786
4806
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}",
|
|
4787
4807
|
httpMethod: "DELETE",
|
|
4788
4808
|
responses: {
|
|
@@ -4802,9 +4822,9 @@ const deleteOperationSpec$1 = {
|
|
|
4802
4822
|
versionName
|
|
4803
4823
|
],
|
|
4804
4824
|
headerParameters: [accept],
|
|
4805
|
-
serializer: serializer$
|
|
4825
|
+
serializer: serializer$7
|
|
4806
4826
|
};
|
|
4807
|
-
const getOperationSpec$
|
|
4827
|
+
const getOperationSpec$5 = {
|
|
4808
4828
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}",
|
|
4809
4829
|
httpMethod: "GET",
|
|
4810
4830
|
responses: {
|
|
@@ -4825,9 +4845,9 @@ const getOperationSpec$1 = {
|
|
|
4825
4845
|
versionName
|
|
4826
4846
|
],
|
|
4827
4847
|
headerParameters: [accept],
|
|
4828
|
-
serializer: serializer$
|
|
4848
|
+
serializer: serializer$7
|
|
4829
4849
|
};
|
|
4830
|
-
const listOperationSpec$
|
|
4850
|
+
const listOperationSpec$2 = {
|
|
4831
4851
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions",
|
|
4832
4852
|
httpMethod: "GET",
|
|
4833
4853
|
responses: {
|
|
@@ -4847,9 +4867,9 @@ const listOperationSpec$1 = {
|
|
|
4847
4867
|
applicationName
|
|
4848
4868
|
],
|
|
4849
4869
|
headerParameters: [accept],
|
|
4850
|
-
serializer: serializer$
|
|
4870
|
+
serializer: serializer$7
|
|
4851
4871
|
};
|
|
4852
|
-
const listNextOperationSpec$
|
|
4872
|
+
const listNextOperationSpec$2 = {
|
|
4853
4873
|
path: "{nextLink}",
|
|
4854
4874
|
httpMethod: "GET",
|
|
4855
4875
|
responses: {
|
|
@@ -4870,7 +4890,7 @@ const listNextOperationSpec$1 = {
|
|
|
4870
4890
|
applicationName
|
|
4871
4891
|
],
|
|
4872
4892
|
headerParameters: [accept],
|
|
4873
|
-
serializer: serializer$
|
|
4893
|
+
serializer: serializer$7
|
|
4874
4894
|
};
|
|
4875
4895
|
|
|
4876
4896
|
/*
|
|
@@ -4968,7 +4988,7 @@ class ApplicationOperationsImpl {
|
|
|
4968
4988
|
* @param options The options parameters.
|
|
4969
4989
|
*/
|
|
4970
4990
|
get(resourceGroupName, accountName, applicationName, options) {
|
|
4971
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, options }, getOperationSpec$
|
|
4991
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, options }, getOperationSpec$4);
|
|
4972
4992
|
}
|
|
4973
4993
|
/**
|
|
4974
4994
|
* Updates settings for the specified application.
|
|
@@ -4979,7 +4999,7 @@ class ApplicationOperationsImpl {
|
|
|
4979
4999
|
* @param options The options parameters.
|
|
4980
5000
|
*/
|
|
4981
5001
|
update(resourceGroupName, accountName, applicationName, parameters, options) {
|
|
4982
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, parameters, options }, updateOperationSpec$
|
|
5002
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, applicationName, parameters, options }, updateOperationSpec$3);
|
|
4983
5003
|
}
|
|
4984
5004
|
/**
|
|
4985
5005
|
* Lists all of the applications in the specified account.
|
|
@@ -4988,7 +5008,7 @@ class ApplicationOperationsImpl {
|
|
|
4988
5008
|
* @param options The options parameters.
|
|
4989
5009
|
*/
|
|
4990
5010
|
_list(resourceGroupName, accountName, options) {
|
|
4991
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
5011
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$1);
|
|
4992
5012
|
}
|
|
4993
5013
|
/**
|
|
4994
5014
|
* ListNext
|
|
@@ -4998,11 +5018,11 @@ class ApplicationOperationsImpl {
|
|
|
4998
5018
|
* @param options The options parameters.
|
|
4999
5019
|
*/
|
|
5000
5020
|
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
5001
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$
|
|
5021
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec$1);
|
|
5002
5022
|
}
|
|
5003
5023
|
}
|
|
5004
5024
|
// Operation Specifications
|
|
5005
|
-
const serializer$
|
|
5025
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5006
5026
|
const createOperationSpec$2 = {
|
|
5007
5027
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
5008
5028
|
httpMethod: "PUT",
|
|
@@ -5025,7 +5045,7 @@ const createOperationSpec$2 = {
|
|
|
5025
5045
|
],
|
|
5026
5046
|
headerParameters: [contentType, accept],
|
|
5027
5047
|
mediaType: "json",
|
|
5028
|
-
serializer: serializer$
|
|
5048
|
+
serializer: serializer$6
|
|
5029
5049
|
};
|
|
5030
5050
|
const deleteOperationSpec$2 = {
|
|
5031
5051
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
@@ -5046,9 +5066,9 @@ const deleteOperationSpec$2 = {
|
|
|
5046
5066
|
applicationName
|
|
5047
5067
|
],
|
|
5048
5068
|
headerParameters: [accept],
|
|
5049
|
-
serializer: serializer$
|
|
5069
|
+
serializer: serializer$6
|
|
5050
5070
|
};
|
|
5051
|
-
const getOperationSpec$
|
|
5071
|
+
const getOperationSpec$4 = {
|
|
5052
5072
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
5053
5073
|
httpMethod: "GET",
|
|
5054
5074
|
responses: {
|
|
@@ -5068,9 +5088,9 @@ const getOperationSpec$2 = {
|
|
|
5068
5088
|
applicationName
|
|
5069
5089
|
],
|
|
5070
5090
|
headerParameters: [accept],
|
|
5071
|
-
serializer: serializer$
|
|
5091
|
+
serializer: serializer$6
|
|
5072
5092
|
};
|
|
5073
|
-
const updateOperationSpec$
|
|
5093
|
+
const updateOperationSpec$3 = {
|
|
5074
5094
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
5075
5095
|
httpMethod: "PATCH",
|
|
5076
5096
|
responses: {
|
|
@@ -5092,9 +5112,9 @@ const updateOperationSpec$1 = {
|
|
|
5092
5112
|
],
|
|
5093
5113
|
headerParameters: [contentType, accept],
|
|
5094
5114
|
mediaType: "json",
|
|
5095
|
-
serializer: serializer$
|
|
5115
|
+
serializer: serializer$6
|
|
5096
5116
|
};
|
|
5097
|
-
const listOperationSpec$
|
|
5117
|
+
const listOperationSpec$1 = {
|
|
5098
5118
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications",
|
|
5099
5119
|
httpMethod: "GET",
|
|
5100
5120
|
responses: {
|
|
@@ -5113,9 +5133,9 @@ const listOperationSpec$2 = {
|
|
|
5113
5133
|
accountName1
|
|
5114
5134
|
],
|
|
5115
5135
|
headerParameters: [accept],
|
|
5116
|
-
serializer: serializer$
|
|
5136
|
+
serializer: serializer$6
|
|
5117
5137
|
};
|
|
5118
|
-
const listNextOperationSpec$
|
|
5138
|
+
const listNextOperationSpec$1 = {
|
|
5119
5139
|
path: "{nextLink}",
|
|
5120
5140
|
httpMethod: "GET",
|
|
5121
5141
|
responses: {
|
|
@@ -5135,7 +5155,7 @@ const listNextOperationSpec$2 = {
|
|
|
5135
5155
|
nextLink
|
|
5136
5156
|
],
|
|
5137
5157
|
headerParameters: [accept],
|
|
5138
|
-
serializer: serializer$
|
|
5158
|
+
serializer: serializer$6
|
|
5139
5159
|
};
|
|
5140
5160
|
|
|
5141
5161
|
/*
|
|
@@ -5308,7 +5328,7 @@ class LocationImpl {
|
|
|
5308
5328
|
}
|
|
5309
5329
|
}
|
|
5310
5330
|
// Operation Specifications
|
|
5311
|
-
const serializer$
|
|
5331
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5312
5332
|
const getQuotasOperationSpec = {
|
|
5313
5333
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas",
|
|
5314
5334
|
httpMethod: "GET",
|
|
@@ -5327,7 +5347,7 @@ const getQuotasOperationSpec = {
|
|
|
5327
5347
|
locationName
|
|
5328
5348
|
],
|
|
5329
5349
|
headerParameters: [accept],
|
|
5330
|
-
serializer: serializer$
|
|
5350
|
+
serializer: serializer$5
|
|
5331
5351
|
};
|
|
5332
5352
|
const listSupportedVirtualMachineSkusOperationSpec = {
|
|
5333
5353
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus",
|
|
@@ -5351,7 +5371,7 @@ const listSupportedVirtualMachineSkusOperationSpec = {
|
|
|
5351
5371
|
locationName
|
|
5352
5372
|
],
|
|
5353
5373
|
headerParameters: [accept],
|
|
5354
|
-
serializer: serializer$
|
|
5374
|
+
serializer: serializer$5
|
|
5355
5375
|
};
|
|
5356
5376
|
const listSupportedCloudServiceSkusOperationSpec = {
|
|
5357
5377
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus",
|
|
@@ -5375,7 +5395,7 @@ const listSupportedCloudServiceSkusOperationSpec = {
|
|
|
5375
5395
|
locationName
|
|
5376
5396
|
],
|
|
5377
5397
|
headerParameters: [accept],
|
|
5378
|
-
serializer: serializer$
|
|
5398
|
+
serializer: serializer$5
|
|
5379
5399
|
};
|
|
5380
5400
|
const checkNameAvailabilityOperationSpec = {
|
|
5381
5401
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability",
|
|
@@ -5397,7 +5417,7 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
5397
5417
|
],
|
|
5398
5418
|
headerParameters: [contentType, accept],
|
|
5399
5419
|
mediaType: "json",
|
|
5400
|
-
serializer: serializer$
|
|
5420
|
+
serializer: serializer$5
|
|
5401
5421
|
};
|
|
5402
5422
|
const listSupportedVirtualMachineSkusNextOperationSpec = {
|
|
5403
5423
|
path: "{nextLink}",
|
|
@@ -5422,7 +5442,7 @@ const listSupportedVirtualMachineSkusNextOperationSpec = {
|
|
|
5422
5442
|
locationName
|
|
5423
5443
|
],
|
|
5424
5444
|
headerParameters: [accept],
|
|
5425
|
-
serializer: serializer$
|
|
5445
|
+
serializer: serializer$5
|
|
5426
5446
|
};
|
|
5427
5447
|
const listSupportedCloudServiceSkusNextOperationSpec = {
|
|
5428
5448
|
path: "{nextLink}",
|
|
@@ -5447,7 +5467,7 @@ const listSupportedCloudServiceSkusNextOperationSpec = {
|
|
|
5447
5467
|
locationName
|
|
5448
5468
|
],
|
|
5449
5469
|
headerParameters: [accept],
|
|
5450
|
-
serializer: serializer$
|
|
5470
|
+
serializer: serializer$5
|
|
5451
5471
|
};
|
|
5452
5472
|
|
|
5453
5473
|
/*
|
|
@@ -5520,7 +5540,7 @@ class OperationsImpl {
|
|
|
5520
5540
|
* @param options The options parameters.
|
|
5521
5541
|
*/
|
|
5522
5542
|
_list(options) {
|
|
5523
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec
|
|
5543
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
5524
5544
|
}
|
|
5525
5545
|
/**
|
|
5526
5546
|
* ListNext
|
|
@@ -5528,12 +5548,12 @@ class OperationsImpl {
|
|
|
5528
5548
|
* @param options The options parameters.
|
|
5529
5549
|
*/
|
|
5530
5550
|
_listNext(nextLink, options) {
|
|
5531
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec
|
|
5551
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
5532
5552
|
}
|
|
5533
5553
|
}
|
|
5534
5554
|
// Operation Specifications
|
|
5535
|
-
const serializer$4 =
|
|
5536
|
-
const listOperationSpec
|
|
5555
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5556
|
+
const listOperationSpec = {
|
|
5537
5557
|
path: "/providers/Microsoft.Batch/operations",
|
|
5538
5558
|
httpMethod: "GET",
|
|
5539
5559
|
responses: {
|
|
@@ -5549,7 +5569,7 @@ const listOperationSpec$3 = {
|
|
|
5549
5569
|
headerParameters: [accept],
|
|
5550
5570
|
serializer: serializer$4
|
|
5551
5571
|
};
|
|
5552
|
-
const listNextOperationSpec
|
|
5572
|
+
const listNextOperationSpec = {
|
|
5553
5573
|
path: "{nextLink}",
|
|
5554
5574
|
httpMethod: "GET",
|
|
5555
5575
|
responses: {
|
|
@@ -5640,7 +5660,7 @@ class CertificateOperationsImpl {
|
|
|
5640
5660
|
* @param options The options parameters.
|
|
5641
5661
|
*/
|
|
5642
5662
|
_listByBatchAccount(resourceGroupName, accountName, options) {
|
|
5643
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec);
|
|
5663
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec$3);
|
|
5644
5664
|
}
|
|
5645
5665
|
/**
|
|
5646
5666
|
* Creates a new certificate inside the specified account.
|
|
@@ -5653,7 +5673,7 @@ class CertificateOperationsImpl {
|
|
|
5653
5673
|
* @param options The options parameters.
|
|
5654
5674
|
*/
|
|
5655
5675
|
create(resourceGroupName, accountName, certificateName, parameters, options) {
|
|
5656
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, certificateName, parameters, options }, createOperationSpec$
|
|
5676
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, certificateName, parameters, options }, createOperationSpec$1);
|
|
5657
5677
|
}
|
|
5658
5678
|
/**
|
|
5659
5679
|
* Updates the properties of an existing certificate.
|
|
@@ -5701,7 +5721,7 @@ class CertificateOperationsImpl {
|
|
|
5701
5721
|
}
|
|
5702
5722
|
};
|
|
5703
5723
|
});
|
|
5704
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, certificateName, options }, deleteOperationSpec$
|
|
5724
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, certificateName, options }, deleteOperationSpec$1);
|
|
5705
5725
|
return new coreLro.LroEngine(lro, {
|
|
5706
5726
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5707
5727
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5761,12 +5781,12 @@ class CertificateOperationsImpl {
|
|
|
5761
5781
|
* @param options The options parameters.
|
|
5762
5782
|
*/
|
|
5763
5783
|
_listByBatchAccountNext(resourceGroupName, accountName, nextLink, options) {
|
|
5764
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec);
|
|
5784
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec$3);
|
|
5765
5785
|
}
|
|
5766
5786
|
}
|
|
5767
5787
|
// Operation Specifications
|
|
5768
|
-
const serializer$
|
|
5769
|
-
const listByBatchAccountOperationSpec = {
|
|
5788
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5789
|
+
const listByBatchAccountOperationSpec$3 = {
|
|
5770
5790
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates",
|
|
5771
5791
|
httpMethod: "GET",
|
|
5772
5792
|
responses: {
|
|
@@ -5790,9 +5810,9 @@ const listByBatchAccountOperationSpec = {
|
|
|
5790
5810
|
accountName1
|
|
5791
5811
|
],
|
|
5792
5812
|
headerParameters: [accept],
|
|
5793
|
-
serializer: serializer$
|
|
5813
|
+
serializer: serializer$3
|
|
5794
5814
|
};
|
|
5795
|
-
const createOperationSpec$
|
|
5815
|
+
const createOperationSpec$1 = {
|
|
5796
5816
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
5797
5817
|
httpMethod: "PUT",
|
|
5798
5818
|
responses: {
|
|
@@ -5820,7 +5840,7 @@ const createOperationSpec$3 = {
|
|
|
5820
5840
|
ifNoneMatch
|
|
5821
5841
|
],
|
|
5822
5842
|
mediaType: "json",
|
|
5823
|
-
serializer: serializer$
|
|
5843
|
+
serializer: serializer$3
|
|
5824
5844
|
};
|
|
5825
5845
|
const updateOperationSpec$2 = {
|
|
5826
5846
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
@@ -5849,9 +5869,9 @@ const updateOperationSpec$2 = {
|
|
|
5849
5869
|
ifMatch
|
|
5850
5870
|
],
|
|
5851
5871
|
mediaType: "json",
|
|
5852
|
-
serializer: serializer$
|
|
5872
|
+
serializer: serializer$3
|
|
5853
5873
|
};
|
|
5854
|
-
const deleteOperationSpec$
|
|
5874
|
+
const deleteOperationSpec$1 = {
|
|
5855
5875
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
5856
5876
|
httpMethod: "DELETE",
|
|
5857
5877
|
responses: {
|
|
@@ -5872,7 +5892,7 @@ const deleteOperationSpec$3 = {
|
|
|
5872
5892
|
certificateName
|
|
5873
5893
|
],
|
|
5874
5894
|
headerParameters: [accept],
|
|
5875
|
-
serializer: serializer$
|
|
5895
|
+
serializer: serializer$3
|
|
5876
5896
|
};
|
|
5877
5897
|
const getOperationSpec$3 = {
|
|
5878
5898
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
@@ -5895,7 +5915,7 @@ const getOperationSpec$3 = {
|
|
|
5895
5915
|
certificateName
|
|
5896
5916
|
],
|
|
5897
5917
|
headerParameters: [accept],
|
|
5898
|
-
serializer: serializer$
|
|
5918
|
+
serializer: serializer$3
|
|
5899
5919
|
};
|
|
5900
5920
|
const cancelDeletionOperationSpec = {
|
|
5901
5921
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete",
|
|
@@ -5918,9 +5938,9 @@ const cancelDeletionOperationSpec = {
|
|
|
5918
5938
|
certificateName
|
|
5919
5939
|
],
|
|
5920
5940
|
headerParameters: [accept],
|
|
5921
|
-
serializer: serializer$
|
|
5941
|
+
serializer: serializer$3
|
|
5922
5942
|
};
|
|
5923
|
-
const listByBatchAccountNextOperationSpec = {
|
|
5943
|
+
const listByBatchAccountNextOperationSpec$3 = {
|
|
5924
5944
|
path: "{nextLink}",
|
|
5925
5945
|
httpMethod: "GET",
|
|
5926
5946
|
responses: {
|
|
@@ -5945,7 +5965,7 @@ const listByBatchAccountNextOperationSpec = {
|
|
|
5945
5965
|
nextLink
|
|
5946
5966
|
],
|
|
5947
5967
|
headerParameters: [accept],
|
|
5948
|
-
serializer: serializer$
|
|
5968
|
+
serializer: serializer$3
|
|
5949
5969
|
};
|
|
5950
5970
|
|
|
5951
5971
|
/*
|
|
@@ -6022,7 +6042,7 @@ class PrivateLinkResourceOperationsImpl {
|
|
|
6022
6042
|
* @param options The options parameters.
|
|
6023
6043
|
*/
|
|
6024
6044
|
_listByBatchAccount(resourceGroupName, accountName, options) {
|
|
6025
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec$
|
|
6045
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec$2);
|
|
6026
6046
|
}
|
|
6027
6047
|
/**
|
|
6028
6048
|
* Gets information about the specified private link resource.
|
|
@@ -6033,7 +6053,7 @@ class PrivateLinkResourceOperationsImpl {
|
|
|
6033
6053
|
* @param options The options parameters.
|
|
6034
6054
|
*/
|
|
6035
6055
|
get(resourceGroupName, accountName, privateLinkResourceName, options) {
|
|
6036
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, privateLinkResourceName, options }, getOperationSpec$
|
|
6056
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, privateLinkResourceName, options }, getOperationSpec$2);
|
|
6037
6057
|
}
|
|
6038
6058
|
/**
|
|
6039
6059
|
* ListByBatchAccountNext
|
|
@@ -6043,12 +6063,12 @@ class PrivateLinkResourceOperationsImpl {
|
|
|
6043
6063
|
* @param options The options parameters.
|
|
6044
6064
|
*/
|
|
6045
6065
|
_listByBatchAccountNext(resourceGroupName, accountName, nextLink, options) {
|
|
6046
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec$
|
|
6066
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec$2);
|
|
6047
6067
|
}
|
|
6048
6068
|
}
|
|
6049
6069
|
// Operation Specifications
|
|
6050
|
-
const serializer$
|
|
6051
|
-
const listByBatchAccountOperationSpec$
|
|
6070
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6071
|
+
const listByBatchAccountOperationSpec$2 = {
|
|
6052
6072
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources",
|
|
6053
6073
|
httpMethod: "GET",
|
|
6054
6074
|
responses: {
|
|
@@ -6067,9 +6087,9 @@ const listByBatchAccountOperationSpec$1 = {
|
|
|
6067
6087
|
accountName1
|
|
6068
6088
|
],
|
|
6069
6089
|
headerParameters: [accept],
|
|
6070
|
-
serializer: serializer$
|
|
6090
|
+
serializer: serializer$2
|
|
6071
6091
|
};
|
|
6072
|
-
const getOperationSpec$
|
|
6092
|
+
const getOperationSpec$2 = {
|
|
6073
6093
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}",
|
|
6074
6094
|
httpMethod: "GET",
|
|
6075
6095
|
responses: {
|
|
@@ -6089,9 +6109,9 @@ const getOperationSpec$4 = {
|
|
|
6089
6109
|
privateLinkResourceName
|
|
6090
6110
|
],
|
|
6091
6111
|
headerParameters: [accept],
|
|
6092
|
-
serializer: serializer$
|
|
6112
|
+
serializer: serializer$2
|
|
6093
6113
|
};
|
|
6094
|
-
const listByBatchAccountNextOperationSpec$
|
|
6114
|
+
const listByBatchAccountNextOperationSpec$2 = {
|
|
6095
6115
|
path: "{nextLink}",
|
|
6096
6116
|
httpMethod: "GET",
|
|
6097
6117
|
responses: {
|
|
@@ -6111,7 +6131,7 @@ const listByBatchAccountNextOperationSpec$1 = {
|
|
|
6111
6131
|
nextLink
|
|
6112
6132
|
],
|
|
6113
6133
|
headerParameters: [accept],
|
|
6114
|
-
serializer: serializer$
|
|
6134
|
+
serializer: serializer$2
|
|
6115
6135
|
};
|
|
6116
6136
|
|
|
6117
6137
|
/*
|
|
@@ -6188,7 +6208,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6188
6208
|
* @param options The options parameters.
|
|
6189
6209
|
*/
|
|
6190
6210
|
_listByBatchAccount(resourceGroupName, accountName, options) {
|
|
6191
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec$
|
|
6211
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec$1);
|
|
6192
6212
|
}
|
|
6193
6213
|
/**
|
|
6194
6214
|
* Gets information about the specified private endpoint connection.
|
|
@@ -6204,7 +6224,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6204
6224
|
accountName,
|
|
6205
6225
|
privateEndpointConnectionName,
|
|
6206
6226
|
options
|
|
6207
|
-
}, getOperationSpec$
|
|
6227
|
+
}, getOperationSpec$1);
|
|
6208
6228
|
}
|
|
6209
6229
|
/**
|
|
6210
6230
|
* Updates the properties of an existing private endpoint connection.
|
|
@@ -6246,7 +6266,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6246
6266
|
privateEndpointConnectionName,
|
|
6247
6267
|
parameters,
|
|
6248
6268
|
options
|
|
6249
|
-
}, updateOperationSpec$
|
|
6269
|
+
}, updateOperationSpec$1);
|
|
6250
6270
|
return new coreLro.LroEngine(lro, {
|
|
6251
6271
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6252
6272
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -6278,12 +6298,12 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6278
6298
|
* @param options The options parameters.
|
|
6279
6299
|
*/
|
|
6280
6300
|
_listByBatchAccountNext(resourceGroupName, accountName, nextLink, options) {
|
|
6281
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec$
|
|
6301
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec$1);
|
|
6282
6302
|
}
|
|
6283
6303
|
}
|
|
6284
6304
|
// Operation Specifications
|
|
6285
|
-
const serializer$
|
|
6286
|
-
const listByBatchAccountOperationSpec$
|
|
6305
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6306
|
+
const listByBatchAccountOperationSpec$1 = {
|
|
6287
6307
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections",
|
|
6288
6308
|
httpMethod: "GET",
|
|
6289
6309
|
responses: {
|
|
@@ -6302,9 +6322,9 @@ const listByBatchAccountOperationSpec$2 = {
|
|
|
6302
6322
|
accountName1
|
|
6303
6323
|
],
|
|
6304
6324
|
headerParameters: [accept],
|
|
6305
|
-
serializer: serializer$
|
|
6325
|
+
serializer: serializer$1
|
|
6306
6326
|
};
|
|
6307
|
-
const getOperationSpec$
|
|
6327
|
+
const getOperationSpec$1 = {
|
|
6308
6328
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6309
6329
|
httpMethod: "GET",
|
|
6310
6330
|
responses: {
|
|
@@ -6324,9 +6344,9 @@ const getOperationSpec$5 = {
|
|
|
6324
6344
|
privateEndpointConnectionName
|
|
6325
6345
|
],
|
|
6326
6346
|
headerParameters: [accept],
|
|
6327
|
-
serializer: serializer$
|
|
6347
|
+
serializer: serializer$1
|
|
6328
6348
|
};
|
|
6329
|
-
const updateOperationSpec$
|
|
6349
|
+
const updateOperationSpec$1 = {
|
|
6330
6350
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6331
6351
|
httpMethod: "PATCH",
|
|
6332
6352
|
responses: {
|
|
@@ -6361,9 +6381,9 @@ const updateOperationSpec$3 = {
|
|
|
6361
6381
|
ifMatch
|
|
6362
6382
|
],
|
|
6363
6383
|
mediaType: "json",
|
|
6364
|
-
serializer: serializer$
|
|
6384
|
+
serializer: serializer$1
|
|
6365
6385
|
};
|
|
6366
|
-
const listByBatchAccountNextOperationSpec$
|
|
6386
|
+
const listByBatchAccountNextOperationSpec$1 = {
|
|
6367
6387
|
path: "{nextLink}",
|
|
6368
6388
|
httpMethod: "GET",
|
|
6369
6389
|
responses: {
|
|
@@ -6383,7 +6403,7 @@ const listByBatchAccountNextOperationSpec$2 = {
|
|
|
6383
6403
|
nextLink
|
|
6384
6404
|
],
|
|
6385
6405
|
headerParameters: [accept],
|
|
6386
|
-
serializer: serializer$
|
|
6406
|
+
serializer: serializer$1
|
|
6387
6407
|
};
|
|
6388
6408
|
|
|
6389
6409
|
/*
|
|
@@ -6460,7 +6480,7 @@ class PoolOperationsImpl {
|
|
|
6460
6480
|
* @param options The options parameters.
|
|
6461
6481
|
*/
|
|
6462
6482
|
_listByBatchAccount(resourceGroupName, accountName, options) {
|
|
6463
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec
|
|
6483
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec);
|
|
6464
6484
|
}
|
|
6465
6485
|
/**
|
|
6466
6486
|
* Creates a new pool inside the specified account.
|
|
@@ -6471,7 +6491,7 @@ class PoolOperationsImpl {
|
|
|
6471
6491
|
* @param options The options parameters.
|
|
6472
6492
|
*/
|
|
6473
6493
|
create(resourceGroupName, accountName, poolName, parameters, options) {
|
|
6474
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, parameters, options }, createOperationSpec
|
|
6494
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, parameters, options }, createOperationSpec);
|
|
6475
6495
|
}
|
|
6476
6496
|
/**
|
|
6477
6497
|
* Updates the properties of an existing pool.
|
|
@@ -6483,7 +6503,7 @@ class PoolOperationsImpl {
|
|
|
6483
6503
|
* @param options The options parameters.
|
|
6484
6504
|
*/
|
|
6485
6505
|
update(resourceGroupName, accountName, poolName, parameters, options) {
|
|
6486
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, parameters, options }, updateOperationSpec
|
|
6506
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, parameters, options }, updateOperationSpec);
|
|
6487
6507
|
}
|
|
6488
6508
|
/**
|
|
6489
6509
|
* Deletes the specified pool.
|
|
@@ -6516,7 +6536,7 @@ class PoolOperationsImpl {
|
|
|
6516
6536
|
}
|
|
6517
6537
|
};
|
|
6518
6538
|
});
|
|
6519
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, options }, deleteOperationSpec
|
|
6539
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, options }, deleteOperationSpec);
|
|
6520
6540
|
return new coreLro.LroEngine(lro, {
|
|
6521
6541
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6522
6542
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -6545,7 +6565,7 @@ class PoolOperationsImpl {
|
|
|
6545
6565
|
* @param options The options parameters.
|
|
6546
6566
|
*/
|
|
6547
6567
|
get(resourceGroupName, accountName, poolName, options) {
|
|
6548
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, options }, getOperationSpec
|
|
6568
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, options }, getOperationSpec);
|
|
6549
6569
|
}
|
|
6550
6570
|
/**
|
|
6551
6571
|
* Disables automatic scaling for a pool.
|
|
@@ -6580,12 +6600,12 @@ class PoolOperationsImpl {
|
|
|
6580
6600
|
* @param options The options parameters.
|
|
6581
6601
|
*/
|
|
6582
6602
|
_listByBatchAccountNext(resourceGroupName, accountName, nextLink, options) {
|
|
6583
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec
|
|
6603
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec);
|
|
6584
6604
|
}
|
|
6585
6605
|
}
|
|
6586
6606
|
// Operation Specifications
|
|
6587
|
-
const serializer
|
|
6588
|
-
const listByBatchAccountOperationSpec
|
|
6607
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6608
|
+
const listByBatchAccountOperationSpec = {
|
|
6589
6609
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools",
|
|
6590
6610
|
httpMethod: "GET",
|
|
6591
6611
|
responses: {
|
|
@@ -6609,9 +6629,9 @@ const listByBatchAccountOperationSpec$3 = {
|
|
|
6609
6629
|
accountName1
|
|
6610
6630
|
],
|
|
6611
6631
|
headerParameters: [accept],
|
|
6612
|
-
serializer
|
|
6632
|
+
serializer
|
|
6613
6633
|
};
|
|
6614
|
-
const createOperationSpec
|
|
6634
|
+
const createOperationSpec = {
|
|
6615
6635
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
6616
6636
|
httpMethod: "PUT",
|
|
6617
6637
|
responses: {
|
|
@@ -6639,9 +6659,9 @@ const createOperationSpec$4 = {
|
|
|
6639
6659
|
ifNoneMatch
|
|
6640
6660
|
],
|
|
6641
6661
|
mediaType: "json",
|
|
6642
|
-
serializer
|
|
6662
|
+
serializer
|
|
6643
6663
|
};
|
|
6644
|
-
const updateOperationSpec
|
|
6664
|
+
const updateOperationSpec = {
|
|
6645
6665
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
6646
6666
|
httpMethod: "PATCH",
|
|
6647
6667
|
responses: {
|
|
@@ -6668,9 +6688,9 @@ const updateOperationSpec$4 = {
|
|
|
6668
6688
|
ifMatch
|
|
6669
6689
|
],
|
|
6670
6690
|
mediaType: "json",
|
|
6671
|
-
serializer
|
|
6691
|
+
serializer
|
|
6672
6692
|
};
|
|
6673
|
-
const deleteOperationSpec
|
|
6693
|
+
const deleteOperationSpec = {
|
|
6674
6694
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
6675
6695
|
httpMethod: "DELETE",
|
|
6676
6696
|
responses: {
|
|
@@ -6691,9 +6711,9 @@ const deleteOperationSpec$4 = {
|
|
|
6691
6711
|
poolName
|
|
6692
6712
|
],
|
|
6693
6713
|
headerParameters: [accept],
|
|
6694
|
-
serializer
|
|
6714
|
+
serializer
|
|
6695
6715
|
};
|
|
6696
|
-
const getOperationSpec
|
|
6716
|
+
const getOperationSpec = {
|
|
6697
6717
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
6698
6718
|
httpMethod: "GET",
|
|
6699
6719
|
responses: {
|
|
@@ -6714,7 +6734,7 @@ const getOperationSpec$6 = {
|
|
|
6714
6734
|
poolName
|
|
6715
6735
|
],
|
|
6716
6736
|
headerParameters: [accept],
|
|
6717
|
-
serializer
|
|
6737
|
+
serializer
|
|
6718
6738
|
};
|
|
6719
6739
|
const disableAutoScaleOperationSpec = {
|
|
6720
6740
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/disableAutoScale",
|
|
@@ -6737,7 +6757,7 @@ const disableAutoScaleOperationSpec = {
|
|
|
6737
6757
|
poolName
|
|
6738
6758
|
],
|
|
6739
6759
|
headerParameters: [accept],
|
|
6740
|
-
serializer
|
|
6760
|
+
serializer
|
|
6741
6761
|
};
|
|
6742
6762
|
const stopResizeOperationSpec = {
|
|
6743
6763
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize",
|
|
@@ -6760,9 +6780,9 @@ const stopResizeOperationSpec = {
|
|
|
6760
6780
|
poolName
|
|
6761
6781
|
],
|
|
6762
6782
|
headerParameters: [accept],
|
|
6763
|
-
serializer
|
|
6783
|
+
serializer
|
|
6764
6784
|
};
|
|
6765
|
-
const listByBatchAccountNextOperationSpec
|
|
6785
|
+
const listByBatchAccountNextOperationSpec = {
|
|
6766
6786
|
path: "{nextLink}",
|
|
6767
6787
|
httpMethod: "GET",
|
|
6768
6788
|
responses: {
|
|
@@ -6787,7 +6807,7 @@ const listByBatchAccountNextOperationSpec$3 = {
|
|
|
6787
6807
|
nextLink
|
|
6788
6808
|
],
|
|
6789
6809
|
headerParameters: [accept],
|
|
6790
|
-
serializer
|
|
6810
|
+
serializer
|
|
6791
6811
|
};
|
|
6792
6812
|
|
|
6793
6813
|
/*
|
|
@@ -6797,7 +6817,7 @@ const listByBatchAccountNextOperationSpec$3 = {
|
|
|
6797
6817
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6798
6818
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6799
6819
|
*/
|
|
6800
|
-
class BatchManagementClient extends
|
|
6820
|
+
class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
6801
6821
|
/**
|
|
6802
6822
|
* Initializes a new instance of the BatchManagementClient class.
|
|
6803
6823
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|