@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
@@ -1,1433 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Connector } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { ServiceLinkerManagementClient } from "../serviceLinkerManagementClient";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller,
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- DryrunResource,
24
- ConnectorListDryrunNextOptionalParams,
25
- ConnectorListDryrunOptionalParams,
26
- ConnectorListDryrunResponse,
27
- LinkerResource,
28
- ConnectorListNextOptionalParams,
29
- ConnectorListOptionalParams,
30
- ConnectorListResponse,
31
- ConnectorGetDryrunOptionalParams,
32
- ConnectorGetDryrunResponse,
33
- ConnectorCreateDryrunOptionalParams,
34
- ConnectorCreateDryrunResponse,
35
- DryrunPatch,
36
- ConnectorUpdateDryrunOptionalParams,
37
- ConnectorUpdateDryrunResponse,
38
- ConnectorDeleteDryrunOptionalParams,
39
- ConnectorGetOptionalParams,
40
- ConnectorGetResponse,
41
- ConnectorCreateOrUpdateOptionalParams,
42
- ConnectorCreateOrUpdateResponse,
43
- ConnectorDeleteOptionalParams,
44
- LinkerPatch,
45
- ConnectorUpdateOptionalParams,
46
- ConnectorUpdateResponse,
47
- ConnectorValidateOptionalParams,
48
- ConnectorValidateResponse,
49
- ConnectorGenerateConfigurationsOptionalParams,
50
- ConnectorGenerateConfigurationsResponse,
51
- ConnectorListDryrunNextResponse,
52
- ConnectorListNextResponse,
53
- } from "../models";
54
-
55
- /// <reference lib="esnext.asynciterable" />
56
- /** Class containing Connector operations. */
57
- export class ConnectorImpl implements Connector {
58
- private readonly client: ServiceLinkerManagementClient;
59
-
60
- /**
61
- * Initialize a new instance of the class Connector class.
62
- * @param client Reference to the service client
63
- */
64
- constructor(client: ServiceLinkerManagementClient) {
65
- this.client = client;
66
- }
67
-
68
- /**
69
- * list dryrun jobs
70
- * @param subscriptionId The ID of the target subscription.
71
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
- * @param location The name of Azure region.
73
- * @param options The options parameters.
74
- */
75
- public listDryrun(
76
- subscriptionId: string,
77
- resourceGroupName: string,
78
- location: string,
79
- options?: ConnectorListDryrunOptionalParams,
80
- ): PagedAsyncIterableIterator<DryrunResource> {
81
- const iter = this.listDryrunPagingAll(
82
- subscriptionId,
83
- resourceGroupName,
84
- location,
85
- options,
86
- );
87
- return {
88
- next() {
89
- return iter.next();
90
- },
91
- [Symbol.asyncIterator]() {
92
- return this;
93
- },
94
- byPage: (settings?: PageSettings) => {
95
- if (settings?.maxPageSize) {
96
- throw new Error("maxPageSize is not supported by this operation.");
97
- }
98
- return this.listDryrunPagingPage(
99
- subscriptionId,
100
- resourceGroupName,
101
- location,
102
- options,
103
- settings,
104
- );
105
- },
106
- };
107
- }
108
-
109
- private async *listDryrunPagingPage(
110
- subscriptionId: string,
111
- resourceGroupName: string,
112
- location: string,
113
- options?: ConnectorListDryrunOptionalParams,
114
- settings?: PageSettings,
115
- ): AsyncIterableIterator<DryrunResource[]> {
116
- let result: ConnectorListDryrunResponse;
117
- let continuationToken = settings?.continuationToken;
118
- if (!continuationToken) {
119
- result = await this._listDryrun(
120
- subscriptionId,
121
- resourceGroupName,
122
- location,
123
- options,
124
- );
125
- let page = result.value || [];
126
- continuationToken = result.nextLink;
127
- setContinuationToken(page, continuationToken);
128
- yield page;
129
- }
130
- while (continuationToken) {
131
- result = await this._listDryrunNext(
132
- subscriptionId,
133
- resourceGroupName,
134
- location,
135
- continuationToken,
136
- options,
137
- );
138
- continuationToken = result.nextLink;
139
- let page = result.value || [];
140
- setContinuationToken(page, continuationToken);
141
- yield page;
142
- }
143
- }
144
-
145
- private async *listDryrunPagingAll(
146
- subscriptionId: string,
147
- resourceGroupName: string,
148
- location: string,
149
- options?: ConnectorListDryrunOptionalParams,
150
- ): AsyncIterableIterator<DryrunResource> {
151
- for await (const page of this.listDryrunPagingPage(
152
- subscriptionId,
153
- resourceGroupName,
154
- location,
155
- options,
156
- )) {
157
- yield* page;
158
- }
159
- }
160
-
161
- /**
162
- * Returns list of connector which connects to the resource, which supports to config the target
163
- * service during the resource provision.
164
- * @param subscriptionId The ID of the target subscription.
165
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
166
- * @param location The name of Azure region.
167
- * @param options The options parameters.
168
- */
169
- public list(
170
- subscriptionId: string,
171
- resourceGroupName: string,
172
- location: string,
173
- options?: ConnectorListOptionalParams,
174
- ): PagedAsyncIterableIterator<LinkerResource> {
175
- const iter = this.listPagingAll(
176
- subscriptionId,
177
- resourceGroupName,
178
- location,
179
- options,
180
- );
181
- return {
182
- next() {
183
- return iter.next();
184
- },
185
- [Symbol.asyncIterator]() {
186
- return this;
187
- },
188
- byPage: (settings?: PageSettings) => {
189
- if (settings?.maxPageSize) {
190
- throw new Error("maxPageSize is not supported by this operation.");
191
- }
192
- return this.listPagingPage(
193
- subscriptionId,
194
- resourceGroupName,
195
- location,
196
- options,
197
- settings,
198
- );
199
- },
200
- };
201
- }
202
-
203
- private async *listPagingPage(
204
- subscriptionId: string,
205
- resourceGroupName: string,
206
- location: string,
207
- options?: ConnectorListOptionalParams,
208
- settings?: PageSettings,
209
- ): AsyncIterableIterator<LinkerResource[]> {
210
- let result: ConnectorListResponse;
211
- let continuationToken = settings?.continuationToken;
212
- if (!continuationToken) {
213
- result = await this._list(
214
- subscriptionId,
215
- resourceGroupName,
216
- location,
217
- options,
218
- );
219
- let page = result.value || [];
220
- continuationToken = result.nextLink;
221
- setContinuationToken(page, continuationToken);
222
- yield page;
223
- }
224
- while (continuationToken) {
225
- result = await this._listNext(
226
- subscriptionId,
227
- resourceGroupName,
228
- location,
229
- continuationToken,
230
- options,
231
- );
232
- continuationToken = result.nextLink;
233
- let page = result.value || [];
234
- setContinuationToken(page, continuationToken);
235
- yield page;
236
- }
237
- }
238
-
239
- private async *listPagingAll(
240
- subscriptionId: string,
241
- resourceGroupName: string,
242
- location: string,
243
- options?: ConnectorListOptionalParams,
244
- ): AsyncIterableIterator<LinkerResource> {
245
- for await (const page of this.listPagingPage(
246
- subscriptionId,
247
- resourceGroupName,
248
- location,
249
- options,
250
- )) {
251
- yield* page;
252
- }
253
- }
254
-
255
- /**
256
- * list dryrun jobs
257
- * @param subscriptionId The ID of the target subscription.
258
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
259
- * @param location The name of Azure region.
260
- * @param options The options parameters.
261
- */
262
- private _listDryrun(
263
- subscriptionId: string,
264
- resourceGroupName: string,
265
- location: string,
266
- options?: ConnectorListDryrunOptionalParams,
267
- ): Promise<ConnectorListDryrunResponse> {
268
- return this.client.sendOperationRequest(
269
- { subscriptionId, resourceGroupName, location, options },
270
- listDryrunOperationSpec,
271
- );
272
- }
273
-
274
- /**
275
- * get a dryrun job
276
- * @param subscriptionId The ID of the target subscription.
277
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
278
- * @param location The name of Azure region.
279
- * @param dryrunName The name of dryrun.
280
- * @param options The options parameters.
281
- */
282
- getDryrun(
283
- subscriptionId: string,
284
- resourceGroupName: string,
285
- location: string,
286
- dryrunName: string,
287
- options?: ConnectorGetDryrunOptionalParams,
288
- ): Promise<ConnectorGetDryrunResponse> {
289
- return this.client.sendOperationRequest(
290
- { subscriptionId, resourceGroupName, location, dryrunName, options },
291
- getDryrunOperationSpec,
292
- );
293
- }
294
-
295
- /**
296
- * create a dryrun job to do necessary check before actual creation
297
- * @param subscriptionId The ID of the target subscription.
298
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
299
- * @param location The name of Azure region.
300
- * @param dryrunName The name of dryrun.
301
- * @param parameters dryrun resource.
302
- * @param options The options parameters.
303
- */
304
- async beginCreateDryrun(
305
- subscriptionId: string,
306
- resourceGroupName: string,
307
- location: string,
308
- dryrunName: string,
309
- parameters: DryrunResource,
310
- options?: ConnectorCreateDryrunOptionalParams,
311
- ): Promise<
312
- SimplePollerLike<
313
- OperationState<ConnectorCreateDryrunResponse>,
314
- ConnectorCreateDryrunResponse
315
- >
316
- > {
317
- const directSendOperation = async (
318
- args: coreClient.OperationArguments,
319
- spec: coreClient.OperationSpec,
320
- ): Promise<ConnectorCreateDryrunResponse> => {
321
- return this.client.sendOperationRequest(args, spec);
322
- };
323
- const sendOperationFn = async (
324
- args: coreClient.OperationArguments,
325
- spec: coreClient.OperationSpec,
326
- ) => {
327
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
328
- undefined;
329
- const providedCallback = args.options?.onResponse;
330
- const callback: coreClient.RawResponseCallback = (
331
- rawResponse: coreClient.FullOperationResponse,
332
- flatResponse: unknown,
333
- ) => {
334
- currentRawResponse = rawResponse;
335
- providedCallback?.(rawResponse, flatResponse);
336
- };
337
- const updatedArgs = {
338
- ...args,
339
- options: {
340
- ...args.options,
341
- onResponse: callback,
342
- },
343
- };
344
- const flatResponse = await directSendOperation(updatedArgs, spec);
345
- return {
346
- flatResponse,
347
- rawResponse: {
348
- statusCode: currentRawResponse!.status,
349
- body: currentRawResponse!.parsedBody,
350
- headers: currentRawResponse!.headers.toJSON(),
351
- },
352
- };
353
- };
354
-
355
- const lro = createLroSpec({
356
- sendOperationFn,
357
- args: {
358
- subscriptionId,
359
- resourceGroupName,
360
- location,
361
- dryrunName,
362
- parameters,
363
- options,
364
- },
365
- spec: createDryrunOperationSpec,
366
- });
367
- const poller = await createHttpPoller<
368
- ConnectorCreateDryrunResponse,
369
- OperationState<ConnectorCreateDryrunResponse>
370
- >(lro, {
371
- restoreFrom: options?.resumeFrom,
372
- intervalInMs: options?.updateIntervalInMs,
373
- resourceLocationConfig: "azure-async-operation",
374
- });
375
- await poller.poll();
376
- return poller;
377
- }
378
-
379
- /**
380
- * create a dryrun job to do necessary check before actual creation
381
- * @param subscriptionId The ID of the target subscription.
382
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
383
- * @param location The name of Azure region.
384
- * @param dryrunName The name of dryrun.
385
- * @param parameters dryrun resource.
386
- * @param options The options parameters.
387
- */
388
- async beginCreateDryrunAndWait(
389
- subscriptionId: string,
390
- resourceGroupName: string,
391
- location: string,
392
- dryrunName: string,
393
- parameters: DryrunResource,
394
- options?: ConnectorCreateDryrunOptionalParams,
395
- ): Promise<ConnectorCreateDryrunResponse> {
396
- const poller = await this.beginCreateDryrun(
397
- subscriptionId,
398
- resourceGroupName,
399
- location,
400
- dryrunName,
401
- parameters,
402
- options,
403
- );
404
- return poller.pollUntilDone();
405
- }
406
-
407
- /**
408
- * update a dryrun job to do necessary check before actual creation
409
- * @param subscriptionId The ID of the target subscription.
410
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
411
- * @param location The name of Azure region.
412
- * @param dryrunName The name of dryrun.
413
- * @param parameters dryrun resource.
414
- * @param options The options parameters.
415
- */
416
- async beginUpdateDryrun(
417
- subscriptionId: string,
418
- resourceGroupName: string,
419
- location: string,
420
- dryrunName: string,
421
- parameters: DryrunPatch,
422
- options?: ConnectorUpdateDryrunOptionalParams,
423
- ): Promise<
424
- SimplePollerLike<
425
- OperationState<ConnectorUpdateDryrunResponse>,
426
- ConnectorUpdateDryrunResponse
427
- >
428
- > {
429
- const directSendOperation = async (
430
- args: coreClient.OperationArguments,
431
- spec: coreClient.OperationSpec,
432
- ): Promise<ConnectorUpdateDryrunResponse> => {
433
- return this.client.sendOperationRequest(args, spec);
434
- };
435
- const sendOperationFn = async (
436
- args: coreClient.OperationArguments,
437
- spec: coreClient.OperationSpec,
438
- ) => {
439
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
440
- undefined;
441
- const providedCallback = args.options?.onResponse;
442
- const callback: coreClient.RawResponseCallback = (
443
- rawResponse: coreClient.FullOperationResponse,
444
- flatResponse: unknown,
445
- ) => {
446
- currentRawResponse = rawResponse;
447
- providedCallback?.(rawResponse, flatResponse);
448
- };
449
- const updatedArgs = {
450
- ...args,
451
- options: {
452
- ...args.options,
453
- onResponse: callback,
454
- },
455
- };
456
- const flatResponse = await directSendOperation(updatedArgs, spec);
457
- return {
458
- flatResponse,
459
- rawResponse: {
460
- statusCode: currentRawResponse!.status,
461
- body: currentRawResponse!.parsedBody,
462
- headers: currentRawResponse!.headers.toJSON(),
463
- },
464
- };
465
- };
466
-
467
- const lro = createLroSpec({
468
- sendOperationFn,
469
- args: {
470
- subscriptionId,
471
- resourceGroupName,
472
- location,
473
- dryrunName,
474
- parameters,
475
- options,
476
- },
477
- spec: updateDryrunOperationSpec,
478
- });
479
- const poller = await createHttpPoller<
480
- ConnectorUpdateDryrunResponse,
481
- OperationState<ConnectorUpdateDryrunResponse>
482
- >(lro, {
483
- restoreFrom: options?.resumeFrom,
484
- intervalInMs: options?.updateIntervalInMs,
485
- resourceLocationConfig: "azure-async-operation",
486
- });
487
- await poller.poll();
488
- return poller;
489
- }
490
-
491
- /**
492
- * update a dryrun job to do necessary check before actual creation
493
- * @param subscriptionId The ID of the target subscription.
494
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
495
- * @param location The name of Azure region.
496
- * @param dryrunName The name of dryrun.
497
- * @param parameters dryrun resource.
498
- * @param options The options parameters.
499
- */
500
- async beginUpdateDryrunAndWait(
501
- subscriptionId: string,
502
- resourceGroupName: string,
503
- location: string,
504
- dryrunName: string,
505
- parameters: DryrunPatch,
506
- options?: ConnectorUpdateDryrunOptionalParams,
507
- ): Promise<ConnectorUpdateDryrunResponse> {
508
- const poller = await this.beginUpdateDryrun(
509
- subscriptionId,
510
- resourceGroupName,
511
- location,
512
- dryrunName,
513
- parameters,
514
- options,
515
- );
516
- return poller.pollUntilDone();
517
- }
518
-
519
- /**
520
- * delete a dryrun job
521
- * @param subscriptionId The ID of the target subscription.
522
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
523
- * @param location The name of Azure region.
524
- * @param dryrunName The name of dryrun.
525
- * @param options The options parameters.
526
- */
527
- deleteDryrun(
528
- subscriptionId: string,
529
- resourceGroupName: string,
530
- location: string,
531
- dryrunName: string,
532
- options?: ConnectorDeleteDryrunOptionalParams,
533
- ): Promise<void> {
534
- return this.client.sendOperationRequest(
535
- { subscriptionId, resourceGroupName, location, dryrunName, options },
536
- deleteDryrunOperationSpec,
537
- );
538
- }
539
-
540
- /**
541
- * Returns list of connector which connects to the resource, which supports to config the target
542
- * service during the resource provision.
543
- * @param subscriptionId The ID of the target subscription.
544
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
545
- * @param location The name of Azure region.
546
- * @param options The options parameters.
547
- */
548
- private _list(
549
- subscriptionId: string,
550
- resourceGroupName: string,
551
- location: string,
552
- options?: ConnectorListOptionalParams,
553
- ): Promise<ConnectorListResponse> {
554
- return this.client.sendOperationRequest(
555
- { subscriptionId, resourceGroupName, location, options },
556
- listOperationSpec,
557
- );
558
- }
559
-
560
- /**
561
- * Returns Connector resource for a given name.
562
- * @param subscriptionId The ID of the target subscription.
563
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
564
- * @param location The name of Azure region.
565
- * @param connectorName The name of resource.
566
- * @param options The options parameters.
567
- */
568
- get(
569
- subscriptionId: string,
570
- resourceGroupName: string,
571
- location: string,
572
- connectorName: string,
573
- options?: ConnectorGetOptionalParams,
574
- ): Promise<ConnectorGetResponse> {
575
- return this.client.sendOperationRequest(
576
- { subscriptionId, resourceGroupName, location, connectorName, options },
577
- getOperationSpec,
578
- );
579
- }
580
-
581
- /**
582
- * Create or update Connector resource.
583
- * @param subscriptionId The ID of the target subscription.
584
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
585
- * @param location The name of Azure region.
586
- * @param connectorName The name of resource.
587
- * @param parameters Connector details.
588
- * @param options The options parameters.
589
- */
590
- async beginCreateOrUpdate(
591
- subscriptionId: string,
592
- resourceGroupName: string,
593
- location: string,
594
- connectorName: string,
595
- parameters: LinkerResource,
596
- options?: ConnectorCreateOrUpdateOptionalParams,
597
- ): Promise<
598
- SimplePollerLike<
599
- OperationState<ConnectorCreateOrUpdateResponse>,
600
- ConnectorCreateOrUpdateResponse
601
- >
602
- > {
603
- const directSendOperation = async (
604
- args: coreClient.OperationArguments,
605
- spec: coreClient.OperationSpec,
606
- ): Promise<ConnectorCreateOrUpdateResponse> => {
607
- return this.client.sendOperationRequest(args, spec);
608
- };
609
- const sendOperationFn = async (
610
- args: coreClient.OperationArguments,
611
- spec: coreClient.OperationSpec,
612
- ) => {
613
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
614
- undefined;
615
- const providedCallback = args.options?.onResponse;
616
- const callback: coreClient.RawResponseCallback = (
617
- rawResponse: coreClient.FullOperationResponse,
618
- flatResponse: unknown,
619
- ) => {
620
- currentRawResponse = rawResponse;
621
- providedCallback?.(rawResponse, flatResponse);
622
- };
623
- const updatedArgs = {
624
- ...args,
625
- options: {
626
- ...args.options,
627
- onResponse: callback,
628
- },
629
- };
630
- const flatResponse = await directSendOperation(updatedArgs, spec);
631
- return {
632
- flatResponse,
633
- rawResponse: {
634
- statusCode: currentRawResponse!.status,
635
- body: currentRawResponse!.parsedBody,
636
- headers: currentRawResponse!.headers.toJSON(),
637
- },
638
- };
639
- };
640
-
641
- const lro = createLroSpec({
642
- sendOperationFn,
643
- args: {
644
- subscriptionId,
645
- resourceGroupName,
646
- location,
647
- connectorName,
648
- parameters,
649
- options,
650
- },
651
- spec: createOrUpdateOperationSpec,
652
- });
653
- const poller = await createHttpPoller<
654
- ConnectorCreateOrUpdateResponse,
655
- OperationState<ConnectorCreateOrUpdateResponse>
656
- >(lro, {
657
- restoreFrom: options?.resumeFrom,
658
- intervalInMs: options?.updateIntervalInMs,
659
- resourceLocationConfig: "azure-async-operation",
660
- });
661
- await poller.poll();
662
- return poller;
663
- }
664
-
665
- /**
666
- * Create or update Connector resource.
667
- * @param subscriptionId The ID of the target subscription.
668
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
669
- * @param location The name of Azure region.
670
- * @param connectorName The name of resource.
671
- * @param parameters Connector details.
672
- * @param options The options parameters.
673
- */
674
- async beginCreateOrUpdateAndWait(
675
- subscriptionId: string,
676
- resourceGroupName: string,
677
- location: string,
678
- connectorName: string,
679
- parameters: LinkerResource,
680
- options?: ConnectorCreateOrUpdateOptionalParams,
681
- ): Promise<ConnectorCreateOrUpdateResponse> {
682
- const poller = await this.beginCreateOrUpdate(
683
- subscriptionId,
684
- resourceGroupName,
685
- location,
686
- connectorName,
687
- parameters,
688
- options,
689
- );
690
- return poller.pollUntilDone();
691
- }
692
-
693
- /**
694
- * Delete a Connector.
695
- * @param subscriptionId The ID of the target subscription.
696
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
697
- * @param location The name of Azure region.
698
- * @param connectorName The name of resource.
699
- * @param options The options parameters.
700
- */
701
- async beginDelete(
702
- subscriptionId: string,
703
- resourceGroupName: string,
704
- location: string,
705
- connectorName: string,
706
- options?: ConnectorDeleteOptionalParams,
707
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
708
- const directSendOperation = async (
709
- args: coreClient.OperationArguments,
710
- spec: coreClient.OperationSpec,
711
- ): Promise<void> => {
712
- return this.client.sendOperationRequest(args, spec);
713
- };
714
- const sendOperationFn = async (
715
- args: coreClient.OperationArguments,
716
- spec: coreClient.OperationSpec,
717
- ) => {
718
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
719
- undefined;
720
- const providedCallback = args.options?.onResponse;
721
- const callback: coreClient.RawResponseCallback = (
722
- rawResponse: coreClient.FullOperationResponse,
723
- flatResponse: unknown,
724
- ) => {
725
- currentRawResponse = rawResponse;
726
- providedCallback?.(rawResponse, flatResponse);
727
- };
728
- const updatedArgs = {
729
- ...args,
730
- options: {
731
- ...args.options,
732
- onResponse: callback,
733
- },
734
- };
735
- const flatResponse = await directSendOperation(updatedArgs, spec);
736
- return {
737
- flatResponse,
738
- rawResponse: {
739
- statusCode: currentRawResponse!.status,
740
- body: currentRawResponse!.parsedBody,
741
- headers: currentRawResponse!.headers.toJSON(),
742
- },
743
- };
744
- };
745
-
746
- const lro = createLroSpec({
747
- sendOperationFn,
748
- args: {
749
- subscriptionId,
750
- resourceGroupName,
751
- location,
752
- connectorName,
753
- options,
754
- },
755
- spec: deleteOperationSpec,
756
- });
757
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
758
- restoreFrom: options?.resumeFrom,
759
- intervalInMs: options?.updateIntervalInMs,
760
- resourceLocationConfig: "azure-async-operation",
761
- });
762
- await poller.poll();
763
- return poller;
764
- }
765
-
766
- /**
767
- * Delete a Connector.
768
- * @param subscriptionId The ID of the target subscription.
769
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
770
- * @param location The name of Azure region.
771
- * @param connectorName The name of resource.
772
- * @param options The options parameters.
773
- */
774
- async beginDeleteAndWait(
775
- subscriptionId: string,
776
- resourceGroupName: string,
777
- location: string,
778
- connectorName: string,
779
- options?: ConnectorDeleteOptionalParams,
780
- ): Promise<void> {
781
- const poller = await this.beginDelete(
782
- subscriptionId,
783
- resourceGroupName,
784
- location,
785
- connectorName,
786
- options,
787
- );
788
- return poller.pollUntilDone();
789
- }
790
-
791
- /**
792
- * Operation to update an existing Connector.
793
- * @param subscriptionId The ID of the target subscription.
794
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
795
- * @param location The name of Azure region.
796
- * @param connectorName The name of resource.
797
- * @param parameters Connector details.
798
- * @param options The options parameters.
799
- */
800
- async beginUpdate(
801
- subscriptionId: string,
802
- resourceGroupName: string,
803
- location: string,
804
- connectorName: string,
805
- parameters: LinkerPatch,
806
- options?: ConnectorUpdateOptionalParams,
807
- ): Promise<
808
- SimplePollerLike<
809
- OperationState<ConnectorUpdateResponse>,
810
- ConnectorUpdateResponse
811
- >
812
- > {
813
- const directSendOperation = async (
814
- args: coreClient.OperationArguments,
815
- spec: coreClient.OperationSpec,
816
- ): Promise<ConnectorUpdateResponse> => {
817
- return this.client.sendOperationRequest(args, spec);
818
- };
819
- const sendOperationFn = async (
820
- args: coreClient.OperationArguments,
821
- spec: coreClient.OperationSpec,
822
- ) => {
823
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
824
- undefined;
825
- const providedCallback = args.options?.onResponse;
826
- const callback: coreClient.RawResponseCallback = (
827
- rawResponse: coreClient.FullOperationResponse,
828
- flatResponse: unknown,
829
- ) => {
830
- currentRawResponse = rawResponse;
831
- providedCallback?.(rawResponse, flatResponse);
832
- };
833
- const updatedArgs = {
834
- ...args,
835
- options: {
836
- ...args.options,
837
- onResponse: callback,
838
- },
839
- };
840
- const flatResponse = await directSendOperation(updatedArgs, spec);
841
- return {
842
- flatResponse,
843
- rawResponse: {
844
- statusCode: currentRawResponse!.status,
845
- body: currentRawResponse!.parsedBody,
846
- headers: currentRawResponse!.headers.toJSON(),
847
- },
848
- };
849
- };
850
-
851
- const lro = createLroSpec({
852
- sendOperationFn,
853
- args: {
854
- subscriptionId,
855
- resourceGroupName,
856
- location,
857
- connectorName,
858
- parameters,
859
- options,
860
- },
861
- spec: updateOperationSpec,
862
- });
863
- const poller = await createHttpPoller<
864
- ConnectorUpdateResponse,
865
- OperationState<ConnectorUpdateResponse>
866
- >(lro, {
867
- restoreFrom: options?.resumeFrom,
868
- intervalInMs: options?.updateIntervalInMs,
869
- resourceLocationConfig: "azure-async-operation",
870
- });
871
- await poller.poll();
872
- return poller;
873
- }
874
-
875
- /**
876
- * Operation to update an existing Connector.
877
- * @param subscriptionId The ID of the target subscription.
878
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
879
- * @param location The name of Azure region.
880
- * @param connectorName The name of resource.
881
- * @param parameters Connector details.
882
- * @param options The options parameters.
883
- */
884
- async beginUpdateAndWait(
885
- subscriptionId: string,
886
- resourceGroupName: string,
887
- location: string,
888
- connectorName: string,
889
- parameters: LinkerPatch,
890
- options?: ConnectorUpdateOptionalParams,
891
- ): Promise<ConnectorUpdateResponse> {
892
- const poller = await this.beginUpdate(
893
- subscriptionId,
894
- resourceGroupName,
895
- location,
896
- connectorName,
897
- parameters,
898
- options,
899
- );
900
- return poller.pollUntilDone();
901
- }
902
-
903
- /**
904
- * Validate a Connector.
905
- * @param subscriptionId The ID of the target subscription.
906
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
907
- * @param location The name of Azure region.
908
- * @param connectorName The name of resource.
909
- * @param options The options parameters.
910
- */
911
- async beginValidate(
912
- subscriptionId: string,
913
- resourceGroupName: string,
914
- location: string,
915
- connectorName: string,
916
- options?: ConnectorValidateOptionalParams,
917
- ): Promise<
918
- SimplePollerLike<
919
- OperationState<ConnectorValidateResponse>,
920
- ConnectorValidateResponse
921
- >
922
- > {
923
- const directSendOperation = async (
924
- args: coreClient.OperationArguments,
925
- spec: coreClient.OperationSpec,
926
- ): Promise<ConnectorValidateResponse> => {
927
- return this.client.sendOperationRequest(args, spec);
928
- };
929
- const sendOperationFn = async (
930
- args: coreClient.OperationArguments,
931
- spec: coreClient.OperationSpec,
932
- ) => {
933
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
934
- undefined;
935
- const providedCallback = args.options?.onResponse;
936
- const callback: coreClient.RawResponseCallback = (
937
- rawResponse: coreClient.FullOperationResponse,
938
- flatResponse: unknown,
939
- ) => {
940
- currentRawResponse = rawResponse;
941
- providedCallback?.(rawResponse, flatResponse);
942
- };
943
- const updatedArgs = {
944
- ...args,
945
- options: {
946
- ...args.options,
947
- onResponse: callback,
948
- },
949
- };
950
- const flatResponse = await directSendOperation(updatedArgs, spec);
951
- return {
952
- flatResponse,
953
- rawResponse: {
954
- statusCode: currentRawResponse!.status,
955
- body: currentRawResponse!.parsedBody,
956
- headers: currentRawResponse!.headers.toJSON(),
957
- },
958
- };
959
- };
960
-
961
- const lro = createLroSpec({
962
- sendOperationFn,
963
- args: {
964
- subscriptionId,
965
- resourceGroupName,
966
- location,
967
- connectorName,
968
- options,
969
- },
970
- spec: validateOperationSpec,
971
- });
972
- const poller = await createHttpPoller<
973
- ConnectorValidateResponse,
974
- OperationState<ConnectorValidateResponse>
975
- >(lro, {
976
- restoreFrom: options?.resumeFrom,
977
- intervalInMs: options?.updateIntervalInMs,
978
- resourceLocationConfig: "location",
979
- });
980
- await poller.poll();
981
- return poller;
982
- }
983
-
984
- /**
985
- * Validate a Connector.
986
- * @param subscriptionId The ID of the target subscription.
987
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
988
- * @param location The name of Azure region.
989
- * @param connectorName The name of resource.
990
- * @param options The options parameters.
991
- */
992
- async beginValidateAndWait(
993
- subscriptionId: string,
994
- resourceGroupName: string,
995
- location: string,
996
- connectorName: string,
997
- options?: ConnectorValidateOptionalParams,
998
- ): Promise<ConnectorValidateResponse> {
999
- const poller = await this.beginValidate(
1000
- subscriptionId,
1001
- resourceGroupName,
1002
- location,
1003
- connectorName,
1004
- options,
1005
- );
1006
- return poller.pollUntilDone();
1007
- }
1008
-
1009
- /**
1010
- * Generate configurations for a Connector.
1011
- * @param subscriptionId The ID of the target subscription.
1012
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1013
- * @param location The name of Azure region.
1014
- * @param connectorName The name of resource.
1015
- * @param options The options parameters.
1016
- */
1017
- generateConfigurations(
1018
- subscriptionId: string,
1019
- resourceGroupName: string,
1020
- location: string,
1021
- connectorName: string,
1022
- options?: ConnectorGenerateConfigurationsOptionalParams,
1023
- ): Promise<ConnectorGenerateConfigurationsResponse> {
1024
- return this.client.sendOperationRequest(
1025
- { subscriptionId, resourceGroupName, location, connectorName, options },
1026
- generateConfigurationsOperationSpec,
1027
- );
1028
- }
1029
-
1030
- /**
1031
- * ListDryrunNext
1032
- * @param subscriptionId The ID of the target subscription.
1033
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1034
- * @param location The name of Azure region.
1035
- * @param nextLink The nextLink from the previous successful call to the ListDryrun method.
1036
- * @param options The options parameters.
1037
- */
1038
- private _listDryrunNext(
1039
- subscriptionId: string,
1040
- resourceGroupName: string,
1041
- location: string,
1042
- nextLink: string,
1043
- options?: ConnectorListDryrunNextOptionalParams,
1044
- ): Promise<ConnectorListDryrunNextResponse> {
1045
- return this.client.sendOperationRequest(
1046
- { subscriptionId, resourceGroupName, location, nextLink, options },
1047
- listDryrunNextOperationSpec,
1048
- );
1049
- }
1050
-
1051
- /**
1052
- * ListNext
1053
- * @param subscriptionId The ID of the target subscription.
1054
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1055
- * @param location The name of Azure region.
1056
- * @param nextLink The nextLink from the previous successful call to the List method.
1057
- * @param options The options parameters.
1058
- */
1059
- private _listNext(
1060
- subscriptionId: string,
1061
- resourceGroupName: string,
1062
- location: string,
1063
- nextLink: string,
1064
- options?: ConnectorListNextOptionalParams,
1065
- ): Promise<ConnectorListNextResponse> {
1066
- return this.client.sendOperationRequest(
1067
- { subscriptionId, resourceGroupName, location, nextLink, options },
1068
- listNextOperationSpec,
1069
- );
1070
- }
1071
- }
1072
- // Operation Specifications
1073
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
1074
-
1075
- const listDryrunOperationSpec: coreClient.OperationSpec = {
1076
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns",
1077
- httpMethod: "GET",
1078
- responses: {
1079
- 200: {
1080
- bodyMapper: Mappers.DryrunList,
1081
- },
1082
- default: {
1083
- bodyMapper: Mappers.ErrorResponse,
1084
- },
1085
- },
1086
- queryParameters: [Parameters.apiVersion],
1087
- urlParameters: [
1088
- Parameters.$host,
1089
- Parameters.subscriptionId,
1090
- Parameters.resourceGroupName,
1091
- Parameters.location,
1092
- ],
1093
- headerParameters: [Parameters.accept],
1094
- serializer,
1095
- };
1096
- const getDryrunOperationSpec: coreClient.OperationSpec = {
1097
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
1098
- httpMethod: "GET",
1099
- responses: {
1100
- 200: {
1101
- bodyMapper: Mappers.DryrunResource,
1102
- },
1103
- default: {
1104
- bodyMapper: Mappers.ErrorResponse,
1105
- },
1106
- },
1107
- queryParameters: [Parameters.apiVersion],
1108
- urlParameters: [
1109
- Parameters.$host,
1110
- Parameters.subscriptionId,
1111
- Parameters.resourceGroupName,
1112
- Parameters.location,
1113
- Parameters.dryrunName,
1114
- ],
1115
- headerParameters: [Parameters.accept],
1116
- serializer,
1117
- };
1118
- const createDryrunOperationSpec: coreClient.OperationSpec = {
1119
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
1120
- httpMethod: "PUT",
1121
- responses: {
1122
- 200: {
1123
- bodyMapper: Mappers.DryrunResource,
1124
- },
1125
- 201: {
1126
- bodyMapper: Mappers.DryrunResource,
1127
- },
1128
- 202: {
1129
- bodyMapper: Mappers.DryrunResource,
1130
- },
1131
- 204: {
1132
- bodyMapper: Mappers.DryrunResource,
1133
- },
1134
- default: {
1135
- bodyMapper: Mappers.ErrorResponse,
1136
- },
1137
- },
1138
- requestBody: Parameters.parameters,
1139
- queryParameters: [Parameters.apiVersion],
1140
- urlParameters: [
1141
- Parameters.$host,
1142
- Parameters.subscriptionId,
1143
- Parameters.resourceGroupName,
1144
- Parameters.location,
1145
- Parameters.dryrunName,
1146
- ],
1147
- headerParameters: [Parameters.accept, Parameters.contentType],
1148
- mediaType: "json",
1149
- serializer,
1150
- };
1151
- const updateDryrunOperationSpec: coreClient.OperationSpec = {
1152
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
1153
- httpMethod: "PATCH",
1154
- responses: {
1155
- 200: {
1156
- bodyMapper: Mappers.DryrunResource,
1157
- },
1158
- 201: {
1159
- bodyMapper: Mappers.DryrunResource,
1160
- },
1161
- 202: {
1162
- bodyMapper: Mappers.DryrunResource,
1163
- },
1164
- 204: {
1165
- bodyMapper: Mappers.DryrunResource,
1166
- },
1167
- default: {
1168
- bodyMapper: Mappers.ErrorResponse,
1169
- },
1170
- },
1171
- requestBody: Parameters.parameters1,
1172
- queryParameters: [Parameters.apiVersion],
1173
- urlParameters: [
1174
- Parameters.$host,
1175
- Parameters.subscriptionId,
1176
- Parameters.resourceGroupName,
1177
- Parameters.location,
1178
- Parameters.dryrunName,
1179
- ],
1180
- headerParameters: [Parameters.accept, Parameters.contentType],
1181
- mediaType: "json",
1182
- serializer,
1183
- };
1184
- const deleteDryrunOperationSpec: coreClient.OperationSpec = {
1185
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns/{dryrunName}",
1186
- httpMethod: "DELETE",
1187
- responses: {
1188
- 200: {},
1189
- 204: {},
1190
- default: {
1191
- bodyMapper: Mappers.ErrorResponse,
1192
- },
1193
- },
1194
- queryParameters: [Parameters.apiVersion],
1195
- urlParameters: [
1196
- Parameters.$host,
1197
- Parameters.subscriptionId,
1198
- Parameters.resourceGroupName,
1199
- Parameters.location,
1200
- Parameters.dryrunName,
1201
- ],
1202
- headerParameters: [Parameters.accept],
1203
- serializer,
1204
- };
1205
- const listOperationSpec: coreClient.OperationSpec = {
1206
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors",
1207
- httpMethod: "GET",
1208
- responses: {
1209
- 200: {
1210
- bodyMapper: Mappers.ResourceList,
1211
- },
1212
- default: {
1213
- bodyMapper: Mappers.ErrorResponse,
1214
- },
1215
- },
1216
- queryParameters: [Parameters.apiVersion],
1217
- urlParameters: [
1218
- Parameters.$host,
1219
- Parameters.subscriptionId,
1220
- Parameters.resourceGroupName,
1221
- Parameters.location,
1222
- ],
1223
- headerParameters: [Parameters.accept],
1224
- serializer,
1225
- };
1226
- const getOperationSpec: coreClient.OperationSpec = {
1227
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
1228
- httpMethod: "GET",
1229
- responses: {
1230
- 200: {
1231
- bodyMapper: Mappers.LinkerResource,
1232
- },
1233
- default: {
1234
- bodyMapper: Mappers.ErrorResponse,
1235
- },
1236
- },
1237
- queryParameters: [Parameters.apiVersion],
1238
- urlParameters: [
1239
- Parameters.$host,
1240
- Parameters.subscriptionId,
1241
- Parameters.resourceGroupName,
1242
- Parameters.location,
1243
- Parameters.connectorName,
1244
- ],
1245
- headerParameters: [Parameters.accept],
1246
- serializer,
1247
- };
1248
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
1249
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
1250
- httpMethod: "PUT",
1251
- responses: {
1252
- 200: {
1253
- bodyMapper: Mappers.LinkerResource,
1254
- },
1255
- 201: {
1256
- bodyMapper: Mappers.LinkerResource,
1257
- },
1258
- 202: {
1259
- bodyMapper: Mappers.LinkerResource,
1260
- },
1261
- 204: {
1262
- bodyMapper: Mappers.LinkerResource,
1263
- },
1264
- default: {
1265
- bodyMapper: Mappers.ErrorResponse,
1266
- },
1267
- },
1268
- requestBody: Parameters.parameters2,
1269
- queryParameters: [Parameters.apiVersion],
1270
- urlParameters: [
1271
- Parameters.$host,
1272
- Parameters.subscriptionId,
1273
- Parameters.resourceGroupName,
1274
- Parameters.location,
1275
- Parameters.connectorName,
1276
- ],
1277
- headerParameters: [Parameters.accept, Parameters.contentType],
1278
- mediaType: "json",
1279
- serializer,
1280
- };
1281
- const deleteOperationSpec: coreClient.OperationSpec = {
1282
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
1283
- httpMethod: "DELETE",
1284
- responses: {
1285
- 200: {},
1286
- 201: {},
1287
- 202: {},
1288
- 204: {},
1289
- default: {
1290
- bodyMapper: Mappers.ErrorResponse,
1291
- },
1292
- },
1293
- queryParameters: [Parameters.apiVersion],
1294
- urlParameters: [
1295
- Parameters.$host,
1296
- Parameters.subscriptionId,
1297
- Parameters.resourceGroupName,
1298
- Parameters.location,
1299
- Parameters.connectorName,
1300
- ],
1301
- headerParameters: [Parameters.accept],
1302
- serializer,
1303
- };
1304
- const updateOperationSpec: coreClient.OperationSpec = {
1305
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}",
1306
- httpMethod: "PATCH",
1307
- responses: {
1308
- 200: {
1309
- bodyMapper: Mappers.LinkerResource,
1310
- },
1311
- 201: {
1312
- bodyMapper: Mappers.LinkerResource,
1313
- },
1314
- 202: {
1315
- bodyMapper: Mappers.LinkerResource,
1316
- },
1317
- 204: {
1318
- bodyMapper: Mappers.LinkerResource,
1319
- },
1320
- default: {
1321
- bodyMapper: Mappers.ErrorResponse,
1322
- },
1323
- },
1324
- requestBody: Parameters.parameters3,
1325
- queryParameters: [Parameters.apiVersion],
1326
- urlParameters: [
1327
- Parameters.$host,
1328
- Parameters.subscriptionId,
1329
- Parameters.resourceGroupName,
1330
- Parameters.location,
1331
- Parameters.connectorName,
1332
- ],
1333
- headerParameters: [Parameters.accept, Parameters.contentType],
1334
- mediaType: "json",
1335
- serializer,
1336
- };
1337
- const validateOperationSpec: coreClient.OperationSpec = {
1338
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/validate",
1339
- httpMethod: "POST",
1340
- responses: {
1341
- 200: {
1342
- bodyMapper: Mappers.ValidateOperationResult,
1343
- },
1344
- 201: {
1345
- bodyMapper: Mappers.ValidateOperationResult,
1346
- },
1347
- 202: {
1348
- bodyMapper: Mappers.ValidateOperationResult,
1349
- },
1350
- 204: {
1351
- bodyMapper: Mappers.ValidateOperationResult,
1352
- },
1353
- default: {
1354
- bodyMapper: Mappers.ErrorResponse,
1355
- },
1356
- },
1357
- queryParameters: [Parameters.apiVersion],
1358
- urlParameters: [
1359
- Parameters.$host,
1360
- Parameters.subscriptionId,
1361
- Parameters.resourceGroupName,
1362
- Parameters.location,
1363
- Parameters.connectorName,
1364
- ],
1365
- headerParameters: [Parameters.accept],
1366
- serializer,
1367
- };
1368
- const generateConfigurationsOperationSpec: coreClient.OperationSpec = {
1369
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}/generateConfigurations",
1370
- httpMethod: "POST",
1371
- responses: {
1372
- 200: {
1373
- bodyMapper: Mappers.ConfigurationResult,
1374
- },
1375
- default: {
1376
- bodyMapper: Mappers.ErrorResponse,
1377
- },
1378
- },
1379
- requestBody: Parameters.parameters4,
1380
- queryParameters: [Parameters.apiVersion],
1381
- urlParameters: [
1382
- Parameters.$host,
1383
- Parameters.subscriptionId,
1384
- Parameters.resourceGroupName,
1385
- Parameters.location,
1386
- Parameters.connectorName,
1387
- ],
1388
- headerParameters: [Parameters.accept, Parameters.contentType],
1389
- mediaType: "json",
1390
- serializer,
1391
- };
1392
- const listDryrunNextOperationSpec: coreClient.OperationSpec = {
1393
- path: "{nextLink}",
1394
- httpMethod: "GET",
1395
- responses: {
1396
- 200: {
1397
- bodyMapper: Mappers.DryrunList,
1398
- },
1399
- default: {
1400
- bodyMapper: Mappers.ErrorResponse,
1401
- },
1402
- },
1403
- urlParameters: [
1404
- Parameters.$host,
1405
- Parameters.subscriptionId,
1406
- Parameters.resourceGroupName,
1407
- Parameters.location,
1408
- Parameters.nextLink,
1409
- ],
1410
- headerParameters: [Parameters.accept],
1411
- serializer,
1412
- };
1413
- const listNextOperationSpec: coreClient.OperationSpec = {
1414
- path: "{nextLink}",
1415
- httpMethod: "GET",
1416
- responses: {
1417
- 200: {
1418
- bodyMapper: Mappers.ResourceList,
1419
- },
1420
- default: {
1421
- bodyMapper: Mappers.ErrorResponse,
1422
- },
1423
- },
1424
- urlParameters: [
1425
- Parameters.$host,
1426
- Parameters.subscriptionId,
1427
- Parameters.resourceGroupName,
1428
- Parameters.location,
1429
- Parameters.nextLink,
1430
- ],
1431
- headerParameters: [Parameters.accept],
1432
- serializer,
1433
- };