@azure/arm-springappdiscovery 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (506) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +18 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/mappers.js +64 -27
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/errorSummaries.d.ts +3 -3
  17. package/dist/browser/operations/errorSummaries.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/errorSummaries.js +26 -43
  19. package/dist/browser/operations/errorSummaries.js.map +1 -0
  20. package/dist/browser/operations/index.d.ts +7 -0
  21. package/dist/browser/operations/index.d.ts.map +1 -0
  22. package/dist/browser/operations/index.js +14 -0
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  25. package/dist/browser/operations/operations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  27. package/dist/browser/operations/operations.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/springbootapps.d.ts +3 -3
  29. package/dist/browser/operations/springbootapps.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/springbootapps.js +96 -129
  31. package/dist/browser/operations/springbootapps.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/springbootservers.d.ts +3 -3
  33. package/dist/browser/operations/springbootservers.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/springbootservers.js +138 -170
  35. package/dist/browser/operations/springbootservers.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/springbootsites.d.ts +3 -3
  37. package/dist/browser/operations/springbootsites.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/springbootsites.js +179 -210
  39. package/dist/browser/operations/springbootsites.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/summaries.d.ts +3 -3
  41. package/dist/browser/operations/summaries.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/summaries.js +26 -43
  43. package/dist/browser/operations/summaries.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/errorSummaries.d.ts +1 -1
  45. package/dist/browser/operationsInterfaces/errorSummaries.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/errorSummaries.js.map +1 -0
  47. package/dist/browser/operationsInterfaces/index.d.ts +7 -0
  48. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/index.js +14 -0
  50. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  52. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  53. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/springbootapps.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/springbootapps.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/springbootapps.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/springbootservers.d.ts +1 -1
  58. package/dist/browser/operationsInterfaces/springbootservers.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/springbootservers.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/springbootsites.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/springbootsites.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/springbootsites.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/summaries.d.ts +1 -1
  64. package/dist/browser/operationsInterfaces/summaries.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/summaries.js.map +1 -0
  66. package/dist/browser/package.json +3 -0
  67. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  68. package/dist/browser/pagingHelper.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/springAppDiscoveryManagementClient.d.ts +2 -2
  70. package/dist/browser/springAppDiscoveryManagementClient.d.ts.map +1 -0
  71. package/{dist-esm/src → dist/browser}/springAppDiscoveryManagementClient.js +35 -24
  72. package/dist/browser/springAppDiscoveryManagementClient.js.map +1 -0
  73. package/dist/commonjs/index.d.ts +5 -0
  74. package/dist/commonjs/index.d.ts.map +1 -0
  75. package/dist/commonjs/index.js +19 -0
  76. package/dist/commonjs/index.js.map +1 -0
  77. package/dist/commonjs/lroImpl.d.ts +11 -0
  78. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  79. package/dist/commonjs/lroImpl.js +21 -0
  80. package/dist/commonjs/lroImpl.js.map +1 -0
  81. package/dist/commonjs/models/index.d.ts +737 -0
  82. package/dist/commonjs/models/index.d.ts.map +1 -0
  83. package/dist/commonjs/models/index.js +57 -0
  84. package/dist/commonjs/models/index.js.map +1 -0
  85. package/dist/commonjs/models/mappers.d.ts +44 -0
  86. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  87. package/dist/commonjs/models/mappers.js +1344 -0
  88. package/dist/commonjs/models/mappers.js.map +1 -0
  89. package/dist/commonjs/models/parameters.d.ts +20 -0
  90. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  91. package/dist/commonjs/models/parameters.js +204 -0
  92. package/dist/commonjs/models/parameters.js.map +1 -0
  93. package/dist/commonjs/operations/errorSummaries.d.ts +46 -0
  94. package/dist/commonjs/operations/errorSummaries.d.ts.map +1 -0
  95. package/dist/commonjs/operations/errorSummaries.js +170 -0
  96. package/dist/commonjs/operations/errorSummaries.js.map +1 -0
  97. package/dist/commonjs/operations/index.d.ts +7 -0
  98. package/dist/commonjs/operations/index.d.ts.map +1 -0
  99. package/dist/commonjs/operations/index.js +17 -0
  100. package/dist/commonjs/operations/index.js.map +1 -0
  101. package/dist/commonjs/operations/operations.d.ts +32 -0
  102. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  103. package/dist/commonjs/operations/operations.js +121 -0
  104. package/dist/commonjs/operations/operations.js.map +1 -0
  105. package/dist/commonjs/operations/springbootapps.d.ts +86 -0
  106. package/dist/commonjs/operations/springbootapps.d.ts.map +1 -0
  107. package/dist/commonjs/operations/springbootapps.js +374 -0
  108. package/dist/commonjs/operations/springbootapps.js.map +1 -0
  109. package/dist/commonjs/operations/springbootservers.d.ts +111 -0
  110. package/dist/commonjs/operations/springbootservers.d.ts.map +1 -0
  111. package/dist/commonjs/operations/springbootservers.js +508 -0
  112. package/dist/commonjs/operations/springbootservers.js.map +1 -0
  113. package/dist/commonjs/operations/springbootsites.d.ts +113 -0
  114. package/dist/commonjs/operations/springbootsites.d.ts.map +1 -0
  115. package/dist/commonjs/operations/springbootsites.js +565 -0
  116. package/dist/commonjs/operations/springbootsites.js.map +1 -0
  117. package/dist/commonjs/operations/summaries.d.ts +46 -0
  118. package/dist/commonjs/operations/summaries.d.ts.map +1 -0
  119. package/dist/commonjs/operations/summaries.js +170 -0
  120. package/dist/commonjs/operations/summaries.js.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/errorSummaries.d.ts +21 -0
  122. package/dist/commonjs/operationsInterfaces/errorSummaries.d.ts.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/errorSummaries.js +10 -0
  124. package/dist/commonjs/operationsInterfaces/errorSummaries.js.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
  126. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/index.js +17 -0
  128. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  130. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  131. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  132. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  133. package/dist/commonjs/operationsInterfaces/springbootapps.d.ts +46 -0
  134. package/dist/commonjs/operationsInterfaces/springbootapps.d.ts.map +1 -0
  135. package/dist/commonjs/operationsInterfaces/springbootapps.js +10 -0
  136. package/dist/commonjs/operationsInterfaces/springbootapps.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/springbootservers.d.ts +71 -0
  138. package/dist/commonjs/operationsInterfaces/springbootservers.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/springbootservers.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/springbootservers.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/springbootsites.d.ts +77 -0
  142. package/dist/commonjs/operationsInterfaces/springbootsites.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/springbootsites.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/springbootsites.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/summaries.d.ts +21 -0
  146. package/dist/commonjs/operationsInterfaces/summaries.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/summaries.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/summaries.js.map +1 -0
  149. package/dist/commonjs/package.json +3 -0
  150. package/dist/commonjs/pagingHelper.d.ts +13 -0
  151. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  152. package/dist/commonjs/pagingHelper.js +34 -0
  153. package/dist/commonjs/pagingHelper.js.map +1 -0
  154. package/dist/commonjs/springAppDiscoveryManagementClient.d.ts +25 -0
  155. package/dist/commonjs/springAppDiscoveryManagementClient.d.ts.map +1 -0
  156. package/dist/commonjs/springAppDiscoveryManagementClient.js +121 -0
  157. package/dist/commonjs/springAppDiscoveryManagementClient.js.map +1 -0
  158. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  159. package/dist/esm/index.d.ts +5 -0
  160. package/dist/esm/index.d.ts.map +1 -0
  161. package/{src/index.ts → dist/esm/index.js} +5 -5
  162. package/dist/esm/index.js.map +1 -0
  163. package/dist/esm/lroImpl.d.ts +11 -0
  164. package/dist/esm/lroImpl.d.ts.map +1 -0
  165. package/dist/esm/lroImpl.js +18 -0
  166. package/dist/esm/lroImpl.js.map +1 -0
  167. package/dist/esm/models/index.d.ts +737 -0
  168. package/dist/esm/models/index.d.ts.map +1 -0
  169. package/dist/esm/models/index.js +54 -0
  170. package/dist/esm/models/index.js.map +1 -0
  171. package/dist/esm/models/mappers.d.ts +44 -0
  172. package/dist/esm/models/mappers.d.ts.map +1 -0
  173. package/dist/esm/models/mappers.js +1341 -0
  174. package/dist/esm/models/mappers.js.map +1 -0
  175. package/dist/esm/models/parameters.d.ts +20 -0
  176. package/dist/esm/models/parameters.d.ts.map +1 -0
  177. package/dist/esm/models/parameters.js +201 -0
  178. package/dist/esm/models/parameters.js.map +1 -0
  179. package/dist/esm/operations/errorSummaries.d.ts +46 -0
  180. package/dist/esm/operations/errorSummaries.d.ts.map +1 -0
  181. package/dist/esm/operations/errorSummaries.js +165 -0
  182. package/dist/esm/operations/errorSummaries.js.map +1 -0
  183. package/dist/esm/operations/index.d.ts +7 -0
  184. package/dist/esm/operations/index.d.ts.map +1 -0
  185. package/dist/esm/operations/index.js +14 -0
  186. package/dist/esm/operations/index.js.map +1 -0
  187. package/dist/esm/operations/operations.d.ts +32 -0
  188. package/dist/esm/operations/operations.d.ts.map +1 -0
  189. package/dist/esm/operations/operations.js +116 -0
  190. package/dist/esm/operations/operations.js.map +1 -0
  191. package/dist/esm/operations/springbootapps.d.ts +86 -0
  192. package/dist/esm/operations/springbootapps.d.ts.map +1 -0
  193. package/dist/esm/operations/springbootapps.js +369 -0
  194. package/dist/esm/operations/springbootapps.js.map +1 -0
  195. package/dist/esm/operations/springbootservers.d.ts +111 -0
  196. package/dist/esm/operations/springbootservers.d.ts.map +1 -0
  197. package/dist/esm/operations/springbootservers.js +503 -0
  198. package/dist/esm/operations/springbootservers.js.map +1 -0
  199. package/dist/esm/operations/springbootsites.d.ts +113 -0
  200. package/dist/esm/operations/springbootsites.d.ts.map +1 -0
  201. package/dist/esm/operations/springbootsites.js +560 -0
  202. package/dist/esm/operations/springbootsites.js.map +1 -0
  203. package/dist/esm/operations/summaries.d.ts +46 -0
  204. package/dist/esm/operations/summaries.d.ts.map +1 -0
  205. package/dist/esm/operations/summaries.js +165 -0
  206. package/dist/esm/operations/summaries.js.map +1 -0
  207. package/dist/esm/operationsInterfaces/errorSummaries.d.ts +21 -0
  208. package/dist/esm/operationsInterfaces/errorSummaries.d.ts.map +1 -0
  209. package/dist/esm/operationsInterfaces/errorSummaries.js +9 -0
  210. package/dist/esm/operationsInterfaces/errorSummaries.js.map +1 -0
  211. package/dist/esm/operationsInterfaces/index.d.ts +7 -0
  212. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  213. package/dist/esm/operationsInterfaces/index.js +14 -0
  214. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  215. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  216. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  217. package/dist/esm/operationsInterfaces/operations.js +9 -0
  218. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  219. package/dist/esm/operationsInterfaces/springbootapps.d.ts +46 -0
  220. package/dist/esm/operationsInterfaces/springbootapps.d.ts.map +1 -0
  221. package/dist/esm/operationsInterfaces/springbootapps.js +9 -0
  222. package/dist/esm/operationsInterfaces/springbootapps.js.map +1 -0
  223. package/dist/esm/operationsInterfaces/springbootservers.d.ts +71 -0
  224. package/dist/esm/operationsInterfaces/springbootservers.d.ts.map +1 -0
  225. package/dist/esm/operationsInterfaces/springbootservers.js +9 -0
  226. package/dist/esm/operationsInterfaces/springbootservers.js.map +1 -0
  227. package/dist/esm/operationsInterfaces/springbootsites.d.ts +77 -0
  228. package/dist/esm/operationsInterfaces/springbootsites.d.ts.map +1 -0
  229. package/dist/esm/operationsInterfaces/springbootsites.js +9 -0
  230. package/dist/esm/operationsInterfaces/springbootsites.js.map +1 -0
  231. package/dist/esm/operationsInterfaces/summaries.d.ts +21 -0
  232. package/dist/esm/operationsInterfaces/summaries.d.ts.map +1 -0
  233. package/dist/esm/operationsInterfaces/summaries.js +9 -0
  234. package/dist/esm/operationsInterfaces/summaries.js.map +1 -0
  235. package/dist/esm/package.json +3 -0
  236. package/dist/esm/pagingHelper.d.ts +13 -0
  237. package/dist/esm/pagingHelper.d.ts.map +1 -0
  238. package/dist/esm/pagingHelper.js +30 -0
  239. package/dist/esm/pagingHelper.js.map +1 -0
  240. package/dist/esm/springAppDiscoveryManagementClient.d.ts +25 -0
  241. package/dist/esm/springAppDiscoveryManagementClient.d.ts.map +1 -0
  242. package/dist/esm/springAppDiscoveryManagementClient.js +116 -0
  243. package/dist/esm/springAppDiscoveryManagementClient.js.map +1 -0
  244. package/dist/react-native/index.d.ts +5 -0
  245. package/dist/react-native/index.d.ts.map +1 -0
  246. package/dist/react-native/index.js +13 -0
  247. package/dist/react-native/index.js.map +1 -0
  248. package/dist/react-native/lroImpl.d.ts +11 -0
  249. package/dist/react-native/lroImpl.d.ts.map +1 -0
  250. package/dist/react-native/lroImpl.js +18 -0
  251. package/dist/react-native/lroImpl.js.map +1 -0
  252. package/dist/react-native/models/index.d.ts +737 -0
  253. package/dist/react-native/models/index.d.ts.map +1 -0
  254. package/dist/react-native/models/index.js +54 -0
  255. package/dist/react-native/models/index.js.map +1 -0
  256. package/dist/react-native/models/mappers.d.ts +44 -0
  257. package/dist/react-native/models/mappers.d.ts.map +1 -0
  258. package/dist/react-native/models/mappers.js +1341 -0
  259. package/dist/react-native/models/mappers.js.map +1 -0
  260. package/dist/react-native/models/parameters.d.ts +20 -0
  261. package/dist/react-native/models/parameters.d.ts.map +1 -0
  262. package/dist/react-native/models/parameters.js +201 -0
  263. package/dist/react-native/models/parameters.js.map +1 -0
  264. package/dist/react-native/operations/errorSummaries.d.ts +46 -0
  265. package/dist/react-native/operations/errorSummaries.d.ts.map +1 -0
  266. package/dist/react-native/operations/errorSummaries.js +165 -0
  267. package/dist/react-native/operations/errorSummaries.js.map +1 -0
  268. package/dist/react-native/operations/index.d.ts +7 -0
  269. package/dist/react-native/operations/index.d.ts.map +1 -0
  270. package/dist/react-native/operations/index.js +14 -0
  271. package/dist/react-native/operations/index.js.map +1 -0
  272. package/dist/react-native/operations/operations.d.ts +32 -0
  273. package/dist/react-native/operations/operations.d.ts.map +1 -0
  274. package/dist/react-native/operations/operations.js +116 -0
  275. package/dist/react-native/operations/operations.js.map +1 -0
  276. package/dist/react-native/operations/springbootapps.d.ts +86 -0
  277. package/dist/react-native/operations/springbootapps.d.ts.map +1 -0
  278. package/dist/react-native/operations/springbootapps.js +369 -0
  279. package/dist/react-native/operations/springbootapps.js.map +1 -0
  280. package/dist/react-native/operations/springbootservers.d.ts +111 -0
  281. package/dist/react-native/operations/springbootservers.d.ts.map +1 -0
  282. package/dist/react-native/operations/springbootservers.js +503 -0
  283. package/dist/react-native/operations/springbootservers.js.map +1 -0
  284. package/dist/react-native/operations/springbootsites.d.ts +113 -0
  285. package/dist/react-native/operations/springbootsites.d.ts.map +1 -0
  286. package/dist/react-native/operations/springbootsites.js +560 -0
  287. package/dist/react-native/operations/springbootsites.js.map +1 -0
  288. package/dist/react-native/operations/summaries.d.ts +46 -0
  289. package/dist/react-native/operations/summaries.d.ts.map +1 -0
  290. package/dist/react-native/operations/summaries.js +165 -0
  291. package/dist/react-native/operations/summaries.js.map +1 -0
  292. package/dist/react-native/operationsInterfaces/errorSummaries.d.ts +21 -0
  293. package/dist/react-native/operationsInterfaces/errorSummaries.d.ts.map +1 -0
  294. package/dist/react-native/operationsInterfaces/errorSummaries.js +9 -0
  295. package/dist/react-native/operationsInterfaces/errorSummaries.js.map +1 -0
  296. package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
  297. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  298. package/dist/react-native/operationsInterfaces/index.js +14 -0
  299. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  300. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  301. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  302. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  303. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  304. package/dist/react-native/operationsInterfaces/springbootapps.d.ts +46 -0
  305. package/dist/react-native/operationsInterfaces/springbootapps.d.ts.map +1 -0
  306. package/dist/react-native/operationsInterfaces/springbootapps.js +9 -0
  307. package/dist/react-native/operationsInterfaces/springbootapps.js.map +1 -0
  308. package/dist/react-native/operationsInterfaces/springbootservers.d.ts +71 -0
  309. package/dist/react-native/operationsInterfaces/springbootservers.d.ts.map +1 -0
  310. package/dist/react-native/operationsInterfaces/springbootservers.js +9 -0
  311. package/dist/react-native/operationsInterfaces/springbootservers.js.map +1 -0
  312. package/dist/react-native/operationsInterfaces/springbootsites.d.ts +77 -0
  313. package/dist/react-native/operationsInterfaces/springbootsites.d.ts.map +1 -0
  314. package/dist/react-native/operationsInterfaces/springbootsites.js +9 -0
  315. package/dist/react-native/operationsInterfaces/springbootsites.js.map +1 -0
  316. package/dist/react-native/operationsInterfaces/summaries.d.ts +21 -0
  317. package/dist/react-native/operationsInterfaces/summaries.d.ts.map +1 -0
  318. package/dist/react-native/operationsInterfaces/summaries.js +9 -0
  319. package/dist/react-native/operationsInterfaces/summaries.js.map +1 -0
  320. package/dist/react-native/package.json +3 -0
  321. package/dist/react-native/pagingHelper.d.ts +13 -0
  322. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  323. package/dist/react-native/pagingHelper.js +30 -0
  324. package/dist/react-native/pagingHelper.js.map +1 -0
  325. package/dist/react-native/springAppDiscoveryManagementClient.d.ts +25 -0
  326. package/dist/react-native/springAppDiscoveryManagementClient.d.ts.map +1 -0
  327. package/dist/react-native/springAppDiscoveryManagementClient.js +116 -0
  328. package/dist/react-native/springAppDiscoveryManagementClient.js.map +1 -0
  329. package/package.json +83 -67
  330. package/dist/index.js +0 -3778
  331. package/dist/index.js.map +0 -1
  332. package/dist/index.min.js +0 -1
  333. package/dist/index.min.js.map +0 -1
  334. package/dist-esm/samples-dev/errorSummariesGetSample.d.ts +0 -2
  335. package/dist-esm/samples-dev/errorSummariesGetSample.d.ts.map +0 -1
  336. package/dist-esm/samples-dev/errorSummariesGetSample.js +0 -58
  337. package/dist-esm/samples-dev/errorSummariesGetSample.js.map +0 -1
  338. package/dist-esm/samples-dev/errorSummariesListBySiteSample.d.ts +0 -2
  339. package/dist-esm/samples-dev/errorSummariesListBySiteSample.d.ts.map +0 -1
  340. package/dist-esm/samples-dev/errorSummariesListBySiteSample.js +0 -88
  341. package/dist-esm/samples-dev/errorSummariesListBySiteSample.js.map +0 -1
  342. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  343. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  344. package/dist-esm/samples-dev/operationsListSample.js +0 -86
  345. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  346. package/dist-esm/samples-dev/springbootappsGetSample.d.ts +0 -2
  347. package/dist-esm/samples-dev/springbootappsGetSample.d.ts.map +0 -1
  348. package/dist-esm/samples-dev/springbootappsGetSample.js +0 -58
  349. package/dist-esm/samples-dev/springbootappsGetSample.js.map +0 -1
  350. package/dist-esm/samples-dev/springbootappsListByResourceGroupSample.d.ts +0 -2
  351. package/dist-esm/samples-dev/springbootappsListByResourceGroupSample.d.ts.map +0 -1
  352. package/dist-esm/samples-dev/springbootappsListByResourceGroupSample.js +0 -88
  353. package/dist-esm/samples-dev/springbootappsListByResourceGroupSample.js.map +0 -1
  354. package/dist-esm/samples-dev/springbootappsListBySubscriptionSample.d.ts +0 -2
  355. package/dist-esm/samples-dev/springbootappsListBySubscriptionSample.d.ts.map +0 -1
  356. package/dist-esm/samples-dev/springbootappsListBySubscriptionSample.js +0 -86
  357. package/dist-esm/samples-dev/springbootappsListBySubscriptionSample.js.map +0 -1
  358. package/dist-esm/samples-dev/springbootappsUpdateSample.d.ts +0 -2
  359. package/dist-esm/samples-dev/springbootappsUpdateSample.d.ts.map +0 -1
  360. package/dist-esm/samples-dev/springbootappsUpdateSample.js +0 -60
  361. package/dist-esm/samples-dev/springbootappsUpdateSample.js.map +0 -1
  362. package/dist-esm/samples-dev/springbootserversCreateOrUpdateSample.d.ts +0 -2
  363. package/dist-esm/samples-dev/springbootserversCreateOrUpdateSample.d.ts.map +0 -1
  364. package/dist-esm/samples-dev/springbootserversCreateOrUpdateSample.js +0 -70
  365. package/dist-esm/samples-dev/springbootserversCreateOrUpdateSample.js.map +0 -1
  366. package/dist-esm/samples-dev/springbootserversDeleteSample.d.ts +0 -2
  367. package/dist-esm/samples-dev/springbootserversDeleteSample.d.ts.map +0 -1
  368. package/dist-esm/samples-dev/springbootserversDeleteSample.js +0 -58
  369. package/dist-esm/samples-dev/springbootserversDeleteSample.js.map +0 -1
  370. package/dist-esm/samples-dev/springbootserversGetSample.d.ts +0 -2
  371. package/dist-esm/samples-dev/springbootserversGetSample.d.ts.map +0 -1
  372. package/dist-esm/samples-dev/springbootserversGetSample.js +0 -58
  373. package/dist-esm/samples-dev/springbootserversGetSample.js.map +0 -1
  374. package/dist-esm/samples-dev/springbootserversListByResourceGroupSample.d.ts +0 -2
  375. package/dist-esm/samples-dev/springbootserversListByResourceGroupSample.d.ts.map +0 -1
  376. package/dist-esm/samples-dev/springbootserversListByResourceGroupSample.js +0 -88
  377. package/dist-esm/samples-dev/springbootserversListByResourceGroupSample.js.map +0 -1
  378. package/dist-esm/samples-dev/springbootserversListBySubscriptionSample.d.ts +0 -2
  379. package/dist-esm/samples-dev/springbootserversListBySubscriptionSample.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/springbootserversListBySubscriptionSample.js +0 -86
  381. package/dist-esm/samples-dev/springbootserversListBySubscriptionSample.js.map +0 -1
  382. package/dist-esm/samples-dev/springbootserversUpdateSample.d.ts +0 -2
  383. package/dist-esm/samples-dev/springbootserversUpdateSample.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/springbootserversUpdateSample.js +0 -60
  385. package/dist-esm/samples-dev/springbootserversUpdateSample.js.map +0 -1
  386. package/dist-esm/samples-dev/springbootsitesCreateOrUpdateSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/springbootsitesCreateOrUpdateSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/springbootsitesCreateOrUpdateSample.js +0 -70
  389. package/dist-esm/samples-dev/springbootsitesCreateOrUpdateSample.js.map +0 -1
  390. package/dist-esm/samples-dev/springbootsitesDeleteSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/springbootsitesDeleteSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/springbootsitesDeleteSample.js +0 -58
  393. package/dist-esm/samples-dev/springbootsitesDeleteSample.js.map +0 -1
  394. package/dist-esm/samples-dev/springbootsitesGetSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/springbootsitesGetSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/springbootsitesGetSample.js +0 -58
  397. package/dist-esm/samples-dev/springbootsitesGetSample.js.map +0 -1
  398. package/dist-esm/samples-dev/springbootsitesListByResourceGroupSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/springbootsitesListByResourceGroupSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/springbootsitesListByResourceGroupSample.js +0 -88
  401. package/dist-esm/samples-dev/springbootsitesListByResourceGroupSample.js.map +0 -1
  402. package/dist-esm/samples-dev/springbootsitesListBySubscriptionSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/springbootsitesListBySubscriptionSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/springbootsitesListBySubscriptionSample.js +0 -86
  405. package/dist-esm/samples-dev/springbootsitesListBySubscriptionSample.js.map +0 -1
  406. package/dist-esm/samples-dev/springbootsitesTriggerRefreshSiteSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/springbootsitesTriggerRefreshSiteSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/springbootsitesTriggerRefreshSiteSample.js +0 -56
  409. package/dist-esm/samples-dev/springbootsitesTriggerRefreshSiteSample.js.map +0 -1
  410. package/dist-esm/samples-dev/springbootsitesUpdateSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/springbootsitesUpdateSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/springbootsitesUpdateSample.js +0 -65
  413. package/dist-esm/samples-dev/springbootsitesUpdateSample.js.map +0 -1
  414. package/dist-esm/samples-dev/summariesGetSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/summariesGetSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/summariesGetSample.js +0 -58
  417. package/dist-esm/samples-dev/summariesGetSample.js.map +0 -1
  418. package/dist-esm/samples-dev/summariesListBySiteSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/summariesListBySiteSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/summariesListBySiteSample.js +0 -88
  421. package/dist-esm/samples-dev/summariesListBySiteSample.js.map +0 -1
  422. package/dist-esm/src/index.d.ts +0 -6
  423. package/dist-esm/src/index.d.ts.map +0 -1
  424. package/dist-esm/src/index.js.map +0 -1
  425. package/dist-esm/src/lroImpl.js +0 -21
  426. package/dist-esm/src/lroImpl.js.map +0 -1
  427. package/dist-esm/src/models/index.js.map +0 -1
  428. package/dist-esm/src/models/mappers.js.map +0 -1
  429. package/dist-esm/src/models/parameters.js.map +0 -1
  430. package/dist-esm/src/operations/errorSummaries.d.ts.map +0 -1
  431. package/dist-esm/src/operations/errorSummaries.js.map +0 -1
  432. package/dist-esm/src/operations/index.d.ts +0 -7
  433. package/dist-esm/src/operations/index.d.ts.map +0 -1
  434. package/dist-esm/src/operations/index.js +0 -14
  435. package/dist-esm/src/operations/index.js.map +0 -1
  436. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  437. package/dist-esm/src/operations/operations.js.map +0 -1
  438. package/dist-esm/src/operations/springbootapps.d.ts.map +0 -1
  439. package/dist-esm/src/operations/springbootapps.js.map +0 -1
  440. package/dist-esm/src/operations/springbootservers.d.ts.map +0 -1
  441. package/dist-esm/src/operations/springbootservers.js.map +0 -1
  442. package/dist-esm/src/operations/springbootsites.d.ts.map +0 -1
  443. package/dist-esm/src/operations/springbootsites.js.map +0 -1
  444. package/dist-esm/src/operations/summaries.d.ts.map +0 -1
  445. package/dist-esm/src/operations/summaries.js.map +0 -1
  446. package/dist-esm/src/operationsInterfaces/errorSummaries.d.ts.map +0 -1
  447. package/dist-esm/src/operationsInterfaces/errorSummaries.js.map +0 -1
  448. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  449. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  450. package/dist-esm/src/operationsInterfaces/index.js +0 -14
  451. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  452. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  453. package/dist-esm/src/operationsInterfaces/springbootapps.d.ts.map +0 -1
  454. package/dist-esm/src/operationsInterfaces/springbootapps.js.map +0 -1
  455. package/dist-esm/src/operationsInterfaces/springbootservers.d.ts.map +0 -1
  456. package/dist-esm/src/operationsInterfaces/springbootservers.js.map +0 -1
  457. package/dist-esm/src/operationsInterfaces/springbootsites.d.ts.map +0 -1
  458. package/dist-esm/src/operationsInterfaces/springbootsites.js.map +0 -1
  459. package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +0 -1
  460. package/dist-esm/src/operationsInterfaces/summaries.js.map +0 -1
  461. package/dist-esm/src/pagingHelper.js.map +0 -1
  462. package/dist-esm/src/springAppDiscoveryManagementClient.d.ts.map +0 -1
  463. package/dist-esm/src/springAppDiscoveryManagementClient.js.map +0 -1
  464. package/dist-esm/test/springappdiscovery_operations_test.spec.d.ts +0 -4
  465. package/dist-esm/test/springappdiscovery_operations_test.spec.d.ts.map +0 -1
  466. package/dist-esm/test/springappdiscovery_operations_test.spec.js +0 -73
  467. package/dist-esm/test/springappdiscovery_operations_test.spec.js.map +0 -1
  468. package/src/lroImpl.ts +0 -42
  469. package/src/models/index.ts +0 -857
  470. package/src/models/mappers.ts +0 -1389
  471. package/src/models/parameters.ts +0 -230
  472. package/src/operations/errorSummaries.ts +0 -236
  473. package/src/operations/index.ts +0 -14
  474. package/src/operations/operations.ts +0 -149
  475. package/src/operations/springbootapps.ts +0 -533
  476. package/src/operations/springbootservers.ts +0 -717
  477. package/src/operations/springbootsites.ts +0 -773
  478. package/src/operations/summaries.ts +0 -236
  479. package/src/operationsInterfaces/errorSummaries.ts +0 -44
  480. package/src/operationsInterfaces/index.ts +0 -14
  481. package/src/operationsInterfaces/operations.ts +0 -22
  482. package/src/operationsInterfaces/springbootapps.ts +0 -93
  483. package/src/operationsInterfaces/springbootservers.ts +0 -143
  484. package/src/operationsInterfaces/springbootsites.ts +0 -156
  485. package/src/operationsInterfaces/summaries.ts +0 -44
  486. package/src/pagingHelper.ts +0 -39
  487. package/src/springAppDiscoveryManagementClient.ts +0 -165
  488. package/tsconfig.json +0 -33
  489. package/types/arm-springappdiscovery.d.ts +0 -1117
  490. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  491. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  492. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  493. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  494. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  495. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  496. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  497. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  498. /package/{dist-esm/src → dist/browser}/operationsInterfaces/errorSummaries.js +0 -0
  499. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  500. /package/{dist-esm/src → dist/browser}/operationsInterfaces/springbootapps.js +0 -0
  501. /package/{dist-esm/src → dist/browser}/operationsInterfaces/springbootservers.js +0 -0
  502. /package/{dist-esm/src → dist/browser}/operationsInterfaces/springbootsites.js +0 -0
  503. /package/{dist-esm/src → dist/browser}/operationsInterfaces/summaries.js +0 -0
  504. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  505. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  506. /package/review/{arm-springappdiscovery.api.md → arm-springappdiscovery-node.api.md} +0 -0
package/dist/index.js DELETED
@@ -1,3778 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var tslib = require('tslib');
6
- var coreClient = require('@azure/core-client');
7
- var coreRestPipeline = require('@azure/core-rest-pipeline');
8
- var coreLro = require('@azure/core-lro');
9
-
10
- function _interopNamespaceDefault(e) {
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n.default = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
28
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
29
-
30
- /*
31
- * Copyright (c) Microsoft Corporation.
32
- * Licensed under the MIT License.
33
- *
34
- * Code generated by Microsoft (R) AutoRest Code Generator.
35
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
36
- */
37
- const pageMap = new WeakMap();
38
- /**
39
- * Given the last `.value` produced by the `byPage` iterator,
40
- * returns a continuation token that can be used to begin paging from
41
- * that point later.
42
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
43
- * @returns The continuation token that can be passed into byPage() during future calls.
44
- */
45
- function getContinuationToken(page) {
46
- var _a;
47
- if (typeof page !== "object" || page === null) {
48
- return undefined;
49
- }
50
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
51
- }
52
- function setContinuationToken(page, continuationToken) {
53
- var _a;
54
- if (typeof page !== "object" || page === null || !continuationToken) {
55
- return;
56
- }
57
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
58
- pageInfo.continuationToken = continuationToken;
59
- pageMap.set(page, pageInfo);
60
- }
61
-
62
- /*
63
- * Copyright (c) Microsoft Corporation.
64
- * Licensed under the MIT License.
65
- *
66
- * Code generated by Microsoft (R) AutoRest Code Generator.
67
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
68
- */
69
- /** Known values of {@link ProvisioningState} that the service accepts. */
70
- exports.KnownProvisioningState = void 0;
71
- (function (KnownProvisioningState) {
72
- /** Unknown */
73
- KnownProvisioningState["Unknown"] = "Unknown";
74
- /** Succeeded */
75
- KnownProvisioningState["Succeeded"] = "Succeeded";
76
- /** Failed */
77
- KnownProvisioningState["Failed"] = "Failed";
78
- /** Canceled */
79
- KnownProvisioningState["Canceled"] = "Canceled";
80
- /** Accepted */
81
- KnownProvisioningState["Accepted"] = "Accepted";
82
- /** Provisioning */
83
- KnownProvisioningState["Provisioning"] = "Provisioning";
84
- /** Deleting */
85
- KnownProvisioningState["Deleting"] = "Deleting";
86
- })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
87
- /** Known values of {@link CreatedByType} that the service accepts. */
88
- exports.KnownCreatedByType = void 0;
89
- (function (KnownCreatedByType) {
90
- /** User */
91
- KnownCreatedByType["User"] = "User";
92
- /** Application */
93
- KnownCreatedByType["Application"] = "Application";
94
- /** ManagedIdentity */
95
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
96
- /** Key */
97
- KnownCreatedByType["Key"] = "Key";
98
- })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
99
- /** Known values of {@link Origin} that the service accepts. */
100
- exports.KnownOrigin = void 0;
101
- (function (KnownOrigin) {
102
- /** User */
103
- KnownOrigin["User"] = "user";
104
- /** System */
105
- KnownOrigin["System"] = "system";
106
- /** UserSystem */
107
- KnownOrigin["UserSystem"] = "user,system";
108
- })(exports.KnownOrigin || (exports.KnownOrigin = {}));
109
- /** Known values of {@link ActionType} that the service accepts. */
110
- exports.KnownActionType = void 0;
111
- (function (KnownActionType) {
112
- /** Internal */
113
- KnownActionType["Internal"] = "Internal";
114
- })(exports.KnownActionType || (exports.KnownActionType = {}));
115
-
116
- /*
117
- * Copyright (c) Microsoft Corporation.
118
- * Licensed under the MIT License.
119
- *
120
- * Code generated by Microsoft (R) AutoRest Code Generator.
121
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
122
- */
123
- const SpringbootsitesProperties = {
124
- type: {
125
- name: "Composite",
126
- className: "SpringbootsitesProperties",
127
- modelProperties: {
128
- masterSiteId: {
129
- serializedName: "masterSiteId",
130
- type: {
131
- name: "String",
132
- },
133
- },
134
- migrateProjectId: {
135
- serializedName: "migrateProjectId",
136
- type: {
137
- name: "String",
138
- },
139
- },
140
- provisioningState: {
141
- serializedName: "provisioningState",
142
- type: {
143
- name: "String",
144
- },
145
- },
146
- },
147
- },
148
- };
149
- const SpringbootsitesModelExtendedLocation = {
150
- type: {
151
- name: "Composite",
152
- className: "SpringbootsitesModelExtendedLocation",
153
- modelProperties: {
154
- type: {
155
- serializedName: "type",
156
- type: {
157
- name: "String",
158
- },
159
- },
160
- name: {
161
- serializedName: "name",
162
- type: {
163
- name: "String",
164
- },
165
- },
166
- },
167
- },
168
- };
169
- const Resource = {
170
- type: {
171
- name: "Composite",
172
- className: "Resource",
173
- modelProperties: {
174
- id: {
175
- serializedName: "id",
176
- readOnly: true,
177
- type: {
178
- name: "String",
179
- },
180
- },
181
- name: {
182
- serializedName: "name",
183
- readOnly: true,
184
- type: {
185
- name: "String",
186
- },
187
- },
188
- type: {
189
- serializedName: "type",
190
- readOnly: true,
191
- type: {
192
- name: "String",
193
- },
194
- },
195
- systemData: {
196
- serializedName: "systemData",
197
- type: {
198
- name: "Composite",
199
- className: "SystemData",
200
- },
201
- },
202
- },
203
- },
204
- };
205
- const SystemData = {
206
- type: {
207
- name: "Composite",
208
- className: "SystemData",
209
- modelProperties: {
210
- createdBy: {
211
- serializedName: "createdBy",
212
- type: {
213
- name: "String",
214
- },
215
- },
216
- createdByType: {
217
- serializedName: "createdByType",
218
- type: {
219
- name: "String",
220
- },
221
- },
222
- createdAt: {
223
- serializedName: "createdAt",
224
- type: {
225
- name: "DateTime",
226
- },
227
- },
228
- lastModifiedBy: {
229
- serializedName: "lastModifiedBy",
230
- type: {
231
- name: "String",
232
- },
233
- },
234
- lastModifiedByType: {
235
- serializedName: "lastModifiedByType",
236
- type: {
237
- name: "String",
238
- },
239
- },
240
- lastModifiedAt: {
241
- serializedName: "lastModifiedAt",
242
- type: {
243
- name: "DateTime",
244
- },
245
- },
246
- },
247
- },
248
- };
249
- const ErrorResponse = {
250
- type: {
251
- name: "Composite",
252
- className: "ErrorResponse",
253
- modelProperties: {
254
- error: {
255
- serializedName: "error",
256
- type: {
257
- name: "Composite",
258
- className: "ErrorDetail",
259
- },
260
- },
261
- },
262
- },
263
- };
264
- const ErrorDetail = {
265
- type: {
266
- name: "Composite",
267
- className: "ErrorDetail",
268
- modelProperties: {
269
- code: {
270
- serializedName: "code",
271
- readOnly: true,
272
- type: {
273
- name: "String",
274
- },
275
- },
276
- message: {
277
- serializedName: "message",
278
- readOnly: true,
279
- type: {
280
- name: "String",
281
- },
282
- },
283
- target: {
284
- serializedName: "target",
285
- readOnly: true,
286
- type: {
287
- name: "String",
288
- },
289
- },
290
- details: {
291
- serializedName: "details",
292
- readOnly: true,
293
- type: {
294
- name: "Sequence",
295
- element: {
296
- type: {
297
- name: "Composite",
298
- className: "ErrorDetail",
299
- },
300
- },
301
- },
302
- },
303
- additionalInfo: {
304
- serializedName: "additionalInfo",
305
- readOnly: true,
306
- type: {
307
- name: "Sequence",
308
- element: {
309
- type: {
310
- name: "Composite",
311
- className: "ErrorAdditionalInfo",
312
- },
313
- },
314
- },
315
- },
316
- },
317
- },
318
- };
319
- const ErrorAdditionalInfo = {
320
- type: {
321
- name: "Composite",
322
- className: "ErrorAdditionalInfo",
323
- modelProperties: {
324
- type: {
325
- serializedName: "type",
326
- readOnly: true,
327
- type: {
328
- name: "String",
329
- },
330
- },
331
- info: {
332
- serializedName: "info",
333
- readOnly: true,
334
- type: {
335
- name: "Dictionary",
336
- value: { type: { name: "any" } },
337
- },
338
- },
339
- },
340
- },
341
- };
342
- const SpringbootsitesListResult = {
343
- type: {
344
- name: "Composite",
345
- className: "SpringbootsitesListResult",
346
- modelProperties: {
347
- value: {
348
- serializedName: "value",
349
- type: {
350
- name: "Sequence",
351
- element: {
352
- type: {
353
- name: "Composite",
354
- className: "SpringbootsitesModel",
355
- },
356
- },
357
- },
358
- },
359
- nextLink: {
360
- serializedName: "nextLink",
361
- type: {
362
- name: "String",
363
- },
364
- },
365
- },
366
- },
367
- };
368
- const OperationListResult = {
369
- type: {
370
- name: "Composite",
371
- className: "OperationListResult",
372
- modelProperties: {
373
- value: {
374
- serializedName: "value",
375
- readOnly: true,
376
- type: {
377
- name: "Sequence",
378
- element: {
379
- type: {
380
- name: "Composite",
381
- className: "Operation",
382
- },
383
- },
384
- },
385
- },
386
- nextLink: {
387
- serializedName: "nextLink",
388
- readOnly: true,
389
- type: {
390
- name: "String",
391
- },
392
- },
393
- },
394
- },
395
- };
396
- const Operation = {
397
- type: {
398
- name: "Composite",
399
- className: "Operation",
400
- modelProperties: {
401
- name: {
402
- serializedName: "name",
403
- readOnly: true,
404
- type: {
405
- name: "String",
406
- },
407
- },
408
- isDataAction: {
409
- serializedName: "isDataAction",
410
- readOnly: true,
411
- type: {
412
- name: "Boolean",
413
- },
414
- },
415
- display: {
416
- serializedName: "display",
417
- type: {
418
- name: "Composite",
419
- className: "OperationDisplay",
420
- },
421
- },
422
- origin: {
423
- serializedName: "origin",
424
- readOnly: true,
425
- type: {
426
- name: "String",
427
- },
428
- },
429
- actionType: {
430
- serializedName: "actionType",
431
- readOnly: true,
432
- type: {
433
- name: "String",
434
- },
435
- },
436
- },
437
- },
438
- };
439
- const OperationDisplay = {
440
- type: {
441
- name: "Composite",
442
- className: "OperationDisplay",
443
- modelProperties: {
444
- provider: {
445
- serializedName: "provider",
446
- readOnly: true,
447
- type: {
448
- name: "String",
449
- },
450
- },
451
- resource: {
452
- serializedName: "resource",
453
- readOnly: true,
454
- type: {
455
- name: "String",
456
- },
457
- },
458
- operation: {
459
- serializedName: "operation",
460
- readOnly: true,
461
- type: {
462
- name: "String",
463
- },
464
- },
465
- description: {
466
- serializedName: "description",
467
- readOnly: true,
468
- type: {
469
- name: "String",
470
- },
471
- },
472
- },
473
- },
474
- };
475
- const SpringbootserversProperties = {
476
- type: {
477
- name: "Composite",
478
- className: "SpringbootserversProperties",
479
- modelProperties: {
480
- port: {
481
- serializedName: "port",
482
- type: {
483
- name: "Number",
484
- },
485
- },
486
- server: {
487
- serializedName: "server",
488
- required: true,
489
- type: {
490
- name: "String",
491
- },
492
- },
493
- fqdnAndIpAddressList: {
494
- serializedName: "fqdnAndIpAddressList",
495
- type: {
496
- name: "Sequence",
497
- element: {
498
- type: {
499
- name: "String",
500
- },
501
- },
502
- },
503
- },
504
- machineArmId: {
505
- serializedName: "machineArmId",
506
- type: {
507
- name: "String",
508
- },
509
- },
510
- totalApps: {
511
- serializedName: "totalApps",
512
- type: {
513
- name: "Number",
514
- },
515
- },
516
- springBootApps: {
517
- serializedName: "springBootApps",
518
- type: {
519
- name: "Number",
520
- },
521
- },
522
- errors: {
523
- serializedName: "errors",
524
- type: {
525
- name: "Sequence",
526
- element: {
527
- type: {
528
- name: "Composite",
529
- className: "ErrorModel",
530
- },
531
- },
532
- },
533
- },
534
- provisioningState: {
535
- serializedName: "provisioningState",
536
- type: {
537
- name: "String",
538
- },
539
- },
540
- },
541
- },
542
- };
543
- const ErrorModel = {
544
- type: {
545
- name: "Composite",
546
- className: "ErrorModel",
547
- modelProperties: {
548
- id: {
549
- serializedName: "id",
550
- type: {
551
- name: "Number",
552
- },
553
- },
554
- code: {
555
- serializedName: "code",
556
- type: {
557
- name: "String",
558
- },
559
- },
560
- summaryMessage: {
561
- serializedName: "summaryMessage",
562
- type: {
563
- name: "String",
564
- },
565
- },
566
- runAsAccountId: {
567
- serializedName: "runAsAccountId",
568
- type: {
569
- name: "String",
570
- },
571
- },
572
- message: {
573
- serializedName: "message",
574
- type: {
575
- name: "String",
576
- },
577
- },
578
- possibleCauses: {
579
- serializedName: "possibleCauses",
580
- type: {
581
- name: "String",
582
- },
583
- },
584
- recommendedAction: {
585
- serializedName: "recommendedAction",
586
- type: {
587
- name: "String",
588
- },
589
- },
590
- severity: {
591
- serializedName: "severity",
592
- type: {
593
- name: "String",
594
- },
595
- },
596
- updatedTimeStamp: {
597
- serializedName: "updatedTimeStamp",
598
- type: {
599
- name: "DateTime",
600
- },
601
- },
602
- },
603
- },
604
- };
605
- const SpringbootserversListResult = {
606
- type: {
607
- name: "Composite",
608
- className: "SpringbootserversListResult",
609
- modelProperties: {
610
- value: {
611
- serializedName: "value",
612
- type: {
613
- name: "Sequence",
614
- element: {
615
- type: {
616
- name: "Composite",
617
- className: "SpringbootserversModel",
618
- },
619
- },
620
- },
621
- },
622
- nextLink: {
623
- serializedName: "nextLink",
624
- type: {
625
- name: "String",
626
- },
627
- },
628
- },
629
- },
630
- };
631
- const SpringbootappsProperties = {
632
- type: {
633
- name: "Composite",
634
- className: "SpringbootappsProperties",
635
- modelProperties: {
636
- appName: {
637
- serializedName: "appName",
638
- type: {
639
- name: "String",
640
- },
641
- },
642
- artifactName: {
643
- serializedName: "artifactName",
644
- type: {
645
- name: "String",
646
- },
647
- },
648
- appPort: {
649
- serializedName: "appPort",
650
- type: {
651
- name: "Number",
652
- },
653
- },
654
- appType: {
655
- serializedName: "appType",
656
- type: {
657
- name: "String",
658
- },
659
- },
660
- applicationConfigurations: {
661
- serializedName: "applicationConfigurations",
662
- type: {
663
- name: "Sequence",
664
- element: {
665
- type: {
666
- name: "Composite",
667
- className: "SpringbootappsPropertiesApplicationConfigurationsItem",
668
- },
669
- },
670
- },
671
- },
672
- bindingPorts: {
673
- serializedName: "bindingPorts",
674
- type: {
675
- name: "Sequence",
676
- element: {
677
- type: {
678
- name: "Number",
679
- },
680
- },
681
- },
682
- },
683
- buildJdkVersion: {
684
- serializedName: "buildJdkVersion",
685
- type: {
686
- name: "String",
687
- },
688
- },
689
- certificates: {
690
- serializedName: "certificates",
691
- type: {
692
- name: "Sequence",
693
- element: {
694
- type: {
695
- name: "String",
696
- },
697
- },
698
- },
699
- },
700
- checksum: {
701
- serializedName: "checksum",
702
- type: {
703
- name: "String",
704
- },
705
- },
706
- dependencies: {
707
- serializedName: "dependencies",
708
- type: {
709
- name: "Sequence",
710
- element: {
711
- type: {
712
- name: "String",
713
- },
714
- },
715
- },
716
- },
717
- environments: {
718
- serializedName: "environments",
719
- type: {
720
- name: "Sequence",
721
- element: {
722
- type: {
723
- name: "String",
724
- },
725
- },
726
- },
727
- },
728
- instanceCount: {
729
- serializedName: "instanceCount",
730
- type: {
731
- name: "Number",
732
- },
733
- },
734
- jarFileLocation: {
735
- serializedName: "jarFileLocation",
736
- type: {
737
- name: "String",
738
- },
739
- },
740
- jvmMemoryInMB: {
741
- serializedName: "jvmMemoryInMB",
742
- type: {
743
- name: "Number",
744
- },
745
- },
746
- jvmOptions: {
747
- serializedName: "jvmOptions",
748
- type: {
749
- name: "Sequence",
750
- element: {
751
- type: {
752
- name: "String",
753
- },
754
- },
755
- },
756
- },
757
- miscs: {
758
- serializedName: "miscs",
759
- type: {
760
- name: "Sequence",
761
- element: {
762
- type: {
763
- name: "Composite",
764
- className: "SpringbootappsPropertiesMiscsItem",
765
- },
766
- },
767
- },
768
- },
769
- instances: {
770
- serializedName: "instances",
771
- type: {
772
- name: "Sequence",
773
- element: {
774
- type: {
775
- name: "Composite",
776
- className: "SpringbootappsPropertiesInstancesItem",
777
- },
778
- },
779
- },
780
- },
781
- runtimeJdkVersion: {
782
- serializedName: "runtimeJdkVersion",
783
- type: {
784
- name: "String",
785
- },
786
- },
787
- servers: {
788
- serializedName: "servers",
789
- type: {
790
- name: "Sequence",
791
- element: {
792
- type: {
793
- name: "String",
794
- },
795
- },
796
- },
797
- },
798
- machineArmIds: {
799
- serializedName: "machineArmIds",
800
- type: {
801
- name: "Sequence",
802
- element: {
803
- type: {
804
- name: "String",
805
- },
806
- },
807
- },
808
- },
809
- siteName: {
810
- serializedName: "siteName",
811
- type: {
812
- name: "String",
813
- },
814
- },
815
- springBootVersion: {
816
- serializedName: "springBootVersion",
817
- type: {
818
- name: "String",
819
- },
820
- },
821
- staticContentLocations: {
822
- serializedName: "staticContentLocations",
823
- type: {
824
- name: "Sequence",
825
- element: {
826
- type: {
827
- name: "String",
828
- },
829
- },
830
- },
831
- },
832
- connectionStrings: {
833
- serializedName: "connectionStrings",
834
- type: {
835
- name: "Sequence",
836
- element: {
837
- type: {
838
- name: "String",
839
- },
840
- },
841
- },
842
- },
843
- lastModifiedTime: {
844
- serializedName: "lastModifiedTime",
845
- type: {
846
- name: "DateTime",
847
- },
848
- },
849
- lastUpdatedTime: {
850
- serializedName: "lastUpdatedTime",
851
- type: {
852
- name: "DateTime",
853
- },
854
- },
855
- provisioningState: {
856
- serializedName: "provisioningState",
857
- type: {
858
- name: "String",
859
- },
860
- },
861
- errors: {
862
- serializedName: "errors",
863
- type: {
864
- name: "Sequence",
865
- element: {
866
- type: {
867
- name: "Composite",
868
- className: "ErrorModel",
869
- },
870
- },
871
- },
872
- },
873
- },
874
- },
875
- };
876
- const SpringbootappsPropertiesApplicationConfigurationsItem = {
877
- type: {
878
- name: "Composite",
879
- className: "SpringbootappsPropertiesApplicationConfigurationsItem",
880
- modelProperties: {
881
- key: {
882
- serializedName: "key",
883
- required: true,
884
- type: {
885
- name: "String",
886
- },
887
- },
888
- value: {
889
- serializedName: "value",
890
- type: {
891
- name: "String",
892
- },
893
- },
894
- },
895
- },
896
- };
897
- const SpringbootappsPropertiesMiscsItem = {
898
- type: {
899
- name: "Composite",
900
- className: "SpringbootappsPropertiesMiscsItem",
901
- modelProperties: {
902
- key: {
903
- serializedName: "key",
904
- required: true,
905
- type: {
906
- name: "String",
907
- },
908
- },
909
- value: {
910
- serializedName: "value",
911
- type: {
912
- name: "String",
913
- },
914
- },
915
- },
916
- },
917
- };
918
- const SpringbootappsPropertiesInstancesItem = {
919
- type: {
920
- name: "Composite",
921
- className: "SpringbootappsPropertiesInstancesItem",
922
- modelProperties: {
923
- machineArmId: {
924
- serializedName: "machineArmId",
925
- required: true,
926
- type: {
927
- name: "String",
928
- },
929
- },
930
- instanceCount: {
931
- serializedName: "instanceCount",
932
- type: {
933
- name: "Number",
934
- },
935
- },
936
- jvmMemoryInMB: {
937
- serializedName: "jvmMemoryInMB",
938
- type: {
939
- name: "Number",
940
- },
941
- },
942
- },
943
- },
944
- };
945
- const SpringbootappsListResult = {
946
- type: {
947
- name: "Composite",
948
- className: "SpringbootappsListResult",
949
- modelProperties: {
950
- value: {
951
- serializedName: "value",
952
- type: {
953
- name: "Sequence",
954
- element: {
955
- type: {
956
- name: "Composite",
957
- className: "SpringbootappsModel",
958
- },
959
- },
960
- },
961
- },
962
- nextLink: {
963
- serializedName: "nextLink",
964
- type: {
965
- name: "String",
966
- },
967
- },
968
- },
969
- },
970
- };
971
- const SummariesProperties = {
972
- type: {
973
- name: "Composite",
974
- className: "SummariesProperties",
975
- modelProperties: {
976
- discoveredServers: {
977
- serializedName: "discoveredServers",
978
- type: {
979
- name: "Number",
980
- },
981
- },
982
- discoveredApps: {
983
- serializedName: "discoveredApps",
984
- type: {
985
- name: "Number",
986
- },
987
- },
988
- errors: {
989
- serializedName: "errors",
990
- type: {
991
- name: "Sequence",
992
- element: {
993
- type: {
994
- name: "Composite",
995
- className: "ErrorModel",
996
- },
997
- },
998
- },
999
- },
1000
- provisioningState: {
1001
- serializedName: "provisioningState",
1002
- type: {
1003
- name: "String",
1004
- },
1005
- },
1006
- },
1007
- },
1008
- };
1009
- const SummaryList = {
1010
- type: {
1011
- name: "Composite",
1012
- className: "SummaryList",
1013
- modelProperties: {
1014
- value: {
1015
- serializedName: "value",
1016
- type: {
1017
- name: "Sequence",
1018
- element: {
1019
- type: {
1020
- name: "Composite",
1021
- className: "Summary",
1022
- },
1023
- },
1024
- },
1025
- },
1026
- nextLink: {
1027
- serializedName: "nextLink",
1028
- type: {
1029
- name: "String",
1030
- },
1031
- },
1032
- },
1033
- },
1034
- };
1035
- const ErrorSummariesProperties = {
1036
- type: {
1037
- name: "Composite",
1038
- className: "ErrorSummariesProperties",
1039
- modelProperties: {
1040
- discoveryScopeErrorSummaries: {
1041
- serializedName: "discoveryScopeErrorSummaries",
1042
- type: {
1043
- name: "Sequence",
1044
- element: {
1045
- type: {
1046
- name: "Composite",
1047
- className: "ErrorSummaryModel",
1048
- },
1049
- },
1050
- },
1051
- },
1052
- errors: {
1053
- serializedName: "errors",
1054
- type: {
1055
- name: "Sequence",
1056
- element: {
1057
- type: {
1058
- name: "Composite",
1059
- className: "ErrorModel",
1060
- },
1061
- },
1062
- },
1063
- },
1064
- provisioningState: {
1065
- serializedName: "provisioningState",
1066
- type: {
1067
- name: "String",
1068
- },
1069
- },
1070
- },
1071
- },
1072
- };
1073
- const ErrorSummaryModel = {
1074
- type: {
1075
- name: "Composite",
1076
- className: "ErrorSummaryModel",
1077
- modelProperties: {
1078
- affectedResourceType: {
1079
- serializedName: "affectedResourceType",
1080
- type: {
1081
- name: "String",
1082
- },
1083
- },
1084
- affectedObjectsCount: {
1085
- serializedName: "affectedObjectsCount",
1086
- type: {
1087
- name: "Number",
1088
- },
1089
- },
1090
- },
1091
- },
1092
- };
1093
- const ErrorSummaryList = {
1094
- type: {
1095
- name: "Composite",
1096
- className: "ErrorSummaryList",
1097
- modelProperties: {
1098
- value: {
1099
- serializedName: "value",
1100
- type: {
1101
- name: "Sequence",
1102
- element: {
1103
- type: {
1104
- name: "Composite",
1105
- className: "ErrorSummary",
1106
- },
1107
- },
1108
- },
1109
- },
1110
- nextLink: {
1111
- serializedName: "nextLink",
1112
- type: {
1113
- name: "String",
1114
- },
1115
- },
1116
- },
1117
- },
1118
- };
1119
- const SummariesResourcePatch = {
1120
- type: {
1121
- name: "Composite",
1122
- className: "SummariesResourcePatch",
1123
- modelProperties: {
1124
- tags: {
1125
- serializedName: "tags",
1126
- type: {
1127
- name: "Dictionary",
1128
- value: { type: { name: "String" } },
1129
- },
1130
- },
1131
- properties: {
1132
- serializedName: "properties",
1133
- type: {
1134
- name: "Composite",
1135
- className: "SummariesProperties",
1136
- },
1137
- },
1138
- },
1139
- },
1140
- };
1141
- const ErrorSummariesResourcePatch = {
1142
- type: {
1143
- name: "Composite",
1144
- className: "ErrorSummariesResourcePatch",
1145
- modelProperties: {
1146
- tags: {
1147
- serializedName: "tags",
1148
- type: {
1149
- name: "Dictionary",
1150
- value: { type: { name: "String" } },
1151
- },
1152
- },
1153
- properties: {
1154
- serializedName: "properties",
1155
- type: {
1156
- name: "Composite",
1157
- className: "ErrorSummariesProperties",
1158
- },
1159
- },
1160
- },
1161
- },
1162
- };
1163
- const TrackedResource = {
1164
- type: {
1165
- name: "Composite",
1166
- className: "TrackedResource",
1167
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
1168
- serializedName: "tags",
1169
- type: {
1170
- name: "Dictionary",
1171
- value: { type: { name: "String" } },
1172
- },
1173
- }, location: {
1174
- serializedName: "location",
1175
- required: true,
1176
- type: {
1177
- name: "String",
1178
- },
1179
- } }),
1180
- },
1181
- };
1182
- const ProxyResource = {
1183
- type: {
1184
- name: "Composite",
1185
- className: "ProxyResource",
1186
- modelProperties: Object.assign({}, Resource.type.modelProperties),
1187
- },
1188
- };
1189
- const SpringbootsitesModel = {
1190
- type: {
1191
- name: "Composite",
1192
- className: "SpringbootsitesModel",
1193
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
1194
- serializedName: "properties",
1195
- type: {
1196
- name: "Composite",
1197
- className: "SpringbootsitesProperties",
1198
- },
1199
- }, extendedLocation: {
1200
- serializedName: "extendedLocation",
1201
- type: {
1202
- name: "Composite",
1203
- className: "SpringbootsitesModelExtendedLocation",
1204
- },
1205
- } }),
1206
- },
1207
- };
1208
- const SpringbootsitesPatch = {
1209
- type: {
1210
- name: "Composite",
1211
- className: "SpringbootsitesPatch",
1212
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
1213
- serializedName: "properties",
1214
- type: {
1215
- name: "Composite",
1216
- className: "SpringbootsitesProperties",
1217
- },
1218
- } }),
1219
- },
1220
- };
1221
- const SpringbootserversModel = {
1222
- type: {
1223
- name: "Composite",
1224
- className: "SpringbootserversModel",
1225
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { tags: {
1226
- serializedName: "tags",
1227
- type: {
1228
- name: "Dictionary",
1229
- value: { type: { name: "String" } },
1230
- },
1231
- }, properties: {
1232
- serializedName: "properties",
1233
- type: {
1234
- name: "Composite",
1235
- className: "SpringbootserversProperties",
1236
- },
1237
- } }),
1238
- },
1239
- };
1240
- const SpringbootserversPatch = {
1241
- type: {
1242
- name: "Composite",
1243
- className: "SpringbootserversPatch",
1244
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { tags: {
1245
- serializedName: "tags",
1246
- type: {
1247
- name: "Dictionary",
1248
- value: { type: { name: "String" } },
1249
- },
1250
- }, properties: {
1251
- serializedName: "properties",
1252
- type: {
1253
- name: "Composite",
1254
- className: "SpringbootserversProperties",
1255
- },
1256
- } }),
1257
- },
1258
- };
1259
- const SpringbootappsModel = {
1260
- type: {
1261
- name: "Composite",
1262
- className: "SpringbootappsModel",
1263
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
1264
- serializedName: "properties",
1265
- type: {
1266
- name: "Composite",
1267
- className: "SpringbootappsProperties",
1268
- },
1269
- }, tags: {
1270
- serializedName: "tags",
1271
- type: {
1272
- name: "Dictionary",
1273
- value: { type: { name: "String" } },
1274
- },
1275
- } }),
1276
- },
1277
- };
1278
- const SpringbootappsPatch = {
1279
- type: {
1280
- name: "Composite",
1281
- className: "SpringbootappsPatch",
1282
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
1283
- serializedName: "properties",
1284
- type: {
1285
- name: "Composite",
1286
- className: "SpringbootappsProperties",
1287
- },
1288
- }, tags: {
1289
- serializedName: "tags",
1290
- type: {
1291
- name: "Dictionary",
1292
- value: { type: { name: "String" } },
1293
- },
1294
- } }),
1295
- },
1296
- };
1297
- const Summary = {
1298
- type: {
1299
- name: "Composite",
1300
- className: "Summary",
1301
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
1302
- serializedName: "properties",
1303
- type: {
1304
- name: "Composite",
1305
- className: "SummariesProperties",
1306
- },
1307
- }, tags: {
1308
- serializedName: "tags",
1309
- type: {
1310
- name: "Dictionary",
1311
- value: { type: { name: "String" } },
1312
- },
1313
- } }),
1314
- },
1315
- };
1316
- const ErrorSummary = {
1317
- type: {
1318
- name: "Composite",
1319
- className: "ErrorSummary",
1320
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
1321
- serializedName: "properties",
1322
- type: {
1323
- name: "Composite",
1324
- className: "ErrorSummariesProperties",
1325
- },
1326
- }, tags: {
1327
- serializedName: "tags",
1328
- type: {
1329
- name: "Dictionary",
1330
- value: { type: { name: "String" } },
1331
- },
1332
- } }),
1333
- },
1334
- };
1335
- const SpringbootsitesDeleteHeaders = {
1336
- type: {
1337
- name: "Composite",
1338
- className: "SpringbootsitesDeleteHeaders",
1339
- modelProperties: {
1340
- location: {
1341
- serializedName: "location",
1342
- type: {
1343
- name: "String",
1344
- },
1345
- },
1346
- },
1347
- },
1348
- };
1349
- const SpringbootsitesUpdateHeaders = {
1350
- type: {
1351
- name: "Composite",
1352
- className: "SpringbootsitesUpdateHeaders",
1353
- modelProperties: {
1354
- location: {
1355
- serializedName: "location",
1356
- type: {
1357
- name: "String",
1358
- },
1359
- },
1360
- },
1361
- },
1362
- };
1363
- const SpringbootsitesTriggerRefreshSiteHeaders = {
1364
- type: {
1365
- name: "Composite",
1366
- className: "SpringbootsitesTriggerRefreshSiteHeaders",
1367
- modelProperties: {
1368
- location: {
1369
- serializedName: "location",
1370
- type: {
1371
- name: "String",
1372
- },
1373
- },
1374
- },
1375
- },
1376
- };
1377
- const SpringbootserversDeleteHeaders = {
1378
- type: {
1379
- name: "Composite",
1380
- className: "SpringbootserversDeleteHeaders",
1381
- modelProperties: {
1382
- location: {
1383
- serializedName: "location",
1384
- type: {
1385
- name: "String",
1386
- },
1387
- },
1388
- },
1389
- },
1390
- };
1391
- const SpringbootserversUpdateHeaders = {
1392
- type: {
1393
- name: "Composite",
1394
- className: "SpringbootserversUpdateHeaders",
1395
- modelProperties: {
1396
- location: {
1397
- serializedName: "location",
1398
- type: {
1399
- name: "String",
1400
- },
1401
- },
1402
- },
1403
- },
1404
- };
1405
- const SpringbootappsUpdateHeaders = {
1406
- type: {
1407
- name: "Composite",
1408
- className: "SpringbootappsUpdateHeaders",
1409
- modelProperties: {
1410
- location: {
1411
- serializedName: "location",
1412
- type: {
1413
- name: "String",
1414
- },
1415
- },
1416
- },
1417
- },
1418
- };
1419
-
1420
- var Mappers = /*#__PURE__*/Object.freeze({
1421
- __proto__: null,
1422
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1423
- ErrorDetail: ErrorDetail,
1424
- ErrorModel: ErrorModel,
1425
- ErrorResponse: ErrorResponse,
1426
- ErrorSummariesProperties: ErrorSummariesProperties,
1427
- ErrorSummariesResourcePatch: ErrorSummariesResourcePatch,
1428
- ErrorSummary: ErrorSummary,
1429
- ErrorSummaryList: ErrorSummaryList,
1430
- ErrorSummaryModel: ErrorSummaryModel,
1431
- Operation: Operation,
1432
- OperationDisplay: OperationDisplay,
1433
- OperationListResult: OperationListResult,
1434
- ProxyResource: ProxyResource,
1435
- Resource: Resource,
1436
- SpringbootappsListResult: SpringbootappsListResult,
1437
- SpringbootappsModel: SpringbootappsModel,
1438
- SpringbootappsPatch: SpringbootappsPatch,
1439
- SpringbootappsProperties: SpringbootappsProperties,
1440
- SpringbootappsPropertiesApplicationConfigurationsItem: SpringbootappsPropertiesApplicationConfigurationsItem,
1441
- SpringbootappsPropertiesInstancesItem: SpringbootappsPropertiesInstancesItem,
1442
- SpringbootappsPropertiesMiscsItem: SpringbootappsPropertiesMiscsItem,
1443
- SpringbootappsUpdateHeaders: SpringbootappsUpdateHeaders,
1444
- SpringbootserversDeleteHeaders: SpringbootserversDeleteHeaders,
1445
- SpringbootserversListResult: SpringbootserversListResult,
1446
- SpringbootserversModel: SpringbootserversModel,
1447
- SpringbootserversPatch: SpringbootserversPatch,
1448
- SpringbootserversProperties: SpringbootserversProperties,
1449
- SpringbootserversUpdateHeaders: SpringbootserversUpdateHeaders,
1450
- SpringbootsitesDeleteHeaders: SpringbootsitesDeleteHeaders,
1451
- SpringbootsitesListResult: SpringbootsitesListResult,
1452
- SpringbootsitesModel: SpringbootsitesModel,
1453
- SpringbootsitesModelExtendedLocation: SpringbootsitesModelExtendedLocation,
1454
- SpringbootsitesPatch: SpringbootsitesPatch,
1455
- SpringbootsitesProperties: SpringbootsitesProperties,
1456
- SpringbootsitesTriggerRefreshSiteHeaders: SpringbootsitesTriggerRefreshSiteHeaders,
1457
- SpringbootsitesUpdateHeaders: SpringbootsitesUpdateHeaders,
1458
- SummariesProperties: SummariesProperties,
1459
- SummariesResourcePatch: SummariesResourcePatch,
1460
- Summary: Summary,
1461
- SummaryList: SummaryList,
1462
- SystemData: SystemData,
1463
- TrackedResource: TrackedResource
1464
- });
1465
-
1466
- /*
1467
- * Copyright (c) Microsoft Corporation.
1468
- * Licensed under the MIT License.
1469
- *
1470
- * Code generated by Microsoft (R) AutoRest Code Generator.
1471
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1472
- */
1473
- const accept = {
1474
- parameterPath: "accept",
1475
- mapper: {
1476
- defaultValue: "application/json",
1477
- isConstant: true,
1478
- serializedName: "Accept",
1479
- type: {
1480
- name: "String",
1481
- },
1482
- },
1483
- };
1484
- const $host = {
1485
- parameterPath: "$host",
1486
- mapper: {
1487
- serializedName: "$host",
1488
- required: true,
1489
- type: {
1490
- name: "String",
1491
- },
1492
- },
1493
- skipEncoding: true,
1494
- };
1495
- const subscriptionId = {
1496
- parameterPath: "subscriptionId",
1497
- mapper: {
1498
- constraints: {
1499
- MinLength: 1,
1500
- },
1501
- serializedName: "subscriptionId",
1502
- required: true,
1503
- type: {
1504
- name: "String",
1505
- },
1506
- },
1507
- };
1508
- const resourceGroupName = {
1509
- parameterPath: "resourceGroupName",
1510
- mapper: {
1511
- constraints: {
1512
- MaxLength: 90,
1513
- MinLength: 1,
1514
- },
1515
- serializedName: "resourceGroupName",
1516
- required: true,
1517
- type: {
1518
- name: "String",
1519
- },
1520
- },
1521
- };
1522
- const springbootsitesName = {
1523
- parameterPath: "springbootsitesName",
1524
- mapper: {
1525
- constraints: {
1526
- Pattern: new RegExp("^[a-z][a-z0-9-]*$"),
1527
- MaxLength: 64,
1528
- MinLength: 3,
1529
- },
1530
- serializedName: "springbootsitesName",
1531
- required: true,
1532
- type: {
1533
- name: "String",
1534
- },
1535
- },
1536
- };
1537
- const apiVersion = {
1538
- parameterPath: "apiVersion",
1539
- mapper: {
1540
- defaultValue: "2023-01-01-preview",
1541
- isConstant: true,
1542
- serializedName: "api-version",
1543
- type: {
1544
- name: "String",
1545
- },
1546
- },
1547
- };
1548
- const contentType = {
1549
- parameterPath: ["options", "contentType"],
1550
- mapper: {
1551
- defaultValue: "application/json",
1552
- isConstant: true,
1553
- serializedName: "Content-Type",
1554
- type: {
1555
- name: "String",
1556
- },
1557
- },
1558
- };
1559
- const springbootsites = {
1560
- parameterPath: "springbootsites",
1561
- mapper: SpringbootsitesModel,
1562
- };
1563
- const springbootsites1 = {
1564
- parameterPath: "springbootsites",
1565
- mapper: SpringbootsitesPatch,
1566
- };
1567
- const nextLink = {
1568
- parameterPath: "nextLink",
1569
- mapper: {
1570
- serializedName: "nextLink",
1571
- required: true,
1572
- type: {
1573
- name: "String",
1574
- },
1575
- },
1576
- skipEncoding: true,
1577
- };
1578
- const siteName = {
1579
- parameterPath: "siteName",
1580
- mapper: {
1581
- constraints: {
1582
- Pattern: new RegExp("^[a-z][a-z0-9-]*$"),
1583
- MaxLength: 64,
1584
- MinLength: 3,
1585
- },
1586
- serializedName: "siteName",
1587
- required: true,
1588
- type: {
1589
- name: "String",
1590
- },
1591
- },
1592
- };
1593
- const springbootserversName = {
1594
- parameterPath: "springbootserversName",
1595
- mapper: {
1596
- constraints: {
1597
- Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]*$"),
1598
- MaxLength: 64,
1599
- MinLength: 3,
1600
- },
1601
- serializedName: "springbootserversName",
1602
- required: true,
1603
- type: {
1604
- name: "String",
1605
- },
1606
- },
1607
- };
1608
- const springbootservers = {
1609
- parameterPath: "springbootservers",
1610
- mapper: SpringbootserversModel,
1611
- };
1612
- const springbootservers1 = {
1613
- parameterPath: "springbootservers",
1614
- mapper: SpringbootserversPatch,
1615
- };
1616
- const springbootappsName = {
1617
- parameterPath: "springbootappsName",
1618
- mapper: {
1619
- constraints: {
1620
- Pattern: new RegExp("^[A-Za-z0-9][A-Za-z0-9-]*$"),
1621
- MaxLength: 64,
1622
- MinLength: 3,
1623
- },
1624
- serializedName: "springbootappsName",
1625
- required: true,
1626
- type: {
1627
- name: "String",
1628
- },
1629
- },
1630
- };
1631
- const springbootapps = {
1632
- parameterPath: "springbootapps",
1633
- mapper: SpringbootappsPatch,
1634
- };
1635
- const summaryName = {
1636
- parameterPath: "summaryName",
1637
- mapper: {
1638
- constraints: {
1639
- Pattern: new RegExp("^[A-Za-z][A-Za-z0-9]*$"),
1640
- MaxLength: 63,
1641
- MinLength: 3,
1642
- },
1643
- serializedName: "summaryName",
1644
- required: true,
1645
- type: {
1646
- name: "String",
1647
- },
1648
- },
1649
- };
1650
- const errorSummaryName = {
1651
- parameterPath: "errorSummaryName",
1652
- mapper: {
1653
- constraints: {
1654
- Pattern: new RegExp("^[A-Za-z][A-Za-z0-9]*$"),
1655
- MaxLength: 63,
1656
- MinLength: 3,
1657
- },
1658
- serializedName: "errorSummaryName",
1659
- required: true,
1660
- type: {
1661
- name: "String",
1662
- },
1663
- },
1664
- };
1665
-
1666
- /*
1667
- * Copyright (c) Microsoft Corporation.
1668
- * Licensed under the MIT License.
1669
- *
1670
- * Code generated by Microsoft (R) AutoRest Code Generator.
1671
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1672
- */
1673
- function createLroSpec(inputs) {
1674
- const { args, spec, sendOperationFn } = inputs;
1675
- return {
1676
- requestMethod: spec.httpMethod,
1677
- requestPath: spec.path,
1678
- sendInitialRequest: () => sendOperationFn(args, spec),
1679
- sendPollRequest: (path, options) => {
1680
- const restSpec = tslib.__rest(spec, ["requestBody"]);
1681
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
1682
- },
1683
- };
1684
- }
1685
-
1686
- /*
1687
- * Copyright (c) Microsoft Corporation.
1688
- * Licensed under the MIT License.
1689
- *
1690
- * Code generated by Microsoft (R) AutoRest Code Generator.
1691
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1692
- */
1693
- /// <reference lib="esnext.asynciterable" />
1694
- /** Class containing Springbootsites operations. */
1695
- class SpringbootsitesImpl {
1696
- /**
1697
- * Initialize a new instance of the class Springbootsites class.
1698
- * @param client Reference to the service client
1699
- */
1700
- constructor(client) {
1701
- this.client = client;
1702
- }
1703
- /**
1704
- * List springbootsites resource by resourceGroup.
1705
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1706
- * @param options The options parameters.
1707
- */
1708
- listByResourceGroup(resourceGroupName, options) {
1709
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
1710
- return {
1711
- next() {
1712
- return iter.next();
1713
- },
1714
- [Symbol.asyncIterator]() {
1715
- return this;
1716
- },
1717
- byPage: (settings) => {
1718
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
1719
- throw new Error("maxPageSize is not supported by this operation.");
1720
- }
1721
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
1722
- },
1723
- };
1724
- }
1725
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
1726
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
1727
- let result;
1728
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
1729
- if (!continuationToken) {
1730
- result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
1731
- let page = result.value || [];
1732
- continuationToken = result.nextLink;
1733
- setContinuationToken(page, continuationToken);
1734
- yield yield tslib.__await(page);
1735
- }
1736
- while (continuationToken) {
1737
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
1738
- continuationToken = result.nextLink;
1739
- let page = result.value || [];
1740
- setContinuationToken(page, continuationToken);
1741
- yield yield tslib.__await(page);
1742
- }
1743
- });
1744
- }
1745
- listByResourceGroupPagingAll(resourceGroupName, options) {
1746
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1747
- var _a, e_1, _b, _c;
1748
- try {
1749
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1750
- _c = _f.value;
1751
- _d = false;
1752
- const page = _c;
1753
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1754
- }
1755
- }
1756
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1757
- finally {
1758
- try {
1759
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1760
- }
1761
- finally { if (e_1) throw e_1.error; }
1762
- }
1763
- });
1764
- }
1765
- /**
1766
- * List springbootsites resource by subscription
1767
- * @param options The options parameters.
1768
- */
1769
- listBySubscription(options) {
1770
- const iter = this.listBySubscriptionPagingAll(options);
1771
- return {
1772
- next() {
1773
- return iter.next();
1774
- },
1775
- [Symbol.asyncIterator]() {
1776
- return this;
1777
- },
1778
- byPage: (settings) => {
1779
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
1780
- throw new Error("maxPageSize is not supported by this operation.");
1781
- }
1782
- return this.listBySubscriptionPagingPage(options, settings);
1783
- },
1784
- };
1785
- }
1786
- listBySubscriptionPagingPage(options, settings) {
1787
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
1788
- let result;
1789
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
1790
- if (!continuationToken) {
1791
- result = yield tslib.__await(this._listBySubscription(options));
1792
- let page = result.value || [];
1793
- continuationToken = result.nextLink;
1794
- setContinuationToken(page, continuationToken);
1795
- yield yield tslib.__await(page);
1796
- }
1797
- while (continuationToken) {
1798
- result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
1799
- continuationToken = result.nextLink;
1800
- let page = result.value || [];
1801
- setContinuationToken(page, continuationToken);
1802
- yield yield tslib.__await(page);
1803
- }
1804
- });
1805
- }
1806
- listBySubscriptionPagingAll(options) {
1807
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
1808
- var _a, e_2, _b, _c;
1809
- try {
1810
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1811
- _c = _f.value;
1812
- _d = false;
1813
- const page = _c;
1814
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1815
- }
1816
- }
1817
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1818
- finally {
1819
- try {
1820
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1821
- }
1822
- finally { if (e_2) throw e_2.error; }
1823
- }
1824
- });
1825
- }
1826
- /**
1827
- * Get a springbootsites resource.
1828
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1829
- * @param springbootsitesName The springbootsites name.
1830
- * @param options The options parameters.
1831
- */
1832
- get(resourceGroupName, springbootsitesName, options) {
1833
- return this.client.sendOperationRequest({ resourceGroupName, springbootsitesName, options }, getOperationSpec$4);
1834
- }
1835
- /**
1836
- * Create a springbootsites resource.
1837
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1838
- * @param springbootsitesName The springbootsites name.
1839
- * @param springbootsites Create a springbootsites payload.
1840
- * @param options The options parameters.
1841
- */
1842
- createOrUpdate(resourceGroupName, springbootsitesName, springbootsites, options) {
1843
- return this.client.sendOperationRequest({ resourceGroupName, springbootsitesName, springbootsites, options }, createOrUpdateOperationSpec$1);
1844
- }
1845
- /**
1846
- * Delete a springbootsites resource.
1847
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1848
- * @param springbootsitesName The springbootsites name.
1849
- * @param options The options parameters.
1850
- */
1851
- beginDelete(resourceGroupName, springbootsitesName, options) {
1852
- return tslib.__awaiter(this, void 0, void 0, function* () {
1853
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1854
- return this.client.sendOperationRequest(args, spec);
1855
- });
1856
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1857
- var _a;
1858
- let currentRawResponse = undefined;
1859
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1860
- const callback = (rawResponse, flatResponse) => {
1861
- currentRawResponse = rawResponse;
1862
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1863
- };
1864
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1865
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1866
- return {
1867
- flatResponse,
1868
- rawResponse: {
1869
- statusCode: currentRawResponse.status,
1870
- body: currentRawResponse.parsedBody,
1871
- headers: currentRawResponse.headers.toJSON(),
1872
- },
1873
- };
1874
- });
1875
- const lro = createLroSpec({
1876
- sendOperationFn,
1877
- args: { resourceGroupName, springbootsitesName, options },
1878
- spec: deleteOperationSpec$1,
1879
- });
1880
- const poller = yield coreLro.createHttpPoller(lro, {
1881
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1882
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1883
- resourceLocationConfig: "location",
1884
- });
1885
- yield poller.poll();
1886
- return poller;
1887
- });
1888
- }
1889
- /**
1890
- * Delete a springbootsites resource.
1891
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1892
- * @param springbootsitesName The springbootsites name.
1893
- * @param options The options parameters.
1894
- */
1895
- beginDeleteAndWait(resourceGroupName, springbootsitesName, options) {
1896
- return tslib.__awaiter(this, void 0, void 0, function* () {
1897
- const poller = yield this.beginDelete(resourceGroupName, springbootsitesName, options);
1898
- return poller.pollUntilDone();
1899
- });
1900
- }
1901
- /**
1902
- * Update a springbootsites resource.
1903
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1904
- * @param springbootsitesName The springbootsites name.
1905
- * @param springbootsites Update a springbootsites payload.
1906
- * @param options The options parameters.
1907
- */
1908
- beginUpdate(resourceGroupName, springbootsitesName, springbootsites, options) {
1909
- return tslib.__awaiter(this, void 0, void 0, function* () {
1910
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1911
- return this.client.sendOperationRequest(args, spec);
1912
- });
1913
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1914
- var _a;
1915
- let currentRawResponse = undefined;
1916
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1917
- const callback = (rawResponse, flatResponse) => {
1918
- currentRawResponse = rawResponse;
1919
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1920
- };
1921
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1922
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1923
- return {
1924
- flatResponse,
1925
- rawResponse: {
1926
- statusCode: currentRawResponse.status,
1927
- body: currentRawResponse.parsedBody,
1928
- headers: currentRawResponse.headers.toJSON(),
1929
- },
1930
- };
1931
- });
1932
- const lro = createLroSpec({
1933
- sendOperationFn,
1934
- args: {
1935
- resourceGroupName,
1936
- springbootsitesName,
1937
- springbootsites,
1938
- options,
1939
- },
1940
- spec: updateOperationSpec$2,
1941
- });
1942
- const poller = yield coreLro.createHttpPoller(lro, {
1943
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1944
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1945
- resourceLocationConfig: "location",
1946
- });
1947
- yield poller.poll();
1948
- return poller;
1949
- });
1950
- }
1951
- /**
1952
- * Update a springbootsites resource.
1953
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1954
- * @param springbootsitesName The springbootsites name.
1955
- * @param springbootsites Update a springbootsites payload.
1956
- * @param options The options parameters.
1957
- */
1958
- beginUpdateAndWait(resourceGroupName, springbootsitesName, springbootsites, options) {
1959
- return tslib.__awaiter(this, void 0, void 0, function* () {
1960
- const poller = yield this.beginUpdate(resourceGroupName, springbootsitesName, springbootsites, options);
1961
- return poller.pollUntilDone();
1962
- });
1963
- }
1964
- /**
1965
- * Trigger refresh springbootsites action
1966
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1967
- * @param springbootsitesName The springbootsites name.
1968
- * @param options The options parameters.
1969
- */
1970
- beginTriggerRefreshSite(resourceGroupName, springbootsitesName, options) {
1971
- return tslib.__awaiter(this, void 0, void 0, function* () {
1972
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1973
- return this.client.sendOperationRequest(args, spec);
1974
- });
1975
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1976
- var _a;
1977
- let currentRawResponse = undefined;
1978
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1979
- const callback = (rawResponse, flatResponse) => {
1980
- currentRawResponse = rawResponse;
1981
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1982
- };
1983
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1984
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1985
- return {
1986
- flatResponse,
1987
- rawResponse: {
1988
- statusCode: currentRawResponse.status,
1989
- body: currentRawResponse.parsedBody,
1990
- headers: currentRawResponse.headers.toJSON(),
1991
- },
1992
- };
1993
- });
1994
- const lro = createLroSpec({
1995
- sendOperationFn,
1996
- args: { resourceGroupName, springbootsitesName, options },
1997
- spec: triggerRefreshSiteOperationSpec,
1998
- });
1999
- const poller = yield coreLro.createHttpPoller(lro, {
2000
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2001
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2002
- resourceLocationConfig: "location",
2003
- });
2004
- yield poller.poll();
2005
- return poller;
2006
- });
2007
- }
2008
- /**
2009
- * Trigger refresh springbootsites action
2010
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2011
- * @param springbootsitesName The springbootsites name.
2012
- * @param options The options parameters.
2013
- */
2014
- beginTriggerRefreshSiteAndWait(resourceGroupName, springbootsitesName, options) {
2015
- return tslib.__awaiter(this, void 0, void 0, function* () {
2016
- const poller = yield this.beginTriggerRefreshSite(resourceGroupName, springbootsitesName, options);
2017
- return poller.pollUntilDone();
2018
- });
2019
- }
2020
- /**
2021
- * List springbootsites resource by resourceGroup.
2022
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2023
- * @param options The options parameters.
2024
- */
2025
- _listByResourceGroup(resourceGroupName, options) {
2026
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$2);
2027
- }
2028
- /**
2029
- * List springbootsites resource by subscription
2030
- * @param options The options parameters.
2031
- */
2032
- _listBySubscription(options) {
2033
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$2);
2034
- }
2035
- /**
2036
- * ListByResourceGroupNext
2037
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2038
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
2039
- * @param options The options parameters.
2040
- */
2041
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
2042
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$2);
2043
- }
2044
- /**
2045
- * ListBySubscriptionNext
2046
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
2047
- * @param options The options parameters.
2048
- */
2049
- _listBySubscriptionNext(nextLink, options) {
2050
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec$2);
2051
- }
2052
- }
2053
- // Operation Specifications
2054
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2055
- const getOperationSpec$4 = {
2056
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{springbootsitesName}",
2057
- httpMethod: "GET",
2058
- responses: {
2059
- 200: {
2060
- bodyMapper: SpringbootsitesModel,
2061
- },
2062
- default: {
2063
- bodyMapper: ErrorResponse,
2064
- },
2065
- },
2066
- queryParameters: [apiVersion],
2067
- urlParameters: [
2068
- $host,
2069
- subscriptionId,
2070
- resourceGroupName,
2071
- springbootsitesName,
2072
- ],
2073
- headerParameters: [accept],
2074
- serializer: serializer$5,
2075
- };
2076
- const createOrUpdateOperationSpec$1 = {
2077
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{springbootsitesName}",
2078
- httpMethod: "PUT",
2079
- responses: {
2080
- 200: {
2081
- bodyMapper: SpringbootsitesModel,
2082
- },
2083
- 201: {
2084
- bodyMapper: SpringbootsitesModel,
2085
- },
2086
- default: {
2087
- bodyMapper: ErrorResponse,
2088
- },
2089
- },
2090
- requestBody: springbootsites,
2091
- queryParameters: [apiVersion],
2092
- urlParameters: [
2093
- $host,
2094
- subscriptionId,
2095
- resourceGroupName,
2096
- springbootsitesName,
2097
- ],
2098
- headerParameters: [accept, contentType],
2099
- mediaType: "json",
2100
- serializer: serializer$5,
2101
- };
2102
- const deleteOperationSpec$1 = {
2103
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{springbootsitesName}",
2104
- httpMethod: "DELETE",
2105
- responses: {
2106
- 200: {
2107
- headersMapper: SpringbootsitesDeleteHeaders,
2108
- },
2109
- 201: {
2110
- headersMapper: SpringbootsitesDeleteHeaders,
2111
- },
2112
- 202: {
2113
- headersMapper: SpringbootsitesDeleteHeaders,
2114
- },
2115
- 204: {
2116
- headersMapper: SpringbootsitesDeleteHeaders,
2117
- },
2118
- default: {
2119
- bodyMapper: ErrorResponse,
2120
- },
2121
- },
2122
- queryParameters: [apiVersion],
2123
- urlParameters: [
2124
- $host,
2125
- subscriptionId,
2126
- resourceGroupName,
2127
- springbootsitesName,
2128
- ],
2129
- headerParameters: [accept],
2130
- serializer: serializer$5,
2131
- };
2132
- const updateOperationSpec$2 = {
2133
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{springbootsitesName}",
2134
- httpMethod: "PATCH",
2135
- responses: {
2136
- 200: {
2137
- bodyMapper: SpringbootsitesModel,
2138
- },
2139
- 201: {
2140
- bodyMapper: SpringbootsitesModel,
2141
- },
2142
- 202: {
2143
- bodyMapper: SpringbootsitesModel,
2144
- },
2145
- 204: {
2146
- bodyMapper: SpringbootsitesModel,
2147
- },
2148
- default: {
2149
- bodyMapper: ErrorResponse,
2150
- },
2151
- },
2152
- requestBody: springbootsites1,
2153
- queryParameters: [apiVersion],
2154
- urlParameters: [
2155
- $host,
2156
- subscriptionId,
2157
- resourceGroupName,
2158
- springbootsitesName,
2159
- ],
2160
- headerParameters: [accept, contentType],
2161
- mediaType: "json",
2162
- serializer: serializer$5,
2163
- };
2164
- const triggerRefreshSiteOperationSpec = {
2165
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{springbootsitesName}/refreshSite",
2166
- httpMethod: "POST",
2167
- responses: {
2168
- 200: {
2169
- headersMapper: SpringbootsitesTriggerRefreshSiteHeaders,
2170
- },
2171
- 201: {
2172
- headersMapper: SpringbootsitesTriggerRefreshSiteHeaders,
2173
- },
2174
- 202: {
2175
- headersMapper: SpringbootsitesTriggerRefreshSiteHeaders,
2176
- },
2177
- 204: {
2178
- headersMapper: SpringbootsitesTriggerRefreshSiteHeaders,
2179
- },
2180
- default: {
2181
- bodyMapper: ErrorResponse,
2182
- },
2183
- },
2184
- queryParameters: [apiVersion],
2185
- urlParameters: [
2186
- $host,
2187
- subscriptionId,
2188
- resourceGroupName,
2189
- springbootsitesName,
2190
- ],
2191
- headerParameters: [accept],
2192
- serializer: serializer$5,
2193
- };
2194
- const listByResourceGroupOperationSpec$2 = {
2195
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites",
2196
- httpMethod: "GET",
2197
- responses: {
2198
- 200: {
2199
- bodyMapper: SpringbootsitesListResult,
2200
- },
2201
- default: {
2202
- bodyMapper: ErrorResponse,
2203
- },
2204
- },
2205
- queryParameters: [apiVersion],
2206
- urlParameters: [
2207
- $host,
2208
- subscriptionId,
2209
- resourceGroupName,
2210
- ],
2211
- headerParameters: [accept],
2212
- serializer: serializer$5,
2213
- };
2214
- const listBySubscriptionOperationSpec$2 = {
2215
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.OffAzureSpringBoot/springbootsites",
2216
- httpMethod: "GET",
2217
- responses: {
2218
- 200: {
2219
- bodyMapper: SpringbootsitesListResult,
2220
- },
2221
- default: {
2222
- bodyMapper: ErrorResponse,
2223
- },
2224
- },
2225
- queryParameters: [apiVersion],
2226
- urlParameters: [$host, subscriptionId],
2227
- headerParameters: [accept],
2228
- serializer: serializer$5,
2229
- };
2230
- const listByResourceGroupNextOperationSpec$2 = {
2231
- path: "{nextLink}",
2232
- httpMethod: "GET",
2233
- responses: {
2234
- 200: {
2235
- bodyMapper: SpringbootsitesListResult,
2236
- },
2237
- default: {
2238
- bodyMapper: ErrorResponse,
2239
- },
2240
- },
2241
- urlParameters: [
2242
- $host,
2243
- subscriptionId,
2244
- resourceGroupName,
2245
- nextLink,
2246
- ],
2247
- headerParameters: [accept],
2248
- serializer: serializer$5,
2249
- };
2250
- const listBySubscriptionNextOperationSpec$2 = {
2251
- path: "{nextLink}",
2252
- httpMethod: "GET",
2253
- responses: {
2254
- 200: {
2255
- bodyMapper: SpringbootsitesListResult,
2256
- },
2257
- default: {
2258
- bodyMapper: ErrorResponse,
2259
- },
2260
- },
2261
- urlParameters: [
2262
- $host,
2263
- subscriptionId,
2264
- nextLink,
2265
- ],
2266
- headerParameters: [accept],
2267
- serializer: serializer$5,
2268
- };
2269
-
2270
- /*
2271
- * Copyright (c) Microsoft Corporation.
2272
- * Licensed under the MIT License.
2273
- *
2274
- * Code generated by Microsoft (R) AutoRest Code Generator.
2275
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2276
- */
2277
- /// <reference lib="esnext.asynciterable" />
2278
- /** Class containing Operations operations. */
2279
- class OperationsImpl {
2280
- /**
2281
- * Initialize a new instance of the class Operations class.
2282
- * @param client Reference to the service client
2283
- */
2284
- constructor(client) {
2285
- this.client = client;
2286
- }
2287
- /**
2288
- * List operations.
2289
- * @param options The options parameters.
2290
- */
2291
- list(options) {
2292
- const iter = this.listPagingAll(options);
2293
- return {
2294
- next() {
2295
- return iter.next();
2296
- },
2297
- [Symbol.asyncIterator]() {
2298
- return this;
2299
- },
2300
- byPage: (settings) => {
2301
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2302
- throw new Error("maxPageSize is not supported by this operation.");
2303
- }
2304
- return this.listPagingPage(options, settings);
2305
- },
2306
- };
2307
- }
2308
- listPagingPage(options, settings) {
2309
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
2310
- let result;
2311
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2312
- if (!continuationToken) {
2313
- result = yield tslib.__await(this._list(options));
2314
- let page = result.value || [];
2315
- continuationToken = result.nextLink;
2316
- setContinuationToken(page, continuationToken);
2317
- yield yield tslib.__await(page);
2318
- }
2319
- while (continuationToken) {
2320
- result = yield tslib.__await(this._listNext(continuationToken, options));
2321
- continuationToken = result.nextLink;
2322
- let page = result.value || [];
2323
- setContinuationToken(page, continuationToken);
2324
- yield yield tslib.__await(page);
2325
- }
2326
- });
2327
- }
2328
- listPagingAll(options) {
2329
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2330
- var _a, e_1, _b, _c;
2331
- try {
2332
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2333
- _c = _f.value;
2334
- _d = false;
2335
- const page = _c;
2336
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2337
- }
2338
- }
2339
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2340
- finally {
2341
- try {
2342
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2343
- }
2344
- finally { if (e_1) throw e_1.error; }
2345
- }
2346
- });
2347
- }
2348
- /**
2349
- * List operations.
2350
- * @param options The options parameters.
2351
- */
2352
- _list(options) {
2353
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2354
- }
2355
- /**
2356
- * ListNext
2357
- * @param nextLink The nextLink from the previous successful call to the List method.
2358
- * @param options The options parameters.
2359
- */
2360
- _listNext(nextLink, options) {
2361
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
2362
- }
2363
- }
2364
- // Operation Specifications
2365
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2366
- const listOperationSpec = {
2367
- path: "/providers/Microsoft.OffAzureSpringBoot/operations",
2368
- httpMethod: "GET",
2369
- responses: {
2370
- 200: {
2371
- bodyMapper: OperationListResult,
2372
- },
2373
- default: {
2374
- bodyMapper: ErrorResponse,
2375
- },
2376
- },
2377
- queryParameters: [apiVersion],
2378
- urlParameters: [$host],
2379
- headerParameters: [accept],
2380
- serializer: serializer$4,
2381
- };
2382
- const listNextOperationSpec = {
2383
- path: "{nextLink}",
2384
- httpMethod: "GET",
2385
- responses: {
2386
- 200: {
2387
- bodyMapper: OperationListResult,
2388
- },
2389
- default: {
2390
- bodyMapper: ErrorResponse,
2391
- },
2392
- },
2393
- urlParameters: [$host, nextLink],
2394
- headerParameters: [accept],
2395
- serializer: serializer$4,
2396
- };
2397
-
2398
- /*
2399
- * Copyright (c) Microsoft Corporation.
2400
- * Licensed under the MIT License.
2401
- *
2402
- * Code generated by Microsoft (R) AutoRest Code Generator.
2403
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2404
- */
2405
- /// <reference lib="esnext.asynciterable" />
2406
- /** Class containing Springbootservers operations. */
2407
- class SpringbootserversImpl {
2408
- /**
2409
- * Initialize a new instance of the class Springbootservers class.
2410
- * @param client Reference to the service client
2411
- */
2412
- constructor(client) {
2413
- this.client = client;
2414
- }
2415
- /**
2416
- * List springbootservers resource by resourceGroup
2417
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2418
- * @param siteName The springbootsites name.
2419
- * @param options The options parameters.
2420
- */
2421
- listByResourceGroup(resourceGroupName, siteName, options) {
2422
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, siteName, options);
2423
- return {
2424
- next() {
2425
- return iter.next();
2426
- },
2427
- [Symbol.asyncIterator]() {
2428
- return this;
2429
- },
2430
- byPage: (settings) => {
2431
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2432
- throw new Error("maxPageSize is not supported by this operation.");
2433
- }
2434
- return this.listByResourceGroupPagingPage(resourceGroupName, siteName, options, settings);
2435
- },
2436
- };
2437
- }
2438
- listByResourceGroupPagingPage(resourceGroupName, siteName, options, settings) {
2439
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
2440
- let result;
2441
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2442
- if (!continuationToken) {
2443
- result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, siteName, options));
2444
- let page = result.value || [];
2445
- continuationToken = result.nextLink;
2446
- setContinuationToken(page, continuationToken);
2447
- yield yield tslib.__await(page);
2448
- }
2449
- while (continuationToken) {
2450
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, siteName, continuationToken, options));
2451
- continuationToken = result.nextLink;
2452
- let page = result.value || [];
2453
- setContinuationToken(page, continuationToken);
2454
- yield yield tslib.__await(page);
2455
- }
2456
- });
2457
- }
2458
- listByResourceGroupPagingAll(resourceGroupName, siteName, options) {
2459
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2460
- var _a, e_1, _b, _c;
2461
- try {
2462
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, siteName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2463
- _c = _f.value;
2464
- _d = false;
2465
- const page = _c;
2466
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2467
- }
2468
- }
2469
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2470
- finally {
2471
- try {
2472
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2473
- }
2474
- finally { if (e_1) throw e_1.error; }
2475
- }
2476
- });
2477
- }
2478
- /**
2479
- * List springbootservers resource by subscription
2480
- * @param siteName The springbootsites name.
2481
- * @param options The options parameters.
2482
- */
2483
- listBySubscription(siteName, options) {
2484
- const iter = this.listBySubscriptionPagingAll(siteName, options);
2485
- return {
2486
- next() {
2487
- return iter.next();
2488
- },
2489
- [Symbol.asyncIterator]() {
2490
- return this;
2491
- },
2492
- byPage: (settings) => {
2493
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2494
- throw new Error("maxPageSize is not supported by this operation.");
2495
- }
2496
- return this.listBySubscriptionPagingPage(siteName, options, settings);
2497
- },
2498
- };
2499
- }
2500
- listBySubscriptionPagingPage(siteName, options, settings) {
2501
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
2502
- let result;
2503
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2504
- if (!continuationToken) {
2505
- result = yield tslib.__await(this._listBySubscription(siteName, options));
2506
- let page = result.value || [];
2507
- continuationToken = result.nextLink;
2508
- setContinuationToken(page, continuationToken);
2509
- yield yield tslib.__await(page);
2510
- }
2511
- while (continuationToken) {
2512
- result = yield tslib.__await(this._listBySubscriptionNext(siteName, continuationToken, options));
2513
- continuationToken = result.nextLink;
2514
- let page = result.value || [];
2515
- setContinuationToken(page, continuationToken);
2516
- yield yield tslib.__await(page);
2517
- }
2518
- });
2519
- }
2520
- listBySubscriptionPagingAll(siteName, options) {
2521
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
2522
- var _a, e_2, _b, _c;
2523
- try {
2524
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(siteName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2525
- _c = _f.value;
2526
- _d = false;
2527
- const page = _c;
2528
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2529
- }
2530
- }
2531
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2532
- finally {
2533
- try {
2534
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2535
- }
2536
- finally { if (e_2) throw e_2.error; }
2537
- }
2538
- });
2539
- }
2540
- /**
2541
- * List springbootservers resource.
2542
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2543
- * @param siteName The springbootsites name.
2544
- * @param springbootserversName The springbootservers name.
2545
- * @param options The options parameters.
2546
- */
2547
- get(resourceGroupName, siteName, springbootserversName, options) {
2548
- return this.client.sendOperationRequest({ resourceGroupName, siteName, springbootserversName, options }, getOperationSpec$3);
2549
- }
2550
- /**
2551
- * Create springbootservers resource.
2552
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2553
- * @param siteName The springbootsites name.
2554
- * @param springbootserversName The springbootservers name.
2555
- * @param springbootservers Create a springbootservers payload.
2556
- * @param options The options parameters.
2557
- */
2558
- createOrUpdate(resourceGroupName, siteName, springbootserversName, springbootservers, options) {
2559
- return this.client.sendOperationRequest({
2560
- resourceGroupName,
2561
- siteName,
2562
- springbootserversName,
2563
- springbootservers,
2564
- options,
2565
- }, createOrUpdateOperationSpec);
2566
- }
2567
- /**
2568
- * Delete springbootservers resource.
2569
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2570
- * @param siteName The springbootsites name.
2571
- * @param springbootserversName The springbootservers name.
2572
- * @param options The options parameters.
2573
- */
2574
- beginDelete(resourceGroupName, siteName, springbootserversName, options) {
2575
- return tslib.__awaiter(this, void 0, void 0, function* () {
2576
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2577
- return this.client.sendOperationRequest(args, spec);
2578
- });
2579
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2580
- var _a;
2581
- let currentRawResponse = undefined;
2582
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2583
- const callback = (rawResponse, flatResponse) => {
2584
- currentRawResponse = rawResponse;
2585
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2586
- };
2587
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2588
- const flatResponse = yield directSendOperation(updatedArgs, spec);
2589
- return {
2590
- flatResponse,
2591
- rawResponse: {
2592
- statusCode: currentRawResponse.status,
2593
- body: currentRawResponse.parsedBody,
2594
- headers: currentRawResponse.headers.toJSON(),
2595
- },
2596
- };
2597
- });
2598
- const lro = createLroSpec({
2599
- sendOperationFn,
2600
- args: { resourceGroupName, siteName, springbootserversName, options },
2601
- spec: deleteOperationSpec,
2602
- });
2603
- const poller = yield coreLro.createHttpPoller(lro, {
2604
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2605
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2606
- resourceLocationConfig: "location",
2607
- });
2608
- yield poller.poll();
2609
- return poller;
2610
- });
2611
- }
2612
- /**
2613
- * Delete springbootservers resource.
2614
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2615
- * @param siteName The springbootsites name.
2616
- * @param springbootserversName The springbootservers name.
2617
- * @param options The options parameters.
2618
- */
2619
- beginDeleteAndWait(resourceGroupName, siteName, springbootserversName, options) {
2620
- return tslib.__awaiter(this, void 0, void 0, function* () {
2621
- const poller = yield this.beginDelete(resourceGroupName, siteName, springbootserversName, options);
2622
- return poller.pollUntilDone();
2623
- });
2624
- }
2625
- /**
2626
- * Update springbootservers resource.
2627
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2628
- * @param siteName The springbootsites name.
2629
- * @param springbootserversName The springbootservers name.
2630
- * @param springbootservers Update a springbootservers payload.
2631
- * @param options The options parameters.
2632
- */
2633
- beginUpdate(resourceGroupName, siteName, springbootserversName, springbootservers, options) {
2634
- return tslib.__awaiter(this, void 0, void 0, function* () {
2635
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2636
- return this.client.sendOperationRequest(args, spec);
2637
- });
2638
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
2639
- var _a;
2640
- let currentRawResponse = undefined;
2641
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2642
- const callback = (rawResponse, flatResponse) => {
2643
- currentRawResponse = rawResponse;
2644
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2645
- };
2646
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2647
- const flatResponse = yield directSendOperation(updatedArgs, spec);
2648
- return {
2649
- flatResponse,
2650
- rawResponse: {
2651
- statusCode: currentRawResponse.status,
2652
- body: currentRawResponse.parsedBody,
2653
- headers: currentRawResponse.headers.toJSON(),
2654
- },
2655
- };
2656
- });
2657
- const lro = createLroSpec({
2658
- sendOperationFn,
2659
- args: {
2660
- resourceGroupName,
2661
- siteName,
2662
- springbootserversName,
2663
- springbootservers,
2664
- options,
2665
- },
2666
- spec: updateOperationSpec$1,
2667
- });
2668
- const poller = yield coreLro.createHttpPoller(lro, {
2669
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2670
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2671
- resourceLocationConfig: "location",
2672
- });
2673
- yield poller.poll();
2674
- return poller;
2675
- });
2676
- }
2677
- /**
2678
- * Update springbootservers resource.
2679
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2680
- * @param siteName The springbootsites name.
2681
- * @param springbootserversName The springbootservers name.
2682
- * @param springbootservers Update a springbootservers payload.
2683
- * @param options The options parameters.
2684
- */
2685
- beginUpdateAndWait(resourceGroupName, siteName, springbootserversName, springbootservers, options) {
2686
- return tslib.__awaiter(this, void 0, void 0, function* () {
2687
- const poller = yield this.beginUpdate(resourceGroupName, siteName, springbootserversName, springbootservers, options);
2688
- return poller.pollUntilDone();
2689
- });
2690
- }
2691
- /**
2692
- * List springbootservers resource by resourceGroup
2693
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2694
- * @param siteName The springbootsites name.
2695
- * @param options The options parameters.
2696
- */
2697
- _listByResourceGroup(resourceGroupName, siteName, options) {
2698
- return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listByResourceGroupOperationSpec$1);
2699
- }
2700
- /**
2701
- * List springbootservers resource by subscription
2702
- * @param siteName The springbootsites name.
2703
- * @param options The options parameters.
2704
- */
2705
- _listBySubscription(siteName, options) {
2706
- return this.client.sendOperationRequest({ siteName, options }, listBySubscriptionOperationSpec$1);
2707
- }
2708
- /**
2709
- * ListByResourceGroupNext
2710
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2711
- * @param siteName The springbootsites name.
2712
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
2713
- * @param options The options parameters.
2714
- */
2715
- _listByResourceGroupNext(resourceGroupName, siteName, nextLink, options) {
2716
- return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
2717
- }
2718
- /**
2719
- * ListBySubscriptionNext
2720
- * @param siteName The springbootsites name.
2721
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
2722
- * @param options The options parameters.
2723
- */
2724
- _listBySubscriptionNext(siteName, nextLink, options) {
2725
- return this.client.sendOperationRequest({ siteName, nextLink, options }, listBySubscriptionNextOperationSpec$1);
2726
- }
2727
- }
2728
- // Operation Specifications
2729
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2730
- const getOperationSpec$3 = {
2731
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers/{springbootserversName}",
2732
- httpMethod: "GET",
2733
- responses: {
2734
- 200: {
2735
- bodyMapper: SpringbootserversModel,
2736
- },
2737
- default: {
2738
- bodyMapper: ErrorResponse,
2739
- },
2740
- },
2741
- queryParameters: [apiVersion],
2742
- urlParameters: [
2743
- $host,
2744
- subscriptionId,
2745
- resourceGroupName,
2746
- siteName,
2747
- springbootserversName,
2748
- ],
2749
- headerParameters: [accept],
2750
- serializer: serializer$3,
2751
- };
2752
- const createOrUpdateOperationSpec = {
2753
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers/{springbootserversName}",
2754
- httpMethod: "PUT",
2755
- responses: {
2756
- 200: {
2757
- bodyMapper: SpringbootserversModel,
2758
- },
2759
- 201: {
2760
- bodyMapper: SpringbootserversModel,
2761
- },
2762
- default: {
2763
- bodyMapper: ErrorResponse,
2764
- },
2765
- },
2766
- requestBody: springbootservers,
2767
- queryParameters: [apiVersion],
2768
- urlParameters: [
2769
- $host,
2770
- subscriptionId,
2771
- resourceGroupName,
2772
- siteName,
2773
- springbootserversName,
2774
- ],
2775
- headerParameters: [accept, contentType],
2776
- mediaType: "json",
2777
- serializer: serializer$3,
2778
- };
2779
- const deleteOperationSpec = {
2780
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers/{springbootserversName}",
2781
- httpMethod: "DELETE",
2782
- responses: {
2783
- 200: {
2784
- headersMapper: SpringbootserversDeleteHeaders,
2785
- },
2786
- 201: {
2787
- headersMapper: SpringbootserversDeleteHeaders,
2788
- },
2789
- 202: {
2790
- headersMapper: SpringbootserversDeleteHeaders,
2791
- },
2792
- 204: {
2793
- headersMapper: SpringbootserversDeleteHeaders,
2794
- },
2795
- default: {
2796
- bodyMapper: ErrorResponse,
2797
- },
2798
- },
2799
- queryParameters: [apiVersion],
2800
- urlParameters: [
2801
- $host,
2802
- subscriptionId,
2803
- resourceGroupName,
2804
- siteName,
2805
- springbootserversName,
2806
- ],
2807
- headerParameters: [accept],
2808
- serializer: serializer$3,
2809
- };
2810
- const updateOperationSpec$1 = {
2811
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers/{springbootserversName}",
2812
- httpMethod: "PATCH",
2813
- responses: {
2814
- 200: {
2815
- bodyMapper: SpringbootserversModel,
2816
- },
2817
- 201: {
2818
- bodyMapper: SpringbootserversModel,
2819
- },
2820
- 202: {
2821
- bodyMapper: SpringbootserversModel,
2822
- },
2823
- 204: {
2824
- bodyMapper: SpringbootserversModel,
2825
- },
2826
- default: {
2827
- bodyMapper: ErrorResponse,
2828
- },
2829
- },
2830
- requestBody: springbootservers1,
2831
- queryParameters: [apiVersion],
2832
- urlParameters: [
2833
- $host,
2834
- subscriptionId,
2835
- resourceGroupName,
2836
- siteName,
2837
- springbootserversName,
2838
- ],
2839
- headerParameters: [accept, contentType],
2840
- mediaType: "json",
2841
- serializer: serializer$3,
2842
- };
2843
- const listByResourceGroupOperationSpec$1 = {
2844
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers",
2845
- httpMethod: "GET",
2846
- responses: {
2847
- 200: {
2848
- bodyMapper: SpringbootserversListResult,
2849
- },
2850
- default: {
2851
- bodyMapper: ErrorResponse,
2852
- },
2853
- },
2854
- queryParameters: [apiVersion],
2855
- urlParameters: [
2856
- $host,
2857
- subscriptionId,
2858
- resourceGroupName,
2859
- siteName,
2860
- ],
2861
- headerParameters: [accept],
2862
- serializer: serializer$3,
2863
- };
2864
- const listBySubscriptionOperationSpec$1 = {
2865
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers",
2866
- httpMethod: "GET",
2867
- responses: {
2868
- 200: {
2869
- bodyMapper: SpringbootserversListResult,
2870
- },
2871
- default: {
2872
- bodyMapper: ErrorResponse,
2873
- },
2874
- },
2875
- queryParameters: [apiVersion],
2876
- urlParameters: [
2877
- $host,
2878
- subscriptionId,
2879
- siteName,
2880
- ],
2881
- headerParameters: [accept],
2882
- serializer: serializer$3,
2883
- };
2884
- const listByResourceGroupNextOperationSpec$1 = {
2885
- path: "{nextLink}",
2886
- httpMethod: "GET",
2887
- responses: {
2888
- 200: {
2889
- bodyMapper: SpringbootserversListResult,
2890
- },
2891
- default: {
2892
- bodyMapper: ErrorResponse,
2893
- },
2894
- },
2895
- urlParameters: [
2896
- $host,
2897
- subscriptionId,
2898
- resourceGroupName,
2899
- nextLink,
2900
- siteName,
2901
- ],
2902
- headerParameters: [accept],
2903
- serializer: serializer$3,
2904
- };
2905
- const listBySubscriptionNextOperationSpec$1 = {
2906
- path: "{nextLink}",
2907
- httpMethod: "GET",
2908
- responses: {
2909
- 200: {
2910
- bodyMapper: SpringbootserversListResult,
2911
- },
2912
- default: {
2913
- bodyMapper: ErrorResponse,
2914
- },
2915
- },
2916
- urlParameters: [
2917
- $host,
2918
- subscriptionId,
2919
- nextLink,
2920
- siteName,
2921
- ],
2922
- headerParameters: [accept],
2923
- serializer: serializer$3,
2924
- };
2925
-
2926
- /*
2927
- * Copyright (c) Microsoft Corporation.
2928
- * Licensed under the MIT License.
2929
- *
2930
- * Code generated by Microsoft (R) AutoRest Code Generator.
2931
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2932
- */
2933
- /// <reference lib="esnext.asynciterable" />
2934
- /** Class containing Springbootapps operations. */
2935
- class SpringbootappsImpl {
2936
- /**
2937
- * Initialize a new instance of the class Springbootapps class.
2938
- * @param client Reference to the service client
2939
- */
2940
- constructor(client) {
2941
- this.client = client;
2942
- }
2943
- /**
2944
- * List springbootapps resource by resourceGroup
2945
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2946
- * @param siteName The springbootsites name.
2947
- * @param options The options parameters.
2948
- */
2949
- listByResourceGroup(resourceGroupName, siteName, options) {
2950
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, siteName, options);
2951
- return {
2952
- next() {
2953
- return iter.next();
2954
- },
2955
- [Symbol.asyncIterator]() {
2956
- return this;
2957
- },
2958
- byPage: (settings) => {
2959
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
2960
- throw new Error("maxPageSize is not supported by this operation.");
2961
- }
2962
- return this.listByResourceGroupPagingPage(resourceGroupName, siteName, options, settings);
2963
- },
2964
- };
2965
- }
2966
- listByResourceGroupPagingPage(resourceGroupName, siteName, options, settings) {
2967
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
2968
- let result;
2969
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
2970
- if (!continuationToken) {
2971
- result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, siteName, options));
2972
- let page = result.value || [];
2973
- continuationToken = result.nextLink;
2974
- setContinuationToken(page, continuationToken);
2975
- yield yield tslib.__await(page);
2976
- }
2977
- while (continuationToken) {
2978
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, siteName, continuationToken, options));
2979
- continuationToken = result.nextLink;
2980
- let page = result.value || [];
2981
- setContinuationToken(page, continuationToken);
2982
- yield yield tslib.__await(page);
2983
- }
2984
- });
2985
- }
2986
- listByResourceGroupPagingAll(resourceGroupName, siteName, options) {
2987
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2988
- var _a, e_1, _b, _c;
2989
- try {
2990
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, siteName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2991
- _c = _f.value;
2992
- _d = false;
2993
- const page = _c;
2994
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2995
- }
2996
- }
2997
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2998
- finally {
2999
- try {
3000
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3001
- }
3002
- finally { if (e_1) throw e_1.error; }
3003
- }
3004
- });
3005
- }
3006
- /**
3007
- * List springbootapps resource by subscription
3008
- * @param siteName The springbootsites name.
3009
- * @param options The options parameters.
3010
- */
3011
- listBySubscription(siteName, options) {
3012
- const iter = this.listBySubscriptionPagingAll(siteName, options);
3013
- return {
3014
- next() {
3015
- return iter.next();
3016
- },
3017
- [Symbol.asyncIterator]() {
3018
- return this;
3019
- },
3020
- byPage: (settings) => {
3021
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3022
- throw new Error("maxPageSize is not supported by this operation.");
3023
- }
3024
- return this.listBySubscriptionPagingPage(siteName, options, settings);
3025
- },
3026
- };
3027
- }
3028
- listBySubscriptionPagingPage(siteName, options, settings) {
3029
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
3030
- let result;
3031
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3032
- if (!continuationToken) {
3033
- result = yield tslib.__await(this._listBySubscription(siteName, options));
3034
- let page = result.value || [];
3035
- continuationToken = result.nextLink;
3036
- setContinuationToken(page, continuationToken);
3037
- yield yield tslib.__await(page);
3038
- }
3039
- while (continuationToken) {
3040
- result = yield tslib.__await(this._listBySubscriptionNext(siteName, continuationToken, options));
3041
- continuationToken = result.nextLink;
3042
- let page = result.value || [];
3043
- setContinuationToken(page, continuationToken);
3044
- yield yield tslib.__await(page);
3045
- }
3046
- });
3047
- }
3048
- listBySubscriptionPagingAll(siteName, options) {
3049
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
3050
- var _a, e_2, _b, _c;
3051
- try {
3052
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(siteName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3053
- _c = _f.value;
3054
- _d = false;
3055
- const page = _c;
3056
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3057
- }
3058
- }
3059
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
3060
- finally {
3061
- try {
3062
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3063
- }
3064
- finally { if (e_2) throw e_2.error; }
3065
- }
3066
- });
3067
- }
3068
- /**
3069
- * Get a springbootapps resource.
3070
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3071
- * @param siteName The springbootsites name.
3072
- * @param springbootappsName The springbootapps name.
3073
- * @param options The options parameters.
3074
- */
3075
- get(resourceGroupName, siteName, springbootappsName, options) {
3076
- return this.client.sendOperationRequest({ resourceGroupName, siteName, springbootappsName, options }, getOperationSpec$2);
3077
- }
3078
- /**
3079
- * Update a springbootapps resource.
3080
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3081
- * @param siteName The springbootsites name.
3082
- * @param springbootappsName The springbootapps name.
3083
- * @param springbootapps Update a springbootapps payload.
3084
- * @param options The options parameters.
3085
- */
3086
- beginUpdate(resourceGroupName, siteName, springbootappsName, springbootapps, options) {
3087
- return tslib.__awaiter(this, void 0, void 0, function* () {
3088
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
3089
- return this.client.sendOperationRequest(args, spec);
3090
- });
3091
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
3092
- var _a;
3093
- let currentRawResponse = undefined;
3094
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
3095
- const callback = (rawResponse, flatResponse) => {
3096
- currentRawResponse = rawResponse;
3097
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
3098
- };
3099
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
3100
- const flatResponse = yield directSendOperation(updatedArgs, spec);
3101
- return {
3102
- flatResponse,
3103
- rawResponse: {
3104
- statusCode: currentRawResponse.status,
3105
- body: currentRawResponse.parsedBody,
3106
- headers: currentRawResponse.headers.toJSON(),
3107
- },
3108
- };
3109
- });
3110
- const lro = createLroSpec({
3111
- sendOperationFn,
3112
- args: {
3113
- resourceGroupName,
3114
- siteName,
3115
- springbootappsName,
3116
- springbootapps,
3117
- options,
3118
- },
3119
- spec: updateOperationSpec,
3120
- });
3121
- const poller = yield coreLro.createHttpPoller(lro, {
3122
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3123
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3124
- resourceLocationConfig: "location",
3125
- });
3126
- yield poller.poll();
3127
- return poller;
3128
- });
3129
- }
3130
- /**
3131
- * Update a springbootapps resource.
3132
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3133
- * @param siteName The springbootsites name.
3134
- * @param springbootappsName The springbootapps name.
3135
- * @param springbootapps Update a springbootapps payload.
3136
- * @param options The options parameters.
3137
- */
3138
- beginUpdateAndWait(resourceGroupName, siteName, springbootappsName, springbootapps, options) {
3139
- return tslib.__awaiter(this, void 0, void 0, function* () {
3140
- const poller = yield this.beginUpdate(resourceGroupName, siteName, springbootappsName, springbootapps, options);
3141
- return poller.pollUntilDone();
3142
- });
3143
- }
3144
- /**
3145
- * List springbootapps resource by resourceGroup
3146
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3147
- * @param siteName The springbootsites name.
3148
- * @param options The options parameters.
3149
- */
3150
- _listByResourceGroup(resourceGroupName, siteName, options) {
3151
- return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listByResourceGroupOperationSpec);
3152
- }
3153
- /**
3154
- * List springbootapps resource by subscription
3155
- * @param siteName The springbootsites name.
3156
- * @param options The options parameters.
3157
- */
3158
- _listBySubscription(siteName, options) {
3159
- return this.client.sendOperationRequest({ siteName, options }, listBySubscriptionOperationSpec);
3160
- }
3161
- /**
3162
- * ListByResourceGroupNext
3163
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3164
- * @param siteName The springbootsites name.
3165
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
3166
- * @param options The options parameters.
3167
- */
3168
- _listByResourceGroupNext(resourceGroupName, siteName, nextLink, options) {
3169
- return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listByResourceGroupNextOperationSpec);
3170
- }
3171
- /**
3172
- * ListBySubscriptionNext
3173
- * @param siteName The springbootsites name.
3174
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
3175
- * @param options The options parameters.
3176
- */
3177
- _listBySubscriptionNext(siteName, nextLink, options) {
3178
- return this.client.sendOperationRequest({ siteName, nextLink, options }, listBySubscriptionNextOperationSpec);
3179
- }
3180
- }
3181
- // Operation Specifications
3182
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3183
- const getOperationSpec$2 = {
3184
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootapps/{springbootappsName}",
3185
- httpMethod: "GET",
3186
- responses: {
3187
- 200: {
3188
- bodyMapper: SpringbootappsModel,
3189
- },
3190
- default: {
3191
- bodyMapper: ErrorResponse,
3192
- },
3193
- },
3194
- queryParameters: [apiVersion],
3195
- urlParameters: [
3196
- $host,
3197
- subscriptionId,
3198
- resourceGroupName,
3199
- siteName,
3200
- springbootappsName,
3201
- ],
3202
- headerParameters: [accept],
3203
- serializer: serializer$2,
3204
- };
3205
- const updateOperationSpec = {
3206
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootapps/{springbootappsName}",
3207
- httpMethod: "PATCH",
3208
- responses: {
3209
- 200: {
3210
- bodyMapper: SpringbootappsModel,
3211
- },
3212
- 201: {
3213
- bodyMapper: SpringbootappsModel,
3214
- },
3215
- 202: {
3216
- bodyMapper: SpringbootappsModel,
3217
- },
3218
- 204: {
3219
- bodyMapper: SpringbootappsModel,
3220
- },
3221
- default: {
3222
- bodyMapper: ErrorResponse,
3223
- },
3224
- },
3225
- requestBody: springbootapps,
3226
- queryParameters: [apiVersion],
3227
- urlParameters: [
3228
- $host,
3229
- subscriptionId,
3230
- resourceGroupName,
3231
- siteName,
3232
- springbootappsName,
3233
- ],
3234
- headerParameters: [accept, contentType],
3235
- mediaType: "json",
3236
- serializer: serializer$2,
3237
- };
3238
- const listByResourceGroupOperationSpec = {
3239
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootapps",
3240
- httpMethod: "GET",
3241
- responses: {
3242
- 200: {
3243
- bodyMapper: SpringbootappsListResult,
3244
- },
3245
- default: {
3246
- bodyMapper: ErrorResponse,
3247
- },
3248
- },
3249
- queryParameters: [apiVersion],
3250
- urlParameters: [
3251
- $host,
3252
- subscriptionId,
3253
- resourceGroupName,
3254
- siteName,
3255
- ],
3256
- headerParameters: [accept],
3257
- serializer: serializer$2,
3258
- };
3259
- const listBySubscriptionOperationSpec = {
3260
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootapps",
3261
- httpMethod: "GET",
3262
- responses: {
3263
- 200: {
3264
- bodyMapper: SpringbootappsListResult,
3265
- },
3266
- default: {
3267
- bodyMapper: ErrorResponse,
3268
- },
3269
- },
3270
- queryParameters: [apiVersion],
3271
- urlParameters: [
3272
- $host,
3273
- subscriptionId,
3274
- siteName,
3275
- ],
3276
- headerParameters: [accept],
3277
- serializer: serializer$2,
3278
- };
3279
- const listByResourceGroupNextOperationSpec = {
3280
- path: "{nextLink}",
3281
- httpMethod: "GET",
3282
- responses: {
3283
- 200: {
3284
- bodyMapper: SpringbootappsListResult,
3285
- },
3286
- default: {
3287
- bodyMapper: ErrorResponse,
3288
- },
3289
- },
3290
- urlParameters: [
3291
- $host,
3292
- subscriptionId,
3293
- resourceGroupName,
3294
- nextLink,
3295
- siteName,
3296
- ],
3297
- headerParameters: [accept],
3298
- serializer: serializer$2,
3299
- };
3300
- const listBySubscriptionNextOperationSpec = {
3301
- path: "{nextLink}",
3302
- httpMethod: "GET",
3303
- responses: {
3304
- 200: {
3305
- bodyMapper: SpringbootappsListResult,
3306
- },
3307
- default: {
3308
- bodyMapper: ErrorResponse,
3309
- },
3310
- },
3311
- urlParameters: [
3312
- $host,
3313
- subscriptionId,
3314
- nextLink,
3315
- siteName,
3316
- ],
3317
- headerParameters: [accept],
3318
- serializer: serializer$2,
3319
- };
3320
-
3321
- /*
3322
- * Copyright (c) Microsoft Corporation.
3323
- * Licensed under the MIT License.
3324
- *
3325
- * Code generated by Microsoft (R) AutoRest Code Generator.
3326
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3327
- */
3328
- /// <reference lib="esnext.asynciterable" />
3329
- /** Class containing Summaries operations. */
3330
- class SummariesImpl {
3331
- /**
3332
- * Initialize a new instance of the class Summaries class.
3333
- * @param client Reference to the service client
3334
- */
3335
- constructor(client) {
3336
- this.client = client;
3337
- }
3338
- /**
3339
- * Lists the Summaries resource in springbootsites.
3340
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3341
- * @param siteName The springbootsites name.
3342
- * @param options The options parameters.
3343
- */
3344
- listBySite(resourceGroupName, siteName, options) {
3345
- const iter = this.listBySitePagingAll(resourceGroupName, siteName, options);
3346
- return {
3347
- next() {
3348
- return iter.next();
3349
- },
3350
- [Symbol.asyncIterator]() {
3351
- return this;
3352
- },
3353
- byPage: (settings) => {
3354
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3355
- throw new Error("maxPageSize is not supported by this operation.");
3356
- }
3357
- return this.listBySitePagingPage(resourceGroupName, siteName, options, settings);
3358
- },
3359
- };
3360
- }
3361
- listBySitePagingPage(resourceGroupName, siteName, options, settings) {
3362
- return tslib.__asyncGenerator(this, arguments, function* listBySitePagingPage_1() {
3363
- let result;
3364
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3365
- if (!continuationToken) {
3366
- result = yield tslib.__await(this._listBySite(resourceGroupName, siteName, options));
3367
- let page = result.value || [];
3368
- continuationToken = result.nextLink;
3369
- setContinuationToken(page, continuationToken);
3370
- yield yield tslib.__await(page);
3371
- }
3372
- while (continuationToken) {
3373
- result = yield tslib.__await(this._listBySiteNext(resourceGroupName, siteName, continuationToken, options));
3374
- continuationToken = result.nextLink;
3375
- let page = result.value || [];
3376
- setContinuationToken(page, continuationToken);
3377
- yield yield tslib.__await(page);
3378
- }
3379
- });
3380
- }
3381
- listBySitePagingAll(resourceGroupName, siteName, options) {
3382
- return tslib.__asyncGenerator(this, arguments, function* listBySitePagingAll_1() {
3383
- var _a, e_1, _b, _c;
3384
- try {
3385
- for (var _d = true, _e = tslib.__asyncValues(this.listBySitePagingPage(resourceGroupName, siteName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3386
- _c = _f.value;
3387
- _d = false;
3388
- const page = _c;
3389
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3390
- }
3391
- }
3392
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3393
- finally {
3394
- try {
3395
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3396
- }
3397
- finally { if (e_1) throw e_1.error; }
3398
- }
3399
- });
3400
- }
3401
- /**
3402
- * Gets the Summaries resource.
3403
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3404
- * @param siteName The springbootsites name.
3405
- * @param summaryName The name of summary
3406
- * @param options The options parameters.
3407
- */
3408
- get(resourceGroupName, siteName, summaryName, options) {
3409
- return this.client.sendOperationRequest({ resourceGroupName, siteName, summaryName, options }, getOperationSpec$1);
3410
- }
3411
- /**
3412
- * Lists the Summaries resource in springbootsites.
3413
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3414
- * @param siteName The springbootsites name.
3415
- * @param options The options parameters.
3416
- */
3417
- _listBySite(resourceGroupName, siteName, options) {
3418
- return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listBySiteOperationSpec$1);
3419
- }
3420
- /**
3421
- * ListBySiteNext
3422
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3423
- * @param siteName The springbootsites name.
3424
- * @param nextLink The nextLink from the previous successful call to the ListBySite method.
3425
- * @param options The options parameters.
3426
- */
3427
- _listBySiteNext(resourceGroupName, siteName, nextLink, options) {
3428
- return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listBySiteNextOperationSpec$1);
3429
- }
3430
- }
3431
- // Operation Specifications
3432
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3433
- const getOperationSpec$1 = {
3434
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries/{summaryName}",
3435
- httpMethod: "GET",
3436
- responses: {
3437
- 200: {
3438
- bodyMapper: Summary,
3439
- },
3440
- default: {
3441
- bodyMapper: ErrorResponse,
3442
- },
3443
- },
3444
- queryParameters: [apiVersion],
3445
- urlParameters: [
3446
- $host,
3447
- subscriptionId,
3448
- resourceGroupName,
3449
- siteName,
3450
- summaryName,
3451
- ],
3452
- headerParameters: [accept],
3453
- serializer: serializer$1,
3454
- };
3455
- const listBySiteOperationSpec$1 = {
3456
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/summaries",
3457
- httpMethod: "GET",
3458
- responses: {
3459
- 200: {
3460
- bodyMapper: SummaryList,
3461
- },
3462
- default: {
3463
- bodyMapper: ErrorResponse,
3464
- },
3465
- },
3466
- queryParameters: [apiVersion],
3467
- urlParameters: [
3468
- $host,
3469
- subscriptionId,
3470
- resourceGroupName,
3471
- siteName,
3472
- ],
3473
- headerParameters: [accept],
3474
- serializer: serializer$1,
3475
- };
3476
- const listBySiteNextOperationSpec$1 = {
3477
- path: "{nextLink}",
3478
- httpMethod: "GET",
3479
- responses: {
3480
- 200: {
3481
- bodyMapper: SummaryList,
3482
- },
3483
- default: {
3484
- bodyMapper: ErrorResponse,
3485
- },
3486
- },
3487
- urlParameters: [
3488
- $host,
3489
- subscriptionId,
3490
- resourceGroupName,
3491
- nextLink,
3492
- siteName,
3493
- ],
3494
- headerParameters: [accept],
3495
- serializer: serializer$1,
3496
- };
3497
-
3498
- /*
3499
- * Copyright (c) Microsoft Corporation.
3500
- * Licensed under the MIT License.
3501
- *
3502
- * Code generated by Microsoft (R) AutoRest Code Generator.
3503
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3504
- */
3505
- /// <reference lib="esnext.asynciterable" />
3506
- /** Class containing ErrorSummaries operations. */
3507
- class ErrorSummariesImpl {
3508
- /**
3509
- * Initialize a new instance of the class ErrorSummaries class.
3510
- * @param client Reference to the service client
3511
- */
3512
- constructor(client) {
3513
- this.client = client;
3514
- }
3515
- /**
3516
- * Lists the ErrorSummaries resource in springbootsites.
3517
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3518
- * @param siteName The springbootsites name.
3519
- * @param options The options parameters.
3520
- */
3521
- listBySite(resourceGroupName, siteName, options) {
3522
- const iter = this.listBySitePagingAll(resourceGroupName, siteName, options);
3523
- return {
3524
- next() {
3525
- return iter.next();
3526
- },
3527
- [Symbol.asyncIterator]() {
3528
- return this;
3529
- },
3530
- byPage: (settings) => {
3531
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
3532
- throw new Error("maxPageSize is not supported by this operation.");
3533
- }
3534
- return this.listBySitePagingPage(resourceGroupName, siteName, options, settings);
3535
- },
3536
- };
3537
- }
3538
- listBySitePagingPage(resourceGroupName, siteName, options, settings) {
3539
- return tslib.__asyncGenerator(this, arguments, function* listBySitePagingPage_1() {
3540
- let result;
3541
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
3542
- if (!continuationToken) {
3543
- result = yield tslib.__await(this._listBySite(resourceGroupName, siteName, options));
3544
- let page = result.value || [];
3545
- continuationToken = result.nextLink;
3546
- setContinuationToken(page, continuationToken);
3547
- yield yield tslib.__await(page);
3548
- }
3549
- while (continuationToken) {
3550
- result = yield tslib.__await(this._listBySiteNext(resourceGroupName, siteName, continuationToken, options));
3551
- continuationToken = result.nextLink;
3552
- let page = result.value || [];
3553
- setContinuationToken(page, continuationToken);
3554
- yield yield tslib.__await(page);
3555
- }
3556
- });
3557
- }
3558
- listBySitePagingAll(resourceGroupName, siteName, options) {
3559
- return tslib.__asyncGenerator(this, arguments, function* listBySitePagingAll_1() {
3560
- var _a, e_1, _b, _c;
3561
- try {
3562
- for (var _d = true, _e = tslib.__asyncValues(this.listBySitePagingPage(resourceGroupName, siteName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3563
- _c = _f.value;
3564
- _d = false;
3565
- const page = _c;
3566
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3567
- }
3568
- }
3569
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3570
- finally {
3571
- try {
3572
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3573
- }
3574
- finally { if (e_1) throw e_1.error; }
3575
- }
3576
- });
3577
- }
3578
- /**
3579
- * Gets the ErrorSummaries resource.
3580
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3581
- * @param siteName The springbootsites name.
3582
- * @param errorSummaryName The name of error summary
3583
- * @param options The options parameters.
3584
- */
3585
- get(resourceGroupName, siteName, errorSummaryName, options) {
3586
- return this.client.sendOperationRequest({ resourceGroupName, siteName, errorSummaryName, options }, getOperationSpec);
3587
- }
3588
- /**
3589
- * Lists the ErrorSummaries resource in springbootsites.
3590
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3591
- * @param siteName The springbootsites name.
3592
- * @param options The options parameters.
3593
- */
3594
- _listBySite(resourceGroupName, siteName, options) {
3595
- return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listBySiteOperationSpec);
3596
- }
3597
- /**
3598
- * ListBySiteNext
3599
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3600
- * @param siteName The springbootsites name.
3601
- * @param nextLink The nextLink from the previous successful call to the ListBySite method.
3602
- * @param options The options parameters.
3603
- */
3604
- _listBySiteNext(resourceGroupName, siteName, nextLink, options) {
3605
- return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listBySiteNextOperationSpec);
3606
- }
3607
- }
3608
- // Operation Specifications
3609
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3610
- const getOperationSpec = {
3611
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/errorSummaries/{errorSummaryName}",
3612
- httpMethod: "GET",
3613
- responses: {
3614
- 200: {
3615
- bodyMapper: ErrorSummary,
3616
- },
3617
- default: {
3618
- bodyMapper: ErrorResponse,
3619
- },
3620
- },
3621
- queryParameters: [apiVersion],
3622
- urlParameters: [
3623
- $host,
3624
- subscriptionId,
3625
- resourceGroupName,
3626
- siteName,
3627
- errorSummaryName,
3628
- ],
3629
- headerParameters: [accept],
3630
- serializer,
3631
- };
3632
- const listBySiteOperationSpec = {
3633
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/errorSummaries",
3634
- httpMethod: "GET",
3635
- responses: {
3636
- 200: {
3637
- bodyMapper: ErrorSummaryList,
3638
- },
3639
- default: {
3640
- bodyMapper: ErrorResponse,
3641
- },
3642
- },
3643
- queryParameters: [apiVersion],
3644
- urlParameters: [
3645
- $host,
3646
- subscriptionId,
3647
- resourceGroupName,
3648
- siteName,
3649
- ],
3650
- headerParameters: [accept],
3651
- serializer,
3652
- };
3653
- const listBySiteNextOperationSpec = {
3654
- path: "{nextLink}",
3655
- httpMethod: "GET",
3656
- responses: {
3657
- 200: {
3658
- bodyMapper: ErrorSummaryList,
3659
- },
3660
- default: {
3661
- bodyMapper: ErrorResponse,
3662
- },
3663
- },
3664
- urlParameters: [
3665
- $host,
3666
- subscriptionId,
3667
- resourceGroupName,
3668
- nextLink,
3669
- siteName,
3670
- ],
3671
- headerParameters: [accept],
3672
- serializer,
3673
- };
3674
-
3675
- /*
3676
- * Copyright (c) Microsoft Corporation.
3677
- * Licensed under the MIT License.
3678
- *
3679
- * Code generated by Microsoft (R) AutoRest Code Generator.
3680
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3681
- */
3682
- class SpringAppDiscoveryManagementClient extends coreClient__namespace.ServiceClient {
3683
- /**
3684
- * Initializes a new instance of the SpringAppDiscoveryManagementClient class.
3685
- * @param credentials Subscription credentials which uniquely identify client subscription.
3686
- * @param subscriptionId The ID of the target subscription.
3687
- * @param options The parameter options
3688
- */
3689
- constructor(credentials, subscriptionId, options) {
3690
- var _a, _b, _c;
3691
- if (credentials === undefined) {
3692
- throw new Error("'credentials' cannot be null");
3693
- }
3694
- if (subscriptionId === undefined) {
3695
- throw new Error("'subscriptionId' cannot be null");
3696
- }
3697
- // Initializing default values for options
3698
- if (!options) {
3699
- options = {};
3700
- }
3701
- const defaults = {
3702
- requestContentType: "application/json; charset=utf-8",
3703
- credential: credentials,
3704
- };
3705
- const packageDetails = `azsdk-js-arm-springappdiscovery/1.0.0-beta.1`;
3706
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
3707
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
3708
- : `${packageDetails}`;
3709
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
3710
- userAgentPrefix,
3711
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
3712
- super(optionsWithDefaults);
3713
- let bearerTokenAuthenticationPolicyFound = false;
3714
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
3715
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
3716
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
3717
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
3718
- }
3719
- if (!options ||
3720
- !options.pipeline ||
3721
- options.pipeline.getOrderedPolicies().length == 0 ||
3722
- !bearerTokenAuthenticationPolicyFound) {
3723
- this.pipeline.removePolicy({
3724
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
3725
- });
3726
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
3727
- credential: credentials,
3728
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
3729
- challengeCallbacks: {
3730
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
3731
- },
3732
- }));
3733
- }
3734
- // Parameter assignments
3735
- this.subscriptionId = subscriptionId;
3736
- // Assigning values to Constant parameters
3737
- this.$host = options.$host || "https://management.azure.com";
3738
- this.apiVersion = options.apiVersion || "2023-01-01-preview";
3739
- this.springbootsites = new SpringbootsitesImpl(this);
3740
- this.operations = new OperationsImpl(this);
3741
- this.springbootservers = new SpringbootserversImpl(this);
3742
- this.springbootapps = new SpringbootappsImpl(this);
3743
- this.summaries = new SummariesImpl(this);
3744
- this.errorSummaries = new ErrorSummariesImpl(this);
3745
- this.addCustomApiVersionPolicy(options.apiVersion);
3746
- }
3747
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
3748
- addCustomApiVersionPolicy(apiVersion) {
3749
- if (!apiVersion) {
3750
- return;
3751
- }
3752
- const apiVersionPolicy = {
3753
- name: "CustomApiVersionPolicy",
3754
- sendRequest(request, next) {
3755
- return tslib.__awaiter(this, void 0, void 0, function* () {
3756
- const param = request.url.split("?");
3757
- if (param.length > 1) {
3758
- const newParams = param[1].split("&").map((item) => {
3759
- if (item.indexOf("api-version") > -1) {
3760
- return "api-version=" + apiVersion;
3761
- }
3762
- else {
3763
- return item;
3764
- }
3765
- });
3766
- request.url = param[0] + "?" + newParams.join("&");
3767
- }
3768
- return next(request);
3769
- });
3770
- },
3771
- };
3772
- this.pipeline.addPolicy(apiVersionPolicy);
3773
- }
3774
- }
3775
-
3776
- exports.SpringAppDiscoveryManagementClient = SpringAppDiscoveryManagementClient;
3777
- exports.getContinuationToken = getContinuationToken;
3778
- //# sourceMappingURL=index.js.map