@azure/arm-kubernetesconfiguration 6.1.1-alpha.20250210.1 → 6.1.1-alpha.20250212.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. package/README.md +21 -14
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/operations/extensions.d.ts +3 -3
  12. package/dist/browser/operations/extensions.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/extensions.js +139 -151
  14. package/dist/browser/operations/extensions.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/fluxConfigOperationStatus.d.ts +3 -3
  16. package/dist/browser/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/fluxConfigOperationStatus.js +2 -2
  18. package/dist/browser/operations/fluxConfigOperationStatus.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/fluxConfigurations.d.ts +3 -3
  20. package/dist/browser/operations/fluxConfigurations.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/fluxConfigurations.js +139 -151
  22. package/dist/browser/operations/fluxConfigurations.js.map +1 -0
  23. package/dist/browser/operations/index.d.ts +7 -0
  24. package/dist/browser/operations/index.d.ts.map +1 -0
  25. package/dist/browser/operations/index.js +14 -0
  26. package/dist/browser/operations/index.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/operationStatus.d.ts +3 -3
  28. package/dist/browser/operations/operationStatus.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/operationStatus.js +3 -3
  30. package/dist/browser/operations/operationStatus.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  32. package/dist/browser/operations/operations.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  34. package/dist/browser/operations/operations.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/sourceControlConfigurations.d.ts +3 -3
  36. package/dist/browser/operations/sourceControlConfigurations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/sourceControlConfigurations.js +48 -52
  38. package/dist/browser/operations/sourceControlConfigurations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.d.ts +1 -1
  40. package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigOperationStatus.d.ts +1 -1
  43. package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  44. package/dist/browser/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigurations.d.ts +1 -1
  46. package/dist/browser/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  47. package/dist/browser/operationsInterfaces/fluxConfigurations.js.map +1 -0
  48. package/dist/browser/operationsInterfaces/index.d.ts +7 -0
  49. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/index.js +14 -0
  51. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatus.d.ts +1 -1
  53. package/dist/browser/operationsInterfaces/operationStatus.d.ts.map +1 -0
  54. package/dist/browser/operationsInterfaces/operationStatus.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  57. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/sourceControlConfigurations.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/sourceControlConfigurations.js.map +1 -0
  61. package/dist/browser/package.json +3 -0
  62. package/dist/browser/pagingHelper.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/sourceControlConfigurationClient.d.ts +2 -2
  64. package/dist/browser/sourceControlConfigurationClient.d.ts.map +1 -0
  65. package/{dist-esm/src → dist/browser}/sourceControlConfigurationClient.js +15 -18
  66. package/dist/browser/sourceControlConfigurationClient.js.map +1 -0
  67. package/dist/commonjs/index.d.ts +5 -0
  68. package/dist/commonjs/index.d.ts.map +1 -0
  69. package/dist/commonjs/index.js +19 -0
  70. package/dist/commonjs/index.js.map +1 -0
  71. package/dist/commonjs/lroImpl.d.ts +11 -0
  72. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  73. package/dist/commonjs/lroImpl.js +17 -0
  74. package/dist/commonjs/lroImpl.js.map +1 -0
  75. package/{types/arm-kubernetesconfiguration.d.ts → dist/commonjs/models/index.d.ts} +1187 -1668
  76. package/dist/commonjs/models/index.d.ts.map +1 -0
  77. package/dist/commonjs/models/index.js +143 -0
  78. package/dist/commonjs/models/index.js.map +1 -0
  79. package/dist/commonjs/models/mappers.d.ts +49 -0
  80. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  81. package/dist/commonjs/models/mappers.js +2069 -0
  82. package/dist/commonjs/models/mappers.js.map +1 -0
  83. package/dist/commonjs/models/parameters.d.ts +22 -0
  84. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  85. package/dist/commonjs/models/parameters.js +193 -0
  86. package/dist/commonjs/models/parameters.js.map +1 -0
  87. package/dist/commonjs/operations/extensions.d.ts +141 -0
  88. package/dist/commonjs/operations/extensions.d.ts.map +1 -0
  89. package/dist/commonjs/operations/extensions.js +540 -0
  90. package/dist/commonjs/operations/extensions.js.map +1 -0
  91. package/dist/commonjs/operations/fluxConfigOperationStatus.d.ts +26 -0
  92. package/dist/commonjs/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  93. package/dist/commonjs/operations/fluxConfigOperationStatus.js +76 -0
  94. package/dist/commonjs/operations/fluxConfigOperationStatus.js.map +1 -0
  95. package/dist/commonjs/operations/fluxConfigurations.d.ts +141 -0
  96. package/dist/commonjs/operations/fluxConfigurations.d.ts.map +1 -0
  97. package/dist/commonjs/operations/fluxConfigurations.js +540 -0
  98. package/dist/commonjs/operations/fluxConfigurations.js.map +1 -0
  99. package/dist/commonjs/operations/index.d.ts +7 -0
  100. package/dist/commonjs/operations/index.d.ts.map +1 -0
  101. package/dist/commonjs/operations/index.js +17 -0
  102. package/dist/commonjs/operations/index.js.map +1 -0
  103. package/dist/commonjs/operations/operationStatus.d.ts +63 -0
  104. package/dist/commonjs/operations/operationStatus.d.ts.map +1 -0
  105. package/dist/commonjs/operations/operationStatus.js +231 -0
  106. package/dist/commonjs/operations/operationStatus.js.map +1 -0
  107. package/dist/commonjs/operations/operations.d.ts +32 -0
  108. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  109. package/dist/commonjs/operations/operations.js +137 -0
  110. package/dist/commonjs/operations/operations.js.map +1 -0
  111. package/dist/commonjs/operations/sourceControlConfigurations.d.ts +102 -0
  112. package/dist/commonjs/operations/sourceControlConfigurations.d.ts.map +1 -0
  113. package/dist/commonjs/operations/sourceControlConfigurations.js +377 -0
  114. package/dist/commonjs/operations/sourceControlConfigurations.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/extensions.d.ts +108 -0
  116. package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  120. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  124. package/dist/commonjs/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/fluxConfigurations.js +10 -0
  126. package/dist/commonjs/operationsInterfaces/fluxConfigurations.js.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
  128. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/index.js +17 -0
  130. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  131. package/dist/commonjs/operationsInterfaces/operationStatus.d.ts +30 -0
  132. package/dist/commonjs/operationsInterfaces/operationStatus.d.ts.map +1 -0
  133. package/dist/commonjs/operationsInterfaces/operationStatus.js +10 -0
  134. package/dist/commonjs/operationsInterfaces/operationStatus.js.map +1 -0
  135. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  136. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  138. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.d.ts +69 -0
  140. package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.js +10 -0
  142. package/dist/commonjs/operationsInterfaces/sourceControlConfigurations.js.map +1 -0
  143. package/dist/commonjs/package.json +3 -0
  144. package/dist/commonjs/pagingHelper.d.ts +13 -0
  145. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  146. package/dist/commonjs/pagingHelper.js +36 -0
  147. package/dist/commonjs/pagingHelper.js.map +1 -0
  148. package/dist/commonjs/sourceControlConfigurationClient.d.ts +25 -0
  149. package/dist/commonjs/sourceControlConfigurationClient.d.ts.map +1 -0
  150. package/dist/commonjs/sourceControlConfigurationClient.js +107 -0
  151. package/dist/commonjs/sourceControlConfigurationClient.js.map +1 -0
  152. package/dist/esm/index.d.ts +5 -0
  153. package/dist/esm/index.d.ts.map +1 -0
  154. package/{src/index.ts → dist/esm/index.js} +5 -5
  155. package/dist/esm/index.js.map +1 -0
  156. package/dist/esm/lroImpl.d.ts +11 -0
  157. package/dist/esm/lroImpl.d.ts.map +1 -0
  158. package/dist/esm/lroImpl.js +14 -0
  159. package/dist/esm/lroImpl.js.map +1 -0
  160. package/dist/esm/models/index.d.ts +1187 -0
  161. package/dist/esm/models/index.d.ts.map +1 -0
  162. package/dist/esm/models/index.js +140 -0
  163. package/dist/esm/models/index.js.map +1 -0
  164. package/dist/esm/models/mappers.d.ts +49 -0
  165. package/dist/esm/models/mappers.d.ts.map +1 -0
  166. package/dist/esm/models/mappers.js +2066 -0
  167. package/dist/esm/models/mappers.js.map +1 -0
  168. package/dist/esm/models/parameters.d.ts +22 -0
  169. package/dist/esm/models/parameters.d.ts.map +1 -0
  170. package/dist/esm/models/parameters.js +190 -0
  171. package/dist/esm/models/parameters.js.map +1 -0
  172. package/dist/esm/operations/extensions.d.ts +141 -0
  173. package/dist/esm/operations/extensions.d.ts.map +1 -0
  174. package/dist/esm/operations/extensions.js +536 -0
  175. package/dist/esm/operations/extensions.js.map +1 -0
  176. package/dist/esm/operations/fluxConfigOperationStatus.d.ts +26 -0
  177. package/dist/esm/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  178. package/dist/esm/operations/fluxConfigOperationStatus.js +71 -0
  179. package/dist/esm/operations/fluxConfigOperationStatus.js.map +1 -0
  180. package/dist/esm/operations/fluxConfigurations.d.ts +141 -0
  181. package/dist/esm/operations/fluxConfigurations.d.ts.map +1 -0
  182. package/dist/esm/operations/fluxConfigurations.js +536 -0
  183. package/dist/esm/operations/fluxConfigurations.js.map +1 -0
  184. package/dist/esm/operations/index.d.ts +7 -0
  185. package/dist/esm/operations/index.d.ts.map +1 -0
  186. package/dist/esm/operations/index.js +14 -0
  187. package/dist/esm/operations/index.js.map +1 -0
  188. package/dist/esm/operations/operationStatus.d.ts +63 -0
  189. package/dist/esm/operations/operationStatus.d.ts.map +1 -0
  190. package/dist/esm/operations/operationStatus.js +227 -0
  191. package/dist/esm/operations/operationStatus.js.map +1 -0
  192. package/dist/esm/operations/operations.d.ts +32 -0
  193. package/dist/esm/operations/operations.d.ts.map +1 -0
  194. package/dist/esm/operations/operations.js +133 -0
  195. package/dist/esm/operations/operations.js.map +1 -0
  196. package/dist/esm/operations/sourceControlConfigurations.d.ts +102 -0
  197. package/dist/esm/operations/sourceControlConfigurations.d.ts.map +1 -0
  198. package/dist/esm/operations/sourceControlConfigurations.js +373 -0
  199. package/dist/esm/operations/sourceControlConfigurations.js.map +1 -0
  200. package/dist/esm/operationsInterfaces/extensions.d.ts +108 -0
  201. package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
  202. package/dist/esm/operationsInterfaces/extensions.js +9 -0
  203. package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
  204. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  205. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  206. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
  207. package/dist/esm/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  208. package/dist/esm/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  209. package/dist/esm/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  210. package/dist/esm/operationsInterfaces/fluxConfigurations.js +9 -0
  211. package/dist/esm/operationsInterfaces/fluxConfigurations.js.map +1 -0
  212. package/dist/esm/operationsInterfaces/index.d.ts +7 -0
  213. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  214. package/dist/esm/operationsInterfaces/index.js +14 -0
  215. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  216. package/dist/esm/operationsInterfaces/operationStatus.d.ts +30 -0
  217. package/dist/esm/operationsInterfaces/operationStatus.d.ts.map +1 -0
  218. package/dist/esm/operationsInterfaces/operationStatus.js +9 -0
  219. package/dist/esm/operationsInterfaces/operationStatus.js.map +1 -0
  220. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  221. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  222. package/dist/esm/operationsInterfaces/operations.js +9 -0
  223. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  224. package/dist/esm/operationsInterfaces/sourceControlConfigurations.d.ts +69 -0
  225. package/dist/esm/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
  226. package/dist/esm/operationsInterfaces/sourceControlConfigurations.js +9 -0
  227. package/dist/esm/operationsInterfaces/sourceControlConfigurations.js.map +1 -0
  228. package/dist/esm/package.json +3 -0
  229. package/dist/esm/pagingHelper.d.ts +13 -0
  230. package/dist/esm/pagingHelper.d.ts.map +1 -0
  231. package/dist/esm/pagingHelper.js +32 -0
  232. package/dist/esm/pagingHelper.js.map +1 -0
  233. package/dist/esm/sourceControlConfigurationClient.d.ts +25 -0
  234. package/dist/esm/sourceControlConfigurationClient.d.ts.map +1 -0
  235. package/dist/esm/sourceControlConfigurationClient.js +102 -0
  236. package/dist/esm/sourceControlConfigurationClient.js.map +1 -0
  237. package/dist/react-native/index.d.ts +5 -0
  238. package/dist/react-native/index.d.ts.map +1 -0
  239. package/dist/react-native/index.js +13 -0
  240. package/dist/react-native/index.js.map +1 -0
  241. package/dist/react-native/lroImpl.d.ts +11 -0
  242. package/dist/react-native/lroImpl.d.ts.map +1 -0
  243. package/dist/react-native/lroImpl.js +14 -0
  244. package/dist/react-native/lroImpl.js.map +1 -0
  245. package/dist/react-native/models/index.d.ts +1187 -0
  246. package/dist/react-native/models/index.d.ts.map +1 -0
  247. package/dist/react-native/models/index.js +140 -0
  248. package/dist/react-native/models/index.js.map +1 -0
  249. package/dist/react-native/models/mappers.d.ts +49 -0
  250. package/dist/react-native/models/mappers.d.ts.map +1 -0
  251. package/dist/react-native/models/mappers.js +2066 -0
  252. package/dist/react-native/models/mappers.js.map +1 -0
  253. package/dist/react-native/models/parameters.d.ts +22 -0
  254. package/dist/react-native/models/parameters.d.ts.map +1 -0
  255. package/dist/react-native/models/parameters.js +190 -0
  256. package/dist/react-native/models/parameters.js.map +1 -0
  257. package/dist/react-native/operations/extensions.d.ts +141 -0
  258. package/dist/react-native/operations/extensions.d.ts.map +1 -0
  259. package/dist/react-native/operations/extensions.js +536 -0
  260. package/dist/react-native/operations/extensions.js.map +1 -0
  261. package/dist/react-native/operations/fluxConfigOperationStatus.d.ts +26 -0
  262. package/dist/react-native/operations/fluxConfigOperationStatus.d.ts.map +1 -0
  263. package/dist/react-native/operations/fluxConfigOperationStatus.js +71 -0
  264. package/dist/react-native/operations/fluxConfigOperationStatus.js.map +1 -0
  265. package/dist/react-native/operations/fluxConfigurations.d.ts +141 -0
  266. package/dist/react-native/operations/fluxConfigurations.d.ts.map +1 -0
  267. package/dist/react-native/operations/fluxConfigurations.js +536 -0
  268. package/dist/react-native/operations/fluxConfigurations.js.map +1 -0
  269. package/dist/react-native/operations/index.d.ts +7 -0
  270. package/dist/react-native/operations/index.d.ts.map +1 -0
  271. package/dist/react-native/operations/index.js +14 -0
  272. package/dist/react-native/operations/index.js.map +1 -0
  273. package/dist/react-native/operations/operationStatus.d.ts +63 -0
  274. package/dist/react-native/operations/operationStatus.d.ts.map +1 -0
  275. package/dist/react-native/operations/operationStatus.js +227 -0
  276. package/dist/react-native/operations/operationStatus.js.map +1 -0
  277. package/dist/react-native/operations/operations.d.ts +32 -0
  278. package/dist/react-native/operations/operations.d.ts.map +1 -0
  279. package/dist/react-native/operations/operations.js +133 -0
  280. package/dist/react-native/operations/operations.js.map +1 -0
  281. package/dist/react-native/operations/sourceControlConfigurations.d.ts +102 -0
  282. package/dist/react-native/operations/sourceControlConfigurations.d.ts.map +1 -0
  283. package/dist/react-native/operations/sourceControlConfigurations.js +373 -0
  284. package/dist/react-native/operations/sourceControlConfigurations.js.map +1 -0
  285. package/dist/react-native/operationsInterfaces/extensions.d.ts +108 -0
  286. package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
  287. package/dist/react-native/operationsInterfaces/extensions.js +9 -0
  288. package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
  289. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.d.ts +18 -0
  290. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +1 -0
  291. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.js +9 -0
  292. package/dist/react-native/operationsInterfaces/fluxConfigOperationStatus.js.map +1 -0
  293. package/dist/react-native/operationsInterfaces/fluxConfigurations.d.ts +108 -0
  294. package/dist/react-native/operationsInterfaces/fluxConfigurations.d.ts.map +1 -0
  295. package/dist/react-native/operationsInterfaces/fluxConfigurations.js +9 -0
  296. package/dist/react-native/operationsInterfaces/fluxConfigurations.js.map +1 -0
  297. package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
  298. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  299. package/dist/react-native/operationsInterfaces/index.js +14 -0
  300. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  301. package/dist/react-native/operationsInterfaces/operationStatus.d.ts +30 -0
  302. package/dist/react-native/operationsInterfaces/operationStatus.d.ts.map +1 -0
  303. package/dist/react-native/operationsInterfaces/operationStatus.js +9 -0
  304. package/dist/react-native/operationsInterfaces/operationStatus.js.map +1 -0
  305. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  306. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  307. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  308. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  309. package/dist/react-native/operationsInterfaces/sourceControlConfigurations.d.ts +69 -0
  310. package/dist/react-native/operationsInterfaces/sourceControlConfigurations.d.ts.map +1 -0
  311. package/dist/react-native/operationsInterfaces/sourceControlConfigurations.js +9 -0
  312. package/dist/react-native/operationsInterfaces/sourceControlConfigurations.js.map +1 -0
  313. package/dist/react-native/package.json +3 -0
  314. package/dist/react-native/pagingHelper.d.ts +13 -0
  315. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  316. package/dist/react-native/pagingHelper.js +32 -0
  317. package/dist/react-native/pagingHelper.js.map +1 -0
  318. package/dist/react-native/sourceControlConfigurationClient.d.ts +25 -0
  319. package/dist/react-native/sourceControlConfigurationClient.d.ts.map +1 -0
  320. package/dist/react-native/sourceControlConfigurationClient.js +102 -0
  321. package/dist/react-native/sourceControlConfigurationClient.js.map +1 -0
  322. package/package.json +70 -41
  323. package/dist/index.js +0 -4494
  324. package/dist/index.js.map +0 -1
  325. package/dist/index.min.js +0 -1
  326. package/dist/index.min.js.map +0 -1
  327. package/dist-esm/samples-dev/extensionsCreateSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/extensionsCreateSample.js +0 -74
  330. package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
  331. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -39
  334. package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
  335. package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/extensionsGetSample.js +0 -60
  338. package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
  339. package/dist-esm/samples-dev/extensionsListSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/extensionsListSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/extensionsListSample.js +0 -54
  342. package/dist-esm/samples-dev/extensionsListSample.js.map +0 -1
  343. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +0 -2
  344. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/extensionsUpdateSample.js +0 -41
  346. package/dist-esm/samples-dev/extensionsUpdateSample.js.map +0 -1
  347. package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.js +0 -40
  350. package/dist-esm/samples-dev/fluxConfigOperationStatusGetSample.js.map +0 -1
  351. package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.d.ts +0 -2
  352. package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
  353. package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.js +0 -125
  354. package/dist-esm/samples-dev/fluxConfigurationsCreateOrUpdateSample.js.map +0 -1
  355. package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.js +0 -39
  358. package/dist-esm/samples-dev/fluxConfigurationsDeleteSample.js.map +0 -1
  359. package/dist-esm/samples-dev/fluxConfigurationsGetSample.d.ts +0 -2
  360. package/dist-esm/samples-dev/fluxConfigurationsGetSample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/fluxConfigurationsGetSample.js +0 -39
  362. package/dist-esm/samples-dev/fluxConfigurationsGetSample.js.map +0 -1
  363. package/dist-esm/samples-dev/fluxConfigurationsListSample.d.ts +0 -2
  364. package/dist-esm/samples-dev/fluxConfigurationsListSample.d.ts.map +0 -1
  365. package/dist-esm/samples-dev/fluxConfigurationsListSample.js +0 -54
  366. package/dist-esm/samples-dev/fluxConfigurationsListSample.js.map +0 -1
  367. package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.d.ts +0 -2
  368. package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.d.ts.map +0 -1
  369. package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.js +0 -50
  370. package/dist-esm/samples-dev/fluxConfigurationsUpdateSample.js.map +0 -1
  371. package/dist-esm/samples-dev/operationStatusGetSample.d.ts +0 -2
  372. package/dist-esm/samples-dev/operationStatusGetSample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/operationStatusGetSample.js +0 -40
  374. package/dist-esm/samples-dev/operationStatusGetSample.js.map +0 -1
  375. package/dist-esm/samples-dev/operationStatusListSample.d.ts +0 -2
  376. package/dist-esm/samples-dev/operationStatusListSample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/operationStatusListSample.js +0 -54
  378. package/dist-esm/samples-dev/operationStatusListSample.js.map +0 -1
  379. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/operationsListSample.js +0 -51
  382. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  383. package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.js +0 -49
  386. package/dist-esm/samples-dev/sourceControlConfigurationsCreateOrUpdateSample.js.map +0 -1
  387. package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.d.ts +0 -2
  388. package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.d.ts.map +0 -1
  389. package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.js +0 -39
  390. package/dist-esm/samples-dev/sourceControlConfigurationsDeleteSample.js.map +0 -1
  391. package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.d.ts +0 -2
  392. package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.d.ts.map +0 -1
  393. package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.js +0 -39
  394. package/dist-esm/samples-dev/sourceControlConfigurationsGetSample.js.map +0 -1
  395. package/dist-esm/samples-dev/sourceControlConfigurationsListSample.d.ts +0 -2
  396. package/dist-esm/samples-dev/sourceControlConfigurationsListSample.d.ts.map +0 -1
  397. package/dist-esm/samples-dev/sourceControlConfigurationsListSample.js +0 -54
  398. package/dist-esm/samples-dev/sourceControlConfigurationsListSample.js.map +0 -1
  399. package/dist-esm/src/index.d.ts +0 -5
  400. package/dist-esm/src/index.js.map +0 -1
  401. package/dist-esm/src/lroImpl.js.map +0 -1
  402. package/dist-esm/src/models/index.js.map +0 -1
  403. package/dist-esm/src/models/mappers.js.map +0 -1
  404. package/dist-esm/src/models/parameters.js.map +0 -1
  405. package/dist-esm/src/operations/extensions.d.ts.map +0 -1
  406. package/dist-esm/src/operations/extensions.js.map +0 -1
  407. package/dist-esm/src/operations/fluxConfigOperationStatus.d.ts.map +0 -1
  408. package/dist-esm/src/operations/fluxConfigOperationStatus.js.map +0 -1
  409. package/dist-esm/src/operations/fluxConfigurations.d.ts.map +0 -1
  410. package/dist-esm/src/operations/fluxConfigurations.js.map +0 -1
  411. package/dist-esm/src/operations/index.d.ts +0 -7
  412. package/dist-esm/src/operations/index.d.ts.map +0 -1
  413. package/dist-esm/src/operations/index.js +0 -14
  414. package/dist-esm/src/operations/index.js.map +0 -1
  415. package/dist-esm/src/operations/operationStatus.d.ts.map +0 -1
  416. package/dist-esm/src/operations/operationStatus.js.map +0 -1
  417. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  418. package/dist-esm/src/operations/operations.js.map +0 -1
  419. package/dist-esm/src/operations/sourceControlConfigurations.d.ts.map +0 -1
  420. package/dist-esm/src/operations/sourceControlConfigurations.js.map +0 -1
  421. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
  422. package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
  423. package/dist-esm/src/operationsInterfaces/fluxConfigOperationStatus.d.ts.map +0 -1
  424. package/dist-esm/src/operationsInterfaces/fluxConfigOperationStatus.js.map +0 -1
  425. package/dist-esm/src/operationsInterfaces/fluxConfigurations.d.ts.map +0 -1
  426. package/dist-esm/src/operationsInterfaces/fluxConfigurations.js.map +0 -1
  427. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  428. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  429. package/dist-esm/src/operationsInterfaces/index.js +0 -14
  430. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  431. package/dist-esm/src/operationsInterfaces/operationStatus.d.ts.map +0 -1
  432. package/dist-esm/src/operationsInterfaces/operationStatus.js.map +0 -1
  433. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  434. package/dist-esm/src/operationsInterfaces/sourceControlConfigurations.d.ts.map +0 -1
  435. package/dist-esm/src/operationsInterfaces/sourceControlConfigurations.js.map +0 -1
  436. package/dist-esm/src/pagingHelper.js.map +0 -1
  437. package/dist-esm/src/sourceControlConfigurationClient.d.ts.map +0 -1
  438. package/dist-esm/src/sourceControlConfigurationClient.js.map +0 -1
  439. package/dist-esm/test/kubernetesconfiguration_operations_test.spec.d.ts +0 -4
  440. package/dist-esm/test/kubernetesconfiguration_operations_test.spec.d.ts.map +0 -1
  441. package/dist-esm/test/kubernetesconfiguration_operations_test.spec.js +0 -83
  442. package/dist-esm/test/kubernetesconfiguration_operations_test.spec.js.map +0 -1
  443. package/src/lroImpl.ts +0 -38
  444. package/src/models/index.ts +0 -1294
  445. package/src/models/mappers.ts +0 -2174
  446. package/src/models/parameters.ts +0 -221
  447. package/src/operations/extensions.ts +0 -777
  448. package/src/operations/fluxConfigOperationStatus.ts +0 -95
  449. package/src/operations/fluxConfigurations.ts +0 -777
  450. package/src/operations/index.ts +0 -14
  451. package/src/operations/operationStatus.ts +0 -314
  452. package/src/operations/operations.ts +0 -149
  453. package/src/operations/sourceControlConfigurations.ts +0 -521
  454. package/src/operationsInterfaces/extensions.ts +0 -197
  455. package/src/operationsInterfaces/fluxConfigOperationStatus.ts +0 -37
  456. package/src/operationsInterfaces/fluxConfigurations.ts +0 -197
  457. package/src/operationsInterfaces/index.ts +0 -14
  458. package/src/operationsInterfaces/operationStatus.ts +0 -58
  459. package/src/operationsInterfaces/operations.ts +0 -25
  460. package/src/operationsInterfaces/sourceControlConfigurations.ts +0 -121
  461. package/src/pagingHelper.ts +0 -39
  462. package/src/sourceControlConfigurationClient.ts +0 -166
  463. package/tsconfig.json +0 -33
  464. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  465. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  466. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  467. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  468. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  469. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  470. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  471. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  472. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  473. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  474. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  475. /package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.js +0 -0
  476. /package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigOperationStatus.js +0 -0
  477. /package/{dist-esm/src → dist/browser}/operationsInterfaces/fluxConfigurations.js +0 -0
  478. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationStatus.js +0 -0
  479. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  480. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sourceControlConfigurations.js +0 -0
  481. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  482. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  483. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  484. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,521 +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 { SourceControlConfigurations } 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 { SourceControlConfigurationClient } from "../sourceControlConfigurationClient";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- SourceControlConfiguration,
24
- SourceControlConfigurationsListNextOptionalParams,
25
- SourceControlConfigurationsListOptionalParams,
26
- SourceControlConfigurationsListResponse,
27
- SourceControlConfigurationsGetOptionalParams,
28
- SourceControlConfigurationsGetResponse,
29
- SourceControlConfigurationsCreateOrUpdateOptionalParams,
30
- SourceControlConfigurationsCreateOrUpdateResponse,
31
- SourceControlConfigurationsDeleteOptionalParams,
32
- SourceControlConfigurationsListNextResponse
33
- } from "../models";
34
-
35
- /// <reference lib="esnext.asynciterable" />
36
- /** Class containing SourceControlConfigurations operations. */
37
- export class SourceControlConfigurationsImpl
38
- implements SourceControlConfigurations {
39
- private readonly client: SourceControlConfigurationClient;
40
-
41
- /**
42
- * Initialize a new instance of the class SourceControlConfigurations class.
43
- * @param client Reference to the service client
44
- */
45
- constructor(client: SourceControlConfigurationClient) {
46
- this.client = client;
47
- }
48
-
49
- /**
50
- * List all Source Control Configurations.
51
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
53
- * Microsoft.HybridContainerService.
54
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
55
- * connectedClusters, provisionedClusters.
56
- * @param clusterName The name of the kubernetes cluster.
57
- * @param options The options parameters.
58
- */
59
- public list(
60
- resourceGroupName: string,
61
- clusterRp: string,
62
- clusterResourceName: string,
63
- clusterName: string,
64
- options?: SourceControlConfigurationsListOptionalParams
65
- ): PagedAsyncIterableIterator<SourceControlConfiguration> {
66
- const iter = this.listPagingAll(
67
- resourceGroupName,
68
- clusterRp,
69
- clusterResourceName,
70
- clusterName,
71
- options
72
- );
73
- return {
74
- next() {
75
- return iter.next();
76
- },
77
- [Symbol.asyncIterator]() {
78
- return this;
79
- },
80
- byPage: (settings?: PageSettings) => {
81
- if (settings?.maxPageSize) {
82
- throw new Error("maxPageSize is not supported by this operation.");
83
- }
84
- return this.listPagingPage(
85
- resourceGroupName,
86
- clusterRp,
87
- clusterResourceName,
88
- clusterName,
89
- options,
90
- settings
91
- );
92
- }
93
- };
94
- }
95
-
96
- private async *listPagingPage(
97
- resourceGroupName: string,
98
- clusterRp: string,
99
- clusterResourceName: string,
100
- clusterName: string,
101
- options?: SourceControlConfigurationsListOptionalParams,
102
- settings?: PageSettings
103
- ): AsyncIterableIterator<SourceControlConfiguration[]> {
104
- let result: SourceControlConfigurationsListResponse;
105
- let continuationToken = settings?.continuationToken;
106
- if (!continuationToken) {
107
- result = await this._list(
108
- resourceGroupName,
109
- clusterRp,
110
- clusterResourceName,
111
- clusterName,
112
- options
113
- );
114
- let page = result.value || [];
115
- continuationToken = result.nextLink;
116
- setContinuationToken(page, continuationToken);
117
- yield page;
118
- }
119
- while (continuationToken) {
120
- result = await this._listNext(
121
- resourceGroupName,
122
- clusterRp,
123
- clusterResourceName,
124
- clusterName,
125
- continuationToken,
126
- options
127
- );
128
- continuationToken = result.nextLink;
129
- let page = result.value || [];
130
- setContinuationToken(page, continuationToken);
131
- yield page;
132
- }
133
- }
134
-
135
- private async *listPagingAll(
136
- resourceGroupName: string,
137
- clusterRp: string,
138
- clusterResourceName: string,
139
- clusterName: string,
140
- options?: SourceControlConfigurationsListOptionalParams
141
- ): AsyncIterableIterator<SourceControlConfiguration> {
142
- for await (const page of this.listPagingPage(
143
- resourceGroupName,
144
- clusterRp,
145
- clusterResourceName,
146
- clusterName,
147
- options
148
- )) {
149
- yield* page;
150
- }
151
- }
152
-
153
- /**
154
- * Gets details of the Source Control Configuration.
155
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
157
- * Microsoft.HybridContainerService.
158
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
159
- * connectedClusters, provisionedClusters.
160
- * @param clusterName The name of the kubernetes cluster.
161
- * @param sourceControlConfigurationName Name of the Source Control Configuration.
162
- * @param options The options parameters.
163
- */
164
- get(
165
- resourceGroupName: string,
166
- clusterRp: string,
167
- clusterResourceName: string,
168
- clusterName: string,
169
- sourceControlConfigurationName: string,
170
- options?: SourceControlConfigurationsGetOptionalParams
171
- ): Promise<SourceControlConfigurationsGetResponse> {
172
- return this.client.sendOperationRequest(
173
- {
174
- resourceGroupName,
175
- clusterRp,
176
- clusterResourceName,
177
- clusterName,
178
- sourceControlConfigurationName,
179
- options
180
- },
181
- getOperationSpec
182
- );
183
- }
184
-
185
- /**
186
- * Create a new Kubernetes Source Control Configuration.
187
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
188
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
189
- * Microsoft.HybridContainerService.
190
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
191
- * connectedClusters, provisionedClusters.
192
- * @param clusterName The name of the kubernetes cluster.
193
- * @param sourceControlConfigurationName Name of the Source Control Configuration.
194
- * @param sourceControlConfiguration Properties necessary to Create KubernetesConfiguration.
195
- * @param options The options parameters.
196
- */
197
- createOrUpdate(
198
- resourceGroupName: string,
199
- clusterRp: string,
200
- clusterResourceName: string,
201
- clusterName: string,
202
- sourceControlConfigurationName: string,
203
- sourceControlConfiguration: SourceControlConfiguration,
204
- options?: SourceControlConfigurationsCreateOrUpdateOptionalParams
205
- ): Promise<SourceControlConfigurationsCreateOrUpdateResponse> {
206
- return this.client.sendOperationRequest(
207
- {
208
- resourceGroupName,
209
- clusterRp,
210
- clusterResourceName,
211
- clusterName,
212
- sourceControlConfigurationName,
213
- sourceControlConfiguration,
214
- options
215
- },
216
- createOrUpdateOperationSpec
217
- );
218
- }
219
-
220
- /**
221
- * This will delete the YAML file used to set up the Source control configuration, thus stopping future
222
- * sync from the source repo.
223
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
224
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
225
- * Microsoft.HybridContainerService.
226
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
227
- * connectedClusters, provisionedClusters.
228
- * @param clusterName The name of the kubernetes cluster.
229
- * @param sourceControlConfigurationName Name of the Source Control Configuration.
230
- * @param options The options parameters.
231
- */
232
- async beginDelete(
233
- resourceGroupName: string,
234
- clusterRp: string,
235
- clusterResourceName: string,
236
- clusterName: string,
237
- sourceControlConfigurationName: string,
238
- options?: SourceControlConfigurationsDeleteOptionalParams
239
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
240
- const directSendOperation = async (
241
- args: coreClient.OperationArguments,
242
- spec: coreClient.OperationSpec
243
- ): Promise<void> => {
244
- return this.client.sendOperationRequest(args, spec);
245
- };
246
- const sendOperationFn = async (
247
- args: coreClient.OperationArguments,
248
- spec: coreClient.OperationSpec
249
- ) => {
250
- let currentRawResponse:
251
- | coreClient.FullOperationResponse
252
- | undefined = undefined;
253
- const providedCallback = args.options?.onResponse;
254
- const callback: coreClient.RawResponseCallback = (
255
- rawResponse: coreClient.FullOperationResponse,
256
- flatResponse: unknown
257
- ) => {
258
- currentRawResponse = rawResponse;
259
- providedCallback?.(rawResponse, flatResponse);
260
- };
261
- const updatedArgs = {
262
- ...args,
263
- options: {
264
- ...args.options,
265
- onResponse: callback
266
- }
267
- };
268
- const flatResponse = await directSendOperation(updatedArgs, spec);
269
- return {
270
- flatResponse,
271
- rawResponse: {
272
- statusCode: currentRawResponse!.status,
273
- body: currentRawResponse!.parsedBody,
274
- headers: currentRawResponse!.headers.toJSON()
275
- }
276
- };
277
- };
278
-
279
- const lro = createLroSpec({
280
- sendOperationFn,
281
- args: {
282
- resourceGroupName,
283
- clusterRp,
284
- clusterResourceName,
285
- clusterName,
286
- sourceControlConfigurationName,
287
- options
288
- },
289
- spec: deleteOperationSpec
290
- });
291
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
292
- restoreFrom: options?.resumeFrom,
293
- intervalInMs: options?.updateIntervalInMs
294
- });
295
- await poller.poll();
296
- return poller;
297
- }
298
-
299
- /**
300
- * This will delete the YAML file used to set up the Source control configuration, thus stopping future
301
- * sync from the source repo.
302
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
303
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
304
- * Microsoft.HybridContainerService.
305
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
306
- * connectedClusters, provisionedClusters.
307
- * @param clusterName The name of the kubernetes cluster.
308
- * @param sourceControlConfigurationName Name of the Source Control Configuration.
309
- * @param options The options parameters.
310
- */
311
- async beginDeleteAndWait(
312
- resourceGroupName: string,
313
- clusterRp: string,
314
- clusterResourceName: string,
315
- clusterName: string,
316
- sourceControlConfigurationName: string,
317
- options?: SourceControlConfigurationsDeleteOptionalParams
318
- ): Promise<void> {
319
- const poller = await this.beginDelete(
320
- resourceGroupName,
321
- clusterRp,
322
- clusterResourceName,
323
- clusterName,
324
- sourceControlConfigurationName,
325
- options
326
- );
327
- return poller.pollUntilDone();
328
- }
329
-
330
- /**
331
- * List all Source Control Configurations.
332
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
333
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
334
- * Microsoft.HybridContainerService.
335
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
336
- * connectedClusters, provisionedClusters.
337
- * @param clusterName The name of the kubernetes cluster.
338
- * @param options The options parameters.
339
- */
340
- private _list(
341
- resourceGroupName: string,
342
- clusterRp: string,
343
- clusterResourceName: string,
344
- clusterName: string,
345
- options?: SourceControlConfigurationsListOptionalParams
346
- ): Promise<SourceControlConfigurationsListResponse> {
347
- return this.client.sendOperationRequest(
348
- {
349
- resourceGroupName,
350
- clusterRp,
351
- clusterResourceName,
352
- clusterName,
353
- options
354
- },
355
- listOperationSpec
356
- );
357
- }
358
-
359
- /**
360
- * ListNext
361
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
362
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
363
- * Microsoft.HybridContainerService.
364
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
365
- * connectedClusters, provisionedClusters.
366
- * @param clusterName The name of the kubernetes cluster.
367
- * @param nextLink The nextLink from the previous successful call to the List method.
368
- * @param options The options parameters.
369
- */
370
- private _listNext(
371
- resourceGroupName: string,
372
- clusterRp: string,
373
- clusterResourceName: string,
374
- clusterName: string,
375
- nextLink: string,
376
- options?: SourceControlConfigurationsListNextOptionalParams
377
- ): Promise<SourceControlConfigurationsListNextResponse> {
378
- return this.client.sendOperationRequest(
379
- {
380
- resourceGroupName,
381
- clusterRp,
382
- clusterResourceName,
383
- clusterName,
384
- nextLink,
385
- options
386
- },
387
- listNextOperationSpec
388
- );
389
- }
390
- }
391
- // Operation Specifications
392
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
393
-
394
- const getOperationSpec: coreClient.OperationSpec = {
395
- path:
396
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}",
397
- httpMethod: "GET",
398
- responses: {
399
- 200: {
400
- bodyMapper: Mappers.SourceControlConfiguration
401
- },
402
- default: {
403
- bodyMapper: Mappers.ErrorResponse
404
- }
405
- },
406
- queryParameters: [Parameters.apiVersion],
407
- urlParameters: [
408
- Parameters.$host,
409
- Parameters.subscriptionId,
410
- Parameters.resourceGroupName,
411
- Parameters.clusterRp,
412
- Parameters.clusterResourceName,
413
- Parameters.clusterName,
414
- Parameters.sourceControlConfigurationName
415
- ],
416
- headerParameters: [Parameters.accept],
417
- serializer
418
- };
419
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
420
- path:
421
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}",
422
- httpMethod: "PUT",
423
- responses: {
424
- 200: {
425
- bodyMapper: Mappers.SourceControlConfiguration
426
- },
427
- 201: {
428
- bodyMapper: Mappers.SourceControlConfiguration
429
- },
430
- default: {
431
- bodyMapper: Mappers.ErrorResponse
432
- }
433
- },
434
- requestBody: Parameters.sourceControlConfiguration,
435
- queryParameters: [Parameters.apiVersion],
436
- urlParameters: [
437
- Parameters.$host,
438
- Parameters.subscriptionId,
439
- Parameters.resourceGroupName,
440
- Parameters.clusterRp,
441
- Parameters.clusterResourceName,
442
- Parameters.clusterName,
443
- Parameters.sourceControlConfigurationName
444
- ],
445
- headerParameters: [Parameters.contentType, Parameters.accept],
446
- mediaType: "json",
447
- serializer
448
- };
449
- const deleteOperationSpec: coreClient.OperationSpec = {
450
- path:
451
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}",
452
- httpMethod: "DELETE",
453
- responses: {
454
- 200: {},
455
- 201: {},
456
- 202: {},
457
- 204: {},
458
- default: {
459
- bodyMapper: Mappers.ErrorResponse
460
- }
461
- },
462
- queryParameters: [Parameters.apiVersion],
463
- urlParameters: [
464
- Parameters.$host,
465
- Parameters.subscriptionId,
466
- Parameters.resourceGroupName,
467
- Parameters.clusterRp,
468
- Parameters.clusterResourceName,
469
- Parameters.clusterName,
470
- Parameters.sourceControlConfigurationName
471
- ],
472
- headerParameters: [Parameters.accept],
473
- serializer
474
- };
475
- const listOperationSpec: coreClient.OperationSpec = {
476
- path:
477
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations",
478
- httpMethod: "GET",
479
- responses: {
480
- 200: {
481
- bodyMapper: Mappers.SourceControlConfigurationList
482
- },
483
- default: {
484
- bodyMapper: Mappers.ErrorResponse
485
- }
486
- },
487
- queryParameters: [Parameters.apiVersion],
488
- urlParameters: [
489
- Parameters.$host,
490
- Parameters.subscriptionId,
491
- Parameters.resourceGroupName,
492
- Parameters.clusterRp,
493
- Parameters.clusterResourceName,
494
- Parameters.clusterName
495
- ],
496
- headerParameters: [Parameters.accept],
497
- serializer
498
- };
499
- const listNextOperationSpec: coreClient.OperationSpec = {
500
- path: "{nextLink}",
501
- httpMethod: "GET",
502
- responses: {
503
- 200: {
504
- bodyMapper: Mappers.SourceControlConfigurationList
505
- },
506
- default: {
507
- bodyMapper: Mappers.ErrorResponse
508
- }
509
- },
510
- urlParameters: [
511
- Parameters.$host,
512
- Parameters.subscriptionId,
513
- Parameters.resourceGroupName,
514
- Parameters.clusterRp,
515
- Parameters.clusterResourceName,
516
- Parameters.clusterName,
517
- Parameters.nextLink
518
- ],
519
- headerParameters: [Parameters.accept],
520
- serializer
521
- };