@azure/arm-batch 10.0.1-alpha.20250101.1 → 10.0.1-alpha.20250103.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 (759) hide show
  1. package/{dist-esm/src → dist/browser}/batchManagementClient.d.ts +2 -2
  2. package/dist/browser/batchManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/batchManagementClient.js +15 -18
  4. package/dist/browser/batchManagementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/applicationOperations.d.ts +3 -3
  15. package/dist/browser/operations/applicationOperations.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/applicationOperations.js +3 -3
  17. package/dist/browser/operations/applicationOperations.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/applicationPackageOperations.d.ts +3 -3
  19. package/dist/browser/operations/applicationPackageOperations.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/applicationPackageOperations.js +3 -3
  21. package/dist/browser/operations/applicationPackageOperations.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/batchAccountOperations.d.ts +3 -3
  23. package/dist/browser/operations/batchAccountOperations.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/batchAccountOperations.js +79 -87
  25. package/dist/browser/operations/batchAccountOperations.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/certificateOperations.d.ts +3 -3
  27. package/dist/browser/operations/certificateOperations.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/certificateOperations.js +42 -46
  29. package/dist/browser/operations/certificateOperations.js.map +1 -0
  30. package/dist/browser/operations/index.d.ts +11 -0
  31. package/dist/browser/operations/index.d.ts.map +1 -0
  32. package/dist/browser/operations/index.js +18 -0
  33. package/dist/browser/operations/index.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/location.d.ts +3 -3
  35. package/dist/browser/operations/location.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/location.js +3 -3
  37. package/dist/browser/operations/location.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterOperations.d.ts +3 -3
  39. package/dist/browser/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterOperations.js +46 -50
  41. package/dist/browser/operations/networkSecurityPerimeterOperations.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  43. package/dist/browser/operations/operations.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  45. package/dist/browser/operations/operations.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/poolOperations.d.ts +3 -3
  47. package/dist/browser/operations/poolOperations.d.ts.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/poolOperations.js +42 -46
  49. package/dist/browser/operations/poolOperations.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnectionOperations.d.ts +3 -3
  51. package/dist/browser/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnectionOperations.js +88 -96
  53. package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operations/privateLinkResourceOperations.d.ts +3 -3
  55. package/dist/browser/operations/privateLinkResourceOperations.d.ts.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operations/privateLinkResourceOperations.js +3 -3
  57. package/dist/browser/operations/privateLinkResourceOperations.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationOperations.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/applicationOperations.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationPackageOperations.d.ts +1 -1
  62. package/dist/browser/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  63. package/dist/browser/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/batchAccountOperations.d.ts +1 -1
  65. package/dist/browser/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/batchAccountOperations.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/certificateOperations.d.ts +1 -1
  68. package/dist/browser/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/certificateOperations.js.map +1 -0
  70. package/dist/browser/operationsInterfaces/index.d.ts +11 -0
  71. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/index.js +18 -0
  73. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/location.d.ts +1 -1
  75. package/dist/browser/operationsInterfaces/location.d.ts.map +1 -0
  76. package/dist/browser/operationsInterfaces/location.js.map +1 -0
  77. package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +1 -1
  78. package/dist/browser/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
  79. package/dist/browser/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
  80. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  81. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  82. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  83. package/{dist-esm/src → dist/browser}/operationsInterfaces/poolOperations.d.ts +1 -1
  84. package/dist/browser/operationsInterfaces/poolOperations.d.ts.map +1 -0
  85. package/dist/browser/operationsInterfaces/poolOperations.js.map +1 -0
  86. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnectionOperations.d.ts +1 -1
  87. package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  89. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResourceOperations.d.ts +1 -1
  90. package/dist/browser/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  91. package/dist/browser/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  92. package/dist/browser/package.json +3 -0
  93. package/dist/browser/pagingHelper.js.map +1 -0
  94. package/dist/commonjs/batchManagementClient.d.ts +30 -0
  95. package/dist/commonjs/batchManagementClient.d.ts.map +1 -0
  96. package/dist/commonjs/batchManagementClient.js +114 -0
  97. package/dist/commonjs/batchManagementClient.js.map +1 -0
  98. package/dist/commonjs/index.d.ts +5 -0
  99. package/dist/commonjs/index.d.ts.map +1 -0
  100. package/dist/commonjs/index.js +19 -0
  101. package/dist/commonjs/index.js.map +1 -0
  102. package/dist/commonjs/lroImpl.d.ts +11 -0
  103. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  104. package/dist/commonjs/lroImpl.js +24 -0
  105. package/dist/commonjs/lroImpl.js.map +1 -0
  106. package/{types/arm-batch.d.ts → dist/commonjs/models/index.d.ts} +2366 -3263
  107. package/dist/commonjs/models/index.d.ts.map +1 -0
  108. package/dist/commonjs/models/index.js +111 -0
  109. package/dist/commonjs/models/index.js.map +1 -0
  110. package/dist/commonjs/models/mappers.d.ts +144 -0
  111. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  112. package/dist/commonjs/models/mappers.js +4564 -0
  113. package/dist/commonjs/models/mappers.js.map +1 -0
  114. package/dist/commonjs/models/parameters.d.ts +36 -0
  115. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  116. package/dist/commonjs/models/parameters.js +329 -0
  117. package/dist/commonjs/models/parameters.js.map +1 -0
  118. package/dist/commonjs/operations/applicationOperations.d.ts +71 -0
  119. package/dist/commonjs/operations/applicationOperations.d.ts.map +1 -0
  120. package/dist/commonjs/operations/applicationOperations.js +286 -0
  121. package/dist/commonjs/operations/applicationOperations.js.map +1 -0
  122. package/dist/commonjs/operations/applicationPackageOperations.d.ts +83 -0
  123. package/dist/commonjs/operations/applicationPackageOperations.d.ts.map +1 -0
  124. package/dist/commonjs/operations/applicationPackageOperations.js +311 -0
  125. package/dist/commonjs/operations/applicationPackageOperations.js.map +1 -0
  126. package/dist/commonjs/operations/batchAccountOperations.d.ts +203 -0
  127. package/dist/commonjs/operations/batchAccountOperations.d.ts.map +1 -0
  128. package/dist/commonjs/operations/batchAccountOperations.js +882 -0
  129. package/dist/commonjs/operations/batchAccountOperations.js.map +1 -0
  130. package/dist/commonjs/operations/certificateOperations.d.ts +124 -0
  131. package/dist/commonjs/operations/certificateOperations.d.ts.map +1 -0
  132. package/dist/commonjs/operations/certificateOperations.js +420 -0
  133. package/dist/commonjs/operations/certificateOperations.js.map +1 -0
  134. package/dist/commonjs/operations/index.d.ts +11 -0
  135. package/dist/commonjs/operations/index.d.ts.map +1 -0
  136. package/dist/commonjs/operations/index.js +21 -0
  137. package/dist/commonjs/operations/index.js.map +1 -0
  138. package/dist/commonjs/operations/location.d.ts +49 -0
  139. package/dist/commonjs/operations/location.d.ts.map +1 -0
  140. package/dist/commonjs/operations/location.js +213 -0
  141. package/dist/commonjs/operations/location.js.map +1 -0
  142. package/dist/commonjs/operations/networkSecurityPerimeterOperations.d.ts +66 -0
  143. package/dist/commonjs/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
  144. package/dist/commonjs/operations/networkSecurityPerimeterOperations.js +286 -0
  145. package/dist/commonjs/operations/networkSecurityPerimeterOperations.js.map +1 -0
  146. package/dist/commonjs/operations/operations.d.ts +32 -0
  147. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  148. package/dist/commonjs/operations/operations.js +137 -0
  149. package/dist/commonjs/operations/operations.js.map +1 -0
  150. package/dist/commonjs/operations/poolOperations.d.ts +103 -0
  151. package/dist/commonjs/operations/poolOperations.d.ts.map +1 -0
  152. package/dist/commonjs/operations/poolOperations.js +424 -0
  153. package/dist/commonjs/operations/poolOperations.js.map +1 -0
  154. package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts +88 -0
  155. package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  156. package/dist/commonjs/operations/privateEndpointConnectionOperations.js +389 -0
  157. package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -0
  158. package/dist/commonjs/operations/privateLinkResourceOperations.d.ts +47 -0
  159. package/dist/commonjs/operations/privateLinkResourceOperations.d.ts.map +1 -0
  160. package/dist/commonjs/operations/privateLinkResourceOperations.js +187 -0
  161. package/dist/commonjs/operations/privateLinkResourceOperations.js.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/applicationOperations.d.ts +46 -0
  163. package/dist/commonjs/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/applicationOperations.js +10 -0
  165. package/dist/commonjs/operationsInterfaces/applicationOperations.js.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  167. package/dist/commonjs/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  168. package/dist/commonjs/operationsInterfaces/applicationPackageOperations.js +10 -0
  169. package/dist/commonjs/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  170. package/dist/commonjs/operationsInterfaces/batchAccountOperations.d.ts +127 -0
  171. package/dist/commonjs/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  172. package/dist/commonjs/operationsInterfaces/batchAccountOperations.js +10 -0
  173. package/dist/commonjs/operationsInterfaces/batchAccountOperations.js.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/certificateOperations.d.ts +97 -0
  175. package/dist/commonjs/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/certificateOperations.js +10 -0
  177. package/dist/commonjs/operationsInterfaces/certificateOperations.js.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
  179. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/index.js +21 -0
  181. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/location.d.ts +25 -0
  183. package/dist/commonjs/operationsInterfaces/location.d.ts.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/location.js +10 -0
  185. package/dist/commonjs/operationsInterfaces/location.js.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
  187. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.js +10 -0
  189. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  191. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  193. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/poolOperations.d.ts +78 -0
  195. package/dist/commonjs/operationsInterfaces/poolOperations.d.ts.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/poolOperations.js +10 -0
  197. package/dist/commonjs/operationsInterfaces/poolOperations.js.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts +63 -0
  199. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.js +10 -0
  201. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  202. package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  203. package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.js +10 -0
  205. package/dist/commonjs/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  206. package/dist/commonjs/package.json +3 -0
  207. package/dist/commonjs/pagingHelper.d.ts +13 -0
  208. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  209. package/dist/commonjs/pagingHelper.js +36 -0
  210. package/dist/commonjs/pagingHelper.js.map +1 -0
  211. package/dist/esm/batchManagementClient.d.ts +30 -0
  212. package/dist/esm/batchManagementClient.d.ts.map +1 -0
  213. package/dist/esm/batchManagementClient.js +109 -0
  214. package/dist/esm/batchManagementClient.js.map +1 -0
  215. package/dist/esm/index.d.ts +5 -0
  216. package/dist/esm/index.d.ts.map +1 -0
  217. package/{src/index.ts → dist/esm/index.js} +5 -5
  218. package/dist/esm/index.js.map +1 -0
  219. package/dist/esm/lroImpl.d.ts +11 -0
  220. package/dist/esm/lroImpl.d.ts.map +1 -0
  221. package/dist/esm/lroImpl.js +21 -0
  222. package/dist/esm/lroImpl.js.map +1 -0
  223. package/dist/esm/models/index.d.ts +2366 -0
  224. package/dist/esm/models/index.d.ts.map +1 -0
  225. package/dist/esm/models/index.js +108 -0
  226. package/dist/esm/models/index.js.map +1 -0
  227. package/dist/esm/models/mappers.d.ts +144 -0
  228. package/dist/esm/models/mappers.d.ts.map +1 -0
  229. package/dist/esm/models/mappers.js +4559 -0
  230. package/dist/esm/models/mappers.js.map +1 -0
  231. package/dist/esm/models/parameters.d.ts +36 -0
  232. package/dist/esm/models/parameters.d.ts.map +1 -0
  233. package/dist/esm/models/parameters.js +326 -0
  234. package/dist/esm/models/parameters.js.map +1 -0
  235. package/dist/esm/operations/applicationOperations.d.ts +71 -0
  236. package/dist/esm/operations/applicationOperations.d.ts.map +1 -0
  237. package/dist/esm/operations/applicationOperations.js +282 -0
  238. package/dist/esm/operations/applicationOperations.js.map +1 -0
  239. package/dist/esm/operations/applicationPackageOperations.d.ts +83 -0
  240. package/dist/esm/operations/applicationPackageOperations.d.ts.map +1 -0
  241. package/dist/esm/operations/applicationPackageOperations.js +307 -0
  242. package/dist/esm/operations/applicationPackageOperations.js.map +1 -0
  243. package/dist/esm/operations/batchAccountOperations.d.ts +203 -0
  244. package/dist/esm/operations/batchAccountOperations.d.ts.map +1 -0
  245. package/dist/esm/operations/batchAccountOperations.js +878 -0
  246. package/dist/esm/operations/batchAccountOperations.js.map +1 -0
  247. package/dist/esm/operations/certificateOperations.d.ts +124 -0
  248. package/dist/esm/operations/certificateOperations.d.ts.map +1 -0
  249. package/dist/esm/operations/certificateOperations.js +416 -0
  250. package/dist/esm/operations/certificateOperations.js.map +1 -0
  251. package/dist/esm/operations/index.d.ts +11 -0
  252. package/dist/esm/operations/index.d.ts.map +1 -0
  253. package/dist/esm/operations/index.js +18 -0
  254. package/dist/esm/operations/index.js.map +1 -0
  255. package/dist/esm/operations/location.d.ts +49 -0
  256. package/dist/esm/operations/location.d.ts.map +1 -0
  257. package/dist/esm/operations/location.js +209 -0
  258. package/dist/esm/operations/location.js.map +1 -0
  259. package/dist/esm/operations/networkSecurityPerimeterOperations.d.ts +66 -0
  260. package/dist/esm/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
  261. package/dist/esm/operations/networkSecurityPerimeterOperations.js +282 -0
  262. package/dist/esm/operations/networkSecurityPerimeterOperations.js.map +1 -0
  263. package/dist/esm/operations/operations.d.ts +32 -0
  264. package/dist/esm/operations/operations.d.ts.map +1 -0
  265. package/dist/esm/operations/operations.js +133 -0
  266. package/dist/esm/operations/operations.js.map +1 -0
  267. package/dist/esm/operations/poolOperations.d.ts +103 -0
  268. package/dist/esm/operations/poolOperations.d.ts.map +1 -0
  269. package/dist/esm/operations/poolOperations.js +420 -0
  270. package/dist/esm/operations/poolOperations.js.map +1 -0
  271. package/dist/esm/operations/privateEndpointConnectionOperations.d.ts +88 -0
  272. package/dist/esm/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  273. package/dist/esm/operations/privateEndpointConnectionOperations.js +385 -0
  274. package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -0
  275. package/dist/esm/operations/privateLinkResourceOperations.d.ts +47 -0
  276. package/dist/esm/operations/privateLinkResourceOperations.d.ts.map +1 -0
  277. package/dist/esm/operations/privateLinkResourceOperations.js +183 -0
  278. package/dist/esm/operations/privateLinkResourceOperations.js.map +1 -0
  279. package/dist/esm/operationsInterfaces/applicationOperations.d.ts +46 -0
  280. package/dist/esm/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  281. package/dist/esm/operationsInterfaces/applicationOperations.js +9 -0
  282. package/dist/esm/operationsInterfaces/applicationOperations.js.map +1 -0
  283. package/dist/esm/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  284. package/dist/esm/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  285. package/dist/esm/operationsInterfaces/applicationPackageOperations.js +9 -0
  286. package/dist/esm/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  287. package/dist/esm/operationsInterfaces/batchAccountOperations.d.ts +127 -0
  288. package/dist/esm/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  289. package/dist/esm/operationsInterfaces/batchAccountOperations.js +9 -0
  290. package/dist/esm/operationsInterfaces/batchAccountOperations.js.map +1 -0
  291. package/dist/esm/operationsInterfaces/certificateOperations.d.ts +97 -0
  292. package/dist/esm/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  293. package/dist/esm/operationsInterfaces/certificateOperations.js +9 -0
  294. package/dist/esm/operationsInterfaces/certificateOperations.js.map +1 -0
  295. package/dist/esm/operationsInterfaces/index.d.ts +11 -0
  296. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  297. package/dist/esm/operationsInterfaces/index.js +18 -0
  298. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  299. package/dist/esm/operationsInterfaces/location.d.ts +25 -0
  300. package/dist/esm/operationsInterfaces/location.d.ts.map +1 -0
  301. package/dist/esm/operationsInterfaces/location.js +9 -0
  302. package/dist/esm/operationsInterfaces/location.js.map +1 -0
  303. package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
  304. package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
  305. package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
  306. package/dist/esm/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
  307. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  308. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  309. package/dist/esm/operationsInterfaces/operations.js +9 -0
  310. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  311. package/dist/esm/operationsInterfaces/poolOperations.d.ts +78 -0
  312. package/dist/esm/operationsInterfaces/poolOperations.d.ts.map +1 -0
  313. package/dist/esm/operationsInterfaces/poolOperations.js +9 -0
  314. package/dist/esm/operationsInterfaces/poolOperations.js.map +1 -0
  315. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts +63 -0
  316. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  317. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  318. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  319. package/dist/esm/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  320. package/dist/esm/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  321. package/dist/esm/operationsInterfaces/privateLinkResourceOperations.js +9 -0
  322. package/dist/esm/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  323. package/dist/esm/package.json +3 -0
  324. package/dist/esm/pagingHelper.d.ts +13 -0
  325. package/dist/esm/pagingHelper.d.ts.map +1 -0
  326. package/dist/esm/pagingHelper.js +32 -0
  327. package/dist/esm/pagingHelper.js.map +1 -0
  328. package/dist/react-native/batchManagementClient.d.ts +30 -0
  329. package/dist/react-native/batchManagementClient.d.ts.map +1 -0
  330. package/dist/react-native/batchManagementClient.js +109 -0
  331. package/dist/react-native/batchManagementClient.js.map +1 -0
  332. package/dist/react-native/index.d.ts +5 -0
  333. package/dist/react-native/index.d.ts.map +1 -0
  334. package/dist/react-native/index.js +13 -0
  335. package/dist/react-native/index.js.map +1 -0
  336. package/dist/react-native/lroImpl.d.ts +11 -0
  337. package/dist/react-native/lroImpl.d.ts.map +1 -0
  338. package/dist/react-native/lroImpl.js +21 -0
  339. package/dist/react-native/lroImpl.js.map +1 -0
  340. package/dist/react-native/models/index.d.ts +2366 -0
  341. package/dist/react-native/models/index.d.ts.map +1 -0
  342. package/dist/react-native/models/index.js +108 -0
  343. package/dist/react-native/models/index.js.map +1 -0
  344. package/dist/react-native/models/mappers.d.ts +144 -0
  345. package/dist/react-native/models/mappers.d.ts.map +1 -0
  346. package/dist/react-native/models/mappers.js +4559 -0
  347. package/dist/react-native/models/mappers.js.map +1 -0
  348. package/dist/react-native/models/parameters.d.ts +36 -0
  349. package/dist/react-native/models/parameters.d.ts.map +1 -0
  350. package/dist/react-native/models/parameters.js +326 -0
  351. package/dist/react-native/models/parameters.js.map +1 -0
  352. package/dist/react-native/operations/applicationOperations.d.ts +71 -0
  353. package/dist/react-native/operations/applicationOperations.d.ts.map +1 -0
  354. package/dist/react-native/operations/applicationOperations.js +282 -0
  355. package/dist/react-native/operations/applicationOperations.js.map +1 -0
  356. package/dist/react-native/operations/applicationPackageOperations.d.ts +83 -0
  357. package/dist/react-native/operations/applicationPackageOperations.d.ts.map +1 -0
  358. package/dist/react-native/operations/applicationPackageOperations.js +307 -0
  359. package/dist/react-native/operations/applicationPackageOperations.js.map +1 -0
  360. package/dist/react-native/operations/batchAccountOperations.d.ts +203 -0
  361. package/dist/react-native/operations/batchAccountOperations.d.ts.map +1 -0
  362. package/dist/react-native/operations/batchAccountOperations.js +878 -0
  363. package/dist/react-native/operations/batchAccountOperations.js.map +1 -0
  364. package/dist/react-native/operations/certificateOperations.d.ts +124 -0
  365. package/dist/react-native/operations/certificateOperations.d.ts.map +1 -0
  366. package/dist/react-native/operations/certificateOperations.js +416 -0
  367. package/dist/react-native/operations/certificateOperations.js.map +1 -0
  368. package/dist/react-native/operations/index.d.ts +11 -0
  369. package/dist/react-native/operations/index.d.ts.map +1 -0
  370. package/dist/react-native/operations/index.js +18 -0
  371. package/dist/react-native/operations/index.js.map +1 -0
  372. package/dist/react-native/operations/location.d.ts +49 -0
  373. package/dist/react-native/operations/location.d.ts.map +1 -0
  374. package/dist/react-native/operations/location.js +209 -0
  375. package/dist/react-native/operations/location.js.map +1 -0
  376. package/dist/react-native/operations/networkSecurityPerimeterOperations.d.ts +66 -0
  377. package/dist/react-native/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
  378. package/dist/react-native/operations/networkSecurityPerimeterOperations.js +282 -0
  379. package/dist/react-native/operations/networkSecurityPerimeterOperations.js.map +1 -0
  380. package/dist/react-native/operations/operations.d.ts +32 -0
  381. package/dist/react-native/operations/operations.d.ts.map +1 -0
  382. package/dist/react-native/operations/operations.js +133 -0
  383. package/dist/react-native/operations/operations.js.map +1 -0
  384. package/dist/react-native/operations/poolOperations.d.ts +103 -0
  385. package/dist/react-native/operations/poolOperations.d.ts.map +1 -0
  386. package/dist/react-native/operations/poolOperations.js +420 -0
  387. package/dist/react-native/operations/poolOperations.js.map +1 -0
  388. package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts +88 -0
  389. package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  390. package/dist/react-native/operations/privateEndpointConnectionOperations.js +385 -0
  391. package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -0
  392. package/dist/react-native/operations/privateLinkResourceOperations.d.ts +47 -0
  393. package/dist/react-native/operations/privateLinkResourceOperations.d.ts.map +1 -0
  394. package/dist/react-native/operations/privateLinkResourceOperations.js +183 -0
  395. package/dist/react-native/operations/privateLinkResourceOperations.js.map +1 -0
  396. package/dist/react-native/operationsInterfaces/applicationOperations.d.ts +46 -0
  397. package/dist/react-native/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  398. package/dist/react-native/operationsInterfaces/applicationOperations.js +9 -0
  399. package/dist/react-native/operationsInterfaces/applicationOperations.js.map +1 -0
  400. package/dist/react-native/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  401. package/dist/react-native/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  402. package/dist/react-native/operationsInterfaces/applicationPackageOperations.js +9 -0
  403. package/dist/react-native/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  404. package/dist/react-native/operationsInterfaces/batchAccountOperations.d.ts +127 -0
  405. package/dist/react-native/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  406. package/dist/react-native/operationsInterfaces/batchAccountOperations.js +9 -0
  407. package/dist/react-native/operationsInterfaces/batchAccountOperations.js.map +1 -0
  408. package/dist/react-native/operationsInterfaces/certificateOperations.d.ts +97 -0
  409. package/dist/react-native/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  410. package/dist/react-native/operationsInterfaces/certificateOperations.js +9 -0
  411. package/dist/react-native/operationsInterfaces/certificateOperations.js.map +1 -0
  412. package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
  413. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  414. package/dist/react-native/operationsInterfaces/index.js +18 -0
  415. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  416. package/dist/react-native/operationsInterfaces/location.d.ts +25 -0
  417. package/dist/react-native/operationsInterfaces/location.d.ts.map +1 -0
  418. package/dist/react-native/operationsInterfaces/location.js +9 -0
  419. package/dist/react-native/operationsInterfaces/location.js.map +1 -0
  420. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
  421. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
  422. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
  423. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
  424. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  425. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  426. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  427. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  428. package/dist/react-native/operationsInterfaces/poolOperations.d.ts +78 -0
  429. package/dist/react-native/operationsInterfaces/poolOperations.d.ts.map +1 -0
  430. package/dist/react-native/operationsInterfaces/poolOperations.js +9 -0
  431. package/dist/react-native/operationsInterfaces/poolOperations.js.map +1 -0
  432. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts +63 -0
  433. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  434. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  435. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  436. package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  437. package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  438. package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.js +9 -0
  439. package/dist/react-native/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  440. package/dist/react-native/package.json +3 -0
  441. package/dist/react-native/pagingHelper.d.ts +13 -0
  442. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  443. package/dist/react-native/pagingHelper.js +32 -0
  444. package/dist/react-native/pagingHelper.js.map +1 -0
  445. package/package.json +58 -28
  446. package/dist/index.js +0 -8793
  447. package/dist/index.js.map +0 -1
  448. package/dist/index.min.js +0 -1
  449. package/dist/index.min.js.map +0 -1
  450. package/dist-esm/samples-dev/applicationCreateSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/applicationCreateSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/applicationCreateSample.js +0 -44
  453. package/dist-esm/samples-dev/applicationCreateSample.js.map +0 -1
  454. package/dist-esm/samples-dev/applicationDeleteSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/applicationDeleteSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/applicationDeleteSample.js +0 -39
  457. package/dist-esm/samples-dev/applicationDeleteSample.js.map +0 -1
  458. package/dist-esm/samples-dev/applicationGetSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/applicationGetSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/applicationGetSample.js +0 -39
  461. package/dist-esm/samples-dev/applicationGetSample.js.map +0 -1
  462. package/dist-esm/samples-dev/applicationListSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/applicationListSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/applicationListSample.js +0 -54
  465. package/dist-esm/samples-dev/applicationListSample.js.map +0 -1
  466. package/dist-esm/samples-dev/applicationPackageActivateSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/applicationPackageActivateSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/applicationPackageActivateSample.js +0 -41
  469. package/dist-esm/samples-dev/applicationPackageActivateSample.js.map +0 -1
  470. package/dist-esm/samples-dev/applicationPackageCreateSample.d.ts +0 -2
  471. package/dist-esm/samples-dev/applicationPackageCreateSample.d.ts.map +0 -1
  472. package/dist-esm/samples-dev/applicationPackageCreateSample.js +0 -40
  473. package/dist-esm/samples-dev/applicationPackageCreateSample.js.map +0 -1
  474. package/dist-esm/samples-dev/applicationPackageDeleteSample.d.ts +0 -2
  475. package/dist-esm/samples-dev/applicationPackageDeleteSample.d.ts.map +0 -1
  476. package/dist-esm/samples-dev/applicationPackageDeleteSample.js +0 -40
  477. package/dist-esm/samples-dev/applicationPackageDeleteSample.js.map +0 -1
  478. package/dist-esm/samples-dev/applicationPackageGetSample.d.ts +0 -2
  479. package/dist-esm/samples-dev/applicationPackageGetSample.d.ts.map +0 -1
  480. package/dist-esm/samples-dev/applicationPackageGetSample.js +0 -40
  481. package/dist-esm/samples-dev/applicationPackageGetSample.js.map +0 -1
  482. package/dist-esm/samples-dev/applicationPackageListSample.d.ts +0 -2
  483. package/dist-esm/samples-dev/applicationPackageListSample.d.ts.map +0 -1
  484. package/dist-esm/samples-dev/applicationPackageListSample.js +0 -55
  485. package/dist-esm/samples-dev/applicationPackageListSample.js.map +0 -1
  486. package/dist-esm/samples-dev/applicationUpdateSample.d.ts +0 -2
  487. package/dist-esm/samples-dev/applicationUpdateSample.d.ts.map +0 -1
  488. package/dist-esm/samples-dev/applicationUpdateSample.js +0 -44
  489. package/dist-esm/samples-dev/applicationUpdateSample.js.map +0 -1
  490. package/dist-esm/samples-dev/batchAccountCreateSample.d.ts +0 -2
  491. package/dist-esm/samples-dev/batchAccountCreateSample.d.ts.map +0 -1
  492. package/dist-esm/samples-dev/batchAccountCreateSample.js +0 -157
  493. package/dist-esm/samples-dev/batchAccountCreateSample.js.map +0 -1
  494. package/dist-esm/samples-dev/batchAccountDeleteSample.d.ts +0 -2
  495. package/dist-esm/samples-dev/batchAccountDeleteSample.d.ts.map +0 -1
  496. package/dist-esm/samples-dev/batchAccountDeleteSample.js +0 -38
  497. package/dist-esm/samples-dev/batchAccountDeleteSample.js.map +0 -1
  498. package/dist-esm/samples-dev/batchAccountGetDetectorSample.d.ts +0 -2
  499. package/dist-esm/samples-dev/batchAccountGetDetectorSample.d.ts.map +0 -1
  500. package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +0 -39
  501. package/dist-esm/samples-dev/batchAccountGetDetectorSample.js.map +0 -1
  502. package/dist-esm/samples-dev/batchAccountGetKeysSample.d.ts +0 -2
  503. package/dist-esm/samples-dev/batchAccountGetKeysSample.d.ts.map +0 -1
  504. package/dist-esm/samples-dev/batchAccountGetKeysSample.js +0 -38
  505. package/dist-esm/samples-dev/batchAccountGetKeysSample.js.map +0 -1
  506. package/dist-esm/samples-dev/batchAccountGetSample.d.ts +0 -2
  507. package/dist-esm/samples-dev/batchAccountGetSample.d.ts.map +0 -1
  508. package/dist-esm/samples-dev/batchAccountGetSample.js +0 -56
  509. package/dist-esm/samples-dev/batchAccountGetSample.js.map +0 -1
  510. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.d.ts +0 -2
  511. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.d.ts.map +0 -1
  512. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +0 -53
  513. package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js.map +0 -1
  514. package/dist-esm/samples-dev/batchAccountListDetectorsSample.d.ts +0 -2
  515. package/dist-esm/samples-dev/batchAccountListDetectorsSample.d.ts.map +0 -1
  516. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +0 -54
  517. package/dist-esm/samples-dev/batchAccountListDetectorsSample.js.map +0 -1
  518. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
  519. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
  520. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +0 -54
  521. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
  522. package/dist-esm/samples-dev/batchAccountListSample.d.ts +0 -2
  523. package/dist-esm/samples-dev/batchAccountListSample.d.ts.map +0 -1
  524. package/dist-esm/samples-dev/batchAccountListSample.js +0 -52
  525. package/dist-esm/samples-dev/batchAccountListSample.js.map +0 -1
  526. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.d.ts +0 -2
  527. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.d.ts.map +0 -1
  528. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +0 -41
  529. package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js.map +0 -1
  530. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.d.ts +0 -2
  531. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.d.ts.map +0 -1
  532. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +0 -38
  533. package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js.map +0 -1
  534. package/dist-esm/samples-dev/batchAccountUpdateSample.d.ts +0 -2
  535. package/dist-esm/samples-dev/batchAccountUpdateSample.d.ts.map +0 -1
  536. package/dist-esm/samples-dev/batchAccountUpdateSample.js +0 -43
  537. package/dist-esm/samples-dev/batchAccountUpdateSample.js.map +0 -1
  538. package/dist-esm/samples-dev/certificateCancelDeletionSample.d.ts +0 -2
  539. package/dist-esm/samples-dev/certificateCancelDeletionSample.d.ts.map +0 -1
  540. package/dist-esm/samples-dev/certificateCancelDeletionSample.js +0 -43
  541. package/dist-esm/samples-dev/certificateCancelDeletionSample.js.map +0 -1
  542. package/dist-esm/samples-dev/certificateCreateSample.d.ts +0 -2
  543. package/dist-esm/samples-dev/certificateCreateSample.d.ts.map +0 -1
  544. package/dist-esm/samples-dev/certificateCreateSample.js +0 -92
  545. package/dist-esm/samples-dev/certificateCreateSample.js.map +0 -1
  546. package/dist-esm/samples-dev/certificateDeleteSample.d.ts +0 -2
  547. package/dist-esm/samples-dev/certificateDeleteSample.d.ts.map +0 -1
  548. package/dist-esm/samples-dev/certificateDeleteSample.js +0 -39
  549. package/dist-esm/samples-dev/certificateDeleteSample.js.map +0 -1
  550. package/dist-esm/samples-dev/certificateGetSample.d.ts +0 -2
  551. package/dist-esm/samples-dev/certificateGetSample.d.ts.map +0 -1
  552. package/dist-esm/samples-dev/certificateGetSample.js +0 -58
  553. package/dist-esm/samples-dev/certificateGetSample.js.map +0 -1
  554. package/dist-esm/samples-dev/certificateListByBatchAccountSample.d.ts +0 -2
  555. package/dist-esm/samples-dev/certificateListByBatchAccountSample.d.ts.map +0 -1
  556. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +0 -94
  557. package/dist-esm/samples-dev/certificateListByBatchAccountSample.js.map +0 -1
  558. package/dist-esm/samples-dev/certificateUpdateSample.d.ts +0 -2
  559. package/dist-esm/samples-dev/certificateUpdateSample.d.ts.map +0 -1
  560. package/dist-esm/samples-dev/certificateUpdateSample.js +0 -43
  561. package/dist-esm/samples-dev/certificateUpdateSample.js.map +0 -1
  562. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.d.ts +0 -2
  563. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.d.ts.map +0 -1
  564. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +0 -62
  565. package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js.map +0 -1
  566. package/dist-esm/samples-dev/locationGetQuotasSample.d.ts +0 -2
  567. package/dist-esm/samples-dev/locationGetQuotasSample.d.ts.map +0 -1
  568. package/dist-esm/samples-dev/locationGetQuotasSample.js +0 -37
  569. package/dist-esm/samples-dev/locationGetQuotasSample.js.map +0 -1
  570. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.d.ts +0 -2
  571. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.d.ts.map +0 -1
  572. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +0 -53
  573. package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js.map +0 -1
  574. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +0 -2
  575. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +0 -1
  576. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +0 -39
  577. package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +0 -1
  578. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +0 -2
  579. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +0 -1
  580. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js +0 -54
  581. package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +0 -1
  582. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +0 -2
  583. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +0 -1
  584. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +0 -39
  585. package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +0 -1
  586. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  587. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  588. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  589. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  590. package/dist-esm/samples-dev/poolCreateSample.d.ts +0 -2
  591. package/dist-esm/samples-dev/poolCreateSample.d.ts.map +0 -1
  592. package/dist-esm/samples-dev/poolCreateSample.js +0 -642
  593. package/dist-esm/samples-dev/poolCreateSample.js.map +0 -1
  594. package/dist-esm/samples-dev/poolDeleteSample.d.ts +0 -2
  595. package/dist-esm/samples-dev/poolDeleteSample.d.ts.map +0 -1
  596. package/dist-esm/samples-dev/poolDeleteSample.js +0 -39
  597. package/dist-esm/samples-dev/poolDeleteSample.js.map +0 -1
  598. package/dist-esm/samples-dev/poolDisableAutoScaleSample.d.ts +0 -2
  599. package/dist-esm/samples-dev/poolDisableAutoScaleSample.d.ts.map +0 -1
  600. package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +0 -39
  601. package/dist-esm/samples-dev/poolDisableAutoScaleSample.js.map +0 -1
  602. package/dist-esm/samples-dev/poolGetSample.d.ts +0 -2
  603. package/dist-esm/samples-dev/poolGetSample.d.ts.map +0 -1
  604. package/dist-esm/samples-dev/poolGetSample.js +0 -153
  605. package/dist-esm/samples-dev/poolGetSample.js.map +0 -1
  606. package/dist-esm/samples-dev/poolListByBatchAccountSample.d.ts +0 -2
  607. package/dist-esm/samples-dev/poolListByBatchAccountSample.d.ts.map +0 -1
  608. package/dist-esm/samples-dev/poolListByBatchAccountSample.js +0 -91
  609. package/dist-esm/samples-dev/poolListByBatchAccountSample.js.map +0 -1
  610. package/dist-esm/samples-dev/poolStopResizeSample.d.ts +0 -2
  611. package/dist-esm/samples-dev/poolStopResizeSample.d.ts.map +0 -1
  612. package/dist-esm/samples-dev/poolStopResizeSample.js +0 -39
  613. package/dist-esm/samples-dev/poolStopResizeSample.js.map +0 -1
  614. package/dist-esm/samples-dev/poolUpdateSample.d.ts +0 -2
  615. package/dist-esm/samples-dev/poolUpdateSample.d.ts.map +0 -1
  616. package/dist-esm/samples-dev/poolUpdateSample.js +0 -130
  617. package/dist-esm/samples-dev/poolUpdateSample.js.map +0 -1
  618. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +0 -2
  619. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +0 -1
  620. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +0 -39
  621. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +0 -1
  622. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts +0 -2
  623. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts.map +0 -1
  624. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +0 -39
  625. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js.map +0 -1
  626. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.d.ts +0 -2
  627. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.d.ts.map +0 -1
  628. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +0 -54
  629. package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js.map +0 -1
  630. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +0 -2
  631. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +0 -1
  632. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +0 -45
  633. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +0 -1
  634. package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts +0 -2
  635. package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts.map +0 -1
  636. package/dist-esm/samples-dev/privateLinkResourceGetSample.js +0 -39
  637. package/dist-esm/samples-dev/privateLinkResourceGetSample.js.map +0 -1
  638. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.d.ts +0 -2
  639. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.d.ts.map +0 -1
  640. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +0 -54
  641. package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js.map +0 -1
  642. package/dist-esm/src/batchManagementClient.d.ts.map +0 -1
  643. package/dist-esm/src/batchManagementClient.js.map +0 -1
  644. package/dist-esm/src/index.d.ts +0 -5
  645. package/dist-esm/src/index.js.map +0 -1
  646. package/dist-esm/src/lroImpl.js.map +0 -1
  647. package/dist-esm/src/models/index.js.map +0 -1
  648. package/dist-esm/src/models/mappers.js.map +0 -1
  649. package/dist-esm/src/models/parameters.js.map +0 -1
  650. package/dist-esm/src/operations/applicationOperations.d.ts.map +0 -1
  651. package/dist-esm/src/operations/applicationOperations.js.map +0 -1
  652. package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +0 -1
  653. package/dist-esm/src/operations/applicationPackageOperations.js.map +0 -1
  654. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +0 -1
  655. package/dist-esm/src/operations/batchAccountOperations.js.map +0 -1
  656. package/dist-esm/src/operations/certificateOperations.d.ts.map +0 -1
  657. package/dist-esm/src/operations/certificateOperations.js.map +0 -1
  658. package/dist-esm/src/operations/index.d.ts +0 -11
  659. package/dist-esm/src/operations/index.d.ts.map +0 -1
  660. package/dist-esm/src/operations/index.js +0 -18
  661. package/dist-esm/src/operations/index.js.map +0 -1
  662. package/dist-esm/src/operations/location.d.ts.map +0 -1
  663. package/dist-esm/src/operations/location.js.map +0 -1
  664. package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +0 -1
  665. package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +0 -1
  666. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  667. package/dist-esm/src/operations/operations.js.map +0 -1
  668. package/dist-esm/src/operations/poolOperations.d.ts.map +0 -1
  669. package/dist-esm/src/operations/poolOperations.js.map +0 -1
  670. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
  671. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +0 -1
  672. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +0 -1
  673. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +0 -1
  674. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +0 -1
  675. package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +0 -1
  676. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +0 -1
  677. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +0 -1
  678. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +0 -1
  679. package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +0 -1
  680. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +0 -1
  681. package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +0 -1
  682. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
  683. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  684. package/dist-esm/src/operationsInterfaces/index.js +0 -18
  685. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  686. package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
  687. package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
  688. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +0 -1
  689. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +0 -1
  690. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  691. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +0 -1
  692. package/dist-esm/src/operationsInterfaces/poolOperations.js.map +0 -1
  693. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +0 -1
  694. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +0 -1
  695. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +0 -1
  696. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +0 -1
  697. package/dist-esm/src/pagingHelper.js.map +0 -1
  698. package/dist-esm/test/batch_examples.d.ts +0 -4
  699. package/dist-esm/test/batch_examples.d.ts.map +0 -1
  700. package/dist-esm/test/batch_examples.js +0 -503
  701. package/dist-esm/test/batch_examples.js.map +0 -1
  702. package/dist-esm/test/fakeTestSecrets.d.ts +0 -3
  703. package/dist-esm/test/fakeTestSecrets.d.ts.map +0 -1
  704. package/dist-esm/test/fakeTestSecrets.js +0 -7
  705. package/dist-esm/test/fakeTestSecrets.js.map +0 -1
  706. package/src/batchManagementClient.ts +0 -188
  707. package/src/lroImpl.ts +0 -42
  708. package/src/models/index.ts +0 -2705
  709. package/src/models/mappers.ts +0 -4828
  710. package/src/models/parameters.ts +0 -377
  711. package/src/operations/applicationOperations.ts +0 -369
  712. package/src/operations/applicationPackageOperations.ts +0 -419
  713. package/src/operations/batchAccountOperations.ts +0 -1151
  714. package/src/operations/certificateOperations.ts +0 -552
  715. package/src/operations/index.ts +0 -18
  716. package/src/operations/location.ts +0 -271
  717. package/src/operations/networkSecurityPerimeterOperations.ts +0 -397
  718. package/src/operations/operations.ts +0 -149
  719. package/src/operations/poolOperations.ts +0 -566
  720. package/src/operations/privateEndpointConnectionOperations.ts +0 -542
  721. package/src/operations/privateLinkResourceOperations.ts +0 -247
  722. package/src/operationsInterfaces/applicationOperations.ts +0 -90
  723. package/src/operationsInterfaces/applicationPackageOperations.ts +0 -106
  724. package/src/operationsInterfaces/batchAccountOperations.ts +0 -224
  725. package/src/operationsInterfaces/certificateOperations.ts +0 -155
  726. package/src/operationsInterfaces/index.ts +0 -18
  727. package/src/operationsInterfaces/location.ts +0 -52
  728. package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +0 -81
  729. package/src/operationsInterfaces/operations.ts +0 -22
  730. package/src/operationsInterfaces/poolOperations.ts +0 -142
  731. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +0 -122
  732. package/src/operationsInterfaces/privateLinkResourceOperations.ts +0 -45
  733. package/src/pagingHelper.ts +0 -39
  734. package/tsconfig.json +0 -33
  735. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  736. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  737. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  738. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  739. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  740. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  741. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  742. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  743. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  744. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  745. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  746. /package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationOperations.js +0 -0
  747. /package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationPackageOperations.js +0 -0
  748. /package/{dist-esm/src → dist/browser}/operationsInterfaces/batchAccountOperations.js +0 -0
  749. /package/{dist-esm/src → dist/browser}/operationsInterfaces/certificateOperations.js +0 -0
  750. /package/{dist-esm/src → dist/browser}/operationsInterfaces/location.js +0 -0
  751. /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterOperations.js +0 -0
  752. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  753. /package/{dist-esm/src → dist/browser}/operationsInterfaces/poolOperations.js +0 -0
  754. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnectionOperations.js +0 -0
  755. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResourceOperations.js +0 -0
  756. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  757. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  758. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  759. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -5,13 +5,13 @@
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
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing PoolOperations operations. */
17
17
  export class PoolOperationsImpl {
@@ -124,43 +124,41 @@ export class PoolOperationsImpl {
124
124
  * @param poolName The pool name. This must be unique within the account.
125
125
  * @param options The options parameters.
126
126
  */
127
- beginDelete(resourceGroupName, accountName, poolName, options) {
128
- return __awaiter(this, void 0, void 0, function* () {
129
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
130
- return this.client.sendOperationRequest(args, spec);
131
- });
132
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
133
- var _a;
134
- let currentRawResponse = undefined;
135
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
136
- const callback = (rawResponse, flatResponse) => {
137
- currentRawResponse = rawResponse;
138
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
139
- };
140
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
141
- const flatResponse = yield directSendOperation(updatedArgs, spec);
142
- return {
143
- flatResponse,
144
- rawResponse: {
145
- statusCode: currentRawResponse.status,
146
- body: currentRawResponse.parsedBody,
147
- headers: currentRawResponse.headers.toJSON(),
148
- },
149
- };
150
- });
151
- const lro = createLroSpec({
152
- sendOperationFn,
153
- args: { resourceGroupName, accountName, poolName, options },
154
- spec: deleteOperationSpec,
155
- });
156
- const poller = yield createHttpPoller(lro, {
157
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
158
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
159
- resourceLocationConfig: "location",
160
- });
161
- yield poller.poll();
162
- return poller;
127
+ async beginDelete(resourceGroupName, accountName, poolName, options) {
128
+ const directSendOperation = async (args, spec) => {
129
+ return this.client.sendOperationRequest(args, spec);
130
+ };
131
+ const sendOperationFn = async (args, spec) => {
132
+ var _a;
133
+ let currentRawResponse = undefined;
134
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
135
+ const callback = (rawResponse, flatResponse) => {
136
+ currentRawResponse = rawResponse;
137
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
138
+ };
139
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
140
+ const flatResponse = await directSendOperation(updatedArgs, spec);
141
+ return {
142
+ flatResponse,
143
+ rawResponse: {
144
+ statusCode: currentRawResponse.status,
145
+ body: currentRawResponse.parsedBody,
146
+ headers: currentRawResponse.headers.toJSON(),
147
+ },
148
+ };
149
+ };
150
+ const lro = createLroSpec({
151
+ sendOperationFn,
152
+ args: { resourceGroupName, accountName, poolName, options },
153
+ spec: deleteOperationSpec,
163
154
  });
155
+ const poller = await createHttpPoller(lro, {
156
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
157
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
158
+ resourceLocationConfig: "location",
159
+ });
160
+ await poller.poll();
161
+ return poller;
164
162
  }
165
163
  /**
166
164
  * Deletes the specified pool.
@@ -169,11 +167,9 @@ export class PoolOperationsImpl {
169
167
  * @param poolName The pool name. This must be unique within the account.
170
168
  * @param options The options parameters.
171
169
  */
172
- beginDeleteAndWait(resourceGroupName, accountName, poolName, options) {
173
- return __awaiter(this, void 0, void 0, function* () {
174
- const poller = yield this.beginDelete(resourceGroupName, accountName, poolName, options);
175
- return poller.pollUntilDone();
176
- });
170
+ async beginDeleteAndWait(resourceGroupName, accountName, poolName, options) {
171
+ const poller = await this.beginDelete(resourceGroupName, accountName, poolName, options);
172
+ return poller.pollUntilDone();
177
173
  }
178
174
  /**
179
175
  * Gets information about the specified pool.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poolOperations.js","sourceRoot":"","sources":["../../../src/operations/poolOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAoB9C,4CAA4C;AAC5C,kDAA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ent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PoolOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Pool,\n PoolListByBatchAccountNextOptionalParams,\n PoolListByBatchAccountOptionalParams,\n PoolListByBatchAccountResponse,\n PoolCreateOptionalParams,\n PoolCreateResponse,\n PoolUpdateOptionalParams,\n PoolUpdateResponse,\n PoolDeleteOptionalParams,\n PoolGetOptionalParams,\n PoolGetResponse,\n PoolDisableAutoScaleOptionalParams,\n PoolDisableAutoScaleResponse,\n PoolStopResizeOptionalParams,\n PoolStopResizeResponse,\n PoolListByBatchAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PoolOperations operations. */\nexport class PoolOperationsImpl implements PoolOperations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class PoolOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the pools in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PoolListByBatchAccountOptionalParams,\n ): PagedAsyncIterableIterator<Pool> {\n const iter = this.listByBatchAccountPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBatchAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: PoolListByBatchAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Pool[]> {\n let result: PoolListByBatchAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBatchAccount(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBatchAccountNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBatchAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: PoolListByBatchAccountOptionalParams,\n ): AsyncIterableIterator<Pool> {\n for await (const page of this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the pools in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PoolListByBatchAccountOptionalParams,\n ): Promise<PoolListByBatchAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByBatchAccountOperationSpec,\n );\n }\n\n /**\n * Creates a new pool inside the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param parameters Additional parameters for pool creation.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n parameters: Pool,\n options?: PoolCreateOptionalParams,\n ): Promise<PoolCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, poolName, parameters, options },\n createOperationSpec,\n );\n }\n\n /**\n * Updates the properties of an existing pool.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param parameters Pool properties that should be updated. Properties that are supplied will be\n * updated, any property not supplied will be unchanged.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n parameters: Pool,\n options?: PoolUpdateOptionalParams,\n ): Promise<PoolUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, poolName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified pool.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n options?: PoolDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, poolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified pool.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n options?: PoolDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n poolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about the specified pool.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n options?: PoolGetOptionalParams,\n ): Promise<PoolGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, poolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Disables automatic scaling for a pool.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param options The options parameters.\n */\n disableAutoScale(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n options?: PoolDisableAutoScaleOptionalParams,\n ): Promise<PoolDisableAutoScaleResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, poolName, options },\n disableAutoScaleOperationSpec,\n );\n }\n\n /**\n * This does not restore the pool to its previous state before the resize operation: it only stops any\n * further changes being made, and the pool maintains its current state. After stopping, the pool\n * stabilizes at the number of nodes it was at when the stop operation was done. During the stop\n * operation, the pool allocation state changes first to stopping and then to steady. A resize\n * operation need not be an explicit resize pool request; this API can also be used to halt the initial\n * sizing of the pool when it is created.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param poolName The pool name. This must be unique within the account.\n * @param options The options parameters.\n */\n stopResize(\n resourceGroupName: string,\n accountName: string,\n poolName: string,\n options?: PoolStopResizeOptionalParams,\n ): Promise<PoolStopResizeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, poolName, options },\n stopResizeOperationSpec,\n );\n }\n\n /**\n * ListByBatchAccountNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.\n * @param options The options parameters.\n */\n private _listByBatchAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: PoolListByBatchAccountNextOptionalParams,\n ): Promise<PoolListByBatchAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByBatchAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByBatchAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListPoolsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxresults,\n Parameters.filter,\n Parameters.select,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Pool,\n headersMapper: Mappers.PoolCreateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.poolName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Pool,\n headersMapper: Mappers.PoolUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.poolName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.poolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Pool,\n headersMapper: Mappers.PoolGetHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.poolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst disableAutoScaleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/disableAutoScale\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Pool,\n headersMapper: Mappers.PoolDisableAutoScaleHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.poolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopResizeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Pool,\n headersMapper: Mappers.PoolStopResizeHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.poolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListPoolsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateEndpointConnectionOperations } from "../operationsInterfaces";
3
- import { BatchManagementClient } from "../batchManagementClient";
2
+ import { PrivateEndpointConnectionOperations } from "../operationsInterfaces/index.js";
3
+ import { BatchManagementClient } from "../batchManagementClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { PrivateEndpointConnection, PrivateEndpointConnectionListByBatchAccountOptionalParams, PrivateEndpointConnectionGetOptionalParams, PrivateEndpointConnectionGetResponse, PrivateEndpointConnectionUpdateOptionalParams, PrivateEndpointConnectionUpdateResponse, PrivateEndpointConnectionDeleteOptionalParams, PrivateEndpointConnectionDeleteResponse } from "../models";
5
+ import { PrivateEndpointConnection, PrivateEndpointConnectionListByBatchAccountOptionalParams, PrivateEndpointConnectionGetOptionalParams, PrivateEndpointConnectionGetResponse, PrivateEndpointConnectionUpdateOptionalParams, PrivateEndpointConnectionUpdateResponse, PrivateEndpointConnectionDeleteOptionalParams, PrivateEndpointConnectionDeleteResponse } from "../models/index.js";
6
6
  /** Class containing PrivateEndpointConnectionOperations operations. */
7
7
  export declare class PrivateEndpointConnectionOperationsImpl implements PrivateEndpointConnectionOperations {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnectionOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnectionOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAIvF,OAAO,EAAE,qBAAqB,EAAE,MAAM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D;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uCAAuC,CAAC,EACvD,uCAAuC,CACxC,CACF;IA6DD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAUnD;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;CAWhC"}
@@ -5,13 +5,13 @@
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
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing PrivateEndpointConnectionOperations operations. */
17
17
  export class PrivateEndpointConnectionOperationsImpl {
@@ -120,49 +120,47 @@ export class PrivateEndpointConnectionOperationsImpl {
120
120
  * supplied will be updated, any property not supplied will be unchanged.
121
121
  * @param options The options parameters.
122
122
  */
123
- beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
124
- return __awaiter(this, void 0, void 0, function* () {
125
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
126
- return this.client.sendOperationRequest(args, spec);
127
- });
128
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
129
- var _a;
130
- let currentRawResponse = undefined;
131
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
132
- const callback = (rawResponse, flatResponse) => {
133
- currentRawResponse = rawResponse;
134
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
135
- };
136
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
137
- const flatResponse = yield directSendOperation(updatedArgs, spec);
138
- return {
139
- flatResponse,
140
- rawResponse: {
141
- statusCode: currentRawResponse.status,
142
- body: currentRawResponse.parsedBody,
143
- headers: currentRawResponse.headers.toJSON(),
144
- },
145
- };
146
- });
147
- const lro = createLroSpec({
148
- sendOperationFn,
149
- args: {
150
- resourceGroupName,
151
- accountName,
152
- privateEndpointConnectionName,
153
- parameters,
154
- options,
123
+ async beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
124
+ const directSendOperation = async (args, spec) => {
125
+ return this.client.sendOperationRequest(args, spec);
126
+ };
127
+ const sendOperationFn = async (args, spec) => {
128
+ var _a;
129
+ let currentRawResponse = undefined;
130
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
131
+ const callback = (rawResponse, flatResponse) => {
132
+ currentRawResponse = rawResponse;
133
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
134
+ };
135
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
136
+ const flatResponse = await directSendOperation(updatedArgs, spec);
137
+ return {
138
+ flatResponse,
139
+ rawResponse: {
140
+ statusCode: currentRawResponse.status,
141
+ body: currentRawResponse.parsedBody,
142
+ headers: currentRawResponse.headers.toJSON(),
155
143
  },
156
- spec: updateOperationSpec,
157
- });
158
- const poller = yield createHttpPoller(lro, {
159
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
160
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
161
- resourceLocationConfig: "azure-async-operation",
162
- });
163
- yield poller.poll();
164
- return poller;
144
+ };
145
+ };
146
+ const lro = createLroSpec({
147
+ sendOperationFn,
148
+ args: {
149
+ resourceGroupName,
150
+ accountName,
151
+ privateEndpointConnectionName,
152
+ parameters,
153
+ options,
154
+ },
155
+ spec: updateOperationSpec,
165
156
  });
157
+ const poller = await createHttpPoller(lro, {
158
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
159
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
160
+ resourceLocationConfig: "azure-async-operation",
161
+ });
162
+ await poller.poll();
163
+ return poller;
166
164
  }
167
165
  /**
168
166
  * Updates the properties of an existing private endpoint connection.
@@ -174,11 +172,9 @@ export class PrivateEndpointConnectionOperationsImpl {
174
172
  * supplied will be updated, any property not supplied will be unchanged.
175
173
  * @param options The options parameters.
176
174
  */
177
- beginUpdateAndWait(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
178
- return __awaiter(this, void 0, void 0, function* () {
179
- const poller = yield this.beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options);
180
- return poller.pollUntilDone();
181
- });
175
+ async beginUpdateAndWait(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
176
+ const poller = await this.beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options);
177
+ return poller.pollUntilDone();
182
178
  }
183
179
  /**
184
180
  * Deletes the specified private endpoint connection.
@@ -188,48 +184,46 @@ export class PrivateEndpointConnectionOperationsImpl {
188
184
  * within the account.
189
185
  * @param options The options parameters.
190
186
  */
191
- beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options) {
192
- return __awaiter(this, void 0, void 0, function* () {
193
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
194
- return this.client.sendOperationRequest(args, spec);
195
- });
196
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
197
- var _a;
198
- let currentRawResponse = undefined;
199
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
200
- const callback = (rawResponse, flatResponse) => {
201
- currentRawResponse = rawResponse;
202
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
203
- };
204
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
205
- const flatResponse = yield directSendOperation(updatedArgs, spec);
206
- return {
207
- flatResponse,
208
- rawResponse: {
209
- statusCode: currentRawResponse.status,
210
- body: currentRawResponse.parsedBody,
211
- headers: currentRawResponse.headers.toJSON(),
212
- },
213
- };
214
- });
215
- const lro = createLroSpec({
216
- sendOperationFn,
217
- args: {
218
- resourceGroupName,
219
- accountName,
220
- privateEndpointConnectionName,
221
- options,
187
+ async beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options) {
188
+ const directSendOperation = async (args, spec) => {
189
+ return this.client.sendOperationRequest(args, spec);
190
+ };
191
+ const sendOperationFn = async (args, spec) => {
192
+ var _a;
193
+ let currentRawResponse = undefined;
194
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
195
+ const callback = (rawResponse, flatResponse) => {
196
+ currentRawResponse = rawResponse;
197
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
198
+ };
199
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
200
+ const flatResponse = await directSendOperation(updatedArgs, spec);
201
+ return {
202
+ flatResponse,
203
+ rawResponse: {
204
+ statusCode: currentRawResponse.status,
205
+ body: currentRawResponse.parsedBody,
206
+ headers: currentRawResponse.headers.toJSON(),
222
207
  },
223
- spec: deleteOperationSpec,
224
- });
225
- const poller = yield createHttpPoller(lro, {
226
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
227
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
228
- resourceLocationConfig: "azure-async-operation",
229
- });
230
- yield poller.poll();
231
- return poller;
208
+ };
209
+ };
210
+ const lro = createLroSpec({
211
+ sendOperationFn,
212
+ args: {
213
+ resourceGroupName,
214
+ accountName,
215
+ privateEndpointConnectionName,
216
+ options,
217
+ },
218
+ spec: deleteOperationSpec,
232
219
  });
220
+ const poller = await createHttpPoller(lro, {
221
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
222
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
223
+ resourceLocationConfig: "azure-async-operation",
224
+ });
225
+ await poller.poll();
226
+ return poller;
233
227
  }
234
228
  /**
235
229
  * Deletes the specified private endpoint connection.
@@ -239,11 +233,9 @@ export class PrivateEndpointConnectionOperationsImpl {
239
233
  * within the account.
240
234
  * @param options The options parameters.
241
235
  */
242
- beginDeleteAndWait(resourceGroupName, accountName, privateEndpointConnectionName, options) {
243
- return __awaiter(this, void 0, void 0, function* () {
244
- const poller = yield this.beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options);
245
- return poller.pollUntilDone();
246
- });
236
+ async beginDeleteAndWait(resourceGroupName, accountName, privateEndpointConnectionName, options) {
237
+ const poller = await this.beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options);
238
+ return poller.pollUntilDone();
247
239
  }
248
240
  /**
249
241
  * ListByBatchAccountNext
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnectionOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,M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AG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,sCAAsC;SAC9D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PrivateEndpointConnectionOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionListByBatchAccountNextOptionalParams,\n PrivateEndpointConnectionListByBatchAccountOptionalParams,\n PrivateEndpointConnectionListByBatchAccountResponse,\n PrivateEndpointConnectionGetOptionalParams,\n PrivateEndpointConnectionGetResponse,\n PrivateEndpointConnectionUpdateOptionalParams,\n PrivateEndpointConnectionUpdateResponse,\n PrivateEndpointConnectionDeleteOptionalParams,\n PrivateEndpointConnectionDeleteResponse,\n PrivateEndpointConnectionListByBatchAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnectionOperations operations. */\nexport class PrivateEndpointConnectionOperationsImpl\n implements PrivateEndpointConnectionOperations\n{\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnectionOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the private endpoint connections in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateEndpointConnectionListByBatchAccountOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listByBatchAccountPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBatchAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateEndpointConnectionListByBatchAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionListByBatchAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBatchAccount(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBatchAccountNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBatchAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateEndpointConnectionListByBatchAccountOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the private endpoint connections in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateEndpointConnectionListByBatchAccountOptionalParams,\n ): Promise<PrivateEndpointConnectionListByBatchAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByBatchAccountOperationSpec,\n );\n }\n\n /**\n * Gets information about the specified private endpoint connection.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param privateEndpointConnectionName The private endpoint connection name. This must be unique\n * within the account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionGetOptionalParams,\n ): Promise<PrivateEndpointConnectionGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the properties of an existing private endpoint connection.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param privateEndpointConnectionName The private endpoint connection name. This must be unique\n * within the account.\n * @param parameters PrivateEndpointConnection properties that should be updated. Properties that are\n * supplied will be updated, any property not supplied will be unchanged.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionUpdateResponse>,\n PrivateEndpointConnectionUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionUpdateResponse,\n OperationState<PrivateEndpointConnectionUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the properties of an existing private endpoint connection.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param privateEndpointConnectionName The private endpoint connection name. This must be unique\n * within the account.\n * @param parameters PrivateEndpointConnection properties that should be updated. Properties that are\n * supplied will be updated, any property not supplied will be unchanged.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n accountName,\n privateEndpointConnectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param privateEndpointConnectionName The private endpoint connection name. This must be unique\n * within the account.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionDeleteResponse>,\n PrivateEndpointConnectionDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionDeleteResponse,\n OperationState<PrivateEndpointConnectionDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param privateEndpointConnectionName The private endpoint connection name. This must be unique\n * within the account.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByBatchAccountNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.\n * @param options The options parameters.\n */\n private _listByBatchAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionListByBatchAccountNextOptionalParams,\n ): Promise<PrivateEndpointConnectionListByBatchAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByBatchAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByBatchAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListPrivateEndpointConnectionsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.maxresults],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.PrivateEndpointConnectionDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.PrivateEndpointConnectionDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.PrivateEndpointConnectionDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.PrivateEndpointConnectionDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListPrivateEndpointConnectionsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateLinkResourceOperations } from "../operationsInterfaces";
3
- import { BatchManagementClient } from "../batchManagementClient";
4
- import { PrivateLinkResource, PrivateLinkResourceListByBatchAccountOptionalParams, PrivateLinkResourceGetOptionalParams, PrivateLinkResourceGetResponse } from "../models";
2
+ import { PrivateLinkResourceOperations } from "../operationsInterfaces/index.js";
3
+ import { BatchManagementClient } from "../batchManagementClient.js";
4
+ import { PrivateLinkResource, PrivateLinkResourceListByBatchAccountOptionalParams, PrivateLinkResourceGetOptionalParams, PrivateLinkResourceGetResponse } from "../models/index.js";
5
5
  /** Class containing PrivateLinkResourceOperations operations. */
6
6
  export declare class PrivateLinkResourceOperationsImpl implements PrivateLinkResourceOperations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResourceOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResourceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAIjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,mBAAmB,EAEnB,mDAAmD,EAEnD,oCAAoC,EACpC,8BAA8B,EAE/B,MAAM,oBAAoB,CAAC;AAG5B,iEAAiE;AACjE,qBAAa,iCACX,YAAW,6BAA6B;IAExC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,mBAAmB,CAAC;YA2BnC,4BAA4B;YAiC5B,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"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing PrivateLinkResourceOperations operations. */
15
15
  export class PrivateLinkResourceOperationsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResourceOperations.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResourceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAYtD,4CAA4C;AAC5C,iEAAiE;AACjE,MAAM,OAAO,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,WAAmB,EACnB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAA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ed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PrivateLinkResourceOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n PrivateLinkResource,\n PrivateLinkResourceListByBatchAccountNextOptionalParams,\n PrivateLinkResourceListByBatchAccountOptionalParams,\n PrivateLinkResourceListByBatchAccountResponse,\n PrivateLinkResourceGetOptionalParams,\n PrivateLinkResourceGetResponse,\n PrivateLinkResourceListByBatchAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateLinkResourceOperations operations. */\nexport class PrivateLinkResourceOperationsImpl\n implements PrivateLinkResourceOperations\n{\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResourceOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the private link resources in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourceListByBatchAccountOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listByBatchAccountPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBatchAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourceListByBatchAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateLinkResourceListByBatchAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBatchAccount(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBatchAccountNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBatchAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourceListByBatchAccountOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the private link resources in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: PrivateLinkResourceListByBatchAccountOptionalParams,\n ): Promise<PrivateLinkResourceListByBatchAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByBatchAccountOperationSpec,\n );\n }\n\n /**\n * Gets information about the specified private link resource.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param privateLinkResourceName The private link resource name. This must be unique within the\n * account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n privateLinkResourceName: string,\n options?: PrivateLinkResourceGetOptionalParams,\n ): Promise<PrivateLinkResourceGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, privateLinkResourceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * ListByBatchAccountNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.\n * @param options The options parameters.\n */\n private _listByBatchAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: PrivateLinkResourceListByBatchAccountNextOptionalParams,\n ): Promise<PrivateLinkResourceListByBatchAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByBatchAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByBatchAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListPrivateLinkResourcesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.maxresults],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.privateLinkResourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListPrivateLinkResourcesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Application, ApplicationListOptionalParams, ApplicationCreateOptionalParams, ApplicationCreateResponse, ApplicationDeleteOptionalParams, ApplicationGetOptionalParams, ApplicationGetResponse, ApplicationUpdateOptionalParams, ApplicationUpdateResponse } from "../models";
2
+ import { Application, ApplicationListOptionalParams, ApplicationCreateOptionalParams, ApplicationCreateResponse, ApplicationDeleteOptionalParams, ApplicationGetOptionalParams, ApplicationGetResponse, ApplicationUpdateOptionalParams, ApplicationUpdateResponse } from "../models/index.js";
3
3
  /** Interface representing a ApplicationOperations. */
4
4
  export interface ApplicationOperations {
5
5
  /**
@@ -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,oBAAoB,CAAC;AAG5B,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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/applicationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Application,\n ApplicationListOptionalParams,\n ApplicationCreateOptionalParams,\n ApplicationCreateResponse,\n ApplicationDeleteOptionalParams,\n ApplicationGetOptionalParams,\n ApplicationGetResponse,\n ApplicationUpdateOptionalParams,\n ApplicationUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ApplicationOperations. */\nexport interface ApplicationOperations {\n /**\n * Lists all of the applications in the specified account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: ApplicationListOptionalParams,\n ): PagedAsyncIterableIterator<Application>;\n /**\n * Adds an application to the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param applicationName The name of the application. This must be unique within the account.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n applicationName: string,\n options?: ApplicationCreateOptionalParams,\n ): Promise<ApplicationCreateResponse>;\n /**\n * Deletes an application.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param applicationName The name of the application. This must be unique within the account.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n applicationName: string,\n options?: ApplicationDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets information about the specified application.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param applicationName The name of the application. This must be unique within the account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n applicationName: string,\n options?: ApplicationGetOptionalParams,\n ): Promise<ApplicationGetResponse>;\n /**\n * Updates settings for the specified application.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param applicationName The name of the application. This must be unique within the account.\n * @param parameters The parameters for the request.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n applicationName: string,\n parameters: Application,\n options?: ApplicationUpdateOptionalParams,\n ): Promise<ApplicationUpdateResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { ApplicationPackage, ApplicationPackageListOptionalParams, ActivateApplicationPackageParameters, ApplicationPackageActivateOptionalParams, ApplicationPackageActivateResponse, ApplicationPackageCreateOptionalParams, ApplicationPackageCreateResponse, ApplicationPackageDeleteOptionalParams, ApplicationPackageGetOptionalParams, ApplicationPackageGetResponse } from "../models";
2
+ import { ApplicationPackage, ApplicationPackageListOptionalParams, ActivateApplicationPackageParameters, ApplicationPackageActivateOptionalParams, ApplicationPackageActivateResponse, ApplicationPackageCreateOptionalParams, ApplicationPackageCreateResponse, ApplicationPackageDeleteOptionalParams, ApplicationPackageGetOptionalParams, ApplicationPackageGetResponse } from "../models/index.js";
3
3
  /** Interface representing a ApplicationPackageOperations. */
4
4
  export interface ApplicationPackageOperations {
5
5
  /**
@@ -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,oBAAoB,CAAC;AAG5B,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,MAA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