@azure/arm-servicelinker 2.2.0-beta.1 → 2.2.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 (487) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/LICENSE +4 -4
  3. package/README.md +29 -19
  4. package/dist/browser/index.d.ts +5 -0
  5. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +18 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/mappers.js +187 -79
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/configurationNames.d.ts +3 -3
  17. package/dist/browser/operations/configurationNames.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/configurationNames.js +26 -43
  19. package/dist/browser/operations/configurationNames.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/connector.d.ts +3 -3
  21. package/dist/browser/operations/connector.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/connector.js +335 -363
  23. package/dist/browser/operations/connector.js.map +1 -0
  24. package/dist/browser/operations/index.d.ts +6 -0
  25. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  26. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
  27. package/dist/browser/operations/index.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/linker.d.ts +3 -3
  29. package/dist/browser/operations/linker.d.ts.map +1 -0
  30. package/dist/browser/operations/linker.js +542 -0
  31. package/dist/browser/operations/linker.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/linkers.d.ts +3 -3
  33. package/dist/browser/operations/linkers.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/linkers.js +133 -165
  35. package/dist/browser/operations/linkers.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  37. package/dist/browser/operations/operations.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  39. package/dist/browser/operations/operations.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationNames.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/configurationNames.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/configurationNames.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/connector.d.ts +1 -1
  44. package/dist/browser/operationsInterfaces/connector.d.ts.map +1 -0
  45. package/dist/browser/operationsInterfaces/connector.js.map +1 -0
  46. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  48. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
  49. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/linker.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/linker.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/linker.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/linkers.d.ts +1 -1
  54. package/dist/browser/operationsInterfaces/linkers.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/linkers.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  58. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  59. package/dist/browser/package.json +3 -0
  60. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  61. package/dist/browser/pagingHelper.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/serviceLinkerManagementClient.d.ts +2 -2
  63. package/dist/browser/serviceLinkerManagementClient.d.ts.map +1 -0
  64. package/{dist-esm/src → dist/browser}/serviceLinkerManagementClient.js +33 -24
  65. package/dist/browser/serviceLinkerManagementClient.js.map +1 -0
  66. package/dist/commonjs/index.d.ts +5 -0
  67. package/dist/commonjs/index.d.ts.map +1 -0
  68. package/dist/commonjs/index.js +19 -0
  69. package/dist/commonjs/index.js.map +1 -0
  70. package/dist/commonjs/lroImpl.d.ts +11 -0
  71. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  72. package/dist/commonjs/lroImpl.js +21 -0
  73. package/dist/commonjs/lroImpl.js.map +1 -0
  74. package/{types/arm-servicelinker.d.ts → dist/commonjs/models/index.d.ts} +1380 -1955
  75. package/dist/commonjs/models/index.d.ts.map +1 -0
  76. package/dist/commonjs/models/index.js +237 -0
  77. package/dist/commonjs/models/index.js.map +1 -0
  78. package/dist/commonjs/models/mappers.d.ts +93 -0
  79. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  80. package/dist/commonjs/models/mappers.js +2056 -0
  81. package/dist/commonjs/models/mappers.js.map +1 -0
  82. package/dist/commonjs/models/parameters.d.ts +21 -0
  83. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  84. package/dist/commonjs/models/parameters.js +186 -0
  85. package/dist/commonjs/models/parameters.js.map +1 -0
  86. package/dist/commonjs/operations/configurationNames.d.ts +34 -0
  87. package/dist/commonjs/operations/configurationNames.d.ts.map +1 -0
  88. package/dist/commonjs/operations/configurationNames.js +127 -0
  89. package/dist/commonjs/operations/configurationNames.js.map +1 -0
  90. package/dist/commonjs/operations/connector.d.ts +223 -0
  91. package/dist/commonjs/operations/connector.d.ts.map +1 -0
  92. package/dist/commonjs/operations/connector.js +988 -0
  93. package/dist/commonjs/operations/connector.js.map +1 -0
  94. package/dist/commonjs/operations/index.d.ts +6 -0
  95. package/dist/commonjs/operations/index.d.ts.map +1 -0
  96. package/dist/commonjs/operations/index.js +16 -0
  97. package/dist/commonjs/operations/index.js.map +1 -0
  98. package/dist/commonjs/operations/linker.d.ts +125 -0
  99. package/dist/commonjs/operations/linker.d.ts.map +1 -0
  100. package/dist/commonjs/operations/linker.js +547 -0
  101. package/dist/commonjs/operations/linker.js.map +1 -0
  102. package/dist/commonjs/operations/linkers.d.ts +123 -0
  103. package/dist/commonjs/operations/linkers.d.ts.map +1 -0
  104. package/dist/commonjs/operations/linkers.js +508 -0
  105. package/dist/commonjs/operations/linkers.js.map +1 -0
  106. package/dist/commonjs/operations/operations.d.ts +32 -0
  107. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  108. package/dist/commonjs/operations/operations.js +121 -0
  109. package/dist/commonjs/operations/operations.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/configurationNames.d.ts +12 -0
  111. package/dist/commonjs/operationsInterfaces/configurationNames.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/configurationNames.js +10 -0
  113. package/dist/commonjs/operationsInterfaces/configurationNames.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/connector.d.ts +176 -0
  115. package/dist/commonjs/operationsInterfaces/connector.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/connector.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/connector.js.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  119. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  121. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/linker.d.ts +99 -0
  123. package/dist/commonjs/operationsInterfaces/linker.d.ts.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/linker.js +10 -0
  125. package/dist/commonjs/operationsInterfaces/linker.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/linkers.d.ts +81 -0
  127. package/dist/commonjs/operationsInterfaces/linkers.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/linkers.js +10 -0
  129. package/dist/commonjs/operationsInterfaces/linkers.js.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  131. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  133. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  134. package/dist/commonjs/package.json +3 -0
  135. package/dist/commonjs/pagingHelper.d.ts +13 -0
  136. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  137. package/dist/commonjs/pagingHelper.js +34 -0
  138. package/dist/commonjs/pagingHelper.js.map +1 -0
  139. package/dist/commonjs/serviceLinkerManagementClient.d.ts +22 -0
  140. package/dist/commonjs/serviceLinkerManagementClient.d.ts.map +1 -0
  141. package/dist/commonjs/serviceLinkerManagementClient.js +112 -0
  142. package/dist/commonjs/serviceLinkerManagementClient.js.map +1 -0
  143. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  144. package/dist/esm/index.d.ts +5 -0
  145. package/dist/esm/index.d.ts.map +1 -0
  146. package/{src/index.ts → dist/esm/index.js} +5 -5
  147. package/dist/esm/index.js.map +1 -0
  148. package/dist/esm/lroImpl.d.ts +11 -0
  149. package/dist/esm/lroImpl.d.ts.map +1 -0
  150. package/dist/esm/lroImpl.js +18 -0
  151. package/dist/esm/lroImpl.js.map +1 -0
  152. package/dist/esm/models/index.d.ts +1380 -0
  153. package/dist/esm/models/index.d.ts.map +1 -0
  154. package/dist/esm/models/index.js +234 -0
  155. package/dist/esm/models/index.js.map +1 -0
  156. package/dist/esm/models/mappers.d.ts +93 -0
  157. package/dist/esm/models/mappers.d.ts.map +1 -0
  158. package/dist/esm/models/mappers.js +2052 -0
  159. package/dist/esm/models/mappers.js.map +1 -0
  160. package/dist/esm/models/parameters.d.ts +21 -0
  161. package/dist/esm/models/parameters.d.ts.map +1 -0
  162. package/dist/esm/models/parameters.js +183 -0
  163. package/dist/esm/models/parameters.js.map +1 -0
  164. package/dist/esm/operations/configurationNames.d.ts +34 -0
  165. package/dist/esm/operations/configurationNames.d.ts.map +1 -0
  166. package/dist/esm/operations/configurationNames.js +122 -0
  167. package/dist/esm/operations/configurationNames.js.map +1 -0
  168. package/dist/esm/operations/connector.d.ts +223 -0
  169. package/dist/esm/operations/connector.d.ts.map +1 -0
  170. package/dist/esm/operations/connector.js +983 -0
  171. package/dist/esm/operations/connector.js.map +1 -0
  172. package/dist/esm/operations/index.d.ts +6 -0
  173. package/dist/esm/operations/index.d.ts.map +1 -0
  174. package/dist/esm/operations/index.js +13 -0
  175. package/dist/esm/operations/index.js.map +1 -0
  176. package/dist/esm/operations/linker.d.ts +125 -0
  177. package/dist/esm/operations/linker.d.ts.map +1 -0
  178. package/dist/esm/operations/linker.js +542 -0
  179. package/dist/esm/operations/linker.js.map +1 -0
  180. package/dist/esm/operations/linkers.d.ts +123 -0
  181. package/dist/esm/operations/linkers.d.ts.map +1 -0
  182. package/dist/esm/operations/linkers.js +503 -0
  183. package/dist/esm/operations/linkers.js.map +1 -0
  184. package/dist/esm/operations/operations.d.ts +32 -0
  185. package/dist/esm/operations/operations.d.ts.map +1 -0
  186. package/dist/esm/operations/operations.js +116 -0
  187. package/dist/esm/operations/operations.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/configurationNames.d.ts +12 -0
  189. package/dist/esm/operationsInterfaces/configurationNames.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/configurationNames.js +9 -0
  191. package/dist/esm/operationsInterfaces/configurationNames.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/connector.d.ts +176 -0
  193. package/dist/esm/operationsInterfaces/connector.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/connector.js +9 -0
  195. package/dist/esm/operationsInterfaces/connector.js.map +1 -0
  196. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  197. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  198. package/dist/esm/operationsInterfaces/index.js +13 -0
  199. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  200. package/dist/esm/operationsInterfaces/linker.d.ts +99 -0
  201. package/dist/esm/operationsInterfaces/linker.d.ts.map +1 -0
  202. package/dist/esm/operationsInterfaces/linker.js +9 -0
  203. package/dist/esm/operationsInterfaces/linker.js.map +1 -0
  204. package/dist/esm/operationsInterfaces/linkers.d.ts +81 -0
  205. package/dist/esm/operationsInterfaces/linkers.d.ts.map +1 -0
  206. package/dist/esm/operationsInterfaces/linkers.js +9 -0
  207. package/dist/esm/operationsInterfaces/linkers.js.map +1 -0
  208. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  209. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  210. package/dist/esm/operationsInterfaces/operations.js +9 -0
  211. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  212. package/dist/esm/package.json +3 -0
  213. package/dist/esm/pagingHelper.d.ts +13 -0
  214. package/dist/esm/pagingHelper.d.ts.map +1 -0
  215. package/dist/esm/pagingHelper.js +30 -0
  216. package/dist/esm/pagingHelper.js.map +1 -0
  217. package/dist/esm/serviceLinkerManagementClient.d.ts +22 -0
  218. package/dist/esm/serviceLinkerManagementClient.d.ts.map +1 -0
  219. package/dist/esm/serviceLinkerManagementClient.js +107 -0
  220. package/dist/esm/serviceLinkerManagementClient.js.map +1 -0
  221. package/dist/react-native/index.d.ts +5 -0
  222. package/dist/react-native/index.d.ts.map +1 -0
  223. package/dist/react-native/index.js +13 -0
  224. package/dist/react-native/index.js.map +1 -0
  225. package/dist/react-native/lroImpl.d.ts +11 -0
  226. package/dist/react-native/lroImpl.d.ts.map +1 -0
  227. package/dist/react-native/lroImpl.js +18 -0
  228. package/dist/react-native/lroImpl.js.map +1 -0
  229. package/dist/react-native/models/index.d.ts +1380 -0
  230. package/dist/react-native/models/index.d.ts.map +1 -0
  231. package/dist/react-native/models/index.js +234 -0
  232. package/dist/react-native/models/index.js.map +1 -0
  233. package/dist/react-native/models/mappers.d.ts +93 -0
  234. package/dist/react-native/models/mappers.d.ts.map +1 -0
  235. package/dist/react-native/models/mappers.js +2052 -0
  236. package/dist/react-native/models/mappers.js.map +1 -0
  237. package/dist/react-native/models/parameters.d.ts +21 -0
  238. package/dist/react-native/models/parameters.d.ts.map +1 -0
  239. package/dist/react-native/models/parameters.js +183 -0
  240. package/dist/react-native/models/parameters.js.map +1 -0
  241. package/dist/react-native/operations/configurationNames.d.ts +34 -0
  242. package/dist/react-native/operations/configurationNames.d.ts.map +1 -0
  243. package/dist/react-native/operations/configurationNames.js +122 -0
  244. package/dist/react-native/operations/configurationNames.js.map +1 -0
  245. package/dist/react-native/operations/connector.d.ts +223 -0
  246. package/dist/react-native/operations/connector.d.ts.map +1 -0
  247. package/dist/react-native/operations/connector.js +983 -0
  248. package/dist/react-native/operations/connector.js.map +1 -0
  249. package/dist/react-native/operations/index.d.ts +6 -0
  250. package/dist/react-native/operations/index.d.ts.map +1 -0
  251. package/dist/react-native/operations/index.js +13 -0
  252. package/dist/react-native/operations/index.js.map +1 -0
  253. package/dist/react-native/operations/linker.d.ts +125 -0
  254. package/dist/react-native/operations/linker.d.ts.map +1 -0
  255. package/dist/react-native/operations/linker.js +542 -0
  256. package/dist/react-native/operations/linker.js.map +1 -0
  257. package/dist/react-native/operations/linkers.d.ts +123 -0
  258. package/dist/react-native/operations/linkers.d.ts.map +1 -0
  259. package/dist/react-native/operations/linkers.js +503 -0
  260. package/dist/react-native/operations/linkers.js.map +1 -0
  261. package/dist/react-native/operations/operations.d.ts +32 -0
  262. package/dist/react-native/operations/operations.d.ts.map +1 -0
  263. package/dist/react-native/operations/operations.js +116 -0
  264. package/dist/react-native/operations/operations.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/configurationNames.d.ts +12 -0
  266. package/dist/react-native/operationsInterfaces/configurationNames.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/configurationNames.js +9 -0
  268. package/dist/react-native/operationsInterfaces/configurationNames.js.map +1 -0
  269. package/dist/react-native/operationsInterfaces/connector.d.ts +176 -0
  270. package/dist/react-native/operationsInterfaces/connector.d.ts.map +1 -0
  271. package/dist/react-native/operationsInterfaces/connector.js +9 -0
  272. package/dist/react-native/operationsInterfaces/connector.js.map +1 -0
  273. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  274. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  275. package/dist/react-native/operationsInterfaces/index.js +13 -0
  276. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  277. package/dist/react-native/operationsInterfaces/linker.d.ts +99 -0
  278. package/dist/react-native/operationsInterfaces/linker.d.ts.map +1 -0
  279. package/dist/react-native/operationsInterfaces/linker.js +9 -0
  280. package/dist/react-native/operationsInterfaces/linker.js.map +1 -0
  281. package/dist/react-native/operationsInterfaces/linkers.d.ts +81 -0
  282. package/dist/react-native/operationsInterfaces/linkers.d.ts.map +1 -0
  283. package/dist/react-native/operationsInterfaces/linkers.js +9 -0
  284. package/dist/react-native/operationsInterfaces/linkers.js.map +1 -0
  285. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  286. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  287. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  288. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  289. package/dist/react-native/package.json +3 -0
  290. package/dist/react-native/pagingHelper.d.ts +13 -0
  291. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  292. package/dist/react-native/pagingHelper.js +30 -0
  293. package/dist/react-native/pagingHelper.js.map +1 -0
  294. package/dist/react-native/serviceLinkerManagementClient.d.ts +22 -0
  295. package/dist/react-native/serviceLinkerManagementClient.d.ts.map +1 -0
  296. package/dist/react-native/serviceLinkerManagementClient.js +107 -0
  297. package/dist/react-native/serviceLinkerManagementClient.js.map +1 -0
  298. package/package.json +84 -65
  299. package/dist/index.js +0 -4947
  300. package/dist/index.js.map +0 -1
  301. package/dist/index.min.js +0 -1
  302. package/dist/index.min.js.map +0 -1
  303. package/dist-esm/samples-dev/configurationNamesListSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/configurationNamesListSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/configurationNamesListSample.js +0 -51
  306. package/dist-esm/samples-dev/configurationNamesListSample.js.map +0 -1
  307. package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts +0 -2
  308. package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/connectorCreateDryrunSample.js +0 -53
  310. package/dist-esm/samples-dev/connectorCreateDryrunSample.js.map +0 -1
  311. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js +0 -49
  314. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js.map +0 -1
  315. package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts +0 -2
  316. package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts.map +0 -1
  317. package/dist-esm/samples-dev/connectorDeleteDryrunSample.js +0 -39
  318. package/dist-esm/samples-dev/connectorDeleteDryrunSample.js.map +0 -1
  319. package/dist-esm/samples-dev/connectorDeleteSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/connectorDeleteSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/connectorDeleteSample.js +0 -39
  322. package/dist-esm/samples-dev/connectorDeleteSample.js.map +0 -1
  323. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts +0 -2
  324. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts.map +0 -1
  325. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js +0 -43
  326. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js.map +0 -1
  327. package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/connectorGetDryrunSample.js +0 -39
  330. package/dist-esm/samples-dev/connectorGetDryrunSample.js.map +0 -1
  331. package/dist-esm/samples-dev/connectorGetSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/connectorGetSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/connectorGetSample.js +0 -39
  334. package/dist-esm/samples-dev/connectorGetSample.js.map +0 -1
  335. package/dist-esm/samples-dev/connectorListDryrunSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/connectorListDryrunSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/connectorListDryrunSample.js +0 -54
  338. package/dist-esm/samples-dev/connectorListDryrunSample.js.map +0 -1
  339. package/dist-esm/samples-dev/connectorListSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/connectorListSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/connectorListSample.js +0 -54
  342. package/dist-esm/samples-dev/connectorListSample.js.map +0 -1
  343. package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts +0 -2
  344. package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/connectorUpdateDryrunSample.js +0 -53
  346. package/dist-esm/samples-dev/connectorUpdateDryrunSample.js.map +0 -1
  347. package/dist-esm/samples-dev/connectorUpdateSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/connectorUpdateSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/connectorUpdateSample.js +0 -51
  350. package/dist-esm/samples-dev/connectorUpdateSample.js.map +0 -1
  351. package/dist-esm/samples-dev/connectorValidateSample.d.ts +0 -2
  352. package/dist-esm/samples-dev/connectorValidateSample.d.ts.map +0 -1
  353. package/dist-esm/samples-dev/connectorValidateSample.js +0 -39
  354. package/dist-esm/samples-dev/connectorValidateSample.js.map +0 -1
  355. package/dist-esm/samples-dev/linkerCreateOrUpdateSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/linkerCreateOrUpdateSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js +0 -49
  358. package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js.map +0 -1
  359. package/dist-esm/samples-dev/linkerDeleteSample.d.ts +0 -2
  360. package/dist-esm/samples-dev/linkerDeleteSample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/linkerDeleteSample.js +0 -37
  362. package/dist-esm/samples-dev/linkerDeleteSample.js.map +0 -1
  363. package/dist-esm/samples-dev/linkerGetSample.d.ts +0 -2
  364. package/dist-esm/samples-dev/linkerGetSample.d.ts.map +0 -1
  365. package/dist-esm/samples-dev/linkerGetSample.js +0 -37
  366. package/dist-esm/samples-dev/linkerGetSample.js.map +0 -1
  367. package/dist-esm/samples-dev/linkerListConfigurationsSample.d.ts +0 -2
  368. package/dist-esm/samples-dev/linkerListConfigurationsSample.d.ts.map +0 -1
  369. package/dist-esm/samples-dev/linkerListConfigurationsSample.js +0 -37
  370. package/dist-esm/samples-dev/linkerListConfigurationsSample.js.map +0 -1
  371. package/dist-esm/samples-dev/linkerListSample.d.ts +0 -2
  372. package/dist-esm/samples-dev/linkerListSample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/linkerListSample.js +0 -52
  374. package/dist-esm/samples-dev/linkerListSample.js.map +0 -1
  375. package/dist-esm/samples-dev/linkerUpdateSample.d.ts +0 -2
  376. package/dist-esm/samples-dev/linkerUpdateSample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/linkerUpdateSample.js +0 -49
  378. package/dist-esm/samples-dev/linkerUpdateSample.js.map +0 -1
  379. package/dist-esm/samples-dev/linkerValidateSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/linkerValidateSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/linkerValidateSample.js +0 -37
  382. package/dist-esm/samples-dev/linkerValidateSample.js.map +0 -1
  383. package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/linkersCreateDryrunSample.js +0 -51
  386. package/dist-esm/samples-dev/linkersCreateDryrunSample.js.map +0 -1
  387. package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts +0 -2
  388. package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts.map +0 -1
  389. package/dist-esm/samples-dev/linkersDeleteDryrunSample.js +0 -37
  390. package/dist-esm/samples-dev/linkersDeleteDryrunSample.js.map +0 -1
  391. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts +0 -2
  392. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts.map +0 -1
  393. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js +0 -41
  394. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js.map +0 -1
  395. package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts +0 -2
  396. package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts.map +0 -1
  397. package/dist-esm/samples-dev/linkersGetDryrunSample.js +0 -37
  398. package/dist-esm/samples-dev/linkersGetDryrunSample.js.map +0 -1
  399. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts +0 -2
  400. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts.map +0 -1
  401. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js +0 -52
  402. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js.map +0 -1
  403. package/dist-esm/samples-dev/linkersListDryrunSample.d.ts +0 -2
  404. package/dist-esm/samples-dev/linkersListDryrunSample.d.ts.map +0 -1
  405. package/dist-esm/samples-dev/linkersListDryrunSample.js +0 -52
  406. package/dist-esm/samples-dev/linkersListDryrunSample.js.map +0 -1
  407. package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts +0 -2
  408. package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts.map +0 -1
  409. package/dist-esm/samples-dev/linkersUpdateDryrunSample.js +0 -51
  410. package/dist-esm/samples-dev/linkersUpdateDryrunSample.js.map +0 -1
  411. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  412. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  413. package/dist-esm/samples-dev/operationsListSample.js +0 -51
  414. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  415. package/dist-esm/src/index.d.ts +0 -5
  416. package/dist-esm/src/index.js.map +0 -1
  417. package/dist-esm/src/lroImpl.js +0 -21
  418. package/dist-esm/src/lroImpl.js.map +0 -1
  419. package/dist-esm/src/models/index.js.map +0 -1
  420. package/dist-esm/src/models/mappers.js.map +0 -1
  421. package/dist-esm/src/models/parameters.js.map +0 -1
  422. package/dist-esm/src/operations/configurationNames.d.ts.map +0 -1
  423. package/dist-esm/src/operations/configurationNames.js.map +0 -1
  424. package/dist-esm/src/operations/connector.d.ts.map +0 -1
  425. package/dist-esm/src/operations/connector.js.map +0 -1
  426. package/dist-esm/src/operations/index.d.ts +0 -6
  427. package/dist-esm/src/operations/index.js.map +0 -1
  428. package/dist-esm/src/operations/linker.d.ts.map +0 -1
  429. package/dist-esm/src/operations/linker.js +0 -555
  430. package/dist-esm/src/operations/linker.js.map +0 -1
  431. package/dist-esm/src/operations/linkers.d.ts.map +0 -1
  432. package/dist-esm/src/operations/linkers.js.map +0 -1
  433. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  434. package/dist-esm/src/operations/operations.js.map +0 -1
  435. package/dist-esm/src/operationsInterfaces/configurationNames.d.ts.map +0 -1
  436. package/dist-esm/src/operationsInterfaces/configurationNames.js.map +0 -1
  437. package/dist-esm/src/operationsInterfaces/connector.d.ts.map +0 -1
  438. package/dist-esm/src/operationsInterfaces/connector.js.map +0 -1
  439. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  440. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  441. package/dist-esm/src/operationsInterfaces/linker.d.ts.map +0 -1
  442. package/dist-esm/src/operationsInterfaces/linker.js.map +0 -1
  443. package/dist-esm/src/operationsInterfaces/linkers.d.ts.map +0 -1
  444. package/dist-esm/src/operationsInterfaces/linkers.js.map +0 -1
  445. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  446. package/dist-esm/src/pagingHelper.js.map +0 -1
  447. package/dist-esm/src/serviceLinkerManagementClient.d.ts.map +0 -1
  448. package/dist-esm/src/serviceLinkerManagementClient.js.map +0 -1
  449. package/dist-esm/test/servicelinker_operations_test.spec.d.ts +0 -4
  450. package/dist-esm/test/servicelinker_operations_test.spec.d.ts.map +0 -1
  451. package/dist-esm/test/servicelinker_operations_test.spec.js +0 -74
  452. package/dist-esm/test/servicelinker_operations_test.spec.js.map +0 -1
  453. package/src/lroImpl.ts +0 -42
  454. package/src/models/index.ts +0 -1616
  455. package/src/models/mappers.ts +0 -2123
  456. package/src/models/parameters.ts +0 -213
  457. package/src/operations/configurationNames.ts +0 -155
  458. package/src/operations/connector.ts +0 -1433
  459. package/src/operations/index.ts +0 -13
  460. package/src/operations/linker.ts +0 -734
  461. package/src/operations/linkers.ts +0 -702
  462. package/src/operations/operations.ts +0 -149
  463. package/src/operationsInterfaces/configurationNames.ts +0 -26
  464. package/src/operationsInterfaces/connector.ts +0 -349
  465. package/src/operationsInterfaces/index.ts +0 -13
  466. package/src/operationsInterfaces/linker.ts +0 -182
  467. package/src/operationsInterfaces/linkers.ts +0 -153
  468. package/src/operationsInterfaces/operations.ts +0 -22
  469. package/src/pagingHelper.ts +0 -39
  470. package/src/serviceLinkerManagementClient.ts +0 -153
  471. package/tsconfig.json +0 -33
  472. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  473. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  474. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  475. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  476. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  477. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  478. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  479. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  480. /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationNames.js +0 -0
  481. /package/{dist-esm/src → dist/browser}/operationsInterfaces/connector.js +0 -0
  482. /package/{dist-esm/src → dist/browser}/operationsInterfaces/linker.js +0 -0
  483. /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkers.js +0 -0
  484. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  485. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  486. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  487. /package/review/{arm-servicelinker.api.md → arm-servicelinker-node.api.md} +0 -0
@@ -0,0 +1,99 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { LinkerResource, LinkerListOptionalParams, LinkerGetOptionalParams, LinkerGetResponse, LinkerCreateOrUpdateOptionalParams, LinkerCreateOrUpdateResponse, LinkerDeleteOptionalParams, LinkerPatch, LinkerUpdateOptionalParams, LinkerUpdateResponse, LinkerValidateOptionalParams, LinkerValidateResponse, LinkerListConfigurationsOptionalParams, LinkerListConfigurationsResponse } from "../models/index.js";
4
+ /** Interface representing a Linker. */
5
+ export interface Linker {
6
+ /**
7
+ * Returns list of Linkers which connects to the resource. which supports to config both application
8
+ * and target service during the resource provision.
9
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
10
+ * connected.
11
+ * @param options The options parameters.
12
+ */
13
+ list(resourceUri: string, options?: LinkerListOptionalParams): PagedAsyncIterableIterator<LinkerResource>;
14
+ /**
15
+ * Returns Linker resource for a given name.
16
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
17
+ * connected.
18
+ * @param linkerName The name Linker resource.
19
+ * @param options The options parameters.
20
+ */
21
+ get(resourceUri: string, linkerName: string, options?: LinkerGetOptionalParams): Promise<LinkerGetResponse>;
22
+ /**
23
+ * Create or update Linker resource.
24
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
25
+ * connected.
26
+ * @param linkerName The name Linker resource.
27
+ * @param parameters Linker details.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreateOrUpdate(resourceUri: string, linkerName: string, parameters: LinkerResource, options?: LinkerCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LinkerCreateOrUpdateResponse>, LinkerCreateOrUpdateResponse>>;
31
+ /**
32
+ * Create or update Linker resource.
33
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
34
+ * connected.
35
+ * @param linkerName The name Linker resource.
36
+ * @param parameters Linker details.
37
+ * @param options The options parameters.
38
+ */
39
+ beginCreateOrUpdateAndWait(resourceUri: string, linkerName: string, parameters: LinkerResource, options?: LinkerCreateOrUpdateOptionalParams): Promise<LinkerCreateOrUpdateResponse>;
40
+ /**
41
+ * Delete a Linker.
42
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
43
+ * connected.
44
+ * @param linkerName The name Linker resource.
45
+ * @param options The options parameters.
46
+ */
47
+ beginDelete(resourceUri: string, linkerName: string, options?: LinkerDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
48
+ /**
49
+ * Delete a Linker.
50
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
51
+ * connected.
52
+ * @param linkerName The name Linker resource.
53
+ * @param options The options parameters.
54
+ */
55
+ beginDeleteAndWait(resourceUri: string, linkerName: string, options?: LinkerDeleteOptionalParams): Promise<void>;
56
+ /**
57
+ * Operation to update an existing Linker.
58
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
59
+ * connected.
60
+ * @param linkerName The name Linker resource.
61
+ * @param parameters Linker details.
62
+ * @param options The options parameters.
63
+ */
64
+ beginUpdate(resourceUri: string, linkerName: string, parameters: LinkerPatch, options?: LinkerUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LinkerUpdateResponse>, LinkerUpdateResponse>>;
65
+ /**
66
+ * Operation to update an existing Linker.
67
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
68
+ * connected.
69
+ * @param linkerName The name Linker resource.
70
+ * @param parameters Linker details.
71
+ * @param options The options parameters.
72
+ */
73
+ beginUpdateAndWait(resourceUri: string, linkerName: string, parameters: LinkerPatch, options?: LinkerUpdateOptionalParams): Promise<LinkerUpdateResponse>;
74
+ /**
75
+ * Validate a Linker.
76
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
77
+ * connected.
78
+ * @param linkerName The name Linker resource.
79
+ * @param options The options parameters.
80
+ */
81
+ beginValidate(resourceUri: string, linkerName: string, options?: LinkerValidateOptionalParams): Promise<SimplePollerLike<OperationState<LinkerValidateResponse>, LinkerValidateResponse>>;
82
+ /**
83
+ * Validate a Linker.
84
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
85
+ * connected.
86
+ * @param linkerName The name Linker resource.
87
+ * @param options The options parameters.
88
+ */
89
+ beginValidateAndWait(resourceUri: string, linkerName: string, options?: LinkerValidateOptionalParams): Promise<LinkerValidateResponse>;
90
+ /**
91
+ * list source configurations for a Linker.
92
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
93
+ * connected.
94
+ * @param linkerName The name Linker resource.
95
+ * @param options The options parameters.
96
+ */
97
+ listConfigurations(resourceUri: string, linkerName: string, options?: LinkerListConfigurationsOptionalParams): Promise<LinkerListConfigurationsResponse>;
98
+ }
99
+ //# sourceMappingURL=linker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linker.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/linker.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=linker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linker.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/linker.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n LinkerResource,\n LinkerListOptionalParams,\n LinkerGetOptionalParams,\n LinkerGetResponse,\n LinkerCreateOrUpdateOptionalParams,\n LinkerCreateOrUpdateResponse,\n LinkerDeleteOptionalParams,\n LinkerPatch,\n LinkerUpdateOptionalParams,\n LinkerUpdateResponse,\n LinkerValidateOptionalParams,\n LinkerValidateResponse,\n LinkerListConfigurationsOptionalParams,\n LinkerListConfigurationsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Linker. */\nexport interface Linker {\n /**\n * Returns list of Linkers which connects to the resource. which supports to config both application\n * and target service during the resource provision.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param options The options parameters.\n */\n list(\n resourceUri: string,\n options?: LinkerListOptionalParams,\n ): PagedAsyncIterableIterator<LinkerResource>;\n /**\n * Returns Linker resource for a given name.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n get(\n resourceUri: string,\n linkerName: string,\n options?: LinkerGetOptionalParams,\n ): Promise<LinkerGetResponse>;\n /**\n * Create or update Linker resource.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param parameters Linker details.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceUri: string,\n linkerName: string,\n parameters: LinkerResource,\n options?: LinkerCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<LinkerCreateOrUpdateResponse>,\n LinkerCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update Linker resource.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param parameters Linker details.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceUri: string,\n linkerName: string,\n parameters: LinkerResource,\n options?: LinkerCreateOrUpdateOptionalParams,\n ): Promise<LinkerCreateOrUpdateResponse>;\n /**\n * Delete a Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n beginDelete(\n resourceUri: string,\n linkerName: string,\n options?: LinkerDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete a Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceUri: string,\n linkerName: string,\n options?: LinkerDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Operation to update an existing Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param parameters Linker details.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceUri: string,\n linkerName: string,\n parameters: LinkerPatch,\n options?: LinkerUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<LinkerUpdateResponse>, LinkerUpdateResponse>\n >;\n /**\n * Operation to update an existing Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param parameters Linker details.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceUri: string,\n linkerName: string,\n parameters: LinkerPatch,\n options?: LinkerUpdateOptionalParams,\n ): Promise<LinkerUpdateResponse>;\n /**\n * Validate a Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n beginValidate(\n resourceUri: string,\n linkerName: string,\n options?: LinkerValidateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<LinkerValidateResponse>,\n LinkerValidateResponse\n >\n >;\n /**\n * Validate a Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n beginValidateAndWait(\n resourceUri: string,\n linkerName: string,\n options?: LinkerValidateOptionalParams,\n ): Promise<LinkerValidateResponse>;\n /**\n * list source configurations for a Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n listConfigurations(\n resourceUri: string,\n linkerName: string,\n options?: LinkerListConfigurationsOptionalParams,\n ): Promise<LinkerListConfigurationsResponse>;\n}\n"]}
@@ -0,0 +1,81 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { DryrunResource, LinkersListDryrunOptionalParams, DaprConfigurationResource, LinkersListDaprConfigurationsOptionalParams, LinkersGetDryrunOptionalParams, LinkersGetDryrunResponse, LinkersCreateDryrunOptionalParams, LinkersCreateDryrunResponse, DryrunPatch, LinkersUpdateDryrunOptionalParams, LinkersUpdateDryrunResponse, LinkersDeleteDryrunOptionalParams, LinkersGenerateConfigurationsOptionalParams, LinkersGenerateConfigurationsResponse } from "../models/index.js";
4
+ /** Interface representing a Linkers. */
5
+ export interface Linkers {
6
+ /**
7
+ * list dryrun jobs
8
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
9
+ * connected.
10
+ * @param options The options parameters.
11
+ */
12
+ listDryrun(resourceUri: string, options?: LinkersListDryrunOptionalParams): PagedAsyncIterableIterator<DryrunResource>;
13
+ /**
14
+ * List the dapr configuration supported by Service Connector.
15
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
16
+ * connected.
17
+ * @param options The options parameters.
18
+ */
19
+ listDaprConfigurations(resourceUri: string, options?: LinkersListDaprConfigurationsOptionalParams): PagedAsyncIterableIterator<DaprConfigurationResource>;
20
+ /**
21
+ * get a dryrun job
22
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
23
+ * connected.
24
+ * @param dryrunName The name of dryrun.
25
+ * @param options The options parameters.
26
+ */
27
+ getDryrun(resourceUri: string, dryrunName: string, options?: LinkersGetDryrunOptionalParams): Promise<LinkersGetDryrunResponse>;
28
+ /**
29
+ * create a dryrun job to do necessary check before actual creation
30
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
31
+ * connected.
32
+ * @param dryrunName The name of dryrun.
33
+ * @param parameters dryrun resource.
34
+ * @param options The options parameters.
35
+ */
36
+ beginCreateDryrun(resourceUri: string, dryrunName: string, parameters: DryrunResource, options?: LinkersCreateDryrunOptionalParams): Promise<SimplePollerLike<OperationState<LinkersCreateDryrunResponse>, LinkersCreateDryrunResponse>>;
37
+ /**
38
+ * create a dryrun job to do necessary check before actual creation
39
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
40
+ * connected.
41
+ * @param dryrunName The name of dryrun.
42
+ * @param parameters dryrun resource.
43
+ * @param options The options parameters.
44
+ */
45
+ beginCreateDryrunAndWait(resourceUri: string, dryrunName: string, parameters: DryrunResource, options?: LinkersCreateDryrunOptionalParams): Promise<LinkersCreateDryrunResponse>;
46
+ /**
47
+ * add a dryrun job to do necessary check before actual creation
48
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
49
+ * connected.
50
+ * @param dryrunName The name of dryrun.
51
+ * @param parameters dryrun resource.
52
+ * @param options The options parameters.
53
+ */
54
+ beginUpdateDryrun(resourceUri: string, dryrunName: string, parameters: DryrunPatch, options?: LinkersUpdateDryrunOptionalParams): Promise<SimplePollerLike<OperationState<LinkersUpdateDryrunResponse>, LinkersUpdateDryrunResponse>>;
55
+ /**
56
+ * add a dryrun job to do necessary check before actual creation
57
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
58
+ * connected.
59
+ * @param dryrunName The name of dryrun.
60
+ * @param parameters dryrun resource.
61
+ * @param options The options parameters.
62
+ */
63
+ beginUpdateDryrunAndWait(resourceUri: string, dryrunName: string, parameters: DryrunPatch, options?: LinkersUpdateDryrunOptionalParams): Promise<LinkersUpdateDryrunResponse>;
64
+ /**
65
+ * delete a dryrun job
66
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
67
+ * connected.
68
+ * @param dryrunName The name of dryrun.
69
+ * @param options The options parameters.
70
+ */
71
+ deleteDryrun(resourceUri: string, dryrunName: string, options?: LinkersDeleteDryrunOptionalParams): Promise<void>;
72
+ /**
73
+ * Generate configurations for a Linker.
74
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
75
+ * connected.
76
+ * @param linkerName The name Linker resource.
77
+ * @param options The options parameters.
78
+ */
79
+ generateConfigurations(resourceUri: string, linkerName: string, options?: LinkersGenerateConfigurationsOptionalParams): Promise<LinkersGenerateConfigurationsResponse>;
80
+ }
81
+ //# sourceMappingURL=linkers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkers.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkers.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,+BAA+B,EAC/B,yBAAyB,EACzB,2CAA2C,EAC3C,8BAA8B,EAC9B,wBAAwB,EACxB,iCAAiC,EACjC,2BAA2B,EAC3B,WAAW,EACX,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAG5B,wCAAwC;AACxC,MAAM,WAAW,OAAO;IACtB;;;;;OAKG;IACH,UAAU,CACR,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,sBAAsB,CACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,SAAS,CACP,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;OAOG;IACH,iBAAiB,CACf,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,2BAA2B,CAAC,EAC3C,2BAA2B,CAC5B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,wBAAwB,CACtB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;;OAOG;IACH,iBAAiB,CACf,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,2BAA2B,CAAC,EAC3C,2BAA2B,CAC5B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,wBAAwB,CACtB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,YAAY,CACV,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,sBAAsB,CACpB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=linkers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkers.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DryrunResource,\n LinkersListDryrunOptionalParams,\n DaprConfigurationResource,\n LinkersListDaprConfigurationsOptionalParams,\n LinkersGetDryrunOptionalParams,\n LinkersGetDryrunResponse,\n LinkersCreateDryrunOptionalParams,\n LinkersCreateDryrunResponse,\n DryrunPatch,\n LinkersUpdateDryrunOptionalParams,\n LinkersUpdateDryrunResponse,\n LinkersDeleteDryrunOptionalParams,\n LinkersGenerateConfigurationsOptionalParams,\n LinkersGenerateConfigurationsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Linkers. */\nexport interface Linkers {\n /**\n * list dryrun jobs\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param options The options parameters.\n */\n listDryrun(\n resourceUri: string,\n options?: LinkersListDryrunOptionalParams,\n ): PagedAsyncIterableIterator<DryrunResource>;\n /**\n * List the dapr configuration supported by Service Connector.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param options The options parameters.\n */\n listDaprConfigurations(\n resourceUri: string,\n options?: LinkersListDaprConfigurationsOptionalParams,\n ): PagedAsyncIterableIterator<DaprConfigurationResource>;\n /**\n * get a dryrun job\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param dryrunName The name of dryrun.\n * @param options The options parameters.\n */\n getDryrun(\n resourceUri: string,\n dryrunName: string,\n options?: LinkersGetDryrunOptionalParams,\n ): Promise<LinkersGetDryrunResponse>;\n /**\n * create a dryrun job to do necessary check before actual creation\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param dryrunName The name of dryrun.\n * @param parameters dryrun resource.\n * @param options The options parameters.\n */\n beginCreateDryrun(\n resourceUri: string,\n dryrunName: string,\n parameters: DryrunResource,\n options?: LinkersCreateDryrunOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<LinkersCreateDryrunResponse>,\n LinkersCreateDryrunResponse\n >\n >;\n /**\n * create a dryrun job to do necessary check before actual creation\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param dryrunName The name of dryrun.\n * @param parameters dryrun resource.\n * @param options The options parameters.\n */\n beginCreateDryrunAndWait(\n resourceUri: string,\n dryrunName: string,\n parameters: DryrunResource,\n options?: LinkersCreateDryrunOptionalParams,\n ): Promise<LinkersCreateDryrunResponse>;\n /**\n * add a dryrun job to do necessary check before actual creation\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param dryrunName The name of dryrun.\n * @param parameters dryrun resource.\n * @param options The options parameters.\n */\n beginUpdateDryrun(\n resourceUri: string,\n dryrunName: string,\n parameters: DryrunPatch,\n options?: LinkersUpdateDryrunOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<LinkersUpdateDryrunResponse>,\n LinkersUpdateDryrunResponse\n >\n >;\n /**\n * add a dryrun job to do necessary check before actual creation\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param dryrunName The name of dryrun.\n * @param parameters dryrun resource.\n * @param options The options parameters.\n */\n beginUpdateDryrunAndWait(\n resourceUri: string,\n dryrunName: string,\n parameters: DryrunPatch,\n options?: LinkersUpdateDryrunOptionalParams,\n ): Promise<LinkersUpdateDryrunResponse>;\n /**\n * delete a dryrun job\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param dryrunName The name of dryrun.\n * @param options The options parameters.\n */\n deleteDryrun(\n resourceUri: string,\n dryrunName: string,\n options?: LinkersDeleteDryrunOptionalParams,\n ): Promise<void>;\n /**\n * Generate configurations for a Linker.\n * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be\n * connected.\n * @param linkerName The name Linker resource.\n * @param options The options parameters.\n */\n generateConfigurations(\n resourceUri: string,\n linkerName: string,\n options?: LinkersGenerateConfigurationsOptionalParams,\n ): Promise<LinkersGenerateConfigurationsResponse>;\n}\n"]}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists the available ServiceLinker REST API operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists the available ServiceLinker REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.getContinuationToken = getContinuationToken;
11
+ exports.setContinuationToken = setContinuationToken;
12
+ const pageMap = new WeakMap();
13
+ /**
14
+ * Given the last `.value` produced by the `byPage` iterator,
15
+ * returns a continuation token that can be used to begin paging from
16
+ * that point later.
17
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
18
+ * @returns The continuation token that can be passed into byPage() during future calls.
19
+ */
20
+ function getContinuationToken(page) {
21
+ if (typeof page !== "object" || page === null) {
22
+ return undefined;
23
+ }
24
+ return pageMap.get(page)?.continuationToken;
25
+ }
26
+ function setContinuationToken(page, continuationToken) {
27
+ if (typeof page !== "object" || page === null || !continuationToken) {
28
+ return;
29
+ }
30
+ const pageInfo = pageMap.get(page) ?? {};
31
+ pageInfo.continuationToken = continuationToken;
32
+ pageMap.set(page, pageInfo);
33
+ }
34
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Connector, Linker, Linkers, Operations, ConfigurationNames } from "./operationsInterfaces/index.js";
4
+ import { ServiceLinkerManagementClientOptionalParams } from "./models/index.js";
5
+ export declare class ServiceLinkerManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ /**
9
+ * Initializes a new instance of the ServiceLinkerManagementClient class.
10
+ * @param credentials Subscription credentials which uniquely identify client subscription.
11
+ * @param options The parameter options
12
+ */
13
+ constructor(credentials: coreAuth.TokenCredential, options?: ServiceLinkerManagementClientOptionalParams);
14
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
15
+ private addCustomApiVersionPolicy;
16
+ connector: Connector;
17
+ linker: Linker;
18
+ linkers: Linkers;
19
+ operations: Operations;
20
+ configurationNames: ConfigurationNames;
21
+ }
22
+ //# sourceMappingURL=serviceLinkerManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceLinkerManagementClient.d.ts","sourceRoot":"","sources":["../../src/serviceLinkerManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,SAAS,EACT,MAAM,EACN,OAAO,EACP,UAAU,EACV,kBAAkB,EACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,2CAA2C;IA4EvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,EAAE,kBAAkB,CAAC;CACxC"}
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ServiceLinkerManagementClient = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
+ const index_js_1 = require("./operations/index.js");
15
+ class ServiceLinkerManagementClient extends coreClient.ServiceClient {
16
+ $host;
17
+ apiVersion;
18
+ /**
19
+ * Initializes a new instance of the ServiceLinkerManagementClient class.
20
+ * @param credentials Subscription credentials which uniquely identify client subscription.
21
+ * @param options The parameter options
22
+ */
23
+ constructor(credentials, options) {
24
+ if (credentials === undefined) {
25
+ throw new Error("'credentials' cannot be null");
26
+ }
27
+ // Initializing default values for options
28
+ if (!options) {
29
+ options = {};
30
+ }
31
+ const defaults = {
32
+ requestContentType: "application/json; charset=utf-8",
33
+ credential: credentials,
34
+ };
35
+ const packageDetails = `azsdk-js-arm-servicelinker/2.2.0-beta.2`;
36
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
+ : `${packageDetails}`;
39
+ const optionsWithDefaults = {
40
+ ...defaults,
41
+ ...options,
42
+ userAgentOptions: {
43
+ userAgentPrefix,
44
+ },
45
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
46
+ };
47
+ super(optionsWithDefaults);
48
+ let bearerTokenAuthenticationPolicyFound = false;
49
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
50
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
51
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
52
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
53
+ }
54
+ if (!options ||
55
+ !options.pipeline ||
56
+ options.pipeline.getOrderedPolicies().length == 0 ||
57
+ !bearerTokenAuthenticationPolicyFound) {
58
+ this.pipeline.removePolicy({
59
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
60
+ });
61
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
62
+ credential: credentials,
63
+ scopes: optionsWithDefaults.credentialScopes ??
64
+ `${optionsWithDefaults.endpoint}/.default`,
65
+ challengeCallbacks: {
66
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
67
+ },
68
+ }));
69
+ }
70
+ // Assigning values to Constant parameters
71
+ this.$host = options.$host || "https://management.azure.com";
72
+ this.apiVersion = options.apiVersion || "2024-07-01-preview";
73
+ this.connector = new index_js_1.ConnectorImpl(this);
74
+ this.linker = new index_js_1.LinkerImpl(this);
75
+ this.linkers = new index_js_1.LinkersImpl(this);
76
+ this.operations = new index_js_1.OperationsImpl(this);
77
+ this.configurationNames = new index_js_1.ConfigurationNamesImpl(this);
78
+ this.addCustomApiVersionPolicy(options.apiVersion);
79
+ }
80
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
81
+ addCustomApiVersionPolicy(apiVersion) {
82
+ if (!apiVersion) {
83
+ return;
84
+ }
85
+ const apiVersionPolicy = {
86
+ name: "CustomApiVersionPolicy",
87
+ async sendRequest(request, next) {
88
+ const param = request.url.split("?");
89
+ if (param.length > 1) {
90
+ const newParams = param[1].split("&").map((item) => {
91
+ if (item.indexOf("api-version") > -1) {
92
+ return "api-version=" + apiVersion;
93
+ }
94
+ else {
95
+ return item;
96
+ }
97
+ });
98
+ request.url = param[0] + "?" + newParams.join("&");
99
+ }
100
+ return next(request);
101
+ },
102
+ };
103
+ this.pipeline.addPolicy(apiVersionPolicy);
104
+ }
105
+ connector;
106
+ linker;
107
+ linkers;
108
+ operations;
109
+ configurationNames;
110
+ }
111
+ exports.ServiceLinkerManagementClient = ServiceLinkerManagementClient;
112
+ //# sourceMappingURL=serviceLinkerManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceLinkerManagementClient.js","sourceRoot":"","sources":["../../src/serviceLinkerManagementClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ConnectorImpl,\n LinkerImpl,\n LinkersImpl,\n OperationsImpl,\n ConfigurationNamesImpl,\n} from \"./operations/index.js\";\nimport {\n Connector,\n Linker,\n Linkers,\n Operations,\n ConfigurationNames,\n} from \"./operationsInterfaces/index.js\";\nimport { ServiceLinkerManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ServiceLinkerManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the ServiceLinkerManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ServiceLinkerManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ServiceLinkerManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-servicelinker/2.2.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-07-01-preview\";\n this.connector = new ConnectorImpl(this);\n this.linker = new LinkerImpl(this);\n this.linkers = new LinkersImpl(this);\n this.operations = new OperationsImpl(this);\n this.configurationNames = new ConfigurationNamesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n connector: Connector;\n linker: Linker;\n linkers: Linkers;\n operations: Operations;\n configurationNames: ConfigurationNames;\n}\n"]}
@@ -1,11 +1,11 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.11"
9
- }
10
- ]
11
- }
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.52.10"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { ServiceLinkerManagementClient } from "./serviceLinkerManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC"}
@@ -5,9 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
-
9
8
  /// <reference lib="esnext.asynciterable" />
10
- export { getContinuationToken } from "./pagingHelper";
11
- export * from "./models";
12
- export { ServiceLinkerManagementClient } from "./serviceLinkerManagementClient";
13
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { ServiceLinkerManagementClient } from "./serviceLinkerManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ServiceLinkerManagementClient } from \"./serviceLinkerManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,11 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare function createLroSpec<T>(inputs: {
3
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
+ args: Record<string, unknown>;
5
+ spec: {
6
+ readonly requestBody?: unknown;
7
+ readonly path?: string;
8
+ readonly httpMethod: string;
9
+ } & Record<string, any>;
10
+ }): LongRunningOperation<T>;
11
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -0,0 +1,18 @@
1
+ export function createLroSpec(inputs) {
2
+ const { args, spec, sendOperationFn } = inputs;
3
+ return {
4
+ requestMethod: spec.httpMethod,
5
+ requestPath: spec.path,
6
+ sendInitialRequest: () => sendOperationFn(args, spec),
7
+ sendPollRequest: (path, options) => {
8
+ const { requestBody, ...restSpec } = spec;
9
+ return sendOperationFn(args, {
10
+ ...restSpec,
11
+ httpMethod: "GET",
12
+ path,
13
+ abortSignal: options?.abortSignal,
14
+ });
15
+ },
16
+ };
17
+ }
18
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}