@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,426 +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/batchAccountOperationsMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a BatchAccountOperations. */
15
- var BatchAccountOperations = /** @class */ (function () {
16
- /**
17
- * Create a BatchAccountOperations.
18
- * @param {BatchManagementClientContext} client Reference to the service client.
19
- */
20
- function BatchAccountOperations(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Creates a new Batch account with the specified parameters. Existing accounts cannot be updated
25
- * with this API and should instead be updated with the Update Batch Account API.
26
- * @param resourceGroupName The name of the resource group that contains the Batch account.
27
- * @param accountName A name for the Batch account which must be unique within the region. Batch
28
- * account names must be between 3 and 24 characters in length and must use only numbers and
29
- * lowercase letters. This name is used as part of the DNS name that is used to access the Batch
30
- * service in the region in which the account is created. For example:
31
- * http://accountname.region.batch.azure.com/.
32
- * @param parameters Additional parameters for account creation.
33
- * @param [options] The optional parameters
34
- * @returns Promise<Models.BatchAccountCreateResponse>
35
- */
36
- BatchAccountOperations.prototype.create = function (resourceGroupName, accountName, parameters, options) {
37
- return this.beginCreate(resourceGroupName, accountName, parameters, options)
38
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
39
- };
40
- BatchAccountOperations.prototype.update = function (resourceGroupName, accountName, parameters, options, callback) {
41
- return this.client.sendOperationRequest({
42
- resourceGroupName: resourceGroupName,
43
- accountName: accountName,
44
- parameters: parameters,
45
- options: options
46
- }, updateOperationSpec, callback);
47
- };
48
- /**
49
- * Deletes the specified Batch account.
50
- * @param resourceGroupName The name of the resource group that contains the Batch account.
51
- * @param accountName The name of the Batch account.
52
- * @param [options] The optional parameters
53
- * @returns Promise<Models.BatchAccountDeleteResponse>
54
- */
55
- BatchAccountOperations.prototype.deleteMethod = function (resourceGroupName, accountName, options) {
56
- return this.beginDeleteMethod(resourceGroupName, accountName, options)
57
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
58
- };
59
- BatchAccountOperations.prototype.get = function (resourceGroupName, accountName, options, callback) {
60
- return this.client.sendOperationRequest({
61
- resourceGroupName: resourceGroupName,
62
- accountName: accountName,
63
- options: options
64
- }, getOperationSpec, callback);
65
- };
66
- BatchAccountOperations.prototype.list = function (options, callback) {
67
- return this.client.sendOperationRequest({
68
- options: options
69
- }, listOperationSpec, callback);
70
- };
71
- BatchAccountOperations.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
72
- return this.client.sendOperationRequest({
73
- resourceGroupName: resourceGroupName,
74
- options: options
75
- }, listByResourceGroupOperationSpec, callback);
76
- };
77
- BatchAccountOperations.prototype.synchronizeAutoStorageKeys = function (resourceGroupName, accountName, options, callback) {
78
- return this.client.sendOperationRequest({
79
- resourceGroupName: resourceGroupName,
80
- accountName: accountName,
81
- options: options
82
- }, synchronizeAutoStorageKeysOperationSpec, callback);
83
- };
84
- BatchAccountOperations.prototype.regenerateKey = function (resourceGroupName, accountName, keyName, options, callback) {
85
- return this.client.sendOperationRequest({
86
- resourceGroupName: resourceGroupName,
87
- accountName: accountName,
88
- keyName: keyName,
89
- options: options
90
- }, regenerateKeyOperationSpec, callback);
91
- };
92
- BatchAccountOperations.prototype.getKeys = function (resourceGroupName, accountName, options, callback) {
93
- return this.client.sendOperationRequest({
94
- resourceGroupName: resourceGroupName,
95
- accountName: accountName,
96
- options: options
97
- }, getKeysOperationSpec, callback);
98
- };
99
- /**
100
- * Creates a new Batch account with the specified parameters. Existing accounts cannot be updated
101
- * with this API and should instead be updated with the Update Batch Account API.
102
- * @param resourceGroupName The name of the resource group that contains the Batch account.
103
- * @param accountName A name for the Batch account which must be unique within the region. Batch
104
- * account names must be between 3 and 24 characters in length and must use only numbers and
105
- * lowercase letters. This name is used as part of the DNS name that is used to access the Batch
106
- * service in the region in which the account is created. For example:
107
- * http://accountname.region.batch.azure.com/.
108
- * @param parameters Additional parameters for account creation.
109
- * @param [options] The optional parameters
110
- * @returns Promise<msRestAzure.LROPoller>
111
- */
112
- BatchAccountOperations.prototype.beginCreate = function (resourceGroupName, accountName, parameters, options) {
113
- return this.client.sendLRORequest({
114
- resourceGroupName: resourceGroupName,
115
- accountName: accountName,
116
- parameters: parameters,
117
- options: options
118
- }, beginCreateOperationSpec, options);
119
- };
120
- /**
121
- * Deletes the specified Batch account.
122
- * @param resourceGroupName The name of the resource group that contains the Batch account.
123
- * @param accountName The name of the Batch account.
124
- * @param [options] The optional parameters
125
- * @returns Promise<msRestAzure.LROPoller>
126
- */
127
- BatchAccountOperations.prototype.beginDeleteMethod = function (resourceGroupName, accountName, options) {
128
- return this.client.sendLRORequest({
129
- resourceGroupName: resourceGroupName,
130
- accountName: accountName,
131
- options: options
132
- }, beginDeleteMethodOperationSpec, options);
133
- };
134
- BatchAccountOperations.prototype.listNext = function (nextPageLink, options, callback) {
135
- return this.client.sendOperationRequest({
136
- nextPageLink: nextPageLink,
137
- options: options
138
- }, listNextOperationSpec, callback);
139
- };
140
- BatchAccountOperations.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
141
- return this.client.sendOperationRequest({
142
- nextPageLink: nextPageLink,
143
- options: options
144
- }, listByResourceGroupNextOperationSpec, callback);
145
- };
146
- return BatchAccountOperations;
147
- }());
148
- export { BatchAccountOperations };
149
- // Operation Specifications
150
- var serializer = new msRest.Serializer(Mappers);
151
- var updateOperationSpec = {
152
- httpMethod: "PATCH",
153
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
154
- urlParameters: [
155
- Parameters.resourceGroupName,
156
- Parameters.accountName,
157
- Parameters.subscriptionId
158
- ],
159
- queryParameters: [
160
- Parameters.apiVersion
161
- ],
162
- headerParameters: [
163
- Parameters.acceptLanguage
164
- ],
165
- requestBody: {
166
- parameterPath: "parameters",
167
- mapper: tslib_1.__assign({}, Mappers.BatchAccountUpdateParameters, { required: true })
168
- },
169
- responses: {
170
- 200: {
171
- bodyMapper: Mappers.BatchAccount
172
- },
173
- default: {
174
- bodyMapper: Mappers.CloudError
175
- }
176
- },
177
- serializer: serializer
178
- };
179
- var getOperationSpec = {
180
- httpMethod: "GET",
181
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
182
- urlParameters: [
183
- Parameters.resourceGroupName,
184
- Parameters.accountName,
185
- Parameters.subscriptionId
186
- ],
187
- queryParameters: [
188
- Parameters.apiVersion
189
- ],
190
- headerParameters: [
191
- Parameters.acceptLanguage
192
- ],
193
- responses: {
194
- 200: {
195
- bodyMapper: Mappers.BatchAccount
196
- },
197
- default: {
198
- bodyMapper: Mappers.CloudError
199
- }
200
- },
201
- serializer: serializer
202
- };
203
- var listOperationSpec = {
204
- httpMethod: "GET",
205
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts",
206
- urlParameters: [
207
- Parameters.subscriptionId
208
- ],
209
- queryParameters: [
210
- Parameters.apiVersion
211
- ],
212
- headerParameters: [
213
- Parameters.acceptLanguage
214
- ],
215
- responses: {
216
- 200: {
217
- bodyMapper: Mappers.BatchAccountListResult
218
- },
219
- default: {
220
- bodyMapper: Mappers.CloudError
221
- }
222
- },
223
- serializer: serializer
224
- };
225
- var listByResourceGroupOperationSpec = {
226
- httpMethod: "GET",
227
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts",
228
- urlParameters: [
229
- Parameters.resourceGroupName,
230
- Parameters.subscriptionId
231
- ],
232
- queryParameters: [
233
- Parameters.apiVersion
234
- ],
235
- headerParameters: [
236
- Parameters.acceptLanguage
237
- ],
238
- responses: {
239
- 200: {
240
- bodyMapper: Mappers.BatchAccountListResult
241
- },
242
- default: {
243
- bodyMapper: Mappers.CloudError
244
- }
245
- },
246
- serializer: serializer
247
- };
248
- var synchronizeAutoStorageKeysOperationSpec = {
249
- httpMethod: "POST",
250
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys",
251
- urlParameters: [
252
- Parameters.resourceGroupName,
253
- Parameters.accountName,
254
- Parameters.subscriptionId
255
- ],
256
- queryParameters: [
257
- Parameters.apiVersion
258
- ],
259
- headerParameters: [
260
- Parameters.acceptLanguage
261
- ],
262
- responses: {
263
- 204: {},
264
- default: {
265
- bodyMapper: Mappers.CloudError
266
- }
267
- },
268
- serializer: serializer
269
- };
270
- var regenerateKeyOperationSpec = {
271
- httpMethod: "POST",
272
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys",
273
- urlParameters: [
274
- Parameters.resourceGroupName,
275
- Parameters.accountName,
276
- Parameters.subscriptionId
277
- ],
278
- queryParameters: [
279
- Parameters.apiVersion
280
- ],
281
- headerParameters: [
282
- Parameters.acceptLanguage
283
- ],
284
- requestBody: {
285
- parameterPath: {
286
- keyName: "keyName"
287
- },
288
- mapper: tslib_1.__assign({}, Mappers.BatchAccountRegenerateKeyParameters, { required: true })
289
- },
290
- responses: {
291
- 200: {
292
- bodyMapper: Mappers.BatchAccountKeys
293
- },
294
- default: {
295
- bodyMapper: Mappers.CloudError
296
- }
297
- },
298
- serializer: serializer
299
- };
300
- var getKeysOperationSpec = {
301
- httpMethod: "POST",
302
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys",
303
- urlParameters: [
304
- Parameters.resourceGroupName,
305
- Parameters.accountName,
306
- Parameters.subscriptionId
307
- ],
308
- queryParameters: [
309
- Parameters.apiVersion
310
- ],
311
- headerParameters: [
312
- Parameters.acceptLanguage
313
- ],
314
- responses: {
315
- 200: {
316
- bodyMapper: Mappers.BatchAccountKeys
317
- },
318
- default: {
319
- bodyMapper: Mappers.CloudError
320
- }
321
- },
322
- serializer: serializer
323
- };
324
- var beginCreateOperationSpec = {
325
- httpMethod: "PUT",
326
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
327
- urlParameters: [
328
- Parameters.resourceGroupName,
329
- Parameters.accountName,
330
- Parameters.subscriptionId
331
- ],
332
- queryParameters: [
333
- Parameters.apiVersion
334
- ],
335
- headerParameters: [
336
- Parameters.acceptLanguage
337
- ],
338
- requestBody: {
339
- parameterPath: "parameters",
340
- mapper: tslib_1.__assign({}, Mappers.BatchAccountCreateParameters, { required: true })
341
- },
342
- responses: {
343
- 200: {
344
- bodyMapper: Mappers.BatchAccount,
345
- headersMapper: Mappers.BatchAccountCreateHeaders
346
- },
347
- 202: {
348
- headersMapper: Mappers.BatchAccountCreateHeaders
349
- },
350
- default: {
351
- bodyMapper: Mappers.CloudError
352
- }
353
- },
354
- serializer: serializer
355
- };
356
- var beginDeleteMethodOperationSpec = {
357
- httpMethod: "DELETE",
358
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
359
- urlParameters: [
360
- Parameters.resourceGroupName,
361
- Parameters.accountName,
362
- Parameters.subscriptionId
363
- ],
364
- queryParameters: [
365
- Parameters.apiVersion
366
- ],
367
- headerParameters: [
368
- Parameters.acceptLanguage
369
- ],
370
- responses: {
371
- 200: {
372
- headersMapper: Mappers.BatchAccountDeleteHeaders
373
- },
374
- 202: {
375
- headersMapper: Mappers.BatchAccountDeleteHeaders
376
- },
377
- 204: {
378
- headersMapper: Mappers.BatchAccountDeleteHeaders
379
- },
380
- default: {
381
- bodyMapper: Mappers.CloudError
382
- }
383
- },
384
- serializer: serializer
385
- };
386
- var listNextOperationSpec = {
387
- httpMethod: "GET",
388
- baseUrl: "https://management.azure.com",
389
- path: "{nextLink}",
390
- urlParameters: [
391
- Parameters.nextPageLink
392
- ],
393
- headerParameters: [
394
- Parameters.acceptLanguage
395
- ],
396
- responses: {
397
- 200: {
398
- bodyMapper: Mappers.BatchAccountListResult
399
- },
400
- default: {
401
- bodyMapper: Mappers.CloudError
402
- }
403
- },
404
- serializer: serializer
405
- };
406
- var listByResourceGroupNextOperationSpec = {
407
- httpMethod: "GET",
408
- baseUrl: "https://management.azure.com",
409
- path: "{nextLink}",
410
- urlParameters: [
411
- Parameters.nextPageLink
412
- ],
413
- headerParameters: [
414
- Parameters.acceptLanguage
415
- ],
416
- responses: {
417
- 200: {
418
- bodyMapper: Mappers.BatchAccountListResult
419
- },
420
- default: {
421
- bodyMapper: Mappers.CloudError
422
- }
423
- },
424
- serializer: serializer
425
- };
426
- //# sourceMappingURL=batchAccountOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchAccountOperations.js","sourceRoot":"","sources":["../../lib/operations/batchAccountOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,sBAAsB,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estAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { BatchManagementClientContext } from "../batchManagementClientContext";
5
- /** Class representing a CertificateOperations. */
6
- export declare class CertificateOperations {
7
- private readonly client;
8
- /**
9
- * Create a CertificateOperations.
10
- * @param {BatchManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: BatchManagementClientContext);
13
- /**
14
- * Lists all of the certificates 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 optional parameters
18
- * @returns Promise<Models.CertificateListByBatchAccountResponse>
19
- */
20
- listByBatchAccount(resourceGroupName: string, accountName: string, options?: Models.CertificateListByBatchAccountOptionalParams): Promise<Models.CertificateListByBatchAccountResponse>;
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 callback The callback
25
- */
26
- listByBatchAccount(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
27
- /**
28
- * @param resourceGroupName The name of the resource group that contains the Batch account.
29
- * @param accountName The name of the Batch account.
30
- * @param options The optional parameters
31
- * @param callback The callback
32
- */
33
- listByBatchAccount(resourceGroupName: string, accountName: string, options: Models.CertificateListByBatchAccountOptionalParams, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
34
- /**
35
- * Creates a new certificate inside the specified account.
36
- * @param resourceGroupName The name of the resource group that contains the Batch account.
37
- * @param accountName The name of the Batch account.
38
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
39
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
40
- * SHA1-a3d1c5.
41
- * @param parameters Additional parameters for certificate creation.
42
- * @param [options] The optional parameters
43
- * @returns Promise<Models.CertificateCreateResponse>
44
- */
45
- create(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateCreateOptionalParams): Promise<Models.CertificateCreateResponse>;
46
- /**
47
- * Updates the properties of an existing certificate.
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 certificateName The identifier for the certificate. This must be made up of algorithm and
51
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
52
- * SHA1-a3d1c5.
53
- * @param parameters Certificate entity to update.
54
- * @param [options] The optional parameters
55
- * @returns Promise<Models.CertificateUpdateResponse>
56
- */
57
- update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateUpdateOptionalParams): Promise<Models.CertificateUpdateResponse>;
58
- /**
59
- * @param resourceGroupName The name of the resource group that contains the Batch account.
60
- * @param accountName The name of the Batch account.
61
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
62
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
63
- * SHA1-a3d1c5.
64
- * @param parameters Certificate entity to update.
65
- * @param callback The callback
66
- */
67
- update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, callback: msRest.ServiceCallback<Models.Certificate>): void;
68
- /**
69
- * @param resourceGroupName The name of the resource group that contains the Batch account.
70
- * @param accountName The name of the Batch account.
71
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
72
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
73
- * SHA1-a3d1c5.
74
- * @param parameters Certificate entity to update.
75
- * @param options The optional parameters
76
- * @param callback The callback
77
- */
78
- update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options: Models.CertificateUpdateOptionalParams, callback: msRest.ServiceCallback<Models.Certificate>): void;
79
- /**
80
- * Deletes the specified certificate.
81
- * @param resourceGroupName The name of the resource group that contains the Batch account.
82
- * @param accountName The name of the Batch account.
83
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
84
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
85
- * SHA1-a3d1c5.
86
- * @param [options] The optional parameters
87
- * @returns Promise<Models.CertificateDeleteResponse>
88
- */
89
- deleteMethod(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateDeleteResponse>;
90
- /**
91
- * Gets information about the specified certificate.
92
- * @param resourceGroupName The name of the resource group that contains the Batch account.
93
- * @param accountName The name of the Batch account.
94
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
95
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
96
- * SHA1-a3d1c5.
97
- * @param [options] The optional parameters
98
- * @returns Promise<Models.CertificateGetResponse>
99
- */
100
- get(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateGetResponse>;
101
- /**
102
- * @param resourceGroupName The name of the resource group that contains the Batch account.
103
- * @param accountName The name of the Batch account.
104
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
105
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
106
- * SHA1-a3d1c5.
107
- * @param callback The callback
108
- */
109
- get(resourceGroupName: string, accountName: string, certificateName: string, callback: msRest.ServiceCallback<Models.Certificate>): void;
110
- /**
111
- * @param resourceGroupName The name of the resource group that contains the Batch account.
112
- * @param accountName The name of the Batch account.
113
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
114
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
115
- * SHA1-a3d1c5.
116
- * @param options The optional parameters
117
- * @param callback The callback
118
- */
119
- get(resourceGroupName: string, accountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Certificate>): void;
120
- /**
121
- * If you try to delete a certificate that is being used by a pool or compute node, the status of
122
- * the certificate changes to deleteFailed. If you decide that you want to continue using the
123
- * certificate, you can use this operation to set the status of the certificate back to active. If
124
- * you intend to delete the certificate, you do not need to run this operation after the deletion
125
- * failed. You must make sure that the certificate is not being used by any resources, and then you
126
- * can try again to delete the certificate.
127
- * @summary Cancels a failed deletion of a certificate from the specified account.
128
- * @param resourceGroupName The name of the resource group that contains the Batch account.
129
- * @param accountName The name of the Batch account.
130
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
131
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
132
- * SHA1-a3d1c5.
133
- * @param [options] The optional parameters
134
- * @returns Promise<Models.CertificateCancelDeletionResponse>
135
- */
136
- cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateCancelDeletionResponse>;
137
- /**
138
- * @param resourceGroupName The name of the resource group that contains the Batch account.
139
- * @param accountName The name of the Batch account.
140
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
141
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
142
- * SHA1-a3d1c5.
143
- * @param callback The callback
144
- */
145
- cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, callback: msRest.ServiceCallback<Models.Certificate>): void;
146
- /**
147
- * @param resourceGroupName The name of the resource group that contains the Batch account.
148
- * @param accountName The name of the Batch account.
149
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
150
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
151
- * SHA1-a3d1c5.
152
- * @param options The optional parameters
153
- * @param callback The callback
154
- */
155
- cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Certificate>): void;
156
- /**
157
- * Creates a new certificate inside the specified account.
158
- * @param resourceGroupName The name of the resource group that contains the Batch account.
159
- * @param accountName The name of the Batch account.
160
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
161
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
162
- * SHA1-a3d1c5.
163
- * @param parameters Additional parameters for certificate creation.
164
- * @param [options] The optional parameters
165
- * @returns Promise<msRestAzure.LROPoller>
166
- */
167
- beginCreate(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateBeginCreateOptionalParams): Promise<msRestAzure.LROPoller>;
168
- /**
169
- * Deletes the specified certificate.
170
- * @param resourceGroupName The name of the resource group that contains the Batch account.
171
- * @param accountName The name of the Batch account.
172
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
173
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
174
- * SHA1-a3d1c5.
175
- * @param [options] The optional parameters
176
- * @returns Promise<msRestAzure.LROPoller>
177
- */
178
- beginDeleteMethod(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
179
- /**
180
- * Lists all of the certificates in the specified account.
181
- * @param nextPageLink The NextLink from the previous successful call to List operation.
182
- * @param [options] The optional parameters
183
- * @returns Promise<Models.CertificateListByBatchAccountNextResponse>
184
- */
185
- listByBatchAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateListByBatchAccountNextResponse>;
186
- /**
187
- * @param nextPageLink The NextLink from the previous successful call to List operation.
188
- * @param callback The callback
189
- */
190
- listByBatchAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
191
- /**
192
- * @param nextPageLink The NextLink from the previous successful call to List operation.
193
- * @param options The optional parameters
194
- * @param callback The callback
195
- */
196
- listByBatchAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
197
- }
198
- //# sourceMappingURL=certificateOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"certificateOperations.d.ts","sourceRoot":"","sources":["../../lib/operations/certificateOperations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,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,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