@azure/arm-resourcesdeployments 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 (385) hide show
  1. package/README.md +11 -11
  2. package/dist/browser/api/deploymentOperations/index.d.ts +3 -0
  3. package/dist/browser/api/deploymentOperations/index.js +4 -0
  4. package/dist/browser/api/deploymentOperations/index.js.map +1 -0
  5. package/dist/browser/api/deploymentOperations/operations.d.ts +46 -0
  6. package/dist/browser/api/deploymentOperations/operations.js +282 -0
  7. package/dist/browser/api/deploymentOperations/operations.js.map +1 -0
  8. package/dist/browser/api/deploymentOperations/options.d.ts +42 -0
  9. package/dist/browser/api/deploymentOperations/options.js +4 -0
  10. package/dist/browser/api/deploymentOperations/options.js.map +1 -0
  11. package/dist/browser/api/deployments/index.d.ts +3 -0
  12. package/dist/browser/api/deployments/index.js +4 -0
  13. package/dist/browser/api/deployments/index.js.map +1 -0
  14. package/dist/browser/api/deployments/operations.d.ts +187 -0
  15. package/dist/browser/api/deployments/operations.js +1301 -0
  16. package/dist/browser/api/deployments/operations.js.map +1 -0
  17. package/dist/browser/api/deployments/options.d.ts +195 -0
  18. package/dist/browser/api/deployments/options.js +4 -0
  19. package/dist/browser/api/deployments/options.js.map +1 -0
  20. package/dist/browser/api/deploymentsContext.d.ts +22 -0
  21. package/dist/browser/api/deploymentsContext.js +26 -0
  22. package/dist/browser/api/deploymentsContext.js.map +1 -0
  23. package/dist/browser/api/index.d.ts +3 -0
  24. package/dist/browser/api/index.js +4 -0
  25. package/dist/browser/api/index.js.map +1 -0
  26. package/dist/browser/classic/deploymentOperations/index.d.ts +29 -0
  27. package/dist/browser/classic/deploymentOperations/index.js +23 -0
  28. package/dist/browser/classic/deploymentOperations/index.js.map +1 -0
  29. package/dist/browser/classic/deployments/index.d.ts +177 -0
  30. package/dist/browser/classic/deployments/index.js +211 -0
  31. package/dist/browser/classic/deployments/index.js.map +1 -0
  32. package/dist/browser/classic/index.d.ts +3 -0
  33. package/dist/browser/classic/index.js +4 -0
  34. package/dist/browser/classic/index.js.map +1 -0
  35. package/dist/browser/deploymentsClient.d.ts +16 -20
  36. package/dist/browser/deploymentsClient.js +27 -86
  37. package/dist/browser/deploymentsClient.js.map +1 -1
  38. package/dist/browser/index.d.ts +16 -3
  39. package/dist/browser/index.js +7 -11
  40. package/dist/browser/index.js.map +1 -1
  41. package/dist/browser/logger.d.ts +2 -0
  42. package/dist/browser/logger.js +5 -0
  43. package/dist/browser/logger.js.map +1 -0
  44. package/dist/browser/models/index.d.ts +2 -1540
  45. package/dist/browser/models/index.js +3 -131
  46. package/dist/browser/models/index.js.map +1 -1
  47. package/dist/browser/models/models.d.ts +966 -0
  48. package/dist/browser/models/models.js +925 -0
  49. package/dist/browser/models/models.js.map +1 -0
  50. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  51. package/dist/browser/restorePollerHelpers.js +157 -0
  52. package/dist/browser/restorePollerHelpers.js.map +1 -0
  53. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  54. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  55. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  56. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  57. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  58. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  59. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  60. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  61. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  62. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  63. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  64. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  65. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  66. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  67. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  68. package/dist/commonjs/api/deploymentOperations/index.d.ts +3 -0
  69. package/dist/commonjs/api/deploymentOperations/index.js +46 -0
  70. package/dist/commonjs/api/deploymentOperations/index.js.map +7 -0
  71. package/dist/commonjs/api/deploymentOperations/operations.d.ts +46 -0
  72. package/dist/commonjs/api/deploymentOperations/operations.js +430 -0
  73. package/dist/commonjs/api/deploymentOperations/operations.js.map +7 -0
  74. package/dist/commonjs/api/deploymentOperations/options.d.ts +42 -0
  75. package/dist/commonjs/api/deploymentOperations/options.js +16 -0
  76. package/dist/commonjs/api/deploymentOperations/options.js.map +7 -0
  77. package/dist/commonjs/api/deployments/index.d.ts +3 -0
  78. package/dist/commonjs/api/deployments/index.js +116 -0
  79. package/dist/commonjs/api/deployments/index.js.map +7 -0
  80. package/dist/commonjs/api/deployments/operations.d.ts +187 -0
  81. package/dist/commonjs/api/deployments/operations.js +1824 -0
  82. package/dist/commonjs/api/deployments/operations.js.map +7 -0
  83. package/dist/commonjs/api/deployments/options.d.ts +195 -0
  84. package/dist/commonjs/api/deployments/options.js +16 -0
  85. package/dist/commonjs/api/deployments/options.js.map +7 -0
  86. package/dist/commonjs/api/deploymentsContext.d.ts +22 -0
  87. package/dist/commonjs/api/deploymentsContext.js +47 -0
  88. package/dist/commonjs/api/deploymentsContext.js.map +7 -0
  89. package/dist/commonjs/api/index.d.ts +3 -0
  90. package/dist/commonjs/api/index.js +28 -0
  91. package/dist/commonjs/api/index.js.map +7 -0
  92. package/dist/commonjs/classic/deploymentOperations/index.d.ts +29 -0
  93. package/dist/commonjs/classic/deploymentOperations/index.js +47 -0
  94. package/dist/commonjs/classic/deploymentOperations/index.js.map +7 -0
  95. package/dist/commonjs/classic/deployments/index.d.ts +177 -0
  96. package/dist/commonjs/classic/deployments/index.js +282 -0
  97. package/dist/commonjs/classic/deployments/index.js.map +7 -0
  98. package/dist/commonjs/classic/index.d.ts +3 -0
  99. package/dist/commonjs/classic/index.js +16 -0
  100. package/dist/commonjs/classic/index.js.map +7 -0
  101. package/dist/commonjs/deploymentsClient.d.ts +16 -20
  102. package/dist/commonjs/deploymentsClient.js +56 -99
  103. package/dist/commonjs/deploymentsClient.js.map +7 -1
  104. package/dist/commonjs/index.d.ts +16 -3
  105. package/dist/commonjs/index.js +62 -19
  106. package/dist/commonjs/index.js.map +7 -1
  107. package/dist/commonjs/logger.d.ts +2 -0
  108. package/dist/commonjs/logger.js +29 -0
  109. package/dist/commonjs/logger.js.map +7 -0
  110. package/dist/commonjs/models/index.d.ts +2 -1540
  111. package/dist/commonjs/models/index.js +48 -135
  112. package/dist/commonjs/models/index.js.map +7 -1
  113. package/dist/commonjs/models/models.d.ts +966 -0
  114. package/dist/commonjs/models/models.js +951 -0
  115. package/dist/commonjs/models/models.js.map +7 -0
  116. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  117. package/dist/commonjs/restorePollerHelpers.js +170 -0
  118. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  119. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  120. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  121. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  122. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  123. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  124. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  125. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  126. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  127. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  128. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  129. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  130. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  131. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  132. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  133. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  134. package/dist/commonjs/tsdoc-metadata.json +11 -11
  135. package/dist/esm/api/deploymentOperations/index.d.ts +3 -0
  136. package/dist/esm/api/deploymentOperations/index.js +4 -0
  137. package/dist/esm/api/deploymentOperations/index.js.map +1 -0
  138. package/dist/esm/api/deploymentOperations/operations.d.ts +46 -0
  139. package/dist/esm/api/deploymentOperations/operations.js +282 -0
  140. package/dist/esm/api/deploymentOperations/operations.js.map +1 -0
  141. package/dist/esm/api/deploymentOperations/options.d.ts +42 -0
  142. package/dist/esm/api/deploymentOperations/options.js +4 -0
  143. package/dist/esm/api/deploymentOperations/options.js.map +1 -0
  144. package/dist/esm/api/deployments/index.d.ts +3 -0
  145. package/dist/esm/api/deployments/index.js +4 -0
  146. package/dist/esm/api/deployments/index.js.map +1 -0
  147. package/dist/esm/api/deployments/operations.d.ts +187 -0
  148. package/dist/esm/api/deployments/operations.js +1301 -0
  149. package/dist/esm/api/deployments/operations.js.map +1 -0
  150. package/dist/esm/api/deployments/options.d.ts +195 -0
  151. package/dist/esm/api/deployments/options.js +4 -0
  152. package/dist/esm/api/deployments/options.js.map +1 -0
  153. package/dist/esm/api/deploymentsContext.d.ts +22 -0
  154. package/dist/esm/api/deploymentsContext.js +26 -0
  155. package/dist/esm/api/deploymentsContext.js.map +1 -0
  156. package/dist/esm/api/index.d.ts +3 -0
  157. package/dist/esm/api/index.js +4 -0
  158. package/dist/esm/api/index.js.map +1 -0
  159. package/dist/esm/classic/deploymentOperations/index.d.ts +29 -0
  160. package/dist/esm/classic/deploymentOperations/index.js +23 -0
  161. package/dist/esm/classic/deploymentOperations/index.js.map +1 -0
  162. package/dist/esm/classic/deployments/index.d.ts +177 -0
  163. package/dist/esm/classic/deployments/index.js +211 -0
  164. package/dist/esm/classic/deployments/index.js.map +1 -0
  165. package/dist/esm/classic/index.d.ts +3 -0
  166. package/dist/esm/classic/index.js +4 -0
  167. package/dist/esm/classic/index.js.map +1 -0
  168. package/dist/esm/deploymentsClient.d.ts +16 -20
  169. package/dist/esm/deploymentsClient.js +27 -86
  170. package/dist/esm/deploymentsClient.js.map +1 -1
  171. package/dist/esm/index.d.ts +16 -3
  172. package/dist/esm/index.js +7 -11
  173. package/dist/esm/index.js.map +1 -1
  174. package/dist/esm/logger.d.ts +2 -0
  175. package/dist/esm/logger.js +5 -0
  176. package/dist/esm/logger.js.map +1 -0
  177. package/dist/esm/models/index.d.ts +2 -1540
  178. package/dist/esm/models/index.js +3 -131
  179. package/dist/esm/models/index.js.map +1 -1
  180. package/dist/esm/models/models.d.ts +966 -0
  181. package/dist/esm/models/models.js +925 -0
  182. package/dist/esm/models/models.js.map +1 -0
  183. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  184. package/dist/esm/restorePollerHelpers.js +157 -0
  185. package/dist/esm/restorePollerHelpers.js.map +1 -0
  186. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  187. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  188. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  189. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  190. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  191. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  192. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  193. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  194. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  195. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  196. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  197. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  198. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  199. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  200. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  201. package/package.json +150 -99
  202. package/CHANGELOG.md +0 -7
  203. package/dist/browser/deploymentsClient.d.ts.map +0 -1
  204. package/dist/browser/index.d.ts.map +0 -1
  205. package/dist/browser/lroImpl.d.ts +0 -11
  206. package/dist/browser/lroImpl.d.ts.map +0 -1
  207. package/dist/browser/lroImpl.js +0 -21
  208. package/dist/browser/lroImpl.js.map +0 -1
  209. package/dist/browser/models/index.d.ts.map +0 -1
  210. package/dist/browser/models/mappers.d.ts +0 -62
  211. package/dist/browser/models/mappers.d.ts.map +0 -1
  212. package/dist/browser/models/mappers.js +0 -2165
  213. package/dist/browser/models/mappers.js.map +0 -1
  214. package/dist/browser/models/parameters.d.ts +0 -20
  215. package/dist/browser/models/parameters.d.ts.map +0 -1
  216. package/dist/browser/models/parameters.js +0 -184
  217. package/dist/browser/models/parameters.js.map +0 -1
  218. package/dist/browser/operations/deploymentOperations.d.ts +0 -168
  219. package/dist/browser/operations/deploymentOperations.d.ts.map +0 -1
  220. package/dist/browser/operations/deploymentOperations.js +0 -782
  221. package/dist/browser/operations/deploymentOperations.js.map +0 -1
  222. package/dist/browser/operations/deployments.d.ts +0 -628
  223. package/dist/browser/operations/deployments.d.ts.map +0 -1
  224. package/dist/browser/operations/deployments.js +0 -2766
  225. package/dist/browser/operations/deployments.js.map +0 -1
  226. package/dist/browser/operations/index.d.ts +0 -3
  227. package/dist/browser/operations/index.d.ts.map +0 -1
  228. package/dist/browser/operations/index.js +0 -10
  229. package/dist/browser/operations/index.js.map +0 -1
  230. package/dist/browser/operationsInterfaces/deploymentOperations.d.ts +0 -77
  231. package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
  232. package/dist/browser/operationsInterfaces/deploymentOperations.js +0 -9
  233. package/dist/browser/operationsInterfaces/deploymentOperations.js.map +0 -1
  234. package/dist/browser/operationsInterfaces/deployments.d.ts +0 -545
  235. package/dist/browser/operationsInterfaces/deployments.d.ts.map +0 -1
  236. package/dist/browser/operationsInterfaces/deployments.js +0 -9
  237. package/dist/browser/operationsInterfaces/deployments.js.map +0 -1
  238. package/dist/browser/operationsInterfaces/index.d.ts +0 -3
  239. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  240. package/dist/browser/operationsInterfaces/index.js +0 -10
  241. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  242. package/dist/browser/pagingHelper.d.ts +0 -13
  243. package/dist/browser/pagingHelper.d.ts.map +0 -1
  244. package/dist/browser/pagingHelper.js +0 -32
  245. package/dist/browser/pagingHelper.js.map +0 -1
  246. package/dist/commonjs/deploymentsClient.d.ts.map +0 -1
  247. package/dist/commonjs/index.d.ts.map +0 -1
  248. package/dist/commonjs/lroImpl.d.ts +0 -11
  249. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  250. package/dist/commonjs/lroImpl.js +0 -24
  251. package/dist/commonjs/lroImpl.js.map +0 -1
  252. package/dist/commonjs/models/index.d.ts.map +0 -1
  253. package/dist/commonjs/models/mappers.d.ts +0 -62
  254. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  255. package/dist/commonjs/models/mappers.js +0 -2169
  256. package/dist/commonjs/models/mappers.js.map +0 -1
  257. package/dist/commonjs/models/parameters.d.ts +0 -20
  258. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  259. package/dist/commonjs/models/parameters.js +0 -187
  260. package/dist/commonjs/models/parameters.js.map +0 -1
  261. package/dist/commonjs/operations/deploymentOperations.d.ts +0 -168
  262. package/dist/commonjs/operations/deploymentOperations.d.ts.map +0 -1
  263. package/dist/commonjs/operations/deploymentOperations.js +0 -786
  264. package/dist/commonjs/operations/deploymentOperations.js.map +0 -1
  265. package/dist/commonjs/operations/deployments.d.ts +0 -628
  266. package/dist/commonjs/operations/deployments.d.ts.map +0 -1
  267. package/dist/commonjs/operations/deployments.js +0 -2770
  268. package/dist/commonjs/operations/deployments.js.map +0 -1
  269. package/dist/commonjs/operations/index.d.ts +0 -3
  270. package/dist/commonjs/operations/index.d.ts.map +0 -1
  271. package/dist/commonjs/operations/index.js +0 -13
  272. package/dist/commonjs/operations/index.js.map +0 -1
  273. package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +0 -77
  274. package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
  275. package/dist/commonjs/operationsInterfaces/deploymentOperations.js +0 -10
  276. package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +0 -1
  277. package/dist/commonjs/operationsInterfaces/deployments.d.ts +0 -545
  278. package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +0 -1
  279. package/dist/commonjs/operationsInterfaces/deployments.js +0 -10
  280. package/dist/commonjs/operationsInterfaces/deployments.js.map +0 -1
  281. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -3
  282. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  283. package/dist/commonjs/operationsInterfaces/index.js +0 -13
  284. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  285. package/dist/commonjs/pagingHelper.d.ts +0 -13
  286. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  287. package/dist/commonjs/pagingHelper.js +0 -36
  288. package/dist/commonjs/pagingHelper.js.map +0 -1
  289. package/dist/esm/deploymentsClient.d.ts.map +0 -1
  290. package/dist/esm/index.d.ts.map +0 -1
  291. package/dist/esm/lroImpl.d.ts +0 -11
  292. package/dist/esm/lroImpl.d.ts.map +0 -1
  293. package/dist/esm/lroImpl.js +0 -21
  294. package/dist/esm/lroImpl.js.map +0 -1
  295. package/dist/esm/models/index.d.ts.map +0 -1
  296. package/dist/esm/models/mappers.d.ts +0 -62
  297. package/dist/esm/models/mappers.d.ts.map +0 -1
  298. package/dist/esm/models/mappers.js +0 -2165
  299. package/dist/esm/models/mappers.js.map +0 -1
  300. package/dist/esm/models/parameters.d.ts +0 -20
  301. package/dist/esm/models/parameters.d.ts.map +0 -1
  302. package/dist/esm/models/parameters.js +0 -184
  303. package/dist/esm/models/parameters.js.map +0 -1
  304. package/dist/esm/operations/deploymentOperations.d.ts +0 -168
  305. package/dist/esm/operations/deploymentOperations.d.ts.map +0 -1
  306. package/dist/esm/operations/deploymentOperations.js +0 -782
  307. package/dist/esm/operations/deploymentOperations.js.map +0 -1
  308. package/dist/esm/operations/deployments.d.ts +0 -628
  309. package/dist/esm/operations/deployments.d.ts.map +0 -1
  310. package/dist/esm/operations/deployments.js +0 -2766
  311. package/dist/esm/operations/deployments.js.map +0 -1
  312. package/dist/esm/operations/index.d.ts +0 -3
  313. package/dist/esm/operations/index.d.ts.map +0 -1
  314. package/dist/esm/operations/index.js +0 -10
  315. package/dist/esm/operations/index.js.map +0 -1
  316. package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +0 -77
  317. package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
  318. package/dist/esm/operationsInterfaces/deploymentOperations.js +0 -9
  319. package/dist/esm/operationsInterfaces/deploymentOperations.js.map +0 -1
  320. package/dist/esm/operationsInterfaces/deployments.d.ts +0 -545
  321. package/dist/esm/operationsInterfaces/deployments.d.ts.map +0 -1
  322. package/dist/esm/operationsInterfaces/deployments.js +0 -9
  323. package/dist/esm/operationsInterfaces/deployments.js.map +0 -1
  324. package/dist/esm/operationsInterfaces/index.d.ts +0 -3
  325. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  326. package/dist/esm/operationsInterfaces/index.js +0 -10
  327. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  328. package/dist/esm/pagingHelper.d.ts +0 -13
  329. package/dist/esm/pagingHelper.d.ts.map +0 -1
  330. package/dist/esm/pagingHelper.js +0 -32
  331. package/dist/esm/pagingHelper.js.map +0 -1
  332. package/dist/react-native/deploymentsClient.d.ts +0 -22
  333. package/dist/react-native/deploymentsClient.d.ts.map +0 -1
  334. package/dist/react-native/deploymentsClient.js +0 -96
  335. package/dist/react-native/deploymentsClient.js.map +0 -1
  336. package/dist/react-native/index.d.ts +0 -5
  337. package/dist/react-native/index.d.ts.map +0 -1
  338. package/dist/react-native/index.js +0 -13
  339. package/dist/react-native/index.js.map +0 -1
  340. package/dist/react-native/lroImpl.d.ts +0 -11
  341. package/dist/react-native/lroImpl.d.ts.map +0 -1
  342. package/dist/react-native/lroImpl.js +0 -21
  343. package/dist/react-native/lroImpl.js.map +0 -1
  344. package/dist/react-native/models/index.d.ts +0 -1541
  345. package/dist/react-native/models/index.d.ts.map +0 -1
  346. package/dist/react-native/models/index.js +0 -132
  347. package/dist/react-native/models/index.js.map +0 -1
  348. package/dist/react-native/models/mappers.d.ts +0 -62
  349. package/dist/react-native/models/mappers.d.ts.map +0 -1
  350. package/dist/react-native/models/mappers.js +0 -2165
  351. package/dist/react-native/models/mappers.js.map +0 -1
  352. package/dist/react-native/models/parameters.d.ts +0 -20
  353. package/dist/react-native/models/parameters.d.ts.map +0 -1
  354. package/dist/react-native/models/parameters.js +0 -184
  355. package/dist/react-native/models/parameters.js.map +0 -1
  356. package/dist/react-native/operations/deploymentOperations.d.ts +0 -168
  357. package/dist/react-native/operations/deploymentOperations.d.ts.map +0 -1
  358. package/dist/react-native/operations/deploymentOperations.js +0 -782
  359. package/dist/react-native/operations/deploymentOperations.js.map +0 -1
  360. package/dist/react-native/operations/deployments.d.ts +0 -628
  361. package/dist/react-native/operations/deployments.d.ts.map +0 -1
  362. package/dist/react-native/operations/deployments.js +0 -2766
  363. package/dist/react-native/operations/deployments.js.map +0 -1
  364. package/dist/react-native/operations/index.d.ts +0 -3
  365. package/dist/react-native/operations/index.d.ts.map +0 -1
  366. package/dist/react-native/operations/index.js +0 -10
  367. package/dist/react-native/operations/index.js.map +0 -1
  368. package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +0 -77
  369. package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
  370. package/dist/react-native/operationsInterfaces/deploymentOperations.js +0 -9
  371. package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +0 -1
  372. package/dist/react-native/operationsInterfaces/deployments.d.ts +0 -545
  373. package/dist/react-native/operationsInterfaces/deployments.d.ts.map +0 -1
  374. package/dist/react-native/operationsInterfaces/deployments.js +0 -9
  375. package/dist/react-native/operationsInterfaces/deployments.js.map +0 -1
  376. package/dist/react-native/operationsInterfaces/index.d.ts +0 -3
  377. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  378. package/dist/react-native/operationsInterfaces/index.js +0 -10
  379. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  380. package/dist/react-native/package.json +0 -3
  381. package/dist/react-native/pagingHelper.d.ts +0 -13
  382. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  383. package/dist/react-native/pagingHelper.js +0 -32
  384. package/dist/react-native/pagingHelper.js.map +0 -1
  385. package/review/arm-resourcesdeployments-node.api.md +0 -1226
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAkBlC,MAAM,UAAU,8BAA8B,CAAC,IAAS;IACtD,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACd,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,sBAAsB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC9C,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,wCAAwC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAChE,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,IAAI,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;YACjB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;YACd,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAg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AAC;QAC3D,WAAW,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC;YAC/B,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;YACrB,CAAC,CAAC,gDAAgD,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KAC1E,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** Deployment information. */\nexport interface DeploymentExtended extends ExtensionResource {\n /** Deployment properties. */\n properties?: DeploymentPropertiesExtended;\n /** the location of the deployment. */\n location?: string;\n /** Deployment tags */\n tags?: Record<string, string>;\n}\n\nexport function deploymentExtendedDeserializer(item: any): DeploymentExtended {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : deploymentPropertiesExtendedDeserializer(item[\"properties\"]),\n location: item[\"location\"],\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** Deployment properties with additional details. */\nexport interface DeploymentPropertiesExtended {\n /** Denotes the state of provisioning. */\n readonly provisioningState?: ProvisioningState;\n /** The correlation ID of the deployment. */\n readonly correlationId?: string;\n /** The timestamp of the template deployment. */\n readonly timestamp?: Date;\n /** The duration of the template deployment. */\n readonly duration?: string;\n /** Key/value pairs that represent deployment output. */\n readonly outputs?: any;\n /** The list of resource providers needed for the deployment. */\n readonly providers?: Provider[];\n /** The list of deployment dependencies. */\n readonly dependencies?: Dependency[];\n /** The URI referencing the template. */\n readonly templateLink?: TemplateLink;\n /** Deployment parameters. */\n readonly parameters?: any;\n /** The URI referencing the parameters. */\n readonly parametersLink?: ParametersLink;\n /** The extensions used in this deployment. */\n readonly extensions?: DeploymentExtensionDefinition[];\n /** The deployment mode. Possible values are Incremental and Complete. */\n readonly mode?: DeploymentMode;\n /** The debug setting of the deployment. */\n readonly debugSetting?: DebugSetting;\n /** The deployment on error behavior. */\n readonly onErrorDeployment?: OnErrorDeploymentExtended;\n /** The hash produced for the template. */\n readonly templateHash?: string;\n /** Array of provisioned resources. */\n readonly outputResources?: ResourceReference[];\n /** Array of validated resources. */\n readonly validatedResources?: ResourceReference[];\n /** The deployment error. */\n readonly error?: ErrorResponse;\n /** Contains diagnostic information collected during validation process. */\n readonly diagnostics?: DeploymentDiagnosticsDefinition[];\n /** The validation level of the deployment */\n validationLevel?: ValidationLevel;\n}\n\nexport function deploymentPropertiesExtendedDeserializer(item: any): DeploymentPropertiesExtended {\n return {\n provisioningState: item[\"provisioningState\"],\n correlationId: item[\"correlationId\"],\n timestamp: !item[\"timestamp\"] ? item[\"timestamp\"] : new Date(item[\"timestamp\"]),\n duration: item[\"duration\"],\n outputs: item[\"outputs\"],\n providers: !item[\"providers\"]\n ? item[\"providers\"]\n : providerArrayDeserializer(item[\"providers\"]),\n dependencies: !item[\"dependencies\"]\n ? item[\"dependencies\"]\n : dependencyArrayDeserializer(item[\"dependencies\"]),\n templateLink: !item[\"templateLink\"]\n ? item[\"templateLink\"]\n : templateLinkDeserializer(item[\"templateLink\"]),\n parameters: item[\"parameters\"],\n parametersLink: !item[\"parametersLink\"]\n ? item[\"parametersLink\"]\n : parametersLinkDeserializer(item[\"parametersLink\"]),\n extensions: !item[\"extensions\"]\n ? item[\"extensions\"]\n : deploymentExtensionDefinitionArrayDeserializer(item[\"extensions\"]),\n mode: item[\"mode\"],\n debugSetting: !item[\"debugSetting\"]\n ? item[\"debugSetting\"]\n : debugSettingDeserializer(item[\"debugSetting\"]),\n onErrorDeployment: !item[\"onErrorDeployment\"]\n ? item[\"onErrorDeployment\"]\n : onErrorDeploymentExtendedDeserializer(item[\"onErrorDeployment\"]),\n templateHash: item[\"templateHash\"],\n outputResources: !item[\"outputResources\"]\n ? item[\"outputResources\"]\n : resourceReferenceArrayDeserializer(item[\"outputResources\"]),\n validatedResources: !item[\"validatedResources\"]\n ? item[\"validatedResources\"]\n : resourceReferenceArrayDeserializer(item[\"validatedResources\"]),\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n diagnostics: !item[\"diagnostics\"]\n ? item[\"diagnostics\"]\n : deploymentDiagnosticsDefinitionArrayDeserializer(item[\"diagnostics\"]),\n validationLevel: item[\"validationLevel\"],\n };\n}\n\n/** Denotes the state of provisioning. */\nexport enum KnownProvisioningState {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** Accepted */\n Accepted = \"Accepted\",\n /** Running */\n Running = \"Running\",\n /** Ready */\n Ready = \"Ready\",\n /** Creating */\n Creating = \"Creating\",\n /** Created */\n Created = \"Created\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Deleted */\n Deleted = \"Deleted\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Failed */\n Failed = \"Failed\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\",\n}\n\n/**\n * Denotes the state of provisioning. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: NotSpecified \\\n * **Accepted**: Accepted \\\n * **Running**: Running \\\n * **Ready**: Ready \\\n * **Creating**: Creating \\\n * **Created**: Created \\\n * **Deleting**: Deleting \\\n * **Deleted**: Deleted \\\n * **Canceled**: Canceled \\\n * **Failed**: Failed \\\n * **Succeeded**: Succeeded \\\n * **Updating**: Updating\n */\nexport type ProvisioningState = string;\n\nexport function providerArrayDeserializer(result: Array<Provider>): any[] {\n return result.map((item) => {\n return providerDeserializer(item);\n });\n}\n\n/** Resource provider information. */\nexport interface Provider {\n /** The provider ID. */\n readonly id?: string;\n /** The namespace of the resource provider. */\n namespace?: string;\n /** The registration state of the resource provider. */\n readonly registrationState?: string;\n /** The registration policy of the resource provider. */\n readonly registrationPolicy?: string;\n /** The collection of provider resource types. */\n readonly resourceTypes?: ProviderResourceType[];\n /** The provider authorization consent state. */\n providerAuthorizationConsentState?: ProviderAuthorizationConsentState;\n}\n\nexport function providerDeserializer(item: any): Provider {\n return {\n id: item[\"id\"],\n namespace: item[\"namespace\"],\n registrationState: item[\"registrationState\"],\n registrationPolicy: item[\"registrationPolicy\"],\n resourceTypes: !item[\"resourceTypes\"]\n ? item[\"resourceTypes\"]\n : providerResourceTypeArrayDeserializer(item[\"resourceTypes\"]),\n providerAuthorizationConsentState: item[\"providerAuthorizationConsentState\"],\n };\n}\n\nexport function providerResourceTypeArrayDeserializer(result: Array<ProviderResourceType>): any[] {\n return result.map((item) => {\n return providerResourceTypeDeserializer(item);\n });\n}\n\n/** Resource type managed by the resource provider. */\nexport interface ProviderResourceType {\n /** The resource type. */\n resourceType?: string;\n /** The collection of locations where this resource type can be created. */\n locations?: string[];\n /** The location mappings that are supported by this resource type. */\n locationMappings?: ProviderExtendedLocation[];\n /** The aliases that are supported by this resource type. */\n aliases?: Alias[];\n /** The API version. */\n apiVersions?: string[];\n /** The default API version. */\n readonly defaultApiVersion?: string;\n zoneMappings?: ZoneMapping[];\n /** The API profiles for the resource provider. */\n readonly apiProfiles?: ApiProfile[];\n /** The additional capabilities offered by this resource type. */\n capabilities?: string;\n /** The properties. */\n properties?: Record<string, string>;\n}\n\nexport function providerResourceTypeDeserializer(item: any): ProviderResourceType {\n return {\n resourceType: item[\"resourceType\"],\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : item[\"locations\"].map((p: any) => {\n return p;\n }),\n locationMappings: !item[\"locationMappings\"]\n ? item[\"locationMappings\"]\n : providerExtendedLocationArrayDeserializer(item[\"locationMappings\"]),\n aliases: !item[\"aliases\"] ? item[\"aliases\"] : aliasArrayDeserializer(item[\"aliases\"]),\n apiVersions: !item[\"apiVersions\"]\n ? item[\"apiVersions\"]\n : item[\"apiVersions\"].map((p: any) => {\n return p;\n }),\n defaultApiVersion: item[\"defaultApiVersion\"],\n zoneMappings: !item[\"zoneMappings\"]\n ? item[\"zoneMappings\"]\n : zoneMappingArrayDeserializer(item[\"zoneMappings\"]),\n apiProfiles: !item[\"apiProfiles\"]\n ? item[\"apiProfiles\"]\n : apiProfileArrayDeserializer(item[\"apiProfiles\"]),\n capabilities: item[\"capabilities\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : Object.fromEntries(\n Object.entries(item[\"properties\"]).map(([k, p]: [string, any]) => [k, p]),\n ),\n };\n}\n\nexport function providerExtendedLocationArrayDeserializer(\n result: Array<ProviderExtendedLocation>,\n): any[] {\n return result.map((item) => {\n return providerExtendedLocationDeserializer(item);\n });\n}\n\n/** The provider extended location. */\nexport interface ProviderExtendedLocation {\n /** The azure location. */\n location?: string;\n /** The extended location type. */\n type?: string;\n /** The extended locations for the azure location. */\n extendedLocations?: string[];\n}\n\nexport function providerExtendedLocationDeserializer(item: any): ProviderExtendedLocation {\n return {\n location: item[\"location\"],\n type: item[\"type\"],\n extendedLocations: !item[\"extendedLocations\"]\n ? item[\"extendedLocations\"]\n : item[\"extendedLocations\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function aliasArrayDeserializer(result: Array<Alias>): any[] {\n return result.map((item) => {\n return aliasDeserializer(item);\n });\n}\n\n/** The alias type. */\nexport interface Alias {\n /** The alias name. */\n name?: string;\n /** The paths for an alias. */\n paths?: AliasPath[];\n /** The type of the alias. */\n type?: AliasType;\n /** The default path for an alias. */\n defaultPath?: string;\n /** The default pattern for an alias. */\n defaultPattern?: AliasPattern;\n /** The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata */\n readonly defaultMetadata?: AliasPathMetadata;\n}\n\nexport function aliasDeserializer(item: any): Alias {\n return {\n name: item[\"name\"],\n paths: !item[\"paths\"] ? item[\"paths\"] : aliasPathArrayDeserializer(item[\"paths\"]),\n type: item[\"type\"],\n defaultPath: item[\"defaultPath\"],\n defaultPattern: !item[\"defaultPattern\"]\n ? item[\"defaultPattern\"]\n : aliasPatternDeserializer(item[\"defaultPattern\"]),\n defaultMetadata: !item[\"defaultMetadata\"]\n ? item[\"defaultMetadata\"]\n : aliasPathMetadataDeserializer(item[\"defaultMetadata\"]),\n };\n}\n\nexport function aliasPathArrayDeserializer(result: Array<AliasPath>): any[] {\n return result.map((item) => {\n return aliasPathDeserializer(item);\n });\n}\n\n/** The type of the paths for alias. */\nexport interface AliasPath {\n /** The path of an alias. */\n path?: string;\n /** The API versions. */\n apiVersions?: string[];\n /** The pattern for an alias path. */\n pattern?: AliasPattern;\n /** The metadata of the alias path. If missing, fall back to the default metadata of the alias. */\n readonly metadata?: AliasPathMetadata;\n}\n\nexport function aliasPathDeserializer(item: any): AliasPath {\n return {\n path: item[\"path\"],\n apiVersions: !item[\"apiVersions\"]\n ? item[\"apiVersions\"]\n : item[\"apiVersions\"].map((p: any) => {\n return p;\n }),\n pattern: !item[\"pattern\"] ? item[\"pattern\"] : aliasPatternDeserializer(item[\"pattern\"]),\n metadata: !item[\"metadata\"]\n ? item[\"metadata\"]\n : aliasPathMetadataDeserializer(item[\"metadata\"]),\n };\n}\n\n/** The type of the pattern for an alias path. */\nexport interface AliasPattern {\n /** The alias pattern phrase. */\n phrase?: string;\n /** The alias pattern variable. */\n variable?: string;\n /** The type of alias pattern */\n type?: AliasPatternType;\n}\n\nexport function aliasPatternDeserializer(item: any): AliasPattern {\n return {\n phrase: item[\"phrase\"],\n variable: item[\"variable\"],\n type: item[\"type\"],\n };\n}\n\n/** The type of alias pattern */\nexport type AliasPatternType = \"NotSpecified\" | \"Extract\";\n\n/** model interface AliasPathMetadata */\nexport interface AliasPathMetadata {\n /** The type of the token that the alias path is referring to. */\n readonly type?: AliasPathTokenType;\n /** The attributes of the token that the alias path is referring to. */\n readonly attributes?: AliasPathAttributes;\n}\n\nexport function aliasPathMetadataDeserializer(item: any): AliasPathMetadata {\n return {\n type: item[\"type\"],\n attributes: item[\"attributes\"],\n };\n}\n\n/** The type of the token that the alias path is referring to. */\nexport enum KnownAliasPathTokenType {\n /** The token type is not specified. */\n NotSpecified = \"NotSpecified\",\n /** The token type can be anything. */\n Any = \"Any\",\n /** The token type is string. */\n String = \"String\",\n /** The token type is object. */\n Object = \"Object\",\n /** The token type is array. */\n Array = \"Array\",\n /** The token type is integer. */\n Integer = \"Integer\",\n /** The token type is number. */\n Number = \"Number\",\n /** The token type is boolean. */\n Boolean = \"Boolean\",\n}\n\n/**\n * The type of the token that the alias path is referring to. \\\n * {@link KnownAliasPathTokenType} can be used interchangeably with AliasPathTokenType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: The token type is not specified. \\\n * **Any**: The token type can be anything. \\\n * **String**: The token type is string. \\\n * **Object**: The token type is object. \\\n * **Array**: The token type is array. \\\n * **Integer**: The token type is integer. \\\n * **Number**: The token type is number. \\\n * **Boolean**: The token type is boolean.\n */\nexport type AliasPathTokenType = string;\n\n/** The attributes of the token that the alias path is referring to. */\nexport enum KnownAliasPathAttributes {\n /** The token that the alias path is referring to has no attributes. */\n None = \"None\",\n /** The token that the alias path is referring to is modifiable by policies with 'modify' effect. */\n Modifiable = \"Modifiable\",\n}\n\n/**\n * The attributes of the token that the alias path is referring to. \\\n * {@link KnownAliasPathAttributes} can be used interchangeably with AliasPathAttributes,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The token that the alias path is referring to has no attributes. \\\n * **Modifiable**: The token that the alias path is referring to is modifiable by policies with 'modify' effect.\n */\nexport type AliasPathAttributes = string;\n/** The type of the alias. */\nexport type AliasType = \"NotSpecified\" | \"PlainText\" | \"Mask\";\n\nexport function zoneMappingArrayDeserializer(result: Array<ZoneMapping>): any[] {\n return result.map((item) => {\n return zoneMappingDeserializer(item);\n });\n}\n\n/** model interface ZoneMapping */\nexport interface ZoneMapping {\n /** The location of the zone mapping. */\n location?: string;\n zones?: string[];\n}\n\nexport function zoneMappingDeserializer(item: any): ZoneMapping {\n return {\n location: item[\"location\"],\n zones: !item[\"zones\"]\n ? item[\"zones\"]\n : item[\"zones\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function apiProfileArrayDeserializer(result: Array<ApiProfile>): any[] {\n return result.map((item) => {\n return apiProfileDeserializer(item);\n });\n}\n\n/** model interface ApiProfile */\nexport interface ApiProfile {\n /** The profile version. */\n readonly profileVersion?: string;\n /** The API version. */\n readonly apiVersion?: string;\n}\n\nexport function apiProfileDeserializer(item: any): ApiProfile {\n return {\n profileVersion: item[\"profileVersion\"],\n apiVersion: item[\"apiVersion\"],\n };\n}\n\n/** The provider authorization consent state. */\nexport enum KnownProviderAuthorizationConsentState {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** Required */\n Required = \"Required\",\n /** NotRequired */\n NotRequired = \"NotRequired\",\n /** Consented */\n Consented = \"Consented\",\n}\n\n/**\n * The provider authorization consent state. \\\n * {@link KnownProviderAuthorizationConsentState} can be used interchangeably with ProviderAuthorizationConsentState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: NotSpecified \\\n * **Required**: Required \\\n * **NotRequired**: NotRequired \\\n * **Consented**: Consented\n */\nexport type ProviderAuthorizationConsentState = string;\n\nexport function dependencyArrayDeserializer(result: Array<Dependency>): any[] {\n return result.map((item) => {\n return dependencyDeserializer(item);\n });\n}\n\n/** Deployment dependency information. */\nexport interface Dependency {\n /** The list of dependencies. */\n dependsOn?: BasicDependency[];\n /** The ID of the dependency. */\n id?: string;\n /** The dependency resource type. */\n resourceType?: string;\n /** The dependency resource name. */\n resourceName?: string;\n}\n\nexport function dependencyDeserializer(item: any): Dependency {\n return {\n dependsOn: !item[\"dependsOn\"]\n ? item[\"dependsOn\"]\n : basicDependencyArrayDeserializer(item[\"dependsOn\"]),\n id: item[\"id\"],\n resourceType: item[\"resourceType\"],\n resourceName: item[\"resourceName\"],\n };\n}\n\nexport function basicDependencyArrayDeserializer(result: Array<BasicDependency>): any[] {\n return result.map((item) => {\n return basicDependencyDeserializer(item);\n });\n}\n\n/** Deployment dependency information. */\nexport interface BasicDependency {\n /** The ID of the dependency. */\n id?: string;\n /** The dependency resource type. */\n resourceType?: string;\n /** The dependency resource name. */\n resourceName?: string;\n}\n\nexport function basicDependencyDeserializer(item: any): BasicDependency {\n return {\n id: item[\"id\"],\n resourceType: item[\"resourceType\"],\n resourceName: item[\"resourceName\"],\n };\n}\n\n/** Entity representing the reference to the template. */\nexport interface TemplateLink {\n /** The URI of the template to deploy. Use either the uri or id property, but not both. */\n uri?: string;\n /** The resource id of a Template Spec. Use either the id or uri property, but not both. */\n id?: string;\n /** The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs */\n relativePath?: string;\n /** If included, must match the ContentVersion in the template. */\n contentVersion?: string;\n /** The query string (for example, a SAS token) to be used with the templateLink URI. */\n queryString?: string;\n}\n\nexport function templateLinkSerializer(item: TemplateLink): any {\n return {\n uri: item[\"uri\"],\n id: item[\"id\"],\n relativePath: item[\"relativePath\"],\n contentVersion: item[\"contentVersion\"],\n queryString: item[\"queryString\"],\n };\n}\n\nexport function templateLinkDeserializer(item: any): TemplateLink {\n return {\n uri: item[\"uri\"],\n id: item[\"id\"],\n relativePath: item[\"relativePath\"],\n contentVersion: item[\"contentVersion\"],\n queryString: item[\"queryString\"],\n };\n}\n\n/** Entity representing the reference to the deployment parameters. */\nexport interface ParametersLink {\n /** The URI of the parameters file. */\n uri: string;\n /** If included, must match the ContentVersion in the template. */\n contentVersion?: string;\n}\n\nexport function parametersLinkSerializer(item: ParametersLink): any {\n return { uri: item[\"uri\"], contentVersion: item[\"contentVersion\"] };\n}\n\nexport function parametersLinkDeserializer(item: any): ParametersLink {\n return {\n uri: item[\"uri\"],\n contentVersion: item[\"contentVersion\"],\n };\n}\n\nexport function deploymentExtensionDefinitionArrayDeserializer(\n result: Array<DeploymentExtensionDefinition>,\n): any[] {\n return result.map((item) => {\n return deploymentExtensionDefinitionDeserializer(item);\n });\n}\n\n/** model interface DeploymentExtensionDefinition */\nexport interface DeploymentExtensionDefinition {\n /** The alias of the extension as defined in the deployment template. */\n readonly alias?: string;\n /** The extension name. */\n readonly name?: string;\n /** The extension version. */\n readonly version?: string;\n /** The extension configuration ID. It uniquely identifies a deployment control plane within an extension. */\n readonly configId?: string;\n /** The extension configuration. */\n readonly config?: Record<string, DeploymentExtensionConfigItem>;\n}\n\nexport function deploymentExtensionDefinitionDeserializer(\n item: any,\n): DeploymentExtensionDefinition {\n return {\n alias: item[\"alias\"],\n name: item[\"name\"],\n version: item[\"version\"],\n configId: item[\"configId\"],\n config: !item[\"config\"]\n ? item[\"config\"]\n : deploymentExtensionConfigItemRecordDeserializer(item[\"config\"]),\n };\n}\n\nexport function deploymentExtensionConfigItemRecordSerializer(\n item: Record<string, DeploymentExtensionConfigItem>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : deploymentExtensionConfigItemSerializer(item[key]);\n });\n return result;\n}\n\nexport function deploymentExtensionConfigItemRecordDeserializer(\n item: Record<string, any>,\n): Record<string, DeploymentExtensionConfigItem> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : deploymentExtensionConfigItemDeserializer(item[key]);\n });\n return result;\n}\n\n/** model interface DeploymentExtensionConfigItem */\nexport interface DeploymentExtensionConfigItem {\n /** The value type of the extension config property. */\n readonly type?: ExtensionConfigPropertyType;\n /** The value of the extension config property. */\n value?: any;\n /** The Azure Key Vault reference used to retrieve the secret value of the extension config property. */\n keyVaultReference?: KeyVaultParameterReference;\n}\n\nexport function deploymentExtensionConfigItemSerializer(item: DeploymentExtensionConfigItem): any {\n return {\n value: item[\"value\"],\n keyVaultReference: !item[\"keyVaultReference\"]\n ? item[\"keyVaultReference\"]\n : keyVaultParameterReferenceSerializer(item[\"keyVaultReference\"]),\n };\n}\n\nexport function deploymentExtensionConfigItemDeserializer(\n item: any,\n): DeploymentExtensionConfigItem {\n return {\n type: item[\"type\"],\n value: item[\"value\"],\n keyVaultReference: !item[\"keyVaultReference\"]\n ? item[\"keyVaultReference\"]\n : keyVaultParameterReferenceDeserializer(item[\"keyVaultReference\"]),\n };\n}\n\n/** Known values of {@link ExtensionConfigPropertyType} that the service accepts. */\nexport enum KnownExtensionConfigPropertyType {\n /** Property type representing a string value. */\n String = \"String\",\n /** Property type representing an integer value. */\n Int = \"Int\",\n /** Property type representing a boolean value. */\n Bool = \"Bool\",\n /** Property type representing an array value. */\n Array = \"Array\",\n /** Property type representing an object value. */\n Object = \"Object\",\n /** Property type representing a secure string value. */\n SecureString = \"SecureString\",\n /** Property type representing a secure object value. */\n SecureObject = \"SecureObject\",\n}\n\n/** Type of ExtensionConfigPropertyType */\nexport type ExtensionConfigPropertyType = string;\n\n/** Azure Key Vault parameter reference. */\nexport interface KeyVaultParameterReference {\n /** Azure Key Vault reference. */\n keyVault: KeyVaultReference;\n /** Azure Key Vault secret name. */\n secretName: string;\n /** Azure Key Vault secret version. */\n secretVersion?: string;\n}\n\nexport function keyVaultParameterReferenceSerializer(item: KeyVaultParameterReference): any {\n return {\n keyVault: keyVaultReferenceSerializer(item[\"keyVault\"]),\n secretName: item[\"secretName\"],\n secretVersion: item[\"secretVersion\"],\n };\n}\n\nexport function keyVaultParameterReferenceDeserializer(item: any): KeyVaultParameterReference {\n return {\n keyVault: keyVaultReferenceDeserializer(item[\"keyVault\"]),\n secretName: item[\"secretName\"],\n secretVersion: item[\"secretVersion\"],\n };\n}\n\n/** Azure Key Vault reference. */\nexport interface KeyVaultReference {\n /** Azure Key Vault resource id. */\n id: string;\n}\n\nexport function keyVaultReferenceSerializer(item: KeyVaultReference): any {\n return { id: item[\"id\"] };\n}\n\nexport function keyVaultReferenceDeserializer(item: any): KeyVaultReference {\n return {\n id: item[\"id\"],\n };\n}\n\n/** The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. */\nexport type DeploymentMode = \"Incremental\" | \"Complete\";\n\n/** The debug setting. */\nexport interface DebugSetting {\n /** Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations. */\n detailLevel?: string;\n}\n\nexport function debugSettingSerializer(item: DebugSetting): any {\n return { detailLevel: item[\"detailLevel\"] };\n}\n\nexport function debugSettingDeserializer(item: any): DebugSetting {\n return {\n detailLevel: item[\"detailLevel\"],\n };\n}\n\n/** Deployment on error behavior with additional details. */\nexport interface OnErrorDeploymentExtended {\n /** The state of the provisioning for the on error deployment. */\n readonly provisioningState?: string;\n /** The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. */\n type?: OnErrorDeploymentType;\n /** The deployment to be used on error case. */\n deploymentName?: string;\n}\n\nexport function onErrorDeploymentExtendedDeserializer(item: any): OnErrorDeploymentExtended {\n return {\n provisioningState: item[\"provisioningState\"],\n type: item[\"type\"],\n deploymentName: item[\"deploymentName\"],\n };\n}\n\n/** The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. */\nexport type OnErrorDeploymentType = \"LastSuccessful\" | \"SpecificDeployment\";\n\nexport function resourceReferenceArrayDeserializer(result: Array<ResourceReference>): any[] {\n return result.map((item) => {\n return resourceReferenceDeserializer(item);\n });\n}\n\n/** The resource Id model. */\nexport interface ResourceReference {\n /** The fully qualified Azure resource ID. */\n readonly id?: string;\n /** The extension the resource was deployed with. */\n readonly extension?: DeploymentExtensionDefinition;\n /** The resource type. */\n readonly resourceType?: string;\n /** The extensible resource identifiers. */\n readonly identifiers?: any;\n /** The API version the resource was deployed with. */\n readonly apiVersion?: string;\n}\n\nexport function resourceReferenceDeserializer(item: any): ResourceReference {\n return {\n id: item[\"id\"],\n extension: !item[\"extension\"]\n ? item[\"extension\"]\n : deploymentExtensionDefinitionDeserializer(item[\"extension\"]),\n resourceType: item[\"resourceType\"],\n identifiers: item[\"identifiers\"],\n apiVersion: item[\"apiVersion\"],\n };\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorResponse[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorResponseArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorResponseArrayDeserializer(result: Array<ErrorResponse>): any[] {\n return result.map((item) => {\n return errorResponseDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\nexport function deploymentDiagnosticsDefinitionArrayDeserializer(\n result: Array<DeploymentDiagnosticsDefinition>,\n): any[] {\n return result.map((item) => {\n return deploymentDiagnosticsDefinitionDeserializer(item);\n });\n}\n\n/** model interface DeploymentDiagnosticsDefinition */\nexport interface DeploymentDiagnosticsDefinition {\n /** Denotes the additional response level. */\n readonly level: Level;\n /** The error code. */\n readonly code: string;\n /** The error message. */\n readonly message: string;\n /** The error target. */\n readonly target?: string;\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function deploymentDiagnosticsDefinitionDeserializer(\n item: any,\n): DeploymentDiagnosticsDefinition {\n return {\n level: item[\"level\"],\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\n/** Denotes the additional response level. */\nexport enum KnownLevel {\n /** Warning */\n Warning = \"Warning\",\n /** Info */\n Info = \"Info\",\n /** Error */\n Error = \"Error\",\n}\n\n/**\n * Denotes the additional response level. \\\n * {@link KnownLevel} can be used interchangeably with Level,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Warning**: Warning \\\n * **Info**: Info \\\n * **Error**: Error\n */\nexport type Level = string;\n\n/** The level of validation performed on the deployment. */\nexport enum KnownValidationLevel {\n /** Static analysis of the template is performed. */\n Template = \"Template\",\n /** Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Validates that the caller has RBAC write permissions on each resource. */\n Provider = \"Provider\",\n /** Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Skips validating that the caller has RBAC write permissions on each resource. */\n ProviderNoRbac = \"ProviderNoRbac\",\n}\n\n/**\n * The level of validation performed on the deployment. \\\n * {@link KnownValidationLevel} can be used interchangeably with ValidationLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Template**: Static analysis of the template is performed. \\\n * **Provider**: Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Validates that the caller has RBAC write permissions on each resource. \\\n * **ProviderNoRbac**: Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Skips validating that the caller has RBAC write permissions on each resource.\n */\nexport type ValidationLevel = string;\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** An error response for a resource management request. */\nexport interface CloudError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\nexport function cloudErrorDeserializer(item: any): CloudError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n };\n}\n\n/** Deployment operation parameters. */\nexport interface Deployment {\n /** The location to store the deployment data. */\n location?: string;\n /** The deployment properties. */\n properties: DeploymentProperties;\n /** Deployment tags */\n tags?: Record<string, string>;\n /** The Managed Identity configuration for a deployment. */\n identity?: DeploymentIdentity;\n}\n\nexport function deploymentSerializer(item: Deployment): any {\n return {\n location: item[\"location\"],\n properties: deploymentPropertiesSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n identity: !item[\"identity\"] ? item[\"identity\"] : deploymentIdentitySerializer(item[\"identity\"]),\n };\n}\n\n/** Deployment properties. */\nexport interface DeploymentProperties {\n /** The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. */\n template?: any;\n /** The URI of the template. Use either the templateLink property or the template property, but not both. */\n templateLink?: TemplateLink;\n /** Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, DeploymentParameter>;\n /** External input values, used by external tooling for parameter evaluation. */\n externalInputs?: Record<string, DeploymentExternalInput>;\n /** External input definitions, used by external tooling to define expected external input values. */\n externalInputDefinitions?: Record<string, DeploymentExternalInputDefinition>;\n /** The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both. */\n parametersLink?: ParametersLink;\n /** The configurations to use for deployment extensions. The keys of this object are deployment extension aliases as defined in the deployment template. */\n extensionConfigs?: Record<string, Record<string, DeploymentExtensionConfigItem>>;\n /** The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. */\n mode: DeploymentMode;\n /** The debug setting of the deployment. */\n debugSetting?: DebugSetting;\n /** The deployment on error behavior. */\n onErrorDeployment?: OnErrorDeployment;\n /** Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer. */\n expressionEvaluationOptions?: ExpressionEvaluationOptions;\n /** The validation level of the deployment */\n validationLevel?: ValidationLevel;\n}\n\nexport function deploymentPropertiesSerializer(item: DeploymentProperties): any {\n return {\n template: item[\"template\"],\n templateLink: !item[\"templateLink\"]\n ? item[\"templateLink\"]\n : templateLinkSerializer(item[\"templateLink\"]),\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : deploymentParameterRecordSerializer(item[\"parameters\"]),\n externalInputs: !item[\"externalInputs\"]\n ? item[\"externalInputs\"]\n : deploymentExternalInputRecordSerializer(item[\"externalInputs\"]),\n externalInputDefinitions: !item[\"externalInputDefinitions\"]\n ? item[\"externalInputDefinitions\"]\n : deploymentExternalInputDefinitionRecordSerializer(item[\"externalInputDefinitions\"]),\n parametersLink: !item[\"parametersLink\"]\n ? item[\"parametersLink\"]\n : parametersLinkSerializer(item[\"parametersLink\"]),\n extensionConfigs: !item[\"extensionConfigs\"]\n ? item[\"extensionConfigs\"]\n : deploymentExtensionConfigItemRecordRecordSerializer(item[\"extensionConfigs\"]),\n mode: item[\"mode\"],\n debugSetting: !item[\"debugSetting\"]\n ? item[\"debugSetting\"]\n : debugSettingSerializer(item[\"debugSetting\"]),\n onErrorDeployment: !item[\"onErrorDeployment\"]\n ? item[\"onErrorDeployment\"]\n : onErrorDeploymentSerializer(item[\"onErrorDeployment\"]),\n expressionEvaluationOptions: !item[\"expressionEvaluationOptions\"]\n ? item[\"expressionEvaluationOptions\"]\n : expressionEvaluationOptionsSerializer(item[\"expressionEvaluationOptions\"]),\n validationLevel: item[\"validationLevel\"],\n };\n}\n\nexport function deploymentParameterRecordSerializer(\n item: Record<string, DeploymentParameter>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : deploymentParameterSerializer(item[key]);\n });\n return result;\n}\n\n/** Deployment parameter for the template. */\nexport interface DeploymentParameter {\n /** Input value to the parameter . */\n value?: any;\n /** Azure Key Vault parameter reference. */\n reference?: KeyVaultParameterReference;\n /** Input expression to the parameter. */\n expression?: string;\n}\n\nexport function deploymentParameterSerializer(item: DeploymentParameter): any {\n return {\n value: item[\"value\"],\n reference: !item[\"reference\"]\n ? item[\"reference\"]\n : keyVaultParameterReferenceSerializer(item[\"reference\"]),\n expression: item[\"expression\"],\n };\n}\n\nexport function deploymentExternalInputRecordSerializer(\n item: Record<string, DeploymentExternalInput>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : deploymentExternalInputSerializer(item[key]);\n });\n return result;\n}\n\n/** Deployment external input for parameterization. */\nexport interface DeploymentExternalInput {\n /** External input value. */\n value: any;\n}\n\nexport function deploymentExternalInputSerializer(item: DeploymentExternalInput): any {\n return { value: item[\"value\"] };\n}\n\nexport function deploymentExternalInputDefinitionRecordSerializer(\n item: Record<string, DeploymentExternalInputDefinition>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : deploymentExternalInputDefinitionSerializer(item[key]);\n });\n return result;\n}\n\n/** Deployment external input definition for parameterization. */\nexport interface DeploymentExternalInputDefinition {\n /** The kind of external input. */\n kind: string;\n /** Configuration for the external input. */\n config?: any;\n}\n\nexport function deploymentExternalInputDefinitionSerializer(\n item: DeploymentExternalInputDefinition,\n): any {\n return { kind: item[\"kind\"], config: item[\"config\"] };\n}\n\nexport function deploymentExtensionConfigItemRecordRecordSerializer(\n item: Record<string, Record<string, DeploymentExtensionConfigItem>>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : deploymentExtensionConfigItemRecordSerializer(item[key]);\n });\n return result;\n}\n\nexport function deploymentExtensionConfigItemRecordRecordDeserializer(\n item: Record<string, any>,\n): Record<string, Record<string, DeploymentExtensionConfigItem>> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key]\n ? item[key]\n : deploymentExtensionConfigItemRecordDeserializer(item[key]);\n });\n return result;\n}\n\n/** Deployment on error behavior. */\nexport interface OnErrorDeployment {\n /** The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. */\n type?: OnErrorDeploymentType;\n /** The deployment to be used on error case. */\n deploymentName?: string;\n}\n\nexport function onErrorDeploymentSerializer(item: OnErrorDeployment): any {\n return { type: item[\"type\"], deploymentName: item[\"deploymentName\"] };\n}\n\n/** Specifies whether template expressions are evaluated within the scope of the parent template or nested template. */\nexport interface ExpressionEvaluationOptions {\n /** The scope to be used for evaluation of parameters, variables and functions in a nested template. */\n scope?: ExpressionEvaluationOptionsScopeType;\n}\n\nexport function expressionEvaluationOptionsSerializer(item: ExpressionEvaluationOptions): any {\n return { scope: item[\"scope\"] };\n}\n\n/** The scope to be used for evaluation of parameters, variables and functions in a nested template. */\nexport enum KnownExpressionEvaluationOptionsScopeType {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** Outer */\n Outer = \"Outer\",\n /** Inner */\n Inner = \"Inner\",\n}\n\n/**\n * The scope to be used for evaluation of parameters, variables and functions in a nested template. \\\n * {@link KnownExpressionEvaluationOptionsScopeType} can be used interchangeably with ExpressionEvaluationOptionsScopeType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: NotSpecified \\\n * **Outer**: Outer \\\n * **Inner**: Inner\n */\nexport type ExpressionEvaluationOptionsScopeType = string;\n\n/** The Managed Identity configuration for a deployment. */\nexport interface DeploymentIdentity {\n /** The identity type. */\n type: DeploymentIdentityType;\n /** The set of user assigned identities associated with the resource. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity>;\n}\n\nexport function deploymentIdentitySerializer(item: DeploymentIdentity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** The identity type. */\nexport enum KnownDeploymentIdentityType {\n /** None */\n None = \"None\",\n /** UserAssigned */\n UserAssigned = \"UserAssigned\",\n}\n\n/**\n * The identity type. \\\n * {@link KnownDeploymentIdentityType} can be used interchangeably with DeploymentIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: None \\\n * **UserAssigned**: UserAssigned\n */\nexport type DeploymentIdentityType = string;\n\nexport function userAssignedIdentityRecordSerializer(\n item: Record<string, UserAssignedIdentity>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentitySerializer(item[key]);\n });\n return result;\n}\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(_item: UserAssignedIdentity): any {\n return {};\n}\n\n/** Paged collection of DeploymentExtended items */\nexport interface _DeploymentListResult {\n /** The DeploymentExtended items on this page */\n value: DeploymentExtended[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _deploymentListResultDeserializer(item: any): _DeploymentListResult {\n return {\n value: deploymentExtendedArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deploymentExtendedArrayDeserializer(result: Array<DeploymentExtended>): any[] {\n return result.map((item) => {\n return deploymentExtendedDeserializer(item);\n });\n}\n\n/** Information from validate template deployment response. */\nexport interface DeploymentValidateResult {\n /** The deployment validation error. */\n readonly error?: ErrorResponse;\n /** The ID of the deployment. */\n readonly id?: string;\n /** The name of the deployment. */\n readonly name?: string;\n /** The type of the deployment. */\n readonly type?: string;\n /** The template deployment properties. */\n properties?: DeploymentPropertiesExtended;\n}\n\nexport function deploymentValidateResultDeserializer(item: any): DeploymentValidateResult {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : deploymentPropertiesExtendedDeserializer(item[\"properties\"]),\n };\n}\n\n/** The deployment export result. */\nexport interface DeploymentExportResult {\n /** The template content. */\n template?: any;\n}\n\nexport function deploymentExportResultDeserializer(item: any): DeploymentExportResult {\n return {\n template: item[\"template\"],\n };\n}\n\n/** Deployment operation parameters. */\nexport interface ScopedDeployment {\n /** The location to store the deployment data. */\n location: string;\n /** The deployment properties. */\n properties: DeploymentProperties;\n /** Deployment tags */\n tags?: Record<string, string>;\n}\n\nexport function scopedDeploymentSerializer(item: ScopedDeployment): any {\n return {\n location: item[\"location\"],\n properties: deploymentPropertiesSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** Deployment What-if operation parameters. */\nexport interface ScopedDeploymentWhatIf {\n /** The location to store the deployment data. */\n location: string;\n /** The deployment properties. */\n properties: DeploymentWhatIfProperties;\n}\n\nexport function scopedDeploymentWhatIfSerializer(item: ScopedDeploymentWhatIf): any {\n return {\n location: item[\"location\"],\n properties: deploymentWhatIfPropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** Deployment What-if properties. */\nexport interface DeploymentWhatIfProperties extends DeploymentProperties {\n /** Optional What-If operation settings. */\n whatIfSettings?: DeploymentWhatIfSettings;\n}\n\nexport function deploymentWhatIfPropertiesSerializer(item: DeploymentWhatIfProperties): any {\n return {\n template: item[\"template\"],\n templateLink: !item[\"templateLink\"]\n ? item[\"templateLink\"]\n : templateLinkSerializer(item[\"templateLink\"]),\n parameters: !item[\"parameters\"]\n ? item[\"parameters\"]\n : deploymentParameterRecordSerializer(item[\"parameters\"]),\n externalInputs: !item[\"externalInputs\"]\n ? item[\"externalInputs\"]\n : deploymentExternalInputRecordSerializer(item[\"externalInputs\"]),\n externalInputDefinitions: !item[\"externalInputDefinitions\"]\n ? item[\"externalInputDefinitions\"]\n : deploymentExternalInputDefinitionRecordSerializer(item[\"externalInputDefinitions\"]),\n parametersLink: !item[\"parametersLink\"]\n ? item[\"parametersLink\"]\n : parametersLinkSerializer(item[\"parametersLink\"]),\n extensionConfigs: !item[\"extensionConfigs\"]\n ? item[\"extensionConfigs\"]\n : deploymentExtensionConfigItemRecordRecordSerializer(item[\"extensionConfigs\"]),\n mode: item[\"mode\"],\n debugSetting: !item[\"debugSetting\"]\n ? item[\"debugSetting\"]\n : debugSettingSerializer(item[\"debugSetting\"]),\n onErrorDeployment: !item[\"onErrorDeployment\"]\n ? item[\"onErrorDeployment\"]\n : onErrorDeploymentSerializer(item[\"onErrorDeployment\"]),\n expressionEvaluationOptions: !item[\"expressionEvaluationOptions\"]\n ? item[\"expressionEvaluationOptions\"]\n : expressionEvaluationOptionsSerializer(item[\"expressionEvaluationOptions\"]),\n validationLevel: item[\"validationLevel\"],\n whatIfSettings: !item[\"whatIfSettings\"]\n ? item[\"whatIfSettings\"]\n : deploymentWhatIfSettingsSerializer(item[\"whatIfSettings\"]),\n };\n}\n\n/** Deployment What-If operation settings. */\nexport interface DeploymentWhatIfSettings {\n /** The format of the What-If results */\n resultFormat?: WhatIfResultFormat;\n}\n\nexport function deploymentWhatIfSettingsSerializer(item: DeploymentWhatIfSettings): any {\n return { resultFormat: item[\"resultFormat\"] };\n}\n\n/** The format of the What-If results */\nexport type WhatIfResultFormat = \"ResourceIdOnly\" | \"FullResourcePayloads\";\n\n/** Result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results. */\nexport interface WhatIfOperationResult {\n /** Status of the What-If operation. */\n status?: string;\n /** Error when What-If operation fails. */\n error?: ErrorResponse;\n /** List of resource changes predicted by What-If operation. */\n changes?: WhatIfChange[];\n /** List of resource changes predicted by What-If operation. */\n potentialChanges?: WhatIfChange[];\n /** List of resource diagnostics detected by What-If operation. */\n readonly diagnostics?: DeploymentDiagnosticsDefinition[];\n}\n\nexport function whatIfOperationResultDeserializer(item: any): WhatIfOperationResult {\n return {\n status: item[\"status\"],\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _whatIfOperationResultPropertiesDeserializer(item[\"properties\"])),\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n };\n}\n\n/** Deployment operation properties. */\nexport interface WhatIfOperationProperties {\n /** List of resource changes predicted by What-If operation. */\n changes?: WhatIfChange[];\n /** List of resource changes predicted by What-If operation. */\n potentialChanges?: WhatIfChange[];\n /** List of resource diagnostics detected by What-If operation. */\n readonly diagnostics?: DeploymentDiagnosticsDefinition[];\n}\n\nexport function whatIfOperationPropertiesDeserializer(item: any): WhatIfOperationProperties {\n return {\n changes: !item[\"changes\"] ? item[\"changes\"] : whatIfChangeArrayDeserializer(item[\"changes\"]),\n potentialChanges: !item[\"potentialChanges\"]\n ? item[\"potentialChanges\"]\n : whatIfChangeArrayDeserializer(item[\"potentialChanges\"]),\n diagnostics: !item[\"diagnostics\"]\n ? item[\"diagnostics\"]\n : deploymentDiagnosticsDefinitionArrayDeserializer(item[\"diagnostics\"]),\n };\n}\n\nexport function whatIfChangeArrayDeserializer(result: Array<WhatIfChange>): any[] {\n return result.map((item) => {\n return whatIfChangeDeserializer(item);\n });\n}\n\n/** Information about a single resource change predicted by What-If operation. */\nexport interface WhatIfChange {\n /** Resource ID */\n resourceId?: string;\n /** The resource id of the Deployment responsible for this change. */\n deploymentId?: string;\n /** The symbolic name of the resource responsible for this change. */\n symbolicName?: string;\n /** A subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has. */\n identifiers?: any;\n /** The extension the resource was deployed with. */\n extension?: DeploymentExtensionDefinition;\n /** Type of change that will be made to the resource when the deployment is executed. */\n changeType: ChangeType;\n /** The explanation about why the resource is unsupported by What-If. */\n unsupportedReason?: string;\n /** The snapshot of the resource before the deployment is executed. */\n before?: any;\n /** The predicted snapshot of the resource after the deployment is executed. */\n after?: any;\n /** The predicted changes to resource properties. */\n delta?: WhatIfPropertyChange[];\n}\n\nexport function whatIfChangeDeserializer(item: any): WhatIfChange {\n return {\n resourceId: item[\"resourceId\"],\n deploymentId: item[\"deploymentId\"],\n symbolicName: item[\"symbolicName\"],\n identifiers: item[\"identifiers\"],\n extension: !item[\"extension\"]\n ? item[\"extension\"]\n : deploymentExtensionDefinitionDeserializer(item[\"extension\"]),\n changeType: item[\"changeType\"],\n unsupportedReason: item[\"unsupportedReason\"],\n before: item[\"before\"],\n after: item[\"after\"],\n delta: !item[\"delta\"] ? item[\"delta\"] : whatIfPropertyChangeArrayDeserializer(item[\"delta\"]),\n };\n}\n\n/** Type of change that will be made to the resource when the deployment is executed. */\nexport type ChangeType =\n | \"Create\"\n | \"Delete\"\n | \"Ignore\"\n | \"Deploy\"\n | \"NoChange\"\n | \"Modify\"\n | \"Unsupported\";\n\nexport function whatIfPropertyChangeArrayDeserializer(result: Array<WhatIfPropertyChange>): any[] {\n return result.map((item) => {\n return whatIfPropertyChangeDeserializer(item);\n });\n}\n\n/** The predicted change to the resource property. */\nexport interface WhatIfPropertyChange {\n /** The path of the property. */\n path: string;\n /** The type of property change. */\n propertyChangeType: PropertyChangeType;\n /** The value of the property before the deployment is executed. */\n before?: any;\n /** The value of the property after the deployment is executed. */\n after?: any;\n /** Nested property changes. */\n children?: WhatIfPropertyChange[];\n}\n\nexport function whatIfPropertyChangeDeserializer(item: any): WhatIfPropertyChange {\n return {\n path: item[\"path\"],\n propertyChangeType: item[\"propertyChangeType\"],\n before: item[\"before\"],\n after: item[\"after\"],\n children: !item[\"children\"]\n ? item[\"children\"]\n : whatIfPropertyChangeArrayDeserializer(item[\"children\"]),\n };\n}\n\n/** The type of property change. */\nexport type PropertyChangeType = \"Create\" | \"Delete\" | \"Modify\" | \"Array\" | \"NoEffect\";\n\n/** Deployment What-if operation parameters. */\nexport interface DeploymentWhatIf {\n /** The location to store the deployment data. */\n location?: string;\n /** The deployment properties. */\n properties: DeploymentWhatIfProperties;\n}\n\nexport function deploymentWhatIfSerializer(item: DeploymentWhatIf): any {\n return {\n location: item[\"location\"],\n properties: deploymentWhatIfPropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** Result of the request to calculate template hash. It contains a string of minified template and its hash. */\nexport interface TemplateHashResult {\n /** The minified template string. */\n minifiedTemplate?: string;\n /** The template hash. */\n templateHash?: string;\n}\n\nexport function templateHashResultDeserializer(item: any): TemplateHashResult {\n return {\n minifiedTemplate: item[\"minifiedTemplate\"],\n templateHash: item[\"templateHash\"],\n };\n}\n\n/** Deployment operation information. */\nexport interface DeploymentOperation {\n /** Full deployment operation ID. */\n readonly id?: string;\n /** Deployment operation ID. */\n readonly operationId?: string;\n /** Deployment properties. */\n properties?: DeploymentOperationProperties;\n}\n\nexport function deploymentOperationDeserializer(item: any): DeploymentOperation {\n return {\n id: item[\"id\"],\n operationId: item[\"operationId\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : deploymentOperationPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Deployment operation properties. */\nexport interface DeploymentOperationProperties {\n /** The name of the current provisioning operation. */\n readonly provisioningOperation?: ProvisioningOperation;\n /** The state of the provisioning. */\n readonly provisioningState?: string;\n /** The date and time of the operation. */\n readonly timestamp?: Date;\n /** The duration of the operation. */\n readonly duration?: string;\n /** Deployment operation service request id. */\n readonly serviceRequestId?: string;\n /** Operation status code from the resource provider. This property may not be set if a response has not yet been received. */\n readonly statusCode?: string;\n /** Operation status message from the resource provider. This property is optional. It will only be provided if an error was received from the resource provider. */\n readonly statusMessage?: StatusMessage;\n /** The target resource. */\n readonly targetResource?: TargetResource;\n /** The HTTP request message. */\n readonly request?: HttpMessage;\n /** The HTTP response message. */\n readonly response?: HttpMessage;\n}\n\nexport function deploymentOperationPropertiesDeserializer(\n item: any,\n): DeploymentOperationProperties {\n return {\n provisioningOperation: item[\"provisioningOperation\"],\n provisioningState: item[\"provisioningState\"],\n timestamp: !item[\"timestamp\"] ? item[\"timestamp\"] : new Date(item[\"timestamp\"]),\n duration: item[\"duration\"],\n serviceRequestId: item[\"serviceRequestId\"],\n statusCode: item[\"statusCode\"],\n statusMessage: !item[\"statusMessage\"]\n ? item[\"statusMessage\"]\n : statusMessageDeserializer(item[\"statusMessage\"]),\n targetResource: !item[\"targetResource\"]\n ? item[\"targetResource\"]\n : targetResourceDeserializer(item[\"targetResource\"]),\n request: !item[\"request\"] ? item[\"request\"] : httpMessageDeserializer(item[\"request\"]),\n response: !item[\"response\"] ? item[\"response\"] : httpMessageDeserializer(item[\"response\"]),\n };\n}\n\n/** The name of the current provisioning operation. */\nexport type ProvisioningOperation =\n | \"NotSpecified\"\n | \"Create\"\n | \"Delete\"\n | \"Waiting\"\n | \"AzureAsyncOperationWaiting\"\n | \"ResourceCacheWaiting\"\n | \"Action\"\n | \"Read\"\n | \"EvaluateDeploymentOutput\"\n | \"DeploymentCleanup\";\n\n/** Operation status message object. */\nexport interface StatusMessage {\n /** Status of the deployment operation. */\n status?: string;\n /** The error reported by the operation. */\n error?: ErrorResponse;\n}\n\nexport function statusMessageDeserializer(item: any): StatusMessage {\n return {\n status: item[\"status\"],\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n };\n}\n\n/** Target resource. */\nexport interface TargetResource {\n /** The Azure resource ID of the resource. */\n id?: string;\n /** The name of the resource. */\n resourceName?: string;\n /** The type of the resource. */\n resourceType?: string;\n /** The extension the resource was deployed with. */\n extension?: DeploymentExtensionDefinition;\n /** The extensible resource identifiers. */\n identifiers?: any;\n /** The API version the resource was deployed with. */\n apiVersion?: string;\n /** The symbolic name of the resource as defined in the deployment template. */\n symbolicName?: string;\n}\n\nexport function targetResourceDeserializer(item: any): TargetResource {\n return {\n id: item[\"id\"],\n resourceName: item[\"resourceName\"],\n resourceType: item[\"resourceType\"],\n extension: !item[\"extension\"]\n ? item[\"extension\"]\n : deploymentExtensionDefinitionDeserializer(item[\"extension\"]),\n identifiers: item[\"identifiers\"],\n apiVersion: item[\"apiVersion\"],\n symbolicName: item[\"symbolicName\"],\n };\n}\n\n/** HTTP message. */\nexport interface HttpMessage {\n /** HTTP message content. */\n content?: any;\n}\n\nexport function httpMessageDeserializer(item: any): HttpMessage {\n return {\n content: item[\"content\"],\n };\n}\n\n/** List of deployment operations. */\nexport interface _DeploymentOperationsListResult {\n /** The DeploymentOperation items on this page */\n value: DeploymentOperation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _deploymentOperationsListResultDeserializer(\n item: any,\n): _DeploymentOperationsListResult {\n return {\n value: deploymentOperationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deploymentOperationArrayDeserializer(result: Array<DeploymentOperation>): any[] {\n return result.map((item) => {\n return deploymentOperationDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-04-01 API version. */\n V20250401 = \"2025-04-01\",\n}\n\nexport function _whatIfOperationResultPropertiesDeserializer(item: any) {\n return {\n changes: !item[\"changes\"] ? item[\"changes\"] : whatIfChangeArrayDeserializer(item[\"changes\"]),\n potentialChanges: !item[\"potentialChanges\"]\n ? item[\"potentialChanges\"]\n : whatIfChangeArrayDeserializer(item[\"potentialChanges\"]),\n diagnostics: !item[\"diagnostics\"]\n ? item[\"diagnostics\"]\n : deploymentDiagnosticsDefinitionArrayDeserializer(item[\"diagnostics\"]),\n };\n}\n\nexport type DeploymentsCheckExistenceResponse = { body: boolean };\n\nexport type DeploymentsCheckExistenceAtSubscriptionScopeResponse = { body: boolean };\n\nexport type DeploymentsCheckExistenceAtManagementGroupScopeResponse = { body: boolean };\n\nexport type DeploymentsCheckExistenceAtTenantScopeResponse = { body: boolean };\n\nexport type DeploymentsCheckExistenceAtScopeResponse = { body: boolean };\n"]}
@@ -0,0 +1,21 @@
1
+ import { DeploymentsClient } from "./deploymentsClient.js";
2
+ import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import { AbortSignalLike } from "@azure/abort-controller";
4
+ import { PollerLike, OperationState } from "@azure/core-lro";
5
+ export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
6
+ /** Delay to wait until next poll, in milliseconds. */
7
+ updateIntervalInMs?: number;
8
+ /**
9
+ * The signal which can be used to abort requests.
10
+ */
11
+ abortSignal?: AbortSignalLike;
12
+ /** Deserialization function for raw response body */
13
+ processResponseBody?: (result: TResponse) => Promise<TResult>;
14
+ }
15
+ /**
16
+ * Creates a poller from the serialized state of another poller. This can be
17
+ * useful when you want to create pollers on a different host or a poller
18
+ * needs to be constructed after the original one is not in scope.
19
+ */
20
+ export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: DeploymentsClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
21
+ //# sourceMappingURL=restorePollerHelpers.d.ts.map
@@ -0,0 +1,157 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { _whatIfDeserialize, _validateDeserialize, _$deleteDeserialize, _createOrUpdateDeserialize, _whatIfAtSubscriptionScopeDeserialize, _validateAtSubscriptionScopeDeserialize, _deleteAtSubscriptionScopeDeserialize, _createOrUpdateAtSubscriptionScopeDeserialize, _whatIfAtManagementGroupScopeDeserialize, _validateAtManagementGroupScopeDeserialize, _deleteAtManagementGroupScopeDeserialize, _createOrUpdateAtManagementGroupScopeDeserialize, _whatIfAtTenantScopeDeserialize, _validateAtTenantScopeDeserialize, _deleteAtTenantScopeDeserialize, _createOrUpdateAtTenantScopeDeserialize, _validateAtScopeDeserialize, _deleteAtScopeDeserialize, _createOrUpdateAtScopeDeserialize, } from "./api/deployments/operations.js";
4
+ import { getLongRunningPoller } from "./static-helpers/pollingHelpers.js";
5
+ import { deserializeState, } from "@azure/core-lro";
6
+ /**
7
+ * Creates a poller from the serialized state of another poller. This can be
8
+ * useful when you want to create pollers on a different host or a poller
9
+ * needs to be constructed after the original one is not in scope.
10
+ */
11
+ export function restorePoller(client, serializedState, sourceOperation, options) {
12
+ const pollerConfig = deserializeState(serializedState).config;
13
+ const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
14
+ if (!initialRequestUrl || !requestMethod) {
15
+ throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`);
16
+ }
17
+ const resourceLocationConfig = metadata?.["resourceLocationConfig"];
18
+ const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
19
+ const deserializeHelper = options?.processResponseBody ?? deserializer;
20
+ if (!deserializeHelper) {
21
+ throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`);
22
+ }
23
+ const apiVersion = getApiVersionFromUrl(initialRequestUrl);
24
+ return getLongRunningPoller(client["_client"] ?? client, deserializeHelper, expectedStatuses, {
25
+ updateIntervalInMs: options?.updateIntervalInMs,
26
+ abortSignal: options?.abortSignal,
27
+ resourceLocationConfig,
28
+ restoreFrom: serializedState,
29
+ initialRequestUrl,
30
+ apiVersion,
31
+ });
32
+ }
33
+ const deserializeMap = {
34
+ "POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf": { deserializer: _whatIfDeserialize, expectedStatuses: ["200", "202", "201"] },
35
+ "POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": { deserializer: _validateDeserialize, expectedStatuses: ["200", "202", "400", "201"] },
36
+ "DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}": { deserializer: _$deleteDeserialize, expectedStatuses: ["202", "204", "200"] },
37
+ "PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}": { deserializer: _createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] },
38
+ "POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf": {
39
+ deserializer: _whatIfAtSubscriptionScopeDeserialize,
40
+ expectedStatuses: ["200", "202", "201"],
41
+ },
42
+ "POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": {
43
+ deserializer: _validateAtSubscriptionScopeDeserialize,
44
+ expectedStatuses: ["200", "202", "400", "201"],
45
+ },
46
+ "DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}": {
47
+ deserializer: _deleteAtSubscriptionScopeDeserialize,
48
+ expectedStatuses: ["202", "204", "200"],
49
+ },
50
+ "PUT /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}": {
51
+ deserializer: _createOrUpdateAtSubscriptionScopeDeserialize,
52
+ expectedStatuses: ["200", "201", "202"],
53
+ },
54
+ "POST /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf": {
55
+ deserializer: _whatIfAtManagementGroupScopeDeserialize,
56
+ expectedStatuses: ["200", "202", "201"],
57
+ },
58
+ "POST /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": {
59
+ deserializer: _validateAtManagementGroupScopeDeserialize,
60
+ expectedStatuses: ["200", "202", "400", "201"],
61
+ },
62
+ "DELETE /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}": {
63
+ deserializer: _deleteAtManagementGroupScopeDeserialize,
64
+ expectedStatuses: ["202", "204", "200"],
65
+ },
66
+ "PUT /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}": {
67
+ deserializer: _createOrUpdateAtManagementGroupScopeDeserialize,
68
+ expectedStatuses: ["200", "201", "202"],
69
+ },
70
+ "POST /providers/Microsoft.Resources/deployments/{deploymentName}/whatIf": {
71
+ deserializer: _whatIfAtTenantScopeDeserialize,
72
+ expectedStatuses: ["200", "202", "201"],
73
+ },
74
+ "POST /providers/Microsoft.Resources/deployments/{deploymentName}/validate": {
75
+ deserializer: _validateAtTenantScopeDeserialize,
76
+ expectedStatuses: ["200", "202", "400", "201"],
77
+ },
78
+ "DELETE /providers/Microsoft.Resources/deployments/{deploymentName}": {
79
+ deserializer: _deleteAtTenantScopeDeserialize,
80
+ expectedStatuses: ["202", "204", "200"],
81
+ },
82
+ "PUT /providers/Microsoft.Resources/deployments/{deploymentName}": {
83
+ deserializer: _createOrUpdateAtTenantScopeDeserialize,
84
+ expectedStatuses: ["200", "201", "202"],
85
+ },
86
+ "POST /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate": {
87
+ deserializer: _validateAtScopeDeserialize,
88
+ expectedStatuses: ["200", "202", "400", "201"],
89
+ },
90
+ "DELETE /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}": {
91
+ deserializer: _deleteAtScopeDeserialize,
92
+ expectedStatuses: ["202", "204", "200"],
93
+ },
94
+ "PUT /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}": {
95
+ deserializer: _createOrUpdateAtScopeDeserialize,
96
+ expectedStatuses: ["200", "201", "202"],
97
+ },
98
+ };
99
+ function getDeserializationHelper(urlStr, method) {
100
+ const path = new URL(urlStr).pathname;
101
+ const pathParts = path.split("/");
102
+ // Traverse list to match the longest candidate
103
+ // matchedLen: the length of candidate path
104
+ // matchedValue: the matched status code array
105
+ let matchedLen = -1, matchedValue;
106
+ // Iterate the responseMap to find a match
107
+ for (const [key, value] of Object.entries(deserializeMap)) {
108
+ // Extracting the path from the map key which is in format
109
+ // GET /path/foo
110
+ if (!key.startsWith(method)) {
111
+ continue;
112
+ }
113
+ const candidatePath = getPathFromMapKey(key);
114
+ // Get each part of the url path
115
+ const candidateParts = candidatePath.split("/");
116
+ // track if we have found a match to return the values found.
117
+ let found = true;
118
+ for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
119
+ if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
120
+ const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
121
+ // If the current part of the candidate is a "template" part
122
+ // Try to use the suffix of pattern to match the path
123
+ // {guid} ==> $
124
+ // {guid}:export ==> :export$
125
+ const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(pathParts[j] || "");
126
+ if (!isMatched) {
127
+ found = false;
128
+ break;
129
+ }
130
+ continue;
131
+ }
132
+ // If the candidate part is not a template and
133
+ // the parts don't match mark the candidate as not found
134
+ // to move on with the next candidate path.
135
+ if (candidateParts[i] !== pathParts[j]) {
136
+ found = false;
137
+ break;
138
+ }
139
+ }
140
+ // We finished evaluating the current candidate parts
141
+ // Update the matched value if and only if we found the longer pattern
142
+ if (found && candidatePath.length > matchedLen) {
143
+ matchedLen = candidatePath.length;
144
+ matchedValue = value;
145
+ }
146
+ }
147
+ return matchedValue;
148
+ }
149
+ function getPathFromMapKey(mapKey) {
150
+ const pathStart = mapKey.indexOf("/");
151
+ return mapKey.slice(pathStart);
152
+ }
153
+ function getApiVersionFromUrl(urlStr) {
154
+ const url = new URL(urlStr);
155
+ return url.searchParams.get("api-version") ?? undefined;
156
+ }
157
+ //# sourceMappingURL=restorePollerHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,qCAAqC,EACrC,uCAAuC,EACvC,qCAAqC,EACrC,6CAA6C,EAC7C,wCAAwC,EACxC,0CAA0C,EAC1C,wCAAwC,EACxC,gDAAgD,EAChD,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,uCAAuC,EACvC,2BAA2B,EAC3B,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,OAAO,EAGL,gBAAgB,GAEjB,MAAM,iBAAiB,CAAC;AAgBzB;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,MAAyB,EACzB,eAAuB,EACvB,eAAiF,EACjF,OAAuC;IAEvC,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC9D,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC;IACpE,IAAI,CAAC,iBAAiB,IAAI,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CACb,6BAA6B,eAAe,wBAAwB,eAAe,EAAE,IAAI,EAAE,CAC5F,CAAC;IACJ,CAAC;IACD,MAAM,sBAAsB,GAAG,QAAQ,EAAE,CAAC,wBAAwB,CAErD,CAAC;IACd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CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAc;IAC1C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC;AAC1D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DeploymentsClient } from \"./deploymentsClient.js\";\nimport {\n _whatIfDeserialize,\n _validateDeserialize,\n _$deleteDeserialize,\n _createOrUpdateDeserialize,\n _whatIfAtSubscriptionScopeDeserialize,\n _validateAtSubscriptionScopeDeserialize,\n _deleteAtSubscriptionScopeDeserialize,\n _createOrUpdateAtSubscriptionScopeDeserialize,\n _whatIfAtManagementGroupScopeDeserialize,\n _validateAtManagementGroupScopeDeserialize,\n _deleteAtManagementGroupScopeDeserialize,\n _createOrUpdateAtManagementGroupScopeDeserialize,\n _whatIfAtTenantScopeDeserialize,\n _validateAtTenantScopeDeserialize,\n _deleteAtTenantScopeDeserialize,\n _createOrUpdateAtTenantScopeDeserialize,\n _validateAtScopeDeserialize,\n _deleteAtScopeDeserialize,\n _createOrUpdateAtScopeDeserialize,\n} from \"./api/deployments/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n PollerLike,\n OperationState,\n deserializeState,\n ResourceLocationConfig,\n} from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: DeploymentsClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n const apiVersion = getApiVersionFromUrl(initialRequestUrl);\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n apiVersion,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf\":\n { deserializer: _whatIfDeserialize, expectedStatuses: [\"200\", \"202\", \"201\"] },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate\":\n { deserializer: _validateDeserialize, expectedStatuses: [\"200\", \"202\", \"400\", \"201\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}\":\n { deserializer: _$deleteDeserialize, expectedStatuses: [\"202\", \"204\", \"200\"] },\n \"PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}\":\n { deserializer: _createOrUpdateDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf\":\n {\n deserializer: _whatIfAtSubscriptionScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate\":\n {\n deserializer: _validateAtSubscriptionScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"400\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}\":\n {\n deserializer: _deleteAtSubscriptionScopeDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}\":\n {\n deserializer: _createOrUpdateAtSubscriptionScopeDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf\":\n {\n deserializer: _whatIfAtManagementGroupScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"POST /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate\":\n {\n deserializer: _validateAtManagementGroupScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"400\", \"201\"],\n },\n \"DELETE /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}\":\n {\n deserializer: _deleteAtManagementGroupScopeDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}\":\n {\n deserializer: _createOrUpdateAtManagementGroupScopeDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /providers/Microsoft.Resources/deployments/{deploymentName}/whatIf\": {\n deserializer: _whatIfAtTenantScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"POST /providers/Microsoft.Resources/deployments/{deploymentName}/validate\": {\n deserializer: _validateAtTenantScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"400\", \"201\"],\n },\n \"DELETE /providers/Microsoft.Resources/deployments/{deploymentName}\": {\n deserializer: _deleteAtTenantScopeDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /providers/Microsoft.Resources/deployments/{deploymentName}\": {\n deserializer: _createOrUpdateAtTenantScopeDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate\": {\n deserializer: _validateAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"400\", \"201\"],\n },\n \"DELETE /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}\": {\n deserializer: _deleteAtScopeDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}\": {\n deserializer: _createOrUpdateAtScopeDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n\nfunction getApiVersionFromUrl(urlStr: string): string | undefined {\n const url = new URL(urlStr);\n return url.searchParams.get(\"api-version\") ?? undefined;\n}\n"]}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum to describe Azure Cloud environments.
3
+ * @enum {string}
4
+ */
5
+ export declare enum AzureClouds {
6
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
7
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
8
+ /** Azure China cloud */
9
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
10
+ /** Azure US government cloud */
11
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
12
+ }
13
+ /** The supported values for cloud setting as a string literal type */
14
+ export type AzureSupportedClouds = `${AzureClouds}`;
15
+ /**
16
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
17
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
18
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
19
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
20
+ */
21
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
22
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,38 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /**
4
+ * An enum to describe Azure Cloud environments.
5
+ * @enum {string}
6
+ */
7
+ export var AzureClouds;
8
+ (function (AzureClouds) {
9
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
10
+ AzureClouds["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
11
+ /** Azure China cloud */
12
+ AzureClouds["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
13
+ /** Azure US government cloud */
14
+ AzureClouds["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
15
+ })(AzureClouds || (AzureClouds = {}));
16
+ /**
17
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
18
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
19
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
20
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
21
+ */
22
+ export function getArmEndpoint(cloudSetting) {
23
+ if (cloudSetting === undefined) {
24
+ return undefined;
25
+ }
26
+ const cloudEndpoints = {
27
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
28
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
29
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/",
30
+ };
31
+ if (cloudSetting in cloudEndpoints) {
32
+ return cloudEndpoints[cloudSetting];
33
+ }
34
+ else {
35
+ throw new Error(`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`);
36
+ }
37
+ }
38
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudSettingHelpers.js","sourceRoot":"","sources":["../../../src/static-helpers/cloudSettingHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;GAGG;AACH,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,qEAAqE;IACrE,wDAAyC,CAAA;IACzC,wBAAwB;IACxB,sDAAuC,CAAA;IACvC,gCAAgC;IAChC,0DAA2C,CAAA;AAC7C,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAKD;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,YAAmC;IAChE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,cAAc,GAA6C;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,mBAAmB,EAAE,uCAAuC;QAC5D,kBAAkB,EAAE,+BAA+B;KACpD,CAAC;IACF,IAAI,YAAY,IAAI,cAAc,EAAE,CAAC;QACnC,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CACb,0BAA0B,YAAY,6DAA6D,CACpG,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"]}
@@ -0,0 +1,74 @@
1
+ import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
+ /**
3
+ * Options for the byPage method
4
+ */
5
+ export interface PageSettings {
6
+ /**
7
+ * A reference to a specific page to start iterating from.
8
+ */
9
+ continuationToken?: string;
10
+ }
11
+ /**
12
+ * An interface that describes a page of results.
13
+ */
14
+ export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
15
+ /**
16
+ * The token that keeps track of where to continue the iterator
17
+ */
18
+ continuationToken?: string;
19
+ };
20
+ /**
21
+ * An interface that allows async iterable iteration both to completion and by page.
22
+ */
23
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
24
+ /**
25
+ * The next method, part of the iteration protocol
26
+ */
27
+ next(): Promise<IteratorResult<TElement>>;
28
+ /**
29
+ * The connection to the async iterator, part of the iteration protocol
30
+ */
31
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
32
+ /**
33
+ * Return an AsyncIterableIterator that works a page at a time
34
+ */
35
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
36
+ }
37
+ /**
38
+ * An interface that describes how to communicate with the service.
39
+ */
40
+ export interface PagedResult<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
41
+ /**
42
+ * Link to the first page of results.
43
+ */
44
+ firstPageLink?: string;
45
+ /**
46
+ * A method that returns a page of results.
47
+ */
48
+ getPage: (pageLink?: string) => Promise<{
49
+ page: TPage;
50
+ nextPageLink?: string;
51
+ } | undefined>;
52
+ /**
53
+ * a function to implement the `byPage` method on the paged async iterator.
54
+ */
55
+ byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
56
+ /**
57
+ * A function to extract elements from a page.
58
+ */
59
+ toElements?: (page: TPage) => TElement[];
60
+ }
61
+ /**
62
+ * Options for the paging helper
63
+ */
64
+ export interface BuildPagedAsyncIteratorOptions {
65
+ itemName?: string;
66
+ nextLinkName?: string;
67
+ nextLinkMethod?: "GET" | "POST";
68
+ apiVersion?: string;
69
+ }
70
+ /**
71
+ * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
72
+ */
73
+ export declare function buildPagedAsyncIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings, TResponse extends PathUncheckedResponse = PathUncheckedResponse>(client: Client, getInitialResponse: () => PromiseLike<TResponse>, processResponseBody: (result: TResponse) => PromiseLike<unknown>, expectedStatuses: string[], options?: BuildPagedAsyncIteratorOptions): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
74
+ //# sourceMappingURL=pagingHelpers.d.ts.map