@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,777 +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 { FluxConfigurations } 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
- FluxConfiguration,
24
- FluxConfigurationsListNextOptionalParams,
25
- FluxConfigurationsListOptionalParams,
26
- FluxConfigurationsListResponse,
27
- FluxConfigurationsGetOptionalParams,
28
- FluxConfigurationsGetResponse,
29
- FluxConfigurationsCreateOrUpdateOptionalParams,
30
- FluxConfigurationsCreateOrUpdateResponse,
31
- FluxConfigurationPatch,
32
- FluxConfigurationsUpdateOptionalParams,
33
- FluxConfigurationsUpdateResponse,
34
- FluxConfigurationsDeleteOptionalParams,
35
- FluxConfigurationsListNextResponse
36
- } from "../models";
37
-
38
- /// <reference lib="esnext.asynciterable" />
39
- /** Class containing FluxConfigurations operations. */
40
- export class FluxConfigurationsImpl implements FluxConfigurations {
41
- private readonly client: SourceControlConfigurationClient;
42
-
43
- /**
44
- * Initialize a new instance of the class FluxConfigurations class.
45
- * @param client Reference to the service client
46
- */
47
- constructor(client: SourceControlConfigurationClient) {
48
- this.client = client;
49
- }
50
-
51
- /**
52
- * List all Flux Configurations.
53
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
55
- * Microsoft.HybridContainerService.
56
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
57
- * connectedClusters, provisionedClusters.
58
- * @param clusterName The name of the kubernetes cluster.
59
- * @param options The options parameters.
60
- */
61
- public list(
62
- resourceGroupName: string,
63
- clusterRp: string,
64
- clusterResourceName: string,
65
- clusterName: string,
66
- options?: FluxConfigurationsListOptionalParams
67
- ): PagedAsyncIterableIterator<FluxConfiguration> {
68
- const iter = this.listPagingAll(
69
- resourceGroupName,
70
- clusterRp,
71
- clusterResourceName,
72
- clusterName,
73
- options
74
- );
75
- return {
76
- next() {
77
- return iter.next();
78
- },
79
- [Symbol.asyncIterator]() {
80
- return this;
81
- },
82
- byPage: (settings?: PageSettings) => {
83
- if (settings?.maxPageSize) {
84
- throw new Error("maxPageSize is not supported by this operation.");
85
- }
86
- return this.listPagingPage(
87
- resourceGroupName,
88
- clusterRp,
89
- clusterResourceName,
90
- clusterName,
91
- options,
92
- settings
93
- );
94
- }
95
- };
96
- }
97
-
98
- private async *listPagingPage(
99
- resourceGroupName: string,
100
- clusterRp: string,
101
- clusterResourceName: string,
102
- clusterName: string,
103
- options?: FluxConfigurationsListOptionalParams,
104
- settings?: PageSettings
105
- ): AsyncIterableIterator<FluxConfiguration[]> {
106
- let result: FluxConfigurationsListResponse;
107
- let continuationToken = settings?.continuationToken;
108
- if (!continuationToken) {
109
- result = await this._list(
110
- resourceGroupName,
111
- clusterRp,
112
- clusterResourceName,
113
- clusterName,
114
- options
115
- );
116
- let page = result.value || [];
117
- continuationToken = result.nextLink;
118
- setContinuationToken(page, continuationToken);
119
- yield page;
120
- }
121
- while (continuationToken) {
122
- result = await this._listNext(
123
- resourceGroupName,
124
- clusterRp,
125
- clusterResourceName,
126
- clusterName,
127
- continuationToken,
128
- options
129
- );
130
- continuationToken = result.nextLink;
131
- let page = result.value || [];
132
- setContinuationToken(page, continuationToken);
133
- yield page;
134
- }
135
- }
136
-
137
- private async *listPagingAll(
138
- resourceGroupName: string,
139
- clusterRp: string,
140
- clusterResourceName: string,
141
- clusterName: string,
142
- options?: FluxConfigurationsListOptionalParams
143
- ): AsyncIterableIterator<FluxConfiguration> {
144
- for await (const page of this.listPagingPage(
145
- resourceGroupName,
146
- clusterRp,
147
- clusterResourceName,
148
- clusterName,
149
- options
150
- )) {
151
- yield* page;
152
- }
153
- }
154
-
155
- /**
156
- * Gets details of the Flux Configuration.
157
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
159
- * Microsoft.HybridContainerService.
160
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
161
- * connectedClusters, provisionedClusters.
162
- * @param clusterName The name of the kubernetes cluster.
163
- * @param fluxConfigurationName Name of the Flux Configuration.
164
- * @param options The options parameters.
165
- */
166
- get(
167
- resourceGroupName: string,
168
- clusterRp: string,
169
- clusterResourceName: string,
170
- clusterName: string,
171
- fluxConfigurationName: string,
172
- options?: FluxConfigurationsGetOptionalParams
173
- ): Promise<FluxConfigurationsGetResponse> {
174
- return this.client.sendOperationRequest(
175
- {
176
- resourceGroupName,
177
- clusterRp,
178
- clusterResourceName,
179
- clusterName,
180
- fluxConfigurationName,
181
- options
182
- },
183
- getOperationSpec
184
- );
185
- }
186
-
187
- /**
188
- * Create a new Kubernetes Flux Configuration.
189
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
190
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
191
- * Microsoft.HybridContainerService.
192
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
193
- * connectedClusters, provisionedClusters.
194
- * @param clusterName The name of the kubernetes cluster.
195
- * @param fluxConfigurationName Name of the Flux Configuration.
196
- * @param fluxConfiguration Properties necessary to Create a FluxConfiguration.
197
- * @param options The options parameters.
198
- */
199
- async beginCreateOrUpdate(
200
- resourceGroupName: string,
201
- clusterRp: string,
202
- clusterResourceName: string,
203
- clusterName: string,
204
- fluxConfigurationName: string,
205
- fluxConfiguration: FluxConfiguration,
206
- options?: FluxConfigurationsCreateOrUpdateOptionalParams
207
- ): Promise<
208
- SimplePollerLike<
209
- OperationState<FluxConfigurationsCreateOrUpdateResponse>,
210
- FluxConfigurationsCreateOrUpdateResponse
211
- >
212
- > {
213
- const directSendOperation = async (
214
- args: coreClient.OperationArguments,
215
- spec: coreClient.OperationSpec
216
- ): Promise<FluxConfigurationsCreateOrUpdateResponse> => {
217
- return this.client.sendOperationRequest(args, spec);
218
- };
219
- const sendOperationFn = async (
220
- args: coreClient.OperationArguments,
221
- spec: coreClient.OperationSpec
222
- ) => {
223
- let currentRawResponse:
224
- | coreClient.FullOperationResponse
225
- | undefined = undefined;
226
- const providedCallback = args.options?.onResponse;
227
- const callback: coreClient.RawResponseCallback = (
228
- rawResponse: coreClient.FullOperationResponse,
229
- flatResponse: unknown
230
- ) => {
231
- currentRawResponse = rawResponse;
232
- providedCallback?.(rawResponse, flatResponse);
233
- };
234
- const updatedArgs = {
235
- ...args,
236
- options: {
237
- ...args.options,
238
- onResponse: callback
239
- }
240
- };
241
- const flatResponse = await directSendOperation(updatedArgs, spec);
242
- return {
243
- flatResponse,
244
- rawResponse: {
245
- statusCode: currentRawResponse!.status,
246
- body: currentRawResponse!.parsedBody,
247
- headers: currentRawResponse!.headers.toJSON()
248
- }
249
- };
250
- };
251
-
252
- const lro = createLroSpec({
253
- sendOperationFn,
254
- args: {
255
- resourceGroupName,
256
- clusterRp,
257
- clusterResourceName,
258
- clusterName,
259
- fluxConfigurationName,
260
- fluxConfiguration,
261
- options
262
- },
263
- spec: createOrUpdateOperationSpec
264
- });
265
- const poller = await createHttpPoller<
266
- FluxConfigurationsCreateOrUpdateResponse,
267
- OperationState<FluxConfigurationsCreateOrUpdateResponse>
268
- >(lro, {
269
- restoreFrom: options?.resumeFrom,
270
- intervalInMs: options?.updateIntervalInMs,
271
- resourceLocationConfig: "azure-async-operation"
272
- });
273
- await poller.poll();
274
- return poller;
275
- }
276
-
277
- /**
278
- * Create a new Kubernetes Flux Configuration.
279
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
280
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
281
- * Microsoft.HybridContainerService.
282
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
283
- * connectedClusters, provisionedClusters.
284
- * @param clusterName The name of the kubernetes cluster.
285
- * @param fluxConfigurationName Name of the Flux Configuration.
286
- * @param fluxConfiguration Properties necessary to Create a FluxConfiguration.
287
- * @param options The options parameters.
288
- */
289
- async beginCreateOrUpdateAndWait(
290
- resourceGroupName: string,
291
- clusterRp: string,
292
- clusterResourceName: string,
293
- clusterName: string,
294
- fluxConfigurationName: string,
295
- fluxConfiguration: FluxConfiguration,
296
- options?: FluxConfigurationsCreateOrUpdateOptionalParams
297
- ): Promise<FluxConfigurationsCreateOrUpdateResponse> {
298
- const poller = await this.beginCreateOrUpdate(
299
- resourceGroupName,
300
- clusterRp,
301
- clusterResourceName,
302
- clusterName,
303
- fluxConfigurationName,
304
- fluxConfiguration,
305
- options
306
- );
307
- return poller.pollUntilDone();
308
- }
309
-
310
- /**
311
- * Update an existing Kubernetes Flux Configuration.
312
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
313
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
314
- * Microsoft.HybridContainerService.
315
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
316
- * connectedClusters, provisionedClusters.
317
- * @param clusterName The name of the kubernetes cluster.
318
- * @param fluxConfigurationName Name of the Flux Configuration.
319
- * @param fluxConfigurationPatch Properties to Patch in an existing Flux Configuration.
320
- * @param options The options parameters.
321
- */
322
- async beginUpdate(
323
- resourceGroupName: string,
324
- clusterRp: string,
325
- clusterResourceName: string,
326
- clusterName: string,
327
- fluxConfigurationName: string,
328
- fluxConfigurationPatch: FluxConfigurationPatch,
329
- options?: FluxConfigurationsUpdateOptionalParams
330
- ): Promise<
331
- SimplePollerLike<
332
- OperationState<FluxConfigurationsUpdateResponse>,
333
- FluxConfigurationsUpdateResponse
334
- >
335
- > {
336
- const directSendOperation = async (
337
- args: coreClient.OperationArguments,
338
- spec: coreClient.OperationSpec
339
- ): Promise<FluxConfigurationsUpdateResponse> => {
340
- return this.client.sendOperationRequest(args, spec);
341
- };
342
- const sendOperationFn = async (
343
- args: coreClient.OperationArguments,
344
- spec: coreClient.OperationSpec
345
- ) => {
346
- let currentRawResponse:
347
- | coreClient.FullOperationResponse
348
- | undefined = undefined;
349
- const providedCallback = args.options?.onResponse;
350
- const callback: coreClient.RawResponseCallback = (
351
- rawResponse: coreClient.FullOperationResponse,
352
- flatResponse: unknown
353
- ) => {
354
- currentRawResponse = rawResponse;
355
- providedCallback?.(rawResponse, flatResponse);
356
- };
357
- const updatedArgs = {
358
- ...args,
359
- options: {
360
- ...args.options,
361
- onResponse: callback
362
- }
363
- };
364
- const flatResponse = await directSendOperation(updatedArgs, spec);
365
- return {
366
- flatResponse,
367
- rawResponse: {
368
- statusCode: currentRawResponse!.status,
369
- body: currentRawResponse!.parsedBody,
370
- headers: currentRawResponse!.headers.toJSON()
371
- }
372
- };
373
- };
374
-
375
- const lro = createLroSpec({
376
- sendOperationFn,
377
- args: {
378
- resourceGroupName,
379
- clusterRp,
380
- clusterResourceName,
381
- clusterName,
382
- fluxConfigurationName,
383
- fluxConfigurationPatch,
384
- options
385
- },
386
- spec: updateOperationSpec
387
- });
388
- const poller = await createHttpPoller<
389
- FluxConfigurationsUpdateResponse,
390
- OperationState<FluxConfigurationsUpdateResponse>
391
- >(lro, {
392
- restoreFrom: options?.resumeFrom,
393
- intervalInMs: options?.updateIntervalInMs,
394
- resourceLocationConfig: "azure-async-operation"
395
- });
396
- await poller.poll();
397
- return poller;
398
- }
399
-
400
- /**
401
- * Update an existing Kubernetes Flux Configuration.
402
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
403
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
404
- * Microsoft.HybridContainerService.
405
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
406
- * connectedClusters, provisionedClusters.
407
- * @param clusterName The name of the kubernetes cluster.
408
- * @param fluxConfigurationName Name of the Flux Configuration.
409
- * @param fluxConfigurationPatch Properties to Patch in an existing Flux Configuration.
410
- * @param options The options parameters.
411
- */
412
- async beginUpdateAndWait(
413
- resourceGroupName: string,
414
- clusterRp: string,
415
- clusterResourceName: string,
416
- clusterName: string,
417
- fluxConfigurationName: string,
418
- fluxConfigurationPatch: FluxConfigurationPatch,
419
- options?: FluxConfigurationsUpdateOptionalParams
420
- ): Promise<FluxConfigurationsUpdateResponse> {
421
- const poller = await this.beginUpdate(
422
- resourceGroupName,
423
- clusterRp,
424
- clusterResourceName,
425
- clusterName,
426
- fluxConfigurationName,
427
- fluxConfigurationPatch,
428
- options
429
- );
430
- return poller.pollUntilDone();
431
- }
432
-
433
- /**
434
- * This will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from
435
- * the source repo.
436
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
437
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
438
- * Microsoft.HybridContainerService.
439
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
440
- * connectedClusters, provisionedClusters.
441
- * @param clusterName The name of the kubernetes cluster.
442
- * @param fluxConfigurationName Name of the Flux Configuration.
443
- * @param options The options parameters.
444
- */
445
- async beginDelete(
446
- resourceGroupName: string,
447
- clusterRp: string,
448
- clusterResourceName: string,
449
- clusterName: string,
450
- fluxConfigurationName: string,
451
- options?: FluxConfigurationsDeleteOptionalParams
452
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
453
- const directSendOperation = async (
454
- args: coreClient.OperationArguments,
455
- spec: coreClient.OperationSpec
456
- ): Promise<void> => {
457
- return this.client.sendOperationRequest(args, spec);
458
- };
459
- const sendOperationFn = async (
460
- args: coreClient.OperationArguments,
461
- spec: coreClient.OperationSpec
462
- ) => {
463
- let currentRawResponse:
464
- | coreClient.FullOperationResponse
465
- | undefined = undefined;
466
- const providedCallback = args.options?.onResponse;
467
- const callback: coreClient.RawResponseCallback = (
468
- rawResponse: coreClient.FullOperationResponse,
469
- flatResponse: unknown
470
- ) => {
471
- currentRawResponse = rawResponse;
472
- providedCallback?.(rawResponse, flatResponse);
473
- };
474
- const updatedArgs = {
475
- ...args,
476
- options: {
477
- ...args.options,
478
- onResponse: callback
479
- }
480
- };
481
- const flatResponse = await directSendOperation(updatedArgs, spec);
482
- return {
483
- flatResponse,
484
- rawResponse: {
485
- statusCode: currentRawResponse!.status,
486
- body: currentRawResponse!.parsedBody,
487
- headers: currentRawResponse!.headers.toJSON()
488
- }
489
- };
490
- };
491
-
492
- const lro = createLroSpec({
493
- sendOperationFn,
494
- args: {
495
- resourceGroupName,
496
- clusterRp,
497
- clusterResourceName,
498
- clusterName,
499
- fluxConfigurationName,
500
- options
501
- },
502
- spec: deleteOperationSpec
503
- });
504
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
505
- restoreFrom: options?.resumeFrom,
506
- intervalInMs: options?.updateIntervalInMs,
507
- resourceLocationConfig: "azure-async-operation"
508
- });
509
- await poller.poll();
510
- return poller;
511
- }
512
-
513
- /**
514
- * This will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from
515
- * the source repo.
516
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
517
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
518
- * Microsoft.HybridContainerService.
519
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
520
- * connectedClusters, provisionedClusters.
521
- * @param clusterName The name of the kubernetes cluster.
522
- * @param fluxConfigurationName Name of the Flux Configuration.
523
- * @param options The options parameters.
524
- */
525
- async beginDeleteAndWait(
526
- resourceGroupName: string,
527
- clusterRp: string,
528
- clusterResourceName: string,
529
- clusterName: string,
530
- fluxConfigurationName: string,
531
- options?: FluxConfigurationsDeleteOptionalParams
532
- ): Promise<void> {
533
- const poller = await this.beginDelete(
534
- resourceGroupName,
535
- clusterRp,
536
- clusterResourceName,
537
- clusterName,
538
- fluxConfigurationName,
539
- options
540
- );
541
- return poller.pollUntilDone();
542
- }
543
-
544
- /**
545
- * List all Flux Configurations.
546
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
547
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
548
- * Microsoft.HybridContainerService.
549
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
550
- * connectedClusters, provisionedClusters.
551
- * @param clusterName The name of the kubernetes cluster.
552
- * @param options The options parameters.
553
- */
554
- private _list(
555
- resourceGroupName: string,
556
- clusterRp: string,
557
- clusterResourceName: string,
558
- clusterName: string,
559
- options?: FluxConfigurationsListOptionalParams
560
- ): Promise<FluxConfigurationsListResponse> {
561
- return this.client.sendOperationRequest(
562
- {
563
- resourceGroupName,
564
- clusterRp,
565
- clusterResourceName,
566
- clusterName,
567
- options
568
- },
569
- listOperationSpec
570
- );
571
- }
572
-
573
- /**
574
- * ListNext
575
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
576
- * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
577
- * Microsoft.HybridContainerService.
578
- * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
579
- * connectedClusters, provisionedClusters.
580
- * @param clusterName The name of the kubernetes cluster.
581
- * @param nextLink The nextLink from the previous successful call to the List method.
582
- * @param options The options parameters.
583
- */
584
- private _listNext(
585
- resourceGroupName: string,
586
- clusterRp: string,
587
- clusterResourceName: string,
588
- clusterName: string,
589
- nextLink: string,
590
- options?: FluxConfigurationsListNextOptionalParams
591
- ): Promise<FluxConfigurationsListNextResponse> {
592
- return this.client.sendOperationRequest(
593
- {
594
- resourceGroupName,
595
- clusterRp,
596
- clusterResourceName,
597
- clusterName,
598
- nextLink,
599
- options
600
- },
601
- listNextOperationSpec
602
- );
603
- }
604
- }
605
- // Operation Specifications
606
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
607
-
608
- const getOperationSpec: coreClient.OperationSpec = {
609
- path:
610
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/{fluxConfigurationName}",
611
- httpMethod: "GET",
612
- responses: {
613
- 200: {
614
- bodyMapper: Mappers.FluxConfiguration
615
- },
616
- default: {
617
- bodyMapper: Mappers.ErrorResponse
618
- }
619
- },
620
- queryParameters: [Parameters.apiVersion],
621
- urlParameters: [
622
- Parameters.$host,
623
- Parameters.subscriptionId,
624
- Parameters.resourceGroupName,
625
- Parameters.clusterRp,
626
- Parameters.clusterResourceName,
627
- Parameters.clusterName,
628
- Parameters.fluxConfigurationName
629
- ],
630
- headerParameters: [Parameters.accept],
631
- serializer
632
- };
633
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
634
- path:
635
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/{fluxConfigurationName}",
636
- httpMethod: "PUT",
637
- responses: {
638
- 200: {
639
- bodyMapper: Mappers.FluxConfiguration
640
- },
641
- 201: {
642
- bodyMapper: Mappers.FluxConfiguration
643
- },
644
- 202: {
645
- bodyMapper: Mappers.FluxConfiguration
646
- },
647
- 204: {
648
- bodyMapper: Mappers.FluxConfiguration
649
- },
650
- default: {
651
- bodyMapper: Mappers.ErrorResponse
652
- }
653
- },
654
- requestBody: Parameters.fluxConfiguration,
655
- queryParameters: [Parameters.apiVersion],
656
- urlParameters: [
657
- Parameters.$host,
658
- Parameters.subscriptionId,
659
- Parameters.resourceGroupName,
660
- Parameters.clusterRp,
661
- Parameters.clusterResourceName,
662
- Parameters.clusterName,
663
- Parameters.fluxConfigurationName
664
- ],
665
- headerParameters: [Parameters.contentType, Parameters.accept],
666
- mediaType: "json",
667
- serializer
668
- };
669
- const updateOperationSpec: coreClient.OperationSpec = {
670
- path:
671
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/{fluxConfigurationName}",
672
- httpMethod: "PATCH",
673
- responses: {
674
- 200: {
675
- bodyMapper: Mappers.FluxConfiguration
676
- },
677
- 201: {
678
- bodyMapper: Mappers.FluxConfiguration
679
- },
680
- 202: {
681
- bodyMapper: Mappers.FluxConfiguration
682
- },
683
- 204: {
684
- bodyMapper: Mappers.FluxConfiguration
685
- },
686
- default: {
687
- bodyMapper: Mappers.ErrorResponse
688
- }
689
- },
690
- requestBody: Parameters.fluxConfigurationPatch,
691
- queryParameters: [Parameters.apiVersion],
692
- urlParameters: [
693
- Parameters.$host,
694
- Parameters.subscriptionId,
695
- Parameters.resourceGroupName,
696
- Parameters.clusterRp,
697
- Parameters.clusterResourceName,
698
- Parameters.clusterName,
699
- Parameters.fluxConfigurationName
700
- ],
701
- headerParameters: [Parameters.contentType, Parameters.accept],
702
- mediaType: "json",
703
- serializer
704
- };
705
- const deleteOperationSpec: coreClient.OperationSpec = {
706
- path:
707
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/{fluxConfigurationName}",
708
- httpMethod: "DELETE",
709
- responses: {
710
- 200: {},
711
- 201: {},
712
- 202: {},
713
- 204: {},
714
- default: {
715
- bodyMapper: Mappers.ErrorResponse
716
- }
717
- },
718
- queryParameters: [Parameters.apiVersion, Parameters.forceDelete],
719
- urlParameters: [
720
- Parameters.$host,
721
- Parameters.subscriptionId,
722
- Parameters.resourceGroupName,
723
- Parameters.clusterRp,
724
- Parameters.clusterResourceName,
725
- Parameters.clusterName,
726
- Parameters.fluxConfigurationName
727
- ],
728
- headerParameters: [Parameters.accept],
729
- serializer
730
- };
731
- const listOperationSpec: coreClient.OperationSpec = {
732
- path:
733
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/fluxConfigurations",
734
- httpMethod: "GET",
735
- responses: {
736
- 200: {
737
- bodyMapper: Mappers.FluxConfigurationsList
738
- },
739
- default: {
740
- bodyMapper: Mappers.ErrorResponse
741
- }
742
- },
743
- queryParameters: [Parameters.apiVersion],
744
- urlParameters: [
745
- Parameters.$host,
746
- Parameters.subscriptionId,
747
- Parameters.resourceGroupName,
748
- Parameters.clusterRp,
749
- Parameters.clusterResourceName,
750
- Parameters.clusterName
751
- ],
752
- headerParameters: [Parameters.accept],
753
- serializer
754
- };
755
- const listNextOperationSpec: coreClient.OperationSpec = {
756
- path: "{nextLink}",
757
- httpMethod: "GET",
758
- responses: {
759
- 200: {
760
- bodyMapper: Mappers.FluxConfigurationsList
761
- },
762
- default: {
763
- bodyMapper: Mappers.ErrorResponse
764
- }
765
- },
766
- urlParameters: [
767
- Parameters.$host,
768
- Parameters.subscriptionId,
769
- Parameters.resourceGroupName,
770
- Parameters.clusterRp,
771
- Parameters.clusterResourceName,
772
- Parameters.clusterName,
773
- Parameters.nextLink
774
- ],
775
- headerParameters: [Parameters.accept],
776
- serializer
777
- };