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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -0,0 +1,377 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.SourceControlConfigurationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing SourceControlConfigurations operations. */
20
+ class SourceControlConfigurationsImpl {
21
+ /**
22
+ * Initialize a new instance of the class SourceControlConfigurations class.
23
+ * @param client Reference to the service client
24
+ */
25
+ constructor(client) {
26
+ this.client = client;
27
+ }
28
+ /**
29
+ * List all Source Control Configurations.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
32
+ * Microsoft.HybridContainerService.
33
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
34
+ * connectedClusters, provisionedClusters.
35
+ * @param clusterName The name of the kubernetes cluster.
36
+ * @param options The options parameters.
37
+ */
38
+ list(resourceGroupName, clusterRp, clusterResourceName, clusterName, options) {
39
+ const iter = this.listPagingAll(resourceGroupName, clusterRp, clusterResourceName, clusterName, options);
40
+ return {
41
+ next() {
42
+ return iter.next();
43
+ },
44
+ [Symbol.asyncIterator]() {
45
+ return this;
46
+ },
47
+ byPage: (settings) => {
48
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
49
+ throw new Error("maxPageSize is not supported by this operation.");
50
+ }
51
+ return this.listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options, settings);
52
+ }
53
+ };
54
+ }
55
+ listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options, settings) {
56
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
57
+ let result;
58
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
59
+ if (!continuationToken) {
60
+ result = yield tslib_1.__await(this._list(resourceGroupName, clusterRp, clusterResourceName, clusterName, options));
61
+ let page = result.value || [];
62
+ continuationToken = result.nextLink;
63
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
64
+ yield yield tslib_1.__await(page);
65
+ }
66
+ while (continuationToken) {
67
+ result = yield tslib_1.__await(this._listNext(resourceGroupName, clusterRp, clusterResourceName, clusterName, continuationToken, options));
68
+ continuationToken = result.nextLink;
69
+ let page = result.value || [];
70
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
71
+ yield yield tslib_1.__await(page);
72
+ }
73
+ });
74
+ }
75
+ listPagingAll(resourceGroupName, clusterRp, clusterResourceName, clusterName, options) {
76
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
77
+ var _a, e_1, _b, _c;
78
+ try {
79
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
80
+ _c = _f.value;
81
+ _d = false;
82
+ const page = _c;
83
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
84
+ }
85
+ }
86
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
87
+ finally {
88
+ try {
89
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
90
+ }
91
+ finally { if (e_1) throw e_1.error; }
92
+ }
93
+ });
94
+ }
95
+ /**
96
+ * Gets details of the Source Control Configuration.
97
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
98
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
99
+ * Microsoft.HybridContainerService.
100
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
101
+ * connectedClusters, provisionedClusters.
102
+ * @param clusterName The name of the kubernetes cluster.
103
+ * @param sourceControlConfigurationName Name of the Source Control Configuration.
104
+ * @param options The options parameters.
105
+ */
106
+ get(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
107
+ return this.client.sendOperationRequest({
108
+ resourceGroupName,
109
+ clusterRp,
110
+ clusterResourceName,
111
+ clusterName,
112
+ sourceControlConfigurationName,
113
+ options
114
+ }, getOperationSpec);
115
+ }
116
+ /**
117
+ * Create a new Kubernetes Source Control Configuration.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
120
+ * Microsoft.HybridContainerService.
121
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
122
+ * connectedClusters, provisionedClusters.
123
+ * @param clusterName The name of the kubernetes cluster.
124
+ * @param sourceControlConfigurationName Name of the Source Control Configuration.
125
+ * @param sourceControlConfiguration Properties necessary to Create KubernetesConfiguration.
126
+ * @param options The options parameters.
127
+ */
128
+ createOrUpdate(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, sourceControlConfiguration, options) {
129
+ return this.client.sendOperationRequest({
130
+ resourceGroupName,
131
+ clusterRp,
132
+ clusterResourceName,
133
+ clusterName,
134
+ sourceControlConfigurationName,
135
+ sourceControlConfiguration,
136
+ options
137
+ }, createOrUpdateOperationSpec);
138
+ }
139
+ /**
140
+ * This will delete the YAML file used to set up the Source control configuration, thus stopping future
141
+ * sync from the source repo.
142
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
143
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
144
+ * Microsoft.HybridContainerService.
145
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
146
+ * connectedClusters, provisionedClusters.
147
+ * @param clusterName The name of the kubernetes cluster.
148
+ * @param sourceControlConfigurationName Name of the Source Control Configuration.
149
+ * @param options The options parameters.
150
+ */
151
+ async beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
152
+ const directSendOperation = async (args, spec) => {
153
+ return this.client.sendOperationRequest(args, spec);
154
+ };
155
+ const sendOperationFn = async (args, spec) => {
156
+ var _a;
157
+ let currentRawResponse = undefined;
158
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
159
+ const callback = (rawResponse, flatResponse) => {
160
+ currentRawResponse = rawResponse;
161
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
162
+ };
163
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
164
+ const flatResponse = await directSendOperation(updatedArgs, spec);
165
+ return {
166
+ flatResponse,
167
+ rawResponse: {
168
+ statusCode: currentRawResponse.status,
169
+ body: currentRawResponse.parsedBody,
170
+ headers: currentRawResponse.headers.toJSON()
171
+ }
172
+ };
173
+ };
174
+ const lro = (0, lroImpl_js_1.createLroSpec)({
175
+ sendOperationFn,
176
+ args: {
177
+ resourceGroupName,
178
+ clusterRp,
179
+ clusterResourceName,
180
+ clusterName,
181
+ sourceControlConfigurationName,
182
+ options
183
+ },
184
+ spec: deleteOperationSpec
185
+ });
186
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
187
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
188
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
189
+ });
190
+ await poller.poll();
191
+ return poller;
192
+ }
193
+ /**
194
+ * This will delete the YAML file used to set up the Source control configuration, thus stopping future
195
+ * sync from the source repo.
196
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
197
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
198
+ * Microsoft.HybridContainerService.
199
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
200
+ * connectedClusters, provisionedClusters.
201
+ * @param clusterName The name of the kubernetes cluster.
202
+ * @param sourceControlConfigurationName Name of the Source Control Configuration.
203
+ * @param options The options parameters.
204
+ */
205
+ async beginDeleteAndWait(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options) {
206
+ const poller = await this.beginDelete(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName, options);
207
+ return poller.pollUntilDone();
208
+ }
209
+ /**
210
+ * List all Source Control Configurations.
211
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
213
+ * Microsoft.HybridContainerService.
214
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
215
+ * connectedClusters, provisionedClusters.
216
+ * @param clusterName The name of the kubernetes cluster.
217
+ * @param options The options parameters.
218
+ */
219
+ _list(resourceGroupName, clusterRp, clusterResourceName, clusterName, options) {
220
+ return this.client.sendOperationRequest({
221
+ resourceGroupName,
222
+ clusterRp,
223
+ clusterResourceName,
224
+ clusterName,
225
+ options
226
+ }, listOperationSpec);
227
+ }
228
+ /**
229
+ * ListNext
230
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
231
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
232
+ * Microsoft.HybridContainerService.
233
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
234
+ * connectedClusters, provisionedClusters.
235
+ * @param clusterName The name of the kubernetes cluster.
236
+ * @param nextLink The nextLink from the previous successful call to the List method.
237
+ * @param options The options parameters.
238
+ */
239
+ _listNext(resourceGroupName, clusterRp, clusterResourceName, clusterName, nextLink, options) {
240
+ return this.client.sendOperationRequest({
241
+ resourceGroupName,
242
+ clusterRp,
243
+ clusterResourceName,
244
+ clusterName,
245
+ nextLink,
246
+ options
247
+ }, listNextOperationSpec);
248
+ }
249
+ }
250
+ exports.SourceControlConfigurationsImpl = SourceControlConfigurationsImpl;
251
+ // Operation Specifications
252
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
253
+ const getOperationSpec = {
254
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}",
255
+ httpMethod: "GET",
256
+ responses: {
257
+ 200: {
258
+ bodyMapper: Mappers.SourceControlConfiguration
259
+ },
260
+ default: {
261
+ bodyMapper: Mappers.ErrorResponse
262
+ }
263
+ },
264
+ queryParameters: [Parameters.apiVersion],
265
+ urlParameters: [
266
+ Parameters.$host,
267
+ Parameters.subscriptionId,
268
+ Parameters.resourceGroupName,
269
+ Parameters.clusterRp,
270
+ Parameters.clusterResourceName,
271
+ Parameters.clusterName,
272
+ Parameters.sourceControlConfigurationName
273
+ ],
274
+ headerParameters: [Parameters.accept],
275
+ serializer
276
+ };
277
+ const createOrUpdateOperationSpec = {
278
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}",
279
+ httpMethod: "PUT",
280
+ responses: {
281
+ 200: {
282
+ bodyMapper: Mappers.SourceControlConfiguration
283
+ },
284
+ 201: {
285
+ bodyMapper: Mappers.SourceControlConfiguration
286
+ },
287
+ default: {
288
+ bodyMapper: Mappers.ErrorResponse
289
+ }
290
+ },
291
+ requestBody: Parameters.sourceControlConfiguration,
292
+ queryParameters: [Parameters.apiVersion],
293
+ urlParameters: [
294
+ Parameters.$host,
295
+ Parameters.subscriptionId,
296
+ Parameters.resourceGroupName,
297
+ Parameters.clusterRp,
298
+ Parameters.clusterResourceName,
299
+ Parameters.clusterName,
300
+ Parameters.sourceControlConfigurationName
301
+ ],
302
+ headerParameters: [Parameters.contentType, Parameters.accept],
303
+ mediaType: "json",
304
+ serializer
305
+ };
306
+ const deleteOperationSpec = {
307
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}",
308
+ httpMethod: "DELETE",
309
+ responses: {
310
+ 200: {},
311
+ 201: {},
312
+ 202: {},
313
+ 204: {},
314
+ default: {
315
+ bodyMapper: Mappers.ErrorResponse
316
+ }
317
+ },
318
+ queryParameters: [Parameters.apiVersion],
319
+ urlParameters: [
320
+ Parameters.$host,
321
+ Parameters.subscriptionId,
322
+ Parameters.resourceGroupName,
323
+ Parameters.clusterRp,
324
+ Parameters.clusterResourceName,
325
+ Parameters.clusterName,
326
+ Parameters.sourceControlConfigurationName
327
+ ],
328
+ headerParameters: [Parameters.accept],
329
+ serializer
330
+ };
331
+ const listOperationSpec = {
332
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations",
333
+ httpMethod: "GET",
334
+ responses: {
335
+ 200: {
336
+ bodyMapper: Mappers.SourceControlConfigurationList
337
+ },
338
+ default: {
339
+ bodyMapper: Mappers.ErrorResponse
340
+ }
341
+ },
342
+ queryParameters: [Parameters.apiVersion],
343
+ urlParameters: [
344
+ Parameters.$host,
345
+ Parameters.subscriptionId,
346
+ Parameters.resourceGroupName,
347
+ Parameters.clusterRp,
348
+ Parameters.clusterResourceName,
349
+ Parameters.clusterName
350
+ ],
351
+ headerParameters: [Parameters.accept],
352
+ serializer
353
+ };
354
+ const listNextOperationSpec = {
355
+ path: "{nextLink}",
356
+ httpMethod: "GET",
357
+ responses: {
358
+ 200: {
359
+ bodyMapper: Mappers.SourceControlConfigurationList
360
+ },
361
+ default: {
362
+ bodyMapper: Mappers.ErrorResponse
363
+ }
364
+ },
365
+ urlParameters: [
366
+ Parameters.$host,
367
+ Parameters.subscriptionId,
368
+ Parameters.resourceGroupName,
369
+ Parameters.clusterRp,
370
+ Parameters.clusterResourceName,
371
+ Parameters.clusterName,
372
+ Parameters.nextLink
373
+ ],
374
+ headerParameters: [Parameters.accept],
375
+ serializer
376
+ };
377
+ //# sourceMappingURL=sourceControlConfigurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceControlConfigurations.js","sourceRoot":"","sources":["../../../src/operations/sourceControlConfigurations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAa,+BAA+B;IAI1C;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAyB,EACzB,SAAiB,EACjB,mBAA2B,EAC3B,WAAmB,EACnB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD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AC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SourceControlConfigurations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SourceControlConfigurationClient } from \"../sourceControlConfigurationClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n SourceControlConfiguration,\n SourceControlConfigurationsListNextOptionalParams,\n SourceControlConfigurationsListOptionalParams,\n SourceControlConfigurationsListResponse,\n SourceControlConfigurationsGetOptionalParams,\n SourceControlConfigurationsGetResponse,\n SourceControlConfigurationsCreateOrUpdateOptionalParams,\n SourceControlConfigurationsCreateOrUpdateResponse,\n SourceControlConfigurationsDeleteOptionalParams,\n SourceControlConfigurationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SourceControlConfigurations operations. */\nexport class SourceControlConfigurationsImpl\n implements SourceControlConfigurations {\n private readonly client: SourceControlConfigurationClient;\n\n /**\n * Initialize a new instance of the class SourceControlConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: SourceControlConfigurationClient) {\n this.client = client;\n }\n\n /**\n * List all Source Control Configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): PagedAsyncIterableIterator<SourceControlConfiguration> {\n const iter = this.listPagingAll(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<SourceControlConfiguration[]> {\n let result: SourceControlConfigurationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): AsyncIterableIterator<SourceControlConfiguration> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets details of the Source Control Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsGetOptionalParams\n ): Promise<SourceControlConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Create a new Kubernetes Source Control Configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param sourceControlConfiguration Properties necessary to Create KubernetesConfiguration.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n sourceControlConfiguration: SourceControlConfiguration,\n options?: SourceControlConfigurationsCreateOrUpdateOptionalParams\n ): Promise<SourceControlConfigurationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n sourceControlConfiguration,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * This will delete the YAML file used to set up the Source control configuration, thus stopping future\n * sync from the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n options\n },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * This will delete the YAML file used to set up the Source control configuration, thus stopping future\n * sync from the source repo.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param sourceControlConfigurationName Name of the Source Control Configuration.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n sourceControlConfigurationName: string,\n options?: SourceControlConfigurationsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n sourceControlConfigurationName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List all Source Control Configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: SourceControlConfigurationsListOptionalParams\n ): Promise<SourceControlConfigurationsListResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n options\n },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n nextLink: string,\n options?: SourceControlConfigurationsListNextOptionalParams\n ): Promise<SourceControlConfigurationsListNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterRp,\n clusterResourceName,\n clusterName,\n nextLink,\n options\n },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfiguration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.sourceControlConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfiguration\n },\n 201: {\n bodyMapper: Mappers.SourceControlConfiguration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.sourceControlConfiguration,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.sourceControlConfigurationName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.sourceControlConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfigurationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlConfigurationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterRp,\n Parameters.clusterResourceName,\n Parameters.clusterName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,108 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { Extension, ExtensionsListOptionalParams, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsDeleteOptionalParams, PatchExtension, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models/index.js";
4
+ /** Interface representing a Extensions. */
5
+ export interface Extensions {
6
+ /**
7
+ * List all Extensions in the cluster.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
10
+ * Microsoft.HybridContainerService.
11
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
12
+ * connectedClusters, provisionedClusters.
13
+ * @param clusterName The name of the kubernetes cluster.
14
+ * @param options The options parameters.
15
+ */
16
+ list(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, options?: ExtensionsListOptionalParams): PagedAsyncIterableIterator<Extension>;
17
+ /**
18
+ * Create a new Kubernetes Cluster Extension.
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
21
+ * Microsoft.HybridContainerService.
22
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
23
+ * connectedClusters, provisionedClusters.
24
+ * @param clusterName The name of the kubernetes cluster.
25
+ * @param extensionName Name of the Extension.
26
+ * @param extension Properties necessary to Create an Extension.
27
+ * @param options The options parameters.
28
+ */
29
+ beginCreate(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, extension: Extension, options?: ExtensionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ExtensionsCreateResponse>, ExtensionsCreateResponse>>;
30
+ /**
31
+ * Create a new Kubernetes Cluster Extension.
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
34
+ * Microsoft.HybridContainerService.
35
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
36
+ * connectedClusters, provisionedClusters.
37
+ * @param clusterName The name of the kubernetes cluster.
38
+ * @param extensionName Name of the Extension.
39
+ * @param extension Properties necessary to Create an Extension.
40
+ * @param options The options parameters.
41
+ */
42
+ beginCreateAndWait(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, extension: Extension, options?: ExtensionsCreateOptionalParams): Promise<ExtensionsCreateResponse>;
43
+ /**
44
+ * Gets Kubernetes Cluster Extension.
45
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
47
+ * Microsoft.HybridContainerService.
48
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
49
+ * connectedClusters, provisionedClusters.
50
+ * @param clusterName The name of the kubernetes cluster.
51
+ * @param extensionName Name of the Extension.
52
+ * @param options The options parameters.
53
+ */
54
+ get(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
55
+ /**
56
+ * Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the
57
+ * cluster.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
60
+ * Microsoft.HybridContainerService.
61
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
62
+ * connectedClusters, provisionedClusters.
63
+ * @param clusterName The name of the kubernetes cluster.
64
+ * @param extensionName Name of the Extension.
65
+ * @param options The options parameters.
66
+ */
67
+ beginDelete(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
68
+ /**
69
+ * Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the
70
+ * cluster.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
73
+ * Microsoft.HybridContainerService.
74
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
75
+ * connectedClusters, provisionedClusters.
76
+ * @param clusterName The name of the kubernetes cluster.
77
+ * @param extensionName Name of the Extension.
78
+ * @param options The options parameters.
79
+ */
80
+ beginDeleteAndWait(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
81
+ /**
82
+ * Patch an existing Kubernetes Cluster Extension.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
85
+ * Microsoft.HybridContainerService.
86
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
87
+ * connectedClusters, provisionedClusters.
88
+ * @param clusterName The name of the kubernetes cluster.
89
+ * @param extensionName Name of the Extension.
90
+ * @param patchExtension Properties to Patch in an existing Extension.
91
+ * @param options The options parameters.
92
+ */
93
+ beginUpdate(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, patchExtension: PatchExtension, options?: ExtensionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExtensionsUpdateResponse>, ExtensionsUpdateResponse>>;
94
+ /**
95
+ * Patch an existing Kubernetes Cluster Extension.
96
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
97
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
98
+ * Microsoft.HybridContainerService.
99
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
100
+ * connectedClusters, provisionedClusters.
101
+ * @param clusterName The name of the kubernetes cluster.
102
+ * @param extensionName Name of the Extension.
103
+ * @param patchExtension Properties to Patch in an existing Extension.
104
+ * @param options The options parameters.
105
+ */
106
+ beginUpdateAndWait(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, extensionName: string, patchExtension: PatchExtension, options?: ExtensionsUpdateOptionalParams): Promise<ExtensionsUpdateResponse>;
107
+ }
108
+ //# sourceMappingURL=extensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;;;;OASG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CA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EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;;OAWG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=extensions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Extension,\n ExtensionsListOptionalParams,\n ExtensionsCreateOptionalParams,\n ExtensionsCreateResponse,\n ExtensionsGetOptionalParams,\n ExtensionsGetResponse,\n ExtensionsDeleteOptionalParams,\n PatchExtension,\n ExtensionsUpdateOptionalParams,\n ExtensionsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Extensions. */\nexport interface Extensions {\n /**\n * List all Extensions in the cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n options?: ExtensionsListOptionalParams\n ): PagedAsyncIterableIterator<Extension>;\n /**\n * Create a new Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param extension Properties necessary to Create an Extension.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n extension: Extension,\n options?: ExtensionsCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ExtensionsCreateResponse>,\n ExtensionsCreateResponse\n >\n >;\n /**\n * Create a new Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param extension Properties necessary to Create an Extension.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n extension: Extension,\n options?: ExtensionsCreateOptionalParams\n ): Promise<ExtensionsCreateResponse>;\n /**\n * Gets Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsGetOptionalParams\n ): Promise<ExtensionsGetResponse>;\n /**\n * Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Patch an existing Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param patchExtension Properties to Patch in an existing Extension.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n patchExtension: PatchExtension,\n options?: ExtensionsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ExtensionsUpdateResponse>,\n ExtensionsUpdateResponse\n >\n >;\n /**\n * Patch an existing Kubernetes Cluster Extension.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param extensionName Name of the Extension.\n * @param patchExtension Properties to Patch in an existing Extension.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n extensionName: string,\n patchExtension: PatchExtension,\n options?: ExtensionsUpdateOptionalParams\n ): Promise<ExtensionsUpdateResponse>;\n}\n"]}
@@ -0,0 +1,18 @@
1
+ import { FluxConfigOperationStatusGetOptionalParams, FluxConfigOperationStatusGetResponse } from "../models/index.js";
2
+ /** Interface representing a FluxConfigOperationStatus. */
3
+ export interface FluxConfigOperationStatus {
4
+ /**
5
+ * Get Async Operation status
6
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7
+ * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,
8
+ * Microsoft.HybridContainerService.
9
+ * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,
10
+ * connectedClusters, provisionedClusters.
11
+ * @param clusterName The name of the kubernetes cluster.
12
+ * @param fluxConfigurationName Name of the Flux Configuration.
13
+ * @param operationId operation Id
14
+ * @param options The options parameters.
15
+ */
16
+ get(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, fluxConfigurationName: string, operationId: string, options?: FluxConfigOperationStatusGetOptionalParams): Promise<FluxConfigOperationStatusGetResponse>;
17
+ }
18
+ //# sourceMappingURL=fluxConfigOperationStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fluxConfigOperationStatus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fluxConfigOperationStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAE5B,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC;;;;;;;;;;;OAWG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,MAAM,EACnB,qBAAqB,EAAE,MAAM,EAC7B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=fluxConfigOperationStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fluxConfigOperationStatus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fluxConfigOperationStatus.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n FluxConfigOperationStatusGetOptionalParams,\n FluxConfigOperationStatusGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a FluxConfigOperationStatus. */\nexport interface FluxConfigOperationStatus {\n /**\n * Get Async Operation status\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes,\n * Microsoft.HybridContainerService.\n * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters,\n * connectedClusters, provisionedClusters.\n * @param clusterName The name of the kubernetes cluster.\n * @param fluxConfigurationName Name of the Flux Configuration.\n * @param operationId operation Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterRp: string,\n clusterResourceName: string,\n clusterName: string,\n fluxConfigurationName: string,\n operationId: string,\n options?: FluxConfigOperationStatusGetOptionalParams\n ): Promise<FluxConfigOperationStatusGetResponse>;\n}\n"]}