@azure/arm-batch 4.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 (251) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +75 -77
  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/dist-esm/src/models/index.js +9 -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 +2357 -1248
  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 +2 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/dist-esm/src/operations/index.js +17 -0
  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/dist-esm/src/operationsInterfaces/applicationOperations.js +9 -0
  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/dist-esm/src/operationsInterfaces/applicationPackageOperations.js +9 -0
  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/dist-esm/src/operationsInterfaces/batchAccountOperations.js +9 -0
  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 +71 -34
  121. package/review/arm-batch.api.md +1459 -0
  122. package/rollup.config.js +184 -27
  123. package/src/batchManagementClient.ts +75 -0
  124. package/src/batchManagementClientContext.ts +71 -0
  125. package/src/index.ts +13 -0
  126. package/src/lroImpl.ts +34 -0
  127. package/src/models/index.ts +2045 -0
  128. package/{lib → src}/models/mappers.ts +2413 -1223
  129. package/src/models/parameters.ts +351 -0
  130. package/src/operations/applicationOperations.ts +357 -0
  131. package/src/operations/applicationPackageOperations.ts +410 -0
  132. package/src/operations/batchAccountOperations.ts +901 -0
  133. package/src/operations/certificateOperations.ts +527 -0
  134. package/{lib → src}/operations/index.ts +5 -5
  135. package/src/operations/location.ts +413 -0
  136. package/src/operations/operations.ts +137 -0
  137. package/src/operations/poolOperations.ts +560 -0
  138. package/src/operations/privateEndpointConnectionOperations.ts +388 -0
  139. package/src/operations/privateLinkResourceOperations.ts +235 -0
  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/{esm/operations/index.js → src/operationsInterfaces/index.ts} +6 -6
  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 +4 -4
  151. package/types/arm-batch.d.ts +2528 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-batch.js +0 -4689
  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 -25
  158. package/esm/batchManagementClient.d.ts.map +0 -1
  159. package/esm/batchManagementClient.js +0 -40
  160. package/esm/batchManagementClient.js.map +0 -1
  161. package/esm/batchManagementClientContext.d.ts +0 -17
  162. package/esm/batchManagementClientContext.d.ts.map +0 -1
  163. package/esm/batchManagementClientContext.js +0 -57
  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 -11
  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 -11
  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 -11
  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 -11
  180. package/esm/models/certificateOperationsMappers.js.map +0 -1
  181. package/esm/models/index.d.ts +0 -3108
  182. package/esm/models/index.d.ts.map +0 -1
  183. package/esm/models/index.js +0 -10
  184. package/esm/models/index.js.map +0 -1
  185. package/esm/models/locationMappers.d.ts +0 -2
  186. package/esm/models/locationMappers.d.ts.map +0 -1
  187. package/esm/models/locationMappers.js +0 -11
  188. package/esm/models/locationMappers.js.map +0 -1
  189. package/esm/models/mappers.d.ts +0 -76
  190. package/esm/models/mappers.d.ts.map +0 -1
  191. package/esm/models/mappers.js.map +0 -1
  192. package/esm/models/operationsMappers.d.ts +0 -2
  193. package/esm/models/operationsMappers.d.ts.map +0 -1
  194. package/esm/models/operationsMappers.js +0 -11
  195. package/esm/models/operationsMappers.js.map +0 -1
  196. package/esm/models/parameters.d.ts +0 -18
  197. package/esm/models/parameters.d.ts.map +0 -1
  198. package/esm/models/parameters.js +0 -196
  199. package/esm/models/parameters.js.map +0 -1
  200. package/esm/models/poolOperationsMappers.d.ts +0 -2
  201. package/esm/models/poolOperationsMappers.d.ts.map +0 -1
  202. package/esm/models/poolOperationsMappers.js +0 -11
  203. package/esm/models/poolOperationsMappers.js.map +0 -1
  204. package/esm/operations/applicationOperations.d.ts +0 -151
  205. package/esm/operations/applicationOperations.d.ts.map +0 -1
  206. package/esm/operations/applicationOperations.js +0 -226
  207. package/esm/operations/applicationOperations.js.map +0 -1
  208. package/esm/operations/applicationPackageOperations.d.ts +0 -124
  209. package/esm/operations/applicationPackageOperations.d.ts.map +0 -1
  210. package/esm/operations/applicationPackageOperations.js +0 -171
  211. package/esm/operations/applicationPackageOperations.js.map +0 -1
  212. package/esm/operations/batchAccountOperations.d.ts +0 -246
  213. package/esm/operations/batchAccountOperations.d.ts.map +0 -1
  214. package/esm/operations/batchAccountOperations.js +0 -426
  215. package/esm/operations/batchAccountOperations.js.map +0 -1
  216. package/esm/operations/certificateOperations.d.ts +0 -198
  217. package/esm/operations/certificateOperations.d.ts.map +0 -1
  218. package/esm/operations/certificateOperations.js +0 -326
  219. package/esm/operations/certificateOperations.js.map +0 -1
  220. package/esm/operations/index.d.ts.map +0 -1
  221. package/esm/operations/index.js.map +0 -1
  222. package/esm/operations/location.d.ts +0 -52
  223. package/esm/operations/location.d.ts.map +0 -1
  224. package/esm/operations/location.js +0 -93
  225. package/esm/operations/location.js.map +0 -1
  226. package/esm/operations/operations.d.ts +0 -46
  227. package/esm/operations/operations.d.ts.map +0 -1
  228. package/esm/operations/operations.js +0 -77
  229. package/esm/operations/operations.js.map +0 -1
  230. package/esm/operations/poolOperations.d.ts +0 -199
  231. package/esm/operations/poolOperations.d.ts.map +0 -1
  232. package/esm/operations/poolOperations.js +0 -352
  233. package/esm/operations/poolOperations.js.map +0 -1
  234. package/lib/batchManagementClient.ts +0 -55
  235. package/lib/batchManagementClientContext.ts +0 -63
  236. package/lib/models/applicationOperationsMappers.ts +0 -19
  237. package/lib/models/applicationPackageOperationsMappers.ts +0 -16
  238. package/lib/models/batchAccountOperationsMappers.ts +0 -61
  239. package/lib/models/certificateOperationsMappers.ts +0 -60
  240. package/lib/models/index.ts +0 -3252
  241. package/lib/models/locationMappers.ts +0 -17
  242. package/lib/models/operationsMappers.ts +0 -17
  243. package/lib/models/parameters.ts +0 -198
  244. package/lib/models/poolOperationsMappers.ts +0 -61
  245. package/lib/operations/applicationOperations.ts +0 -399
  246. package/lib/operations/applicationPackageOperations.ts +0 -307
  247. package/lib/operations/batchAccountOperations.ts +0 -683
  248. package/lib/operations/certificateOperations.ts +0 -510
  249. package/lib/operations/location.ts +0 -147
  250. package/lib/operations/operations.ts +0 -123
  251. package/lib/operations/poolOperations.ts +0 -550
@@ -1,151 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { BatchManagementClientContext } from "../batchManagementClientContext";
4
- /** Class representing a ApplicationOperations. */
5
- export declare class ApplicationOperations {
6
- private readonly client;
7
- /**
8
- * Create a ApplicationOperations.
9
- * @param {BatchManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BatchManagementClientContext);
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 applicationId The ID of the application.
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.ApplicationCreateResponse>
19
- */
20
- create(resourceGroupName: string, accountName: string, applicationId: string, options?: Models.ApplicationCreateOptionalParams): Promise<Models.ApplicationCreateResponse>;
21
- /**
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 applicationId The ID of the application.
25
- * @param callback The callback
26
- */
27
- create(resourceGroupName: string, accountName: string, applicationId: string, callback: msRest.ServiceCallback<Models.Application>): void;
28
- /**
29
- * @param resourceGroupName The name of the resource group that contains the Batch account.
30
- * @param accountName The name of the Batch account.
31
- * @param applicationId The ID of the application.
32
- * @param options The optional parameters
33
- * @param callback The callback
34
- */
35
- create(resourceGroupName: string, accountName: string, applicationId: string, options: Models.ApplicationCreateOptionalParams, callback: msRest.ServiceCallback<Models.Application>): void;
36
- /**
37
- * Deletes an 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 applicationId The ID of the application.
41
- * @param [options] The optional parameters
42
- * @returns Promise<msRest.RestResponse>
43
- */
44
- deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
45
- /**
46
- * @param resourceGroupName The name of the resource group that contains the Batch account.
47
- * @param accountName The name of the Batch account.
48
- * @param applicationId The ID of the application.
49
- * @param callback The callback
50
- */
51
- deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, callback: msRest.ServiceCallback<void>): void;
52
- /**
53
- * @param resourceGroupName The name of the resource group that contains the Batch account.
54
- * @param accountName The name of the Batch account.
55
- * @param applicationId The ID of the application.
56
- * @param options The optional parameters
57
- * @param callback The callback
58
- */
59
- deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
60
- /**
61
- * Gets information about the specified application.
62
- * @param resourceGroupName The name of the resource group that contains the Batch account.
63
- * @param accountName The name of the Batch account.
64
- * @param applicationId The ID of the application.
65
- * @param [options] The optional parameters
66
- * @returns Promise<Models.ApplicationGetResponse>
67
- */
68
- get(resourceGroupName: string, accountName: string, applicationId: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplicationGetResponse>;
69
- /**
70
- * @param resourceGroupName The name of the resource group that contains the Batch account.
71
- * @param accountName The name of the Batch account.
72
- * @param applicationId The ID of the application.
73
- * @param callback The callback
74
- */
75
- get(resourceGroupName: string, accountName: string, applicationId: string, callback: msRest.ServiceCallback<Models.Application>): void;
76
- /**
77
- * @param resourceGroupName The name of the resource group that contains the Batch account.
78
- * @param accountName The name of the Batch account.
79
- * @param applicationId The ID of the application.
80
- * @param options The optional parameters
81
- * @param callback The callback
82
- */
83
- get(resourceGroupName: string, accountName: string, applicationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Application>): void;
84
- /**
85
- * Updates settings for the specified application.
86
- * @param resourceGroupName The name of the resource group that contains the Batch account.
87
- * @param accountName The name of the Batch account.
88
- * @param applicationId The ID of the application.
89
- * @param parameters The parameters for the request.
90
- * @param [options] The optional parameters
91
- * @returns Promise<msRest.RestResponse>
92
- */
93
- update(resourceGroupName: string, accountName: string, applicationId: string, parameters: Models.ApplicationUpdateParameters, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
94
- /**
95
- * @param resourceGroupName The name of the resource group that contains the Batch account.
96
- * @param accountName The name of the Batch account.
97
- * @param applicationId The ID of the application.
98
- * @param parameters The parameters for the request.
99
- * @param callback The callback
100
- */
101
- update(resourceGroupName: string, accountName: string, applicationId: string, parameters: Models.ApplicationUpdateParameters, callback: msRest.ServiceCallback<void>): void;
102
- /**
103
- * @param resourceGroupName The name of the resource group that contains the Batch account.
104
- * @param accountName The name of the Batch account.
105
- * @param applicationId The ID of the application.
106
- * @param parameters The parameters for the request.
107
- * @param options The optional parameters
108
- * @param callback The callback
109
- */
110
- update(resourceGroupName: string, accountName: string, applicationId: string, parameters: Models.ApplicationUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
111
- /**
112
- * Lists all of the applications in the specified account.
113
- * @param resourceGroupName The name of the resource group that contains the Batch account.
114
- * @param accountName The name of the Batch account.
115
- * @param [options] The optional parameters
116
- * @returns Promise<Models.ApplicationListResponse>
117
- */
118
- list(resourceGroupName: string, accountName: string, options?: Models.ApplicationListOptionalParams): Promise<Models.ApplicationListResponse>;
119
- /**
120
- * @param resourceGroupName The name of the resource group that contains the Batch account.
121
- * @param accountName The name of the Batch account.
122
- * @param callback The callback
123
- */
124
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.ListApplicationsResult>): void;
125
- /**
126
- * @param resourceGroupName The name of the resource group that contains the Batch account.
127
- * @param accountName The name of the Batch account.
128
- * @param options The optional parameters
129
- * @param callback The callback
130
- */
131
- list(resourceGroupName: string, accountName: string, options: Models.ApplicationListOptionalParams, callback: msRest.ServiceCallback<Models.ListApplicationsResult>): void;
132
- /**
133
- * Lists all of the applications in the specified account.
134
- * @param nextPageLink The NextLink from the previous successful call to List operation.
135
- * @param [options] The optional parameters
136
- * @returns Promise<Models.ApplicationListNextResponse>
137
- */
138
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplicationListNextResponse>;
139
- /**
140
- * @param nextPageLink The NextLink from the previous successful call to List operation.
141
- * @param callback The callback
142
- */
143
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ListApplicationsResult>): void;
144
- /**
145
- * @param nextPageLink The NextLink from the previous successful call to List operation.
146
- * @param options The optional parameters
147
- * @param callback The callback
148
- */
149
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListApplicationsResult>): void;
150
- }
151
- //# sourceMappingURL=applicationOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationOperations.d.ts","sourceRoot":"","sources":["../../lib/operations/applicationOperations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAE/E,kDAAkD;AAClD,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;;;OAOG;IACH,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,+BAA+B,GAAG,OAAO,CAAC,MAAM,CAAC,yBA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IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IAC3H;;;;;OAKG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,6BAA6B,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IAY1K;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAC;IAChH;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IACrG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;CAU1I"}
@@ -1,226 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as tslib_1 from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/applicationOperationsMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a ApplicationOperations. */
15
- var ApplicationOperations = /** @class */ (function () {
16
- /**
17
- * Create a ApplicationOperations.
18
- * @param {BatchManagementClientContext} client Reference to the service client.
19
- */
20
- function ApplicationOperations(client) {
21
- this.client = client;
22
- }
23
- ApplicationOperations.prototype.create = function (resourceGroupName, accountName, applicationId, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- accountName: accountName,
27
- applicationId: applicationId,
28
- options: options
29
- }, createOperationSpec, callback);
30
- };
31
- ApplicationOperations.prototype.deleteMethod = function (resourceGroupName, accountName, applicationId, options, callback) {
32
- return this.client.sendOperationRequest({
33
- resourceGroupName: resourceGroupName,
34
- accountName: accountName,
35
- applicationId: applicationId,
36
- options: options
37
- }, deleteMethodOperationSpec, callback);
38
- };
39
- ApplicationOperations.prototype.get = function (resourceGroupName, accountName, applicationId, options, callback) {
40
- return this.client.sendOperationRequest({
41
- resourceGroupName: resourceGroupName,
42
- accountName: accountName,
43
- applicationId: applicationId,
44
- options: options
45
- }, getOperationSpec, callback);
46
- };
47
- ApplicationOperations.prototype.update = function (resourceGroupName, accountName, applicationId, parameters, options, callback) {
48
- return this.client.sendOperationRequest({
49
- resourceGroupName: resourceGroupName,
50
- accountName: accountName,
51
- applicationId: applicationId,
52
- parameters: parameters,
53
- options: options
54
- }, updateOperationSpec, callback);
55
- };
56
- ApplicationOperations.prototype.list = function (resourceGroupName, accountName, options, callback) {
57
- return this.client.sendOperationRequest({
58
- resourceGroupName: resourceGroupName,
59
- accountName: accountName,
60
- options: options
61
- }, listOperationSpec, callback);
62
- };
63
- ApplicationOperations.prototype.listNext = function (nextPageLink, options, callback) {
64
- return this.client.sendOperationRequest({
65
- nextPageLink: nextPageLink,
66
- options: options
67
- }, listNextOperationSpec, callback);
68
- };
69
- return ApplicationOperations;
70
- }());
71
- export { ApplicationOperations };
72
- // Operation Specifications
73
- var serializer = new msRest.Serializer(Mappers);
74
- var createOperationSpec = {
75
- httpMethod: "PUT",
76
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}",
77
- urlParameters: [
78
- Parameters.resourceGroupName,
79
- Parameters.accountName,
80
- Parameters.applicationId,
81
- Parameters.subscriptionId
82
- ],
83
- queryParameters: [
84
- Parameters.apiVersion
85
- ],
86
- headerParameters: [
87
- Parameters.acceptLanguage
88
- ],
89
- requestBody: {
90
- parameterPath: [
91
- "options",
92
- "parameters"
93
- ],
94
- mapper: Mappers.ApplicationCreateParameters
95
- },
96
- responses: {
97
- 201: {
98
- bodyMapper: Mappers.Application
99
- },
100
- default: {
101
- bodyMapper: Mappers.CloudError
102
- }
103
- },
104
- serializer: serializer
105
- };
106
- var deleteMethodOperationSpec = {
107
- httpMethod: "DELETE",
108
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}",
109
- urlParameters: [
110
- Parameters.resourceGroupName,
111
- Parameters.accountName,
112
- Parameters.applicationId,
113
- Parameters.subscriptionId
114
- ],
115
- queryParameters: [
116
- Parameters.apiVersion
117
- ],
118
- headerParameters: [
119
- Parameters.acceptLanguage
120
- ],
121
- responses: {
122
- 204: {},
123
- default: {
124
- bodyMapper: Mappers.CloudError
125
- }
126
- },
127
- serializer: serializer
128
- };
129
- var getOperationSpec = {
130
- httpMethod: "GET",
131
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}",
132
- urlParameters: [
133
- Parameters.resourceGroupName,
134
- Parameters.accountName,
135
- Parameters.applicationId,
136
- Parameters.subscriptionId
137
- ],
138
- queryParameters: [
139
- Parameters.apiVersion
140
- ],
141
- headerParameters: [
142
- Parameters.acceptLanguage
143
- ],
144
- responses: {
145
- 200: {
146
- bodyMapper: Mappers.Application
147
- },
148
- default: {
149
- bodyMapper: Mappers.CloudError
150
- }
151
- },
152
- serializer: serializer
153
- };
154
- var updateOperationSpec = {
155
- httpMethod: "PATCH",
156
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}",
157
- urlParameters: [
158
- Parameters.resourceGroupName,
159
- Parameters.accountName,
160
- Parameters.applicationId,
161
- Parameters.subscriptionId
162
- ],
163
- queryParameters: [
164
- Parameters.apiVersion
165
- ],
166
- headerParameters: [
167
- Parameters.acceptLanguage
168
- ],
169
- requestBody: {
170
- parameterPath: "parameters",
171
- mapper: tslib_1.__assign({}, Mappers.ApplicationUpdateParameters, { required: true })
172
- },
173
- responses: {
174
- 204: {},
175
- default: {
176
- bodyMapper: Mappers.CloudError
177
- }
178
- },
179
- serializer: serializer
180
- };
181
- var listOperationSpec = {
182
- httpMethod: "GET",
183
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications",
184
- urlParameters: [
185
- Parameters.resourceGroupName,
186
- Parameters.accountName,
187
- Parameters.subscriptionId
188
- ],
189
- queryParameters: [
190
- Parameters.maxresults,
191
- Parameters.apiVersion
192
- ],
193
- headerParameters: [
194
- Parameters.acceptLanguage
195
- ],
196
- responses: {
197
- 200: {
198
- bodyMapper: Mappers.ListApplicationsResult
199
- },
200
- default: {
201
- bodyMapper: Mappers.CloudError
202
- }
203
- },
204
- serializer: serializer
205
- };
206
- var listNextOperationSpec = {
207
- httpMethod: "GET",
208
- baseUrl: "https://management.azure.com",
209
- path: "{nextLink}",
210
- urlParameters: [
211
- Parameters.nextPageLink
212
- ],
213
- headerParameters: [
214
- Parameters.acceptLanguage
215
- ],
216
- responses: {
217
- 200: {
218
- bodyMapper: Mappers.ListApplicationsResult
219
- },
220
- default: {
221
- bodyMapper: Mappers.CloudError
222
- }
223
- },
224
- serializer: serializer
225
- };
226
- //# sourceMappingURL=applicationOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationOperations.js","sourceRoot":"","sources":["../../lib/operations/applicationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,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AAO,CAAC,2BAA2B,IACtC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,sIAAsI;IAC5I,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,124 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { BatchManagementClientContext } from "../batchManagementClientContext";
4
- /** Class representing a ApplicationPackageOperations. */
5
- export declare class ApplicationPackageOperations {
6
- private readonly client;
7
- /**
8
- * Create a ApplicationPackageOperations.
9
- * @param {BatchManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BatchManagementClientContext);
12
- /**
13
- * Activates the specified application package.
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 applicationId The ID of the application.
17
- * @param version The version of the application to activate.
18
- * @param format The format of the application package binary file.
19
- * @param [options] The optional parameters
20
- * @returns Promise<msRest.RestResponse>
21
- */
22
- activate(resourceGroupName: string, accountName: string, applicationId: string, version: string, format: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
23
- /**
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 applicationId The ID of the application.
27
- * @param version The version of the application to activate.
28
- * @param format The format of the application package binary file.
29
- * @param callback The callback
30
- */
31
- activate(resourceGroupName: string, accountName: string, applicationId: string, version: string, format: string, callback: msRest.ServiceCallback<void>): void;
32
- /**
33
- * @param resourceGroupName The name of the resource group that contains the Batch account.
34
- * @param accountName The name of the Batch account.
35
- * @param applicationId The ID of the application.
36
- * @param version The version of the application to activate.
37
- * @param format The format of the application package binary file.
38
- * @param options The optional parameters
39
- * @param callback The callback
40
- */
41
- activate(resourceGroupName: string, accountName: string, applicationId: string, version: string, format: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
42
- /**
43
- * Creates an application package record.
44
- * @param resourceGroupName The name of the resource group that contains the Batch account.
45
- * @param accountName The name of the Batch account.
46
- * @param applicationId The ID of the application.
47
- * @param version The version of the application.
48
- * @param [options] The optional parameters
49
- * @returns Promise<Models.ApplicationPackageCreateResponse>
50
- */
51
- create(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplicationPackageCreateResponse>;
52
- /**
53
- * @param resourceGroupName The name of the resource group that contains the Batch account.
54
- * @param accountName The name of the Batch account.
55
- * @param applicationId The ID of the application.
56
- * @param version The version of the application.
57
- * @param callback The callback
58
- */
59
- create(resourceGroupName: string, accountName: string, applicationId: string, version: string, callback: msRest.ServiceCallback<Models.ApplicationPackage>): void;
60
- /**
61
- * @param resourceGroupName The name of the resource group that contains the Batch account.
62
- * @param accountName The name of the Batch account.
63
- * @param applicationId The ID of the application.
64
- * @param version The version of the application.
65
- * @param options The optional parameters
66
- * @param callback The callback
67
- */
68
- create(resourceGroupName: string, accountName: string, applicationId: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationPackage>): void;
69
- /**
70
- * Deletes an application package record and its associated binary file.
71
- * @param resourceGroupName The name of the resource group that contains the Batch account.
72
- * @param accountName The name of the Batch account.
73
- * @param applicationId The ID of the application.
74
- * @param version The version of the application to delete.
75
- * @param [options] The optional parameters
76
- * @returns Promise<msRest.RestResponse>
77
- */
78
- deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
79
- /**
80
- * @param resourceGroupName The name of the resource group that contains the Batch account.
81
- * @param accountName The name of the Batch account.
82
- * @param applicationId The ID of the application.
83
- * @param version The version of the application to delete.
84
- * @param callback The callback
85
- */
86
- deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, version: string, callback: msRest.ServiceCallback<void>): void;
87
- /**
88
- * @param resourceGroupName The name of the resource group that contains the Batch account.
89
- * @param accountName The name of the Batch account.
90
- * @param applicationId The ID of the application.
91
- * @param version The version of the application to delete.
92
- * @param options The optional parameters
93
- * @param callback The callback
94
- */
95
- deleteMethod(resourceGroupName: string, accountName: string, applicationId: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
96
- /**
97
- * Gets information about the specified application package.
98
- * @param resourceGroupName The name of the resource group that contains the Batch account.
99
- * @param accountName The name of the Batch account.
100
- * @param applicationId The ID of the application.
101
- * @param version The version of the application.
102
- * @param [options] The optional parameters
103
- * @returns Promise<Models.ApplicationPackageGetResponse>
104
- */
105
- get(resourceGroupName: string, accountName: string, applicationId: string, version: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplicationPackageGetResponse>;
106
- /**
107
- * @param resourceGroupName The name of the resource group that contains the Batch account.
108
- * @param accountName The name of the Batch account.
109
- * @param applicationId The ID of the application.
110
- * @param version The version of the application.
111
- * @param callback The callback
112
- */
113
- get(resourceGroupName: string, accountName: string, applicationId: string, version: string, callback: msRest.ServiceCallback<Models.ApplicationPackage>): void;
114
- /**
115
- * @param resourceGroupName The name of the resource group that contains the Batch account.
116
- * @param accountName The name of the Batch account.
117
- * @param applicationId The ID of the application.
118
- * @param version The version of the application.
119
- * @param options The optional parameters
120
- * @param callback The callback
121
- */
122
- get(resourceGroupName: string, accountName: string, applicationId: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationPackage>): void;
123
- }
124
- //# sourceMappingURL=applicationPackageOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationPackageOperations.d.ts","sourceRoot":"","sources":["../../lib/operations/applicationPackageOperations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAE/E,yDAAyD;AACzD,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;;;;;OASG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;IACnL;;;;;;;OAOG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MA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