@azure/arm-batch 6.0.0 → 7.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +6873 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/batchManagementClient.d.ts +24 -0
  9. package/dist-esm/src/batchManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/batchManagementClient.js +31 -0
  11. package/dist-esm/src/batchManagementClient.js.map +1 -0
  12. package/dist-esm/src/batchManagementClientContext.d.ts +17 -0
  13. package/dist-esm/src/batchManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/batchManagementClientContext.js +50 -0
  15. package/dist-esm/src/batchManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +1780 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/index.js +1 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +112 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +1723 -1885
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +34 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +303 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/applicationOperations.d.ts +71 -0
  37. package/dist-esm/src/operations/applicationOperations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/applicationOperations.js +269 -0
  39. package/dist-esm/src/operations/applicationOperations.js.map +1 -0
  40. package/dist-esm/src/operations/applicationPackageOperations.d.ts +83 -0
  41. package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/applicationPackageOperations.js +294 -0
  43. package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -0
  44. package/dist-esm/src/operations/batchAccountOperations.d.ts +171 -0
  45. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/batchAccountOperations.js +681 -0
  47. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -0
  48. package/dist-esm/src/operations/certificateOperations.d.ts +106 -0
  49. package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/certificateOperations.js +388 -0
  51. package/dist-esm/src/operations/certificateOperations.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/location.d.ts +71 -0
  57. package/dist-esm/src/operations/location.d.ts.map +1 -0
  58. package/dist-esm/src/operations/location.js +316 -0
  59. package/dist-esm/src/operations/location.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +32 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +120 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/poolOperations.d.ts +103 -0
  65. package/dist-esm/src/operations/poolOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/poolOperations.js +410 -0
  67. package/dist-esm/src/operations/poolOperations.js.map +1 -0
  68. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +70 -0
  69. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +278 -0
  71. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  72. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts +47 -0
  73. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/privateLinkResourceOperations.js +170 -0
  75. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts +46 -0
  77. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/applicationOperations.js} +2 -7
  79. package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  81. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/applicationPackageOperations.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +112 -0
  85. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  86. package/{src/models/locationMappers.ts → dist-esm/src/operationsInterfaces/batchAccountOperations.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +81 -0
  89. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/certificateOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/location.d.ts +31 -0
  97. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/location.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts +78 -0
  105. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/poolOperations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/poolOperations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +45 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +4 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +479 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +66 -32
  121. package/review/arm-batch.api.md +1459 -0
  122. package/rollup.config.js +181 -30
  123. package/src/batchManagementClient.ts +59 -48
  124. package/src/batchManagementClientContext.ts +46 -43
  125. package/src/index.ts +13 -0
  126. package/src/lroImpl.ts +34 -0
  127. package/src/models/index.ts +1460 -3635
  128. package/src/models/mappers.ts +1705 -1851
  129. package/src/models/parameters.ts +216 -117
  130. package/src/operations/applicationOperations.ts +215 -263
  131. package/src/operations/applicationPackageOperations.ts +252 -279
  132. package/src/operations/batchAccountOperations.ts +660 -572
  133. package/src/operations/certificateOperations.ts +360 -359
  134. package/src/operations/index.ts +1 -2
  135. package/src/operations/location.ts +285 -234
  136. package/src/operations/operations.ts +82 -70
  137. package/src/operations/poolOperations.ts +373 -378
  138. package/src/operations/privateEndpointConnectionOperations.ts +269 -169
  139. package/src/operations/privateLinkResourceOperations.ts +156 -126
  140. package/src/operationsInterfaces/applicationOperations.ts +90 -0
  141. package/src/operationsInterfaces/applicationPackageOperations.ts +106 -0
  142. package/src/operationsInterfaces/batchAccountOperations.ts +196 -0
  143. package/src/operationsInterfaces/certificateOperations.ts +139 -0
  144. package/src/operationsInterfaces/index.ts +17 -0
  145. package/src/operationsInterfaces/location.ts +62 -0
  146. package/src/operationsInterfaces/operations.ts +22 -0
  147. package/src/operationsInterfaces/poolOperations.ts +142 -0
  148. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +87 -0
  149. package/src/operationsInterfaces/privateLinkResourceOperations.ts +45 -0
  150. package/tsconfig.json +3 -3
  151. package/types/arm-batch.d.ts +2528 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-batch.js +0 -6972
  154. package/dist/arm-batch.js.map +0 -1
  155. package/dist/arm-batch.min.js +0 -1
  156. package/dist/arm-batch.min.js.map +0 -1
  157. package/esm/batchManagementClient.d.ts +0 -33
  158. package/esm/batchManagementClient.d.ts.map +0 -1
  159. package/esm/batchManagementClient.js +0 -46
  160. package/esm/batchManagementClient.js.map +0 -1
  161. package/esm/batchManagementClientContext.d.ts +0 -23
  162. package/esm/batchManagementClientContext.d.ts.map +0 -1
  163. package/esm/batchManagementClientContext.js +0 -61
  164. package/esm/batchManagementClientContext.js.map +0 -1
  165. package/esm/models/applicationOperationsMappers.d.ts +0 -2
  166. package/esm/models/applicationOperationsMappers.d.ts.map +0 -1
  167. package/esm/models/applicationOperationsMappers.js +0 -9
  168. package/esm/models/applicationOperationsMappers.js.map +0 -1
  169. package/esm/models/applicationPackageOperationsMappers.d.ts +0 -2
  170. package/esm/models/applicationPackageOperationsMappers.d.ts.map +0 -1
  171. package/esm/models/applicationPackageOperationsMappers.js +0 -9
  172. package/esm/models/applicationPackageOperationsMappers.js.map +0 -1
  173. package/esm/models/batchAccountOperationsMappers.d.ts +0 -2
  174. package/esm/models/batchAccountOperationsMappers.d.ts.map +0 -1
  175. package/esm/models/batchAccountOperationsMappers.js +0 -9
  176. package/esm/models/batchAccountOperationsMappers.js.map +0 -1
  177. package/esm/models/certificateOperationsMappers.d.ts +0 -2
  178. package/esm/models/certificateOperationsMappers.d.ts.map +0 -1
  179. package/esm/models/certificateOperationsMappers.js +0 -9
  180. package/esm/models/certificateOperationsMappers.js.map +0 -1
  181. package/esm/models/index.d.ts +0 -3946
  182. package/esm/models/index.d.ts.map +0 -1
  183. package/esm/models/index.js.map +0 -1
  184. package/esm/models/locationMappers.d.ts +0 -2
  185. package/esm/models/locationMappers.d.ts.map +0 -1
  186. package/esm/models/locationMappers.js +0 -9
  187. package/esm/models/locationMappers.js.map +0 -1
  188. package/esm/models/mappers.d.ts +0 -110
  189. package/esm/models/mappers.d.ts.map +0 -1
  190. package/esm/models/mappers.js.map +0 -1
  191. package/esm/models/operationsMappers.d.ts +0 -2
  192. package/esm/models/operationsMappers.d.ts.map +0 -1
  193. package/esm/models/operationsMappers.js.map +0 -1
  194. package/esm/models/parameters.d.ts +0 -21
  195. package/esm/models/parameters.d.ts.map +0 -1
  196. package/esm/models/parameters.js +0 -250
  197. package/esm/models/parameters.js.map +0 -1
  198. package/esm/models/poolOperationsMappers.d.ts +0 -2
  199. package/esm/models/poolOperationsMappers.d.ts.map +0 -1
  200. package/esm/models/poolOperationsMappers.js +0 -9
  201. package/esm/models/poolOperationsMappers.js.map +0 -1
  202. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts +0 -2
  203. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts.map +0 -1
  204. package/esm/models/privateEndpointConnectionOperationsMappers.js +0 -9
  205. package/esm/models/privateEndpointConnectionOperationsMappers.js.map +0 -1
  206. package/esm/models/privateLinkResourceOperationsMappers.d.ts +0 -2
  207. package/esm/models/privateLinkResourceOperationsMappers.d.ts.map +0 -1
  208. package/esm/models/privateLinkResourceOperationsMappers.js +0 -9
  209. package/esm/models/privateLinkResourceOperationsMappers.js.map +0 -1
  210. package/esm/operations/applicationOperations.d.ts +0 -151
  211. package/esm/operations/applicationOperations.d.ts.map +0 -1
  212. package/esm/operations/applicationOperations.js +0 -232
  213. package/esm/operations/applicationOperations.js.map +0 -1
  214. package/esm/operations/applicationPackageOperations.d.ts +0 -171
  215. package/esm/operations/applicationPackageOperations.d.ts.map +0 -1
  216. package/esm/operations/applicationPackageOperations.js +0 -244
  217. package/esm/operations/applicationPackageOperations.js.map +0 -1
  218. package/esm/operations/batchAccountOperations.d.ts +0 -299
  219. package/esm/operations/batchAccountOperations.d.ts.map +0 -1
  220. package/esm/operations/batchAccountOperations.js +0 -493
  221. package/esm/operations/batchAccountOperations.js.map +0 -1
  222. package/esm/operations/certificateOperations.d.ts +0 -207
  223. package/esm/operations/certificateOperations.d.ts.map +0 -1
  224. package/esm/operations/certificateOperations.js +0 -310
  225. package/esm/operations/certificateOperations.js.map +0 -1
  226. package/esm/operations/index.d.ts.map +0 -1
  227. package/esm/operations/index.js.map +0 -1
  228. package/esm/operations/location.d.ts +0 -124
  229. package/esm/operations/location.d.ts.map +0 -1
  230. package/esm/operations/location.js +0 -216
  231. package/esm/operations/location.js.map +0 -1
  232. package/esm/operations/operations.d.ts +0 -46
  233. package/esm/operations/operations.d.ts.map +0 -1
  234. package/esm/operations/operations.js +0 -79
  235. package/esm/operations/operations.js.map +0 -1
  236. package/esm/operations/poolOperations.d.ts +0 -206
  237. package/esm/operations/poolOperations.d.ts.map +0 -1
  238. package/esm/operations/poolOperations.js +0 -341
  239. package/esm/operations/poolOperations.js.map +0 -1
  240. package/esm/operations/privateEndpointConnectionOperations.d.ts +0 -104
  241. package/esm/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
  242. package/esm/operations/privateEndpointConnectionOperations.js +0 -195
  243. package/esm/operations/privateEndpointConnectionOperations.js.map +0 -1
  244. package/esm/operations/privateLinkResourceOperations.d.ts +0 -79
  245. package/esm/operations/privateLinkResourceOperations.d.ts.map +0 -1
  246. package/esm/operations/privateLinkResourceOperations.js +0 -121
  247. package/esm/operations/privateLinkResourceOperations.js.map +0 -1
  248. package/src/models/applicationOperationsMappers.ts +0 -79
  249. package/src/models/applicationPackageOperationsMappers.ts +0 -80
  250. package/src/models/batchAccountOperationsMappers.ts +0 -89
  251. package/src/models/certificateOperationsMappers.ts +0 -84
  252. package/src/models/poolOperationsMappers.ts +0 -85
  253. package/src/models/privateEndpointConnectionOperationsMappers.ts +0 -80
  254. package/src/models/privateLinkResourceOperationsMappers.ts +0 -79
@@ -0,0 +1,278 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing PrivateEndpointConnectionOperations operations. */
16
+ export class PrivateEndpointConnectionOperationsImpl {
17
+ /**
18
+ * Initialize a new instance of the class PrivateEndpointConnectionOperations class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Lists all of the private endpoint connections in the specified account.
26
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
27
+ * @param accountName The name of the Batch account.
28
+ * @param options The options parameters.
29
+ */
30
+ listByBatchAccount(resourceGroupName, accountName, options) {
31
+ const iter = this.listByBatchAccountPagingAll(resourceGroupName, accountName, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: () => {
40
+ return this.listByBatchAccountPagingPage(resourceGroupName, accountName, options);
41
+ }
42
+ };
43
+ }
44
+ listByBatchAccountPagingPage(resourceGroupName, accountName, options) {
45
+ return __asyncGenerator(this, arguments, function* listByBatchAccountPagingPage_1() {
46
+ let result = yield __await(this._listByBatchAccount(resourceGroupName, accountName, options));
47
+ yield yield __await(result.value || []);
48
+ let continuationToken = result.nextLink;
49
+ while (continuationToken) {
50
+ result = yield __await(this._listByBatchAccountNext(resourceGroupName, accountName, continuationToken, options));
51
+ continuationToken = result.nextLink;
52
+ yield yield __await(result.value || []);
53
+ }
54
+ });
55
+ }
56
+ listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
57
+ return __asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
58
+ var e_1, _a;
59
+ try {
60
+ for (var _b = __asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
61
+ const page = _c.value;
62
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
+ }
64
+ }
65
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
+ finally {
67
+ try {
68
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
69
+ }
70
+ finally { if (e_1) throw e_1.error; }
71
+ }
72
+ });
73
+ }
74
+ /**
75
+ * Lists all of the private endpoint connections in the specified account.
76
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
77
+ * @param accountName The name of the Batch account.
78
+ * @param options The options parameters.
79
+ */
80
+ _listByBatchAccount(resourceGroupName, accountName, options) {
81
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec);
82
+ }
83
+ /**
84
+ * Gets information about the specified private endpoint connection.
85
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
86
+ * @param accountName The name of the Batch account.
87
+ * @param privateEndpointConnectionName The private endpoint connection name. This must be unique
88
+ * within the account.
89
+ * @param options The options parameters.
90
+ */
91
+ get(resourceGroupName, accountName, privateEndpointConnectionName, options) {
92
+ return this.client.sendOperationRequest({
93
+ resourceGroupName,
94
+ accountName,
95
+ privateEndpointConnectionName,
96
+ options
97
+ }, getOperationSpec);
98
+ }
99
+ /**
100
+ * Updates the properties of an existing private endpoint connection.
101
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
102
+ * @param accountName The name of the Batch account.
103
+ * @param privateEndpointConnectionName The private endpoint connection name. This must be unique
104
+ * within the account.
105
+ * @param parameters PrivateEndpointConnection properties that should be updated. Properties that are
106
+ * supplied will be updated, any property not supplied will be unchanged.
107
+ * @param options The options parameters.
108
+ */
109
+ beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
110
+ return __awaiter(this, void 0, void 0, function* () {
111
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
112
+ return this.client.sendOperationRequest(args, spec);
113
+ });
114
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
115
+ var _a;
116
+ let currentRawResponse = undefined;
117
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
118
+ const callback = (rawResponse, flatResponse) => {
119
+ currentRawResponse = rawResponse;
120
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
121
+ };
122
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
123
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
124
+ return {
125
+ flatResponse,
126
+ rawResponse: {
127
+ statusCode: currentRawResponse.status,
128
+ body: currentRawResponse.parsedBody,
129
+ headers: currentRawResponse.headers.toJSON()
130
+ }
131
+ };
132
+ });
133
+ const lro = new LroImpl(sendOperation, {
134
+ resourceGroupName,
135
+ accountName,
136
+ privateEndpointConnectionName,
137
+ parameters,
138
+ options
139
+ }, updateOperationSpec);
140
+ return new LroEngine(lro, {
141
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
142
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
143
+ lroResourceLocationConfig: "azure-async-operation"
144
+ });
145
+ });
146
+ }
147
+ /**
148
+ * Updates the properties of an existing private endpoint connection.
149
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
150
+ * @param accountName The name of the Batch account.
151
+ * @param privateEndpointConnectionName The private endpoint connection name. This must be unique
152
+ * within the account.
153
+ * @param parameters PrivateEndpointConnection properties that should be updated. Properties that are
154
+ * supplied will be updated, any property not supplied will be unchanged.
155
+ * @param options The options parameters.
156
+ */
157
+ beginUpdateAndWait(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
158
+ return __awaiter(this, void 0, void 0, function* () {
159
+ const poller = yield this.beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options);
160
+ return poller.pollUntilDone();
161
+ });
162
+ }
163
+ /**
164
+ * ListByBatchAccountNext
165
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
166
+ * @param accountName The name of the Batch account.
167
+ * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.
168
+ * @param options The options parameters.
169
+ */
170
+ _listByBatchAccountNext(resourceGroupName, accountName, nextLink, options) {
171
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec);
172
+ }
173
+ }
174
+ // Operation Specifications
175
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
176
+ const listByBatchAccountOperationSpec = {
177
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections",
178
+ httpMethod: "GET",
179
+ responses: {
180
+ 200: {
181
+ bodyMapper: Mappers.ListPrivateEndpointConnectionsResult
182
+ },
183
+ default: {
184
+ bodyMapper: Mappers.CloudError
185
+ }
186
+ },
187
+ queryParameters: [Parameters.apiVersion, Parameters.maxresults],
188
+ urlParameters: [
189
+ Parameters.$host,
190
+ Parameters.resourceGroupName,
191
+ Parameters.subscriptionId,
192
+ Parameters.accountName1
193
+ ],
194
+ headerParameters: [Parameters.accept],
195
+ serializer
196
+ };
197
+ const getOperationSpec = {
198
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
199
+ httpMethod: "GET",
200
+ responses: {
201
+ 200: {
202
+ bodyMapper: Mappers.PrivateEndpointConnection
203
+ },
204
+ default: {
205
+ bodyMapper: Mappers.CloudError
206
+ }
207
+ },
208
+ queryParameters: [Parameters.apiVersion],
209
+ urlParameters: [
210
+ Parameters.$host,
211
+ Parameters.resourceGroupName,
212
+ Parameters.subscriptionId,
213
+ Parameters.accountName1,
214
+ Parameters.privateEndpointConnectionName
215
+ ],
216
+ headerParameters: [Parameters.accept],
217
+ serializer
218
+ };
219
+ const updateOperationSpec = {
220
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
221
+ httpMethod: "PATCH",
222
+ responses: {
223
+ 200: {
224
+ bodyMapper: Mappers.PrivateEndpointConnection
225
+ },
226
+ 201: {
227
+ bodyMapper: Mappers.PrivateEndpointConnection
228
+ },
229
+ 202: {
230
+ bodyMapper: Mappers.PrivateEndpointConnection
231
+ },
232
+ 204: {
233
+ bodyMapper: Mappers.PrivateEndpointConnection
234
+ },
235
+ default: {
236
+ bodyMapper: Mappers.CloudError
237
+ }
238
+ },
239
+ requestBody: Parameters.parameters9,
240
+ queryParameters: [Parameters.apiVersion],
241
+ urlParameters: [
242
+ Parameters.$host,
243
+ Parameters.resourceGroupName,
244
+ Parameters.subscriptionId,
245
+ Parameters.accountName1,
246
+ Parameters.privateEndpointConnectionName
247
+ ],
248
+ headerParameters: [
249
+ Parameters.contentType,
250
+ Parameters.accept,
251
+ Parameters.ifMatch
252
+ ],
253
+ mediaType: "json",
254
+ serializer
255
+ };
256
+ const listByBatchAccountNextOperationSpec = {
257
+ path: "{nextLink}",
258
+ httpMethod: "GET",
259
+ responses: {
260
+ 200: {
261
+ bodyMapper: Mappers.ListPrivateEndpointConnectionsResult
262
+ },
263
+ default: {
264
+ bodyMapper: Mappers.CloudError
265
+ }
266
+ },
267
+ queryParameters: [Parameters.apiVersion, Parameters.maxresults],
268
+ urlParameters: [
269
+ Parameters.$host,
270
+ Parameters.resourceGroupName,
271
+ Parameters.subscriptionId,
272
+ Parameters.accountName1,
273
+ Parameters.nextLink
274
+ ],
275
+ headerParameters: [Parameters.accept],
276
+ serializer
277
+ };
278
+ //# sourceMappingURL=privateEndpointConnectionOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnectionOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAarC,4CAA4C;A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C,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkResourceOperations } from "../operationsInterfaces";
3
+ import { BatchManagementClientContext } from "../batchManagementClientContext";
4
+ import { PrivateLinkResource, PrivateLinkResourceListByBatchAccountOptionalParams, PrivateLinkResourceGetOptionalParams, PrivateLinkResourceGetResponse } from "../models";
5
+ /** Class containing PrivateLinkResourceOperations operations. */
6
+ export declare class PrivateLinkResourceOperationsImpl implements PrivateLinkResourceOperations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PrivateLinkResourceOperations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: BatchManagementClientContext);
13
+ /**
14
+ * Lists all of the private link resources in the specified account.
15
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
16
+ * @param accountName The name of the Batch account.
17
+ * @param options The options parameters.
18
+ */
19
+ listByBatchAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourceListByBatchAccountOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
20
+ private listByBatchAccountPagingPage;
21
+ private listByBatchAccountPagingAll;
22
+ /**
23
+ * Lists all of the private link resources in the specified account.
24
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
25
+ * @param accountName The name of the Batch account.
26
+ * @param options The options parameters.
27
+ */
28
+ private _listByBatchAccount;
29
+ /**
30
+ * Gets information about the specified private link resource.
31
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
32
+ * @param accountName The name of the Batch account.
33
+ * @param privateLinkResourceName The private link resource name. This must be unique within the
34
+ * account.
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName: string, accountName: string, privateLinkResourceName: string, options?: PrivateLinkResourceGetOptionalParams): Promise<PrivateLinkResourceGetResponse>;
38
+ /**
39
+ * ListByBatchAccountNext
40
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
41
+ * @param accountName The name of the Batch account.
42
+ * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.
43
+ * @param options The options parameters.
44
+ */
45
+ private _listByBatchAccountNext;
46
+ }
47
+ //# sourceMappingURL=privateLinkResourceOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResourceOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResourceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAIxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EACL,mBAAmB,EAEnB,mDAAmD,EAEnD,oCAAoC,EACpC,8BAA8B,EAE/B,MAAM,WAAW,CAAC;AAGnB,iEAAiE;AACjE,qBAAa,iCACX,YAAW,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,mBAAmB,CAAC;YAuBnC,4BAA4B;YAwB5B,2BAA2B;IAc1C;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAW3B;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;CAWhC"}
@@ -0,0 +1,170 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing PrivateLinkResourceOperations operations. */
14
+ export class PrivateLinkResourceOperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class PrivateLinkResourceOperations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all of the private link resources in the specified account.
24
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
25
+ * @param accountName The name of the Batch account.
26
+ * @param options The options parameters.
27
+ */
28
+ listByBatchAccount(resourceGroupName, accountName, options) {
29
+ const iter = this.listByBatchAccountPagingAll(resourceGroupName, accountName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listByBatchAccountPagingPage(resourceGroupName, accountName, options);
39
+ }
40
+ };
41
+ }
42
+ listByBatchAccountPagingPage(resourceGroupName, accountName, options) {
43
+ return __asyncGenerator(this, arguments, function* listByBatchAccountPagingPage_1() {
44
+ let result = yield __await(this._listByBatchAccount(resourceGroupName, accountName, options));
45
+ yield yield __await(result.value || []);
46
+ let continuationToken = result.nextLink;
47
+ while (continuationToken) {
48
+ result = yield __await(this._listByBatchAccountNext(resourceGroupName, accountName, continuationToken, options));
49
+ continuationToken = result.nextLink;
50
+ yield yield __await(result.value || []);
51
+ }
52
+ });
53
+ }
54
+ listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
55
+ return __asyncGenerator(this, arguments, function* listByBatchAccountPagingAll_1() {
56
+ var e_1, _a;
57
+ try {
58
+ for (var _b = __asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
59
+ const page = _c.value;
60
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
61
+ }
62
+ }
63
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
64
+ finally {
65
+ try {
66
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
67
+ }
68
+ finally { if (e_1) throw e_1.error; }
69
+ }
70
+ });
71
+ }
72
+ /**
73
+ * Lists all of the private link resources in the specified account.
74
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
75
+ * @param accountName The name of the Batch account.
76
+ * @param options The options parameters.
77
+ */
78
+ _listByBatchAccount(resourceGroupName, accountName, options) {
79
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByBatchAccountOperationSpec);
80
+ }
81
+ /**
82
+ * Gets information about the specified private link resource.
83
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
84
+ * @param accountName The name of the Batch account.
85
+ * @param privateLinkResourceName The private link resource name. This must be unique within the
86
+ * account.
87
+ * @param options The options parameters.
88
+ */
89
+ get(resourceGroupName, accountName, privateLinkResourceName, options) {
90
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, privateLinkResourceName, options }, getOperationSpec);
91
+ }
92
+ /**
93
+ * ListByBatchAccountNext
94
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
95
+ * @param accountName The name of the Batch account.
96
+ * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.
97
+ * @param options The options parameters.
98
+ */
99
+ _listByBatchAccountNext(resourceGroupName, accountName, nextLink, options) {
100
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByBatchAccountNextOperationSpec);
101
+ }
102
+ }
103
+ // Operation Specifications
104
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
105
+ const listByBatchAccountOperationSpec = {
106
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources",
107
+ httpMethod: "GET",
108
+ responses: {
109
+ 200: {
110
+ bodyMapper: Mappers.ListPrivateLinkResourcesResult
111
+ },
112
+ default: {
113
+ bodyMapper: Mappers.CloudError
114
+ }
115
+ },
116
+ queryParameters: [Parameters.apiVersion, Parameters.maxresults],
117
+ urlParameters: [
118
+ Parameters.$host,
119
+ Parameters.resourceGroupName,
120
+ Parameters.subscriptionId,
121
+ Parameters.accountName1
122
+ ],
123
+ headerParameters: [Parameters.accept],
124
+ serializer
125
+ };
126
+ const getOperationSpec = {
127
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}",
128
+ httpMethod: "GET",
129
+ responses: {
130
+ 200: {
131
+ bodyMapper: Mappers.PrivateLinkResource
132
+ },
133
+ default: {
134
+ bodyMapper: Mappers.CloudError
135
+ }
136
+ },
137
+ queryParameters: [Parameters.apiVersion],
138
+ urlParameters: [
139
+ Parameters.$host,
140
+ Parameters.resourceGroupName,
141
+ Parameters.subscriptionId,
142
+ Parameters.accountName1,
143
+ Parameters.privateLinkResourceName
144
+ ],
145
+ headerParameters: [Parameters.accept],
146
+ serializer
147
+ };
148
+ const listByBatchAccountNextOperationSpec = {
149
+ path: "{nextLink}",
150
+ httpMethod: "GET",
151
+ responses: {
152
+ 200: {
153
+ bodyMapper: Mappers.ListPrivateLinkResourcesResult
154
+ },
155
+ default: {
156
+ bodyMapper: Mappers.CloudError
157
+ }
158
+ },
159
+ queryParameters: [Parameters.apiVersion, Parameters.maxresults],
160
+ urlParameters: [
161
+ Parameters.$host,
162
+ Parameters.resourceGroupName,
163
+ Parameters.subscriptionId,
164
+ Parameters.accountName1,
165
+ Parameters.nextLink
166
+ ],
167
+ headerParameters: [Parameters.accept],
168
+ serializer
169
+ };
170
+ //# sourceMappingURL=privateLinkResourceOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResourceOperations.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResourceOperations.ts"],"names":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K;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Application, ApplicationListOptionalParams, ApplicationCreateOptionalParams, ApplicationCreateResponse, ApplicationDeleteOptionalParams, ApplicationGetOptionalParams, ApplicationGetResponse, ApplicationUpdateOptionalParams, ApplicationUpdateResponse } from "../models";
3
+ /** Interface representing a ApplicationOperations. */
4
+ export interface ApplicationOperations {
5
+ /**
6
+ * Lists all of the applications in the specified account.
7
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
8
+ * @param accountName The name of the Batch account.
9
+ * @param options The options parameters.
10
+ */
11
+ list(resourceGroupName: string, accountName: string, options?: ApplicationListOptionalParams): PagedAsyncIterableIterator<Application>;
12
+ /**
13
+ * Adds an application to the specified Batch account.
14
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
15
+ * @param accountName The name of the Batch account.
16
+ * @param applicationName The name of the application. This must be unique within the account.
17
+ * @param options The options parameters.
18
+ */
19
+ create(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationCreateOptionalParams): Promise<ApplicationCreateResponse>;
20
+ /**
21
+ * Deletes an application.
22
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
23
+ * @param accountName The name of the Batch account.
24
+ * @param applicationName The name of the application. This must be unique within the account.
25
+ * @param options The options parameters.
26
+ */
27
+ delete(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationDeleteOptionalParams): Promise<void>;
28
+ /**
29
+ * Gets information about the specified application.
30
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
31
+ * @param accountName The name of the Batch account.
32
+ * @param applicationName The name of the application. This must be unique within the account.
33
+ * @param options The options parameters.
34
+ */
35
+ get(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationGetOptionalParams): Promise<ApplicationGetResponse>;
36
+ /**
37
+ * Updates settings for the specified application.
38
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
39
+ * @param accountName The name of the Batch account.
40
+ * @param applicationName The name of the application. This must be unique within the account.
41
+ * @param parameters The parameters for the request.
42
+ * @param options The options parameters.
43
+ */
44
+ update(resourceGroupName: string, accountName: string, applicationName: string, parameters: Application, options?: ApplicationUpdateOptionalParams): Promise<ApplicationUpdateResponse>;
45
+ }
46
+ //# sourceMappingURL=applicationOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/applicationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,WAAW,EACX,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
@@ -5,10 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
-
9
- export {
10
- CloudError,
11
- Operation,
12
- OperationDisplay,
13
- OperationListResult
14
- } from "../models/mappers";
8
+ export {};
9
+ //# sourceMappingURL=applicationOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/applicationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,56 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ApplicationPackage, ApplicationPackageListOptionalParams, ActivateApplicationPackageParameters, ApplicationPackageActivateOptionalParams, ApplicationPackageActivateResponse, ApplicationPackageCreateOptionalParams, ApplicationPackageCreateResponse, ApplicationPackageDeleteOptionalParams, ApplicationPackageGetOptionalParams, ApplicationPackageGetResponse } from "../models";
3
+ /** Interface representing a ApplicationPackageOperations. */
4
+ export interface ApplicationPackageOperations {
5
+ /**
6
+ * Lists all of the application packages in the specified application.
7
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
8
+ * @param accountName The name of the Batch account.
9
+ * @param applicationName The name of the application. This must be unique within the account.
10
+ * @param options The options parameters.
11
+ */
12
+ list(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationPackageListOptionalParams): PagedAsyncIterableIterator<ApplicationPackage>;
13
+ /**
14
+ * Activates the specified application package. This should be done after the `ApplicationPackage` was
15
+ * created and uploaded. This needs to be done before an `ApplicationPackage` can be used on Pools or
16
+ * Tasks.
17
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
18
+ * @param accountName The name of the Batch account.
19
+ * @param applicationName The name of the application. This must be unique within the account.
20
+ * @param versionName The version of the application.
21
+ * @param parameters The parameters for the request.
22
+ * @param options The options parameters.
23
+ */
24
+ activate(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, parameters: ActivateApplicationPackageParameters, options?: ApplicationPackageActivateOptionalParams): Promise<ApplicationPackageActivateResponse>;
25
+ /**
26
+ * Creates an application package record. The record contains a storageUrl where the package should be
27
+ * uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using
28
+ * `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use
29
+ * storage keys, the URL returned will contain a SAS.
30
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
31
+ * @param accountName The name of the Batch account.
32
+ * @param applicationName The name of the application. This must be unique within the account.
33
+ * @param versionName The version of the application.
34
+ * @param options The options parameters.
35
+ */
36
+ create(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageCreateOptionalParams): Promise<ApplicationPackageCreateResponse>;
37
+ /**
38
+ * Deletes an application package record and its associated binary file.
39
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
40
+ * @param accountName The name of the Batch account.
41
+ * @param applicationName The name of the application. This must be unique within the account.
42
+ * @param versionName The version of the application.
43
+ * @param options The options parameters.
44
+ */
45
+ delete(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageDeleteOptionalParams): Promise<void>;
46
+ /**
47
+ * Gets information about the specified application package.
48
+ * @param resourceGroupName The name of the resource group that contains the Batch account.
49
+ * @param accountName The name of the Batch account.
50
+ * @param applicationName The name of the application. This must be unique within the account.
51
+ * @param versionName The version of the application.
52
+ * @param options The options parameters.
53
+ */
54
+ get(resourceGroupName: string, accountName: string, applicationName: string, versionName: string, options?: ApplicationPackageGetOptionalParams): Promise<ApplicationPackageGetResponse>;
55
+ }
56
+ //# sourceMappingURL=applicationPackageOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationPackageOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/applicationPackageOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,EACpC,oCAAoC,EACpC,wCAAwC,EACxC,kCAAkC,EAClC,sCAAsC,EACtC,gCAAgC,EAChC,sCAAsC,EACtC,mCAAmC,EACnC,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,6DAA6D;AAC7D,MAAM,WAAW,4BAA4B;IAC3C;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;;;;OAUG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,oCAAoC,EAChD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAA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