@azure/arm-confluent 3.1.1-alpha.20250107.1 → 3.1.1-alpha.20250109.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 (493) hide show
  1. package/{dist-esm/src → dist/browser}/confluentManagementClient.d.ts +2 -2
  2. package/dist/browser/confluentManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/confluentManagementClient.js +15 -18
  4. package/dist/browser/confluentManagementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/access.d.ts +3 -3
  15. package/dist/browser/operations/access.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/access.js +2 -2
  17. package/dist/browser/operations/access.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +6 -0
  19. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  20. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
  21. package/dist/browser/operations/index.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/marketplaceAgreements.d.ts +3 -3
  23. package/dist/browser/operations/marketplaceAgreements.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/marketplaceAgreements.js +3 -3
  25. package/dist/browser/operations/marketplaceAgreements.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/organization.d.ts +3 -3
  27. package/dist/browser/operations/organization.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/organization.js +79 -87
  29. package/dist/browser/operations/organization.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/organizationOperations.d.ts +3 -3
  31. package/dist/browser/operations/organizationOperations.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/organizationOperations.js +3 -3
  33. package/dist/browser/operations/organizationOperations.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/validations.d.ts +3 -3
  35. package/dist/browser/operations/validations.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/validations.js +2 -2
  37. package/dist/browser/operations/validations.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/access.d.ts +1 -1
  39. package/dist/browser/operationsInterfaces/access.d.ts.map +1 -0
  40. package/dist/browser/operationsInterfaces/access.js.map +1 -0
  41. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  43. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
  44. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/marketplaceAgreements.d.ts +1 -1
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -1
  47. package/dist/browser/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/organization.d.ts +1 -1
  49. package/dist/browser/operationsInterfaces/organization.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/organization.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/organizationOperations.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/organizationOperations.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/organizationOperations.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/validations.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/validations.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/validations.js.map +1 -0
  57. package/dist/browser/package.json +3 -0
  58. package/dist/browser/pagingHelper.js.map +1 -0
  59. package/dist/commonjs/confluentManagementClient.d.ts +25 -0
  60. package/dist/commonjs/confluentManagementClient.d.ts.map +1 -0
  61. package/dist/commonjs/confluentManagementClient.js +104 -0
  62. package/dist/commonjs/confluentManagementClient.js.map +1 -0
  63. package/dist/commonjs/index.d.ts +5 -0
  64. package/dist/commonjs/index.d.ts.map +1 -0
  65. package/dist/commonjs/index.js +19 -0
  66. package/dist/commonjs/index.js.map +1 -0
  67. package/dist/commonjs/lroImpl.d.ts +11 -0
  68. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  69. package/dist/commonjs/lroImpl.js +24 -0
  70. package/dist/commonjs/lroImpl.js.map +1 -0
  71. package/{types/arm-confluent.d.ts → dist/commonjs/models/index.d.ts} +1078 -1523
  72. package/dist/commonjs/models/index.d.ts.map +1 -0
  73. package/dist/commonjs/models/index.js +69 -0
  74. package/dist/commonjs/models/index.js.map +1 -0
  75. package/dist/commonjs/models/mappers.d.ts +64 -0
  76. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  77. package/dist/commonjs/models/mappers.js +2250 -0
  78. package/dist/commonjs/models/mappers.js.map +1 -0
  79. package/dist/commonjs/models/parameters.d.ts +25 -0
  80. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  81. package/dist/commonjs/models/parameters.js +201 -0
  82. package/dist/commonjs/models/parameters.js.map +1 -0
  83. package/dist/commonjs/operations/access.d.ts +93 -0
  84. package/dist/commonjs/operations/access.d.ts.map +1 -0
  85. package/dist/commonjs/operations/access.js +356 -0
  86. package/dist/commonjs/operations/access.js.map +1 -0
  87. package/dist/commonjs/operations/index.d.ts +6 -0
  88. package/dist/commonjs/operations/index.d.ts.map +1 -0
  89. package/dist/commonjs/operations/index.js +16 -0
  90. package/dist/commonjs/operations/index.js.map +1 -0
  91. package/dist/commonjs/operations/marketplaceAgreements.d.ts +37 -0
  92. package/dist/commonjs/operations/marketplaceAgreements.d.ts.map +1 -0
  93. package/dist/commonjs/operations/marketplaceAgreements.js +166 -0
  94. package/dist/commonjs/operations/marketplaceAgreements.js.map +1 -0
  95. package/dist/commonjs/operations/organization.d.ts +236 -0
  96. package/dist/commonjs/operations/organization.d.ts.map +1 -0
  97. package/dist/commonjs/operations/organization.js +1130 -0
  98. package/dist/commonjs/operations/organization.js.map +1 -0
  99. package/dist/commonjs/operations/organizationOperations.d.ts +32 -0
  100. package/dist/commonjs/operations/organizationOperations.d.ts.map +1 -0
  101. package/dist/commonjs/operations/organizationOperations.js +137 -0
  102. package/dist/commonjs/operations/organizationOperations.js.map +1 -0
  103. package/dist/commonjs/operations/validations.d.ts +29 -0
  104. package/dist/commonjs/operations/validations.d.ts.map +1 -0
  105. package/dist/commonjs/operations/validations.js +94 -0
  106. package/dist/commonjs/operations/validations.js.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/access.d.ts +85 -0
  108. package/dist/commonjs/operationsInterfaces/access.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/access.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/access.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  112. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  114. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  116. package/dist/commonjs/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/marketplaceAgreements.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/organization.d.ts +144 -0
  120. package/dist/commonjs/operationsInterfaces/organization.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/organization.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/organization.js.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/organizationOperations.d.ts +11 -0
  124. package/dist/commonjs/operationsInterfaces/organizationOperations.d.ts.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/organizationOperations.js +10 -0
  126. package/dist/commonjs/operationsInterfaces/organizationOperations.js.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/validations.d.ts +21 -0
  128. package/dist/commonjs/operationsInterfaces/validations.d.ts.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/validations.js +10 -0
  130. package/dist/commonjs/operationsInterfaces/validations.js.map +1 -0
  131. package/dist/commonjs/package.json +3 -0
  132. package/dist/commonjs/pagingHelper.d.ts +13 -0
  133. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  134. package/dist/commonjs/pagingHelper.js +36 -0
  135. package/dist/commonjs/pagingHelper.js.map +1 -0
  136. package/dist/esm/confluentManagementClient.d.ts +25 -0
  137. package/dist/esm/confluentManagementClient.d.ts.map +1 -0
  138. package/dist/esm/confluentManagementClient.js +99 -0
  139. package/dist/esm/confluentManagementClient.js.map +1 -0
  140. package/dist/esm/index.d.ts +5 -0
  141. package/dist/esm/index.d.ts.map +1 -0
  142. package/{src/index.ts → dist/esm/index.js} +5 -5
  143. package/dist/esm/index.js.map +1 -0
  144. package/dist/esm/lroImpl.d.ts +11 -0
  145. package/dist/esm/lroImpl.d.ts.map +1 -0
  146. package/dist/esm/lroImpl.js +21 -0
  147. package/dist/esm/lroImpl.js.map +1 -0
  148. package/dist/esm/models/index.d.ts +1078 -0
  149. package/dist/esm/models/index.d.ts.map +1 -0
  150. package/dist/esm/models/index.js +66 -0
  151. package/dist/esm/models/index.js.map +1 -0
  152. package/dist/esm/models/mappers.d.ts +64 -0
  153. package/dist/esm/models/mappers.d.ts.map +1 -0
  154. package/dist/esm/models/mappers.js +2246 -0
  155. package/dist/esm/models/mappers.js.map +1 -0
  156. package/dist/esm/models/parameters.d.ts +25 -0
  157. package/dist/esm/models/parameters.d.ts.map +1 -0
  158. package/dist/esm/models/parameters.js +198 -0
  159. package/dist/esm/models/parameters.js.map +1 -0
  160. package/dist/esm/operations/access.d.ts +93 -0
  161. package/dist/esm/operations/access.d.ts.map +1 -0
  162. package/dist/esm/operations/access.js +351 -0
  163. package/dist/esm/operations/access.js.map +1 -0
  164. package/dist/esm/operations/index.d.ts +6 -0
  165. package/dist/esm/operations/index.d.ts.map +1 -0
  166. package/dist/esm/operations/index.js +13 -0
  167. package/dist/esm/operations/index.js.map +1 -0
  168. package/dist/esm/operations/marketplaceAgreements.d.ts +37 -0
  169. package/dist/esm/operations/marketplaceAgreements.d.ts.map +1 -0
  170. package/dist/esm/operations/marketplaceAgreements.js +162 -0
  171. package/dist/esm/operations/marketplaceAgreements.js.map +1 -0
  172. package/dist/esm/operations/organization.d.ts +236 -0
  173. package/dist/esm/operations/organization.d.ts.map +1 -0
  174. package/dist/esm/operations/organization.js +1126 -0
  175. package/dist/esm/operations/organization.js.map +1 -0
  176. package/dist/esm/operations/organizationOperations.d.ts +32 -0
  177. package/dist/esm/operations/organizationOperations.d.ts.map +1 -0
  178. package/dist/esm/operations/organizationOperations.js +133 -0
  179. package/dist/esm/operations/organizationOperations.js.map +1 -0
  180. package/dist/esm/operations/validations.d.ts +29 -0
  181. package/dist/esm/operations/validations.d.ts.map +1 -0
  182. package/dist/esm/operations/validations.js +89 -0
  183. package/dist/esm/operations/validations.js.map +1 -0
  184. package/dist/esm/operationsInterfaces/access.d.ts +85 -0
  185. package/dist/esm/operationsInterfaces/access.d.ts.map +1 -0
  186. package/dist/esm/operationsInterfaces/access.js +9 -0
  187. package/dist/esm/operationsInterfaces/access.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  189. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/index.js +13 -0
  191. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  193. package/dist/esm/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/marketplaceAgreements.js +9 -0
  195. package/dist/esm/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  196. package/dist/esm/operationsInterfaces/organization.d.ts +144 -0
  197. package/dist/esm/operationsInterfaces/organization.d.ts.map +1 -0
  198. package/dist/esm/operationsInterfaces/organization.js +9 -0
  199. package/dist/esm/operationsInterfaces/organization.js.map +1 -0
  200. package/dist/esm/operationsInterfaces/organizationOperations.d.ts +11 -0
  201. package/dist/esm/operationsInterfaces/organizationOperations.d.ts.map +1 -0
  202. package/dist/esm/operationsInterfaces/organizationOperations.js +9 -0
  203. package/dist/esm/operationsInterfaces/organizationOperations.js.map +1 -0
  204. package/dist/esm/operationsInterfaces/validations.d.ts +21 -0
  205. package/dist/esm/operationsInterfaces/validations.d.ts.map +1 -0
  206. package/dist/esm/operationsInterfaces/validations.js +9 -0
  207. package/dist/esm/operationsInterfaces/validations.js.map +1 -0
  208. package/dist/esm/package.json +3 -0
  209. package/dist/esm/pagingHelper.d.ts +13 -0
  210. package/dist/esm/pagingHelper.d.ts.map +1 -0
  211. package/dist/esm/pagingHelper.js +32 -0
  212. package/dist/esm/pagingHelper.js.map +1 -0
  213. package/dist/react-native/confluentManagementClient.d.ts +25 -0
  214. package/dist/react-native/confluentManagementClient.d.ts.map +1 -0
  215. package/dist/react-native/confluentManagementClient.js +99 -0
  216. package/dist/react-native/confluentManagementClient.js.map +1 -0
  217. package/dist/react-native/index.d.ts +5 -0
  218. package/dist/react-native/index.d.ts.map +1 -0
  219. package/dist/react-native/index.js +13 -0
  220. package/dist/react-native/index.js.map +1 -0
  221. package/dist/react-native/lroImpl.d.ts +11 -0
  222. package/dist/react-native/lroImpl.d.ts.map +1 -0
  223. package/dist/react-native/lroImpl.js +21 -0
  224. package/dist/react-native/lroImpl.js.map +1 -0
  225. package/dist/react-native/models/index.d.ts +1078 -0
  226. package/dist/react-native/models/index.d.ts.map +1 -0
  227. package/dist/react-native/models/index.js +66 -0
  228. package/dist/react-native/models/index.js.map +1 -0
  229. package/dist/react-native/models/mappers.d.ts +64 -0
  230. package/dist/react-native/models/mappers.d.ts.map +1 -0
  231. package/dist/react-native/models/mappers.js +2246 -0
  232. package/dist/react-native/models/mappers.js.map +1 -0
  233. package/dist/react-native/models/parameters.d.ts +25 -0
  234. package/dist/react-native/models/parameters.d.ts.map +1 -0
  235. package/dist/react-native/models/parameters.js +198 -0
  236. package/dist/react-native/models/parameters.js.map +1 -0
  237. package/dist/react-native/operations/access.d.ts +93 -0
  238. package/dist/react-native/operations/access.d.ts.map +1 -0
  239. package/dist/react-native/operations/access.js +351 -0
  240. package/dist/react-native/operations/access.js.map +1 -0
  241. package/dist/react-native/operations/index.d.ts +6 -0
  242. package/dist/react-native/operations/index.d.ts.map +1 -0
  243. package/dist/react-native/operations/index.js +13 -0
  244. package/dist/react-native/operations/index.js.map +1 -0
  245. package/dist/react-native/operations/marketplaceAgreements.d.ts +37 -0
  246. package/dist/react-native/operations/marketplaceAgreements.d.ts.map +1 -0
  247. package/dist/react-native/operations/marketplaceAgreements.js +162 -0
  248. package/dist/react-native/operations/marketplaceAgreements.js.map +1 -0
  249. package/dist/react-native/operations/organization.d.ts +236 -0
  250. package/dist/react-native/operations/organization.d.ts.map +1 -0
  251. package/dist/react-native/operations/organization.js +1126 -0
  252. package/dist/react-native/operations/organization.js.map +1 -0
  253. package/dist/react-native/operations/organizationOperations.d.ts +32 -0
  254. package/dist/react-native/operations/organizationOperations.d.ts.map +1 -0
  255. package/dist/react-native/operations/organizationOperations.js +133 -0
  256. package/dist/react-native/operations/organizationOperations.js.map +1 -0
  257. package/dist/react-native/operations/validations.d.ts +29 -0
  258. package/dist/react-native/operations/validations.d.ts.map +1 -0
  259. package/dist/react-native/operations/validations.js +89 -0
  260. package/dist/react-native/operations/validations.js.map +1 -0
  261. package/dist/react-native/operationsInterfaces/access.d.ts +85 -0
  262. package/dist/react-native/operationsInterfaces/access.d.ts.map +1 -0
  263. package/dist/react-native/operationsInterfaces/access.js +9 -0
  264. package/dist/react-native/operationsInterfaces/access.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  266. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/index.js +13 -0
  268. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  269. package/dist/react-native/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  270. package/dist/react-native/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  271. package/dist/react-native/operationsInterfaces/marketplaceAgreements.js +9 -0
  272. package/dist/react-native/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  273. package/dist/react-native/operationsInterfaces/organization.d.ts +144 -0
  274. package/dist/react-native/operationsInterfaces/organization.d.ts.map +1 -0
  275. package/dist/react-native/operationsInterfaces/organization.js +9 -0
  276. package/dist/react-native/operationsInterfaces/organization.js.map +1 -0
  277. package/dist/react-native/operationsInterfaces/organizationOperations.d.ts +11 -0
  278. package/dist/react-native/operationsInterfaces/organizationOperations.d.ts.map +1 -0
  279. package/dist/react-native/operationsInterfaces/organizationOperations.js +9 -0
  280. package/dist/react-native/operationsInterfaces/organizationOperations.js.map +1 -0
  281. package/dist/react-native/operationsInterfaces/validations.d.ts +21 -0
  282. package/dist/react-native/operationsInterfaces/validations.d.ts.map +1 -0
  283. package/dist/react-native/operationsInterfaces/validations.js +9 -0
  284. package/dist/react-native/operationsInterfaces/validations.js.map +1 -0
  285. package/dist/react-native/package.json +3 -0
  286. package/dist/react-native/pagingHelper.d.ts +13 -0
  287. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  288. package/dist/react-native/pagingHelper.js +32 -0
  289. package/dist/react-native/pagingHelper.js.map +1 -0
  290. package/package.json +59 -29
  291. package/dist/index.js +0 -4603
  292. package/dist/index.js.map +0 -1
  293. package/dist/index.min.js +0 -1
  294. package/dist/index.min.js.map +0 -1
  295. package/dist-esm/samples-dev/accessCreateRoleBindingSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/accessCreateRoleBindingSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/accessCreateRoleBindingSample.js +0 -44
  298. package/dist-esm/samples-dev/accessCreateRoleBindingSample.js.map +0 -1
  299. package/dist-esm/samples-dev/accessDeleteRoleBindingSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/accessDeleteRoleBindingSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/accessDeleteRoleBindingSample.js +0 -40
  302. package/dist-esm/samples-dev/accessDeleteRoleBindingSample.js.map +0 -1
  303. package/dist-esm/samples-dev/accessInviteUserSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/accessInviteUserSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/accessInviteUserSample.js +0 -45
  306. package/dist-esm/samples-dev/accessInviteUserSample.js.map +0 -1
  307. package/dist-esm/samples-dev/accessListClustersSample.d.ts +0 -2
  308. package/dist-esm/samples-dev/accessListClustersSample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/accessListClustersSample.js +0 -42
  310. package/dist-esm/samples-dev/accessListClustersSample.js.map +0 -1
  311. package/dist-esm/samples-dev/accessListEnvironmentsSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/accessListEnvironmentsSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/accessListEnvironmentsSample.js +0 -42
  314. package/dist-esm/samples-dev/accessListEnvironmentsSample.js.map +0 -1
  315. package/dist-esm/samples-dev/accessListInvitationsSample.d.ts +0 -2
  316. package/dist-esm/samples-dev/accessListInvitationsSample.d.ts.map +0 -1
  317. package/dist-esm/samples-dev/accessListInvitationsSample.js +0 -46
  318. package/dist-esm/samples-dev/accessListInvitationsSample.js.map +0 -1
  319. package/dist-esm/samples-dev/accessListRoleBindingNameListSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/accessListRoleBindingNameListSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/accessListRoleBindingNameListSample.js +0 -45
  322. package/dist-esm/samples-dev/accessListRoleBindingNameListSample.js.map +0 -1
  323. package/dist-esm/samples-dev/accessListRoleBindingsSample.d.ts +0 -2
  324. package/dist-esm/samples-dev/accessListRoleBindingsSample.d.ts.map +0 -1
  325. package/dist-esm/samples-dev/accessListRoleBindingsSample.js +0 -42
  326. package/dist-esm/samples-dev/accessListRoleBindingsSample.js.map +0 -1
  327. package/dist-esm/samples-dev/accessListServiceAccountsSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/accessListServiceAccountsSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/accessListServiceAccountsSample.js +0 -42
  330. package/dist-esm/samples-dev/accessListServiceAccountsSample.js.map +0 -1
  331. package/dist-esm/samples-dev/accessListUsersSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/accessListUsersSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/accessListUsersSample.js +0 -42
  334. package/dist-esm/samples-dev/accessListUsersSample.js.map +0 -1
  335. package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.js +0 -37
  338. package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.js.map +0 -1
  339. package/dist-esm/samples-dev/marketplaceAgreementsListSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/marketplaceAgreementsListSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/marketplaceAgreementsListSample.js +0 -53
  342. package/dist-esm/samples-dev/marketplaceAgreementsListSample.js.map +0 -1
  343. package/dist-esm/samples-dev/organizationCreateApiKeySample.d.ts +0 -2
  344. package/dist-esm/samples-dev/organizationCreateApiKeySample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/organizationCreateApiKeySample.js +0 -45
  346. package/dist-esm/samples-dev/organizationCreateApiKeySample.js.map +0 -1
  347. package/dist-esm/samples-dev/organizationCreateSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/organizationCreateSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/organizationCreateSample.js +0 -61
  350. package/dist-esm/samples-dev/organizationCreateSample.js.map +0 -1
  351. package/dist-esm/samples-dev/organizationDeleteClusterApiKeySample.d.ts +0 -2
  352. package/dist-esm/samples-dev/organizationDeleteClusterApiKeySample.d.ts.map +0 -1
  353. package/dist-esm/samples-dev/organizationDeleteClusterApiKeySample.js +0 -40
  354. package/dist-esm/samples-dev/organizationDeleteClusterApiKeySample.js.map +0 -1
  355. package/dist-esm/samples-dev/organizationDeleteSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/organizationDeleteSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/organizationDeleteSample.js +0 -39
  358. package/dist-esm/samples-dev/organizationDeleteSample.js.map +0 -1
  359. package/dist-esm/samples-dev/organizationGetClusterApiKeySample.d.ts +0 -2
  360. package/dist-esm/samples-dev/organizationGetClusterApiKeySample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/organizationGetClusterApiKeySample.js +0 -40
  362. package/dist-esm/samples-dev/organizationGetClusterApiKeySample.js.map +0 -1
  363. package/dist-esm/samples-dev/organizationGetClusterByIdSample.d.ts +0 -2
  364. package/dist-esm/samples-dev/organizationGetClusterByIdSample.d.ts.map +0 -1
  365. package/dist-esm/samples-dev/organizationGetClusterByIdSample.js +0 -41
  366. package/dist-esm/samples-dev/organizationGetClusterByIdSample.js.map +0 -1
  367. package/dist-esm/samples-dev/organizationGetEnvironmentByIdSample.d.ts +0 -2
  368. package/dist-esm/samples-dev/organizationGetEnvironmentByIdSample.d.ts.map +0 -1
  369. package/dist-esm/samples-dev/organizationGetEnvironmentByIdSample.js +0 -40
  370. package/dist-esm/samples-dev/organizationGetEnvironmentByIdSample.js.map +0 -1
  371. package/dist-esm/samples-dev/organizationGetSample.d.ts +0 -2
  372. package/dist-esm/samples-dev/organizationGetSample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/organizationGetSample.js +0 -39
  374. package/dist-esm/samples-dev/organizationGetSample.js.map +0 -1
  375. package/dist-esm/samples-dev/organizationGetSchemaRegistryClusterByIdSample.d.ts +0 -2
  376. package/dist-esm/samples-dev/organizationGetSchemaRegistryClusterByIdSample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/organizationGetSchemaRegistryClusterByIdSample.js +0 -41
  378. package/dist-esm/samples-dev/organizationGetSchemaRegistryClusterByIdSample.js.map +0 -1
  379. package/dist-esm/samples-dev/organizationListByResourceGroupSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/organizationListByResourceGroupSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/organizationListByResourceGroupSample.js +0 -54
  382. package/dist-esm/samples-dev/organizationListByResourceGroupSample.js.map +0 -1
  383. package/dist-esm/samples-dev/organizationListBySubscriptionSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/organizationListBySubscriptionSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/organizationListBySubscriptionSample.js +0 -53
  386. package/dist-esm/samples-dev/organizationListBySubscriptionSample.js.map +0 -1
  387. package/dist-esm/samples-dev/organizationListClustersSample.d.ts +0 -2
  388. package/dist-esm/samples-dev/organizationListClustersSample.d.ts.map +0 -1
  389. package/dist-esm/samples-dev/organizationListClustersSample.js +0 -58
  390. package/dist-esm/samples-dev/organizationListClustersSample.js.map +0 -1
  391. package/dist-esm/samples-dev/organizationListEnvironmentsSample.d.ts +0 -2
  392. package/dist-esm/samples-dev/organizationListEnvironmentsSample.d.ts.map +0 -1
  393. package/dist-esm/samples-dev/organizationListEnvironmentsSample.js +0 -57
  394. package/dist-esm/samples-dev/organizationListEnvironmentsSample.js.map +0 -1
  395. package/dist-esm/samples-dev/organizationListRegionsSample.d.ts +0 -2
  396. package/dist-esm/samples-dev/organizationListRegionsSample.d.ts.map +0 -1
  397. package/dist-esm/samples-dev/organizationListRegionsSample.js +0 -46
  398. package/dist-esm/samples-dev/organizationListRegionsSample.js.map +0 -1
  399. package/dist-esm/samples-dev/organizationListSchemaRegistryClustersSample.d.ts +0 -2
  400. package/dist-esm/samples-dev/organizationListSchemaRegistryClustersSample.d.ts.map +0 -1
  401. package/dist-esm/samples-dev/organizationListSchemaRegistryClustersSample.js +0 -56
  402. package/dist-esm/samples-dev/organizationListSchemaRegistryClustersSample.js.map +0 -1
  403. package/dist-esm/samples-dev/organizationOperationsListSample.d.ts +0 -2
  404. package/dist-esm/samples-dev/organizationOperationsListSample.d.ts.map +0 -1
  405. package/dist-esm/samples-dev/organizationOperationsListSample.js +0 -51
  406. package/dist-esm/samples-dev/organizationOperationsListSample.js.map +0 -1
  407. package/dist-esm/samples-dev/organizationUpdateSample.d.ts +0 -2
  408. package/dist-esm/samples-dev/organizationUpdateSample.d.ts.map +0 -1
  409. package/dist-esm/samples-dev/organizationUpdateSample.js +0 -43
  410. package/dist-esm/samples-dev/organizationUpdateSample.js.map +0 -1
  411. package/dist-esm/samples-dev/validationsValidateOrganizationSample.d.ts +0 -2
  412. package/dist-esm/samples-dev/validationsValidateOrganizationSample.d.ts.map +0 -1
  413. package/dist-esm/samples-dev/validationsValidateOrganizationSample.js +0 -59
  414. package/dist-esm/samples-dev/validationsValidateOrganizationSample.js.map +0 -1
  415. package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.d.ts +0 -2
  416. package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.d.ts.map +0 -1
  417. package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.js +0 -59
  418. package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.js.map +0 -1
  419. package/dist-esm/src/confluentManagementClient.d.ts.map +0 -1
  420. package/dist-esm/src/confluentManagementClient.js.map +0 -1
  421. package/dist-esm/src/index.d.ts +0 -5
  422. package/dist-esm/src/index.js.map +0 -1
  423. package/dist-esm/src/lroImpl.js.map +0 -1
  424. package/dist-esm/src/models/index.js.map +0 -1
  425. package/dist-esm/src/models/mappers.js.map +0 -1
  426. package/dist-esm/src/models/parameters.js.map +0 -1
  427. package/dist-esm/src/operations/access.d.ts.map +0 -1
  428. package/dist-esm/src/operations/access.js.map +0 -1
  429. package/dist-esm/src/operations/index.d.ts +0 -6
  430. package/dist-esm/src/operations/index.js.map +0 -1
  431. package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +0 -1
  432. package/dist-esm/src/operations/marketplaceAgreements.js.map +0 -1
  433. package/dist-esm/src/operations/organization.d.ts.map +0 -1
  434. package/dist-esm/src/operations/organization.js.map +0 -1
  435. package/dist-esm/src/operations/organizationOperations.d.ts.map +0 -1
  436. package/dist-esm/src/operations/organizationOperations.js.map +0 -1
  437. package/dist-esm/src/operations/validations.d.ts.map +0 -1
  438. package/dist-esm/src/operations/validations.js.map +0 -1
  439. package/dist-esm/src/operationsInterfaces/access.d.ts.map +0 -1
  440. package/dist-esm/src/operationsInterfaces/access.js.map +0 -1
  441. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  442. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  443. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +0 -1
  444. package/dist-esm/src/operationsInterfaces/organization.d.ts.map +0 -1
  445. package/dist-esm/src/operationsInterfaces/organization.js.map +0 -1
  446. package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts.map +0 -1
  447. package/dist-esm/src/operationsInterfaces/organizationOperations.js.map +0 -1
  448. package/dist-esm/src/operationsInterfaces/validations.d.ts.map +0 -1
  449. package/dist-esm/src/operationsInterfaces/validations.js.map +0 -1
  450. package/dist-esm/src/pagingHelper.js.map +0 -1
  451. package/dist-esm/test/confluent_operations_test.spec.d.ts +0 -4
  452. package/dist-esm/test/confluent_operations_test.spec.d.ts.map +0 -1
  453. package/dist-esm/test/confluent_operations_test.spec.js +0 -77
  454. package/dist-esm/test/confluent_operations_test.spec.js.map +0 -1
  455. package/src/confluentManagementClient.ts +0 -175
  456. package/src/lroImpl.ts +0 -42
  457. package/src/models/index.ts +0 -1241
  458. package/src/models/mappers.ts +0 -2317
  459. package/src/models/parameters.ts +0 -234
  460. package/src/operations/access.ts +0 -471
  461. package/src/operations/index.ts +0 -13
  462. package/src/operations/marketplaceAgreements.ts +0 -183
  463. package/src/operations/organization.ts +0 -1497
  464. package/src/operations/organizationOperations.ts +0 -149
  465. package/src/operations/validations.ts +0 -120
  466. package/src/operationsInterfaces/access.ts +0 -166
  467. package/src/operationsInterfaces/index.ts +0 -13
  468. package/src/operationsInterfaces/marketplaceAgreements.ts +0 -34
  469. package/src/operationsInterfaces/organization.ts +0 -272
  470. package/src/operationsInterfaces/organizationOperations.ts +0 -25
  471. package/src/operationsInterfaces/validations.ts +0 -45
  472. package/src/pagingHelper.ts +0 -39
  473. package/tsconfig.json +0 -33
  474. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  475. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  476. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  477. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  478. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  479. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  480. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  481. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  482. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  483. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  484. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  485. /package/{dist-esm/src → dist/browser}/operationsInterfaces/access.js +0 -0
  486. /package/{dist-esm/src → dist/browser}/operationsInterfaces/marketplaceAgreements.js +0 -0
  487. /package/{dist-esm/src → dist/browser}/operationsInterfaces/organization.js +0 -0
  488. /package/{dist-esm/src → dist/browser}/operationsInterfaces/organizationOperations.js +0 -0
  489. /package/{dist-esm/src → dist/browser}/operationsInterfaces/validations.js +0 -0
  490. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  491. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  492. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  493. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,1126 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing Organization operations. */
17
+ export class OrganizationImpl {
18
+ /**
19
+ * Initialize a new instance of the class Organization class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * List all organizations under the specified subscription.
27
+ * @param options The options parameters.
28
+ */
29
+ listBySubscription(options) {
30
+ const iter = this.listBySubscriptionPagingAll(options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: (settings) => {
39
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ throw new Error("maxPageSize is not supported by this operation.");
41
+ }
42
+ return this.listBySubscriptionPagingPage(options, settings);
43
+ },
44
+ };
45
+ }
46
+ listBySubscriptionPagingPage(options, settings) {
47
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
48
+ let result;
49
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
+ if (!continuationToken) {
51
+ result = yield __await(this._listBySubscription(options));
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield yield __await(page);
56
+ }
57
+ while (continuationToken) {
58
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield yield __await(page);
63
+ }
64
+ });
65
+ }
66
+ listBySubscriptionPagingAll(options) {
67
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
68
+ var _a, e_1, _b, _c;
69
+ try {
70
+ for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
71
+ _c = _f.value;
72
+ _d = false;
73
+ const page = _c;
74
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
+ }
76
+ }
77
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
+ finally {
79
+ try {
80
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
81
+ }
82
+ finally { if (e_1) throw e_1.error; }
83
+ }
84
+ });
85
+ }
86
+ /**
87
+ * List all Organizations under the specified resource group.
88
+ * @param resourceGroupName Resource group name
89
+ * @param options The options parameters.
90
+ */
91
+ listByResourceGroup(resourceGroupName, options) {
92
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
93
+ return {
94
+ next() {
95
+ return iter.next();
96
+ },
97
+ [Symbol.asyncIterator]() {
98
+ return this;
99
+ },
100
+ byPage: (settings) => {
101
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
102
+ throw new Error("maxPageSize is not supported by this operation.");
103
+ }
104
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
105
+ },
106
+ };
107
+ }
108
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
109
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
110
+ let result;
111
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
112
+ if (!continuationToken) {
113
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
114
+ let page = result.value || [];
115
+ continuationToken = result.nextLink;
116
+ setContinuationToken(page, continuationToken);
117
+ yield yield __await(page);
118
+ }
119
+ while (continuationToken) {
120
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
121
+ continuationToken = result.nextLink;
122
+ let page = result.value || [];
123
+ setContinuationToken(page, continuationToken);
124
+ yield yield __await(page);
125
+ }
126
+ });
127
+ }
128
+ listByResourceGroupPagingAll(resourceGroupName, options) {
129
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
130
+ var _a, e_2, _b, _c;
131
+ try {
132
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
133
+ _c = _f.value;
134
+ _d = false;
135
+ const page = _c;
136
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
137
+ }
138
+ }
139
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
140
+ finally {
141
+ try {
142
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
143
+ }
144
+ finally { if (e_2) throw e_2.error; }
145
+ }
146
+ });
147
+ }
148
+ /**
149
+ * Lists of all the environments in a organization
150
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
151
+ * @param organizationName Organization resource name
152
+ * @param options The options parameters.
153
+ */
154
+ listEnvironments(resourceGroupName, organizationName, options) {
155
+ const iter = this.listEnvironmentsPagingAll(resourceGroupName, organizationName, options);
156
+ return {
157
+ next() {
158
+ return iter.next();
159
+ },
160
+ [Symbol.asyncIterator]() {
161
+ return this;
162
+ },
163
+ byPage: (settings) => {
164
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
165
+ throw new Error("maxPageSize is not supported by this operation.");
166
+ }
167
+ return this.listEnvironmentsPagingPage(resourceGroupName, organizationName, options, settings);
168
+ },
169
+ };
170
+ }
171
+ listEnvironmentsPagingPage(resourceGroupName, organizationName, options, settings) {
172
+ return __asyncGenerator(this, arguments, function* listEnvironmentsPagingPage_1() {
173
+ let result;
174
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
175
+ if (!continuationToken) {
176
+ result = yield __await(this._listEnvironments(resourceGroupName, organizationName, options));
177
+ let page = result.value || [];
178
+ continuationToken = result.nextLink;
179
+ setContinuationToken(page, continuationToken);
180
+ yield yield __await(page);
181
+ }
182
+ while (continuationToken) {
183
+ result = yield __await(this._listEnvironmentsNext(resourceGroupName, organizationName, continuationToken, options));
184
+ continuationToken = result.nextLink;
185
+ let page = result.value || [];
186
+ setContinuationToken(page, continuationToken);
187
+ yield yield __await(page);
188
+ }
189
+ });
190
+ }
191
+ listEnvironmentsPagingAll(resourceGroupName, organizationName, options) {
192
+ return __asyncGenerator(this, arguments, function* listEnvironmentsPagingAll_1() {
193
+ var _a, e_3, _b, _c;
194
+ try {
195
+ for (var _d = true, _e = __asyncValues(this.listEnvironmentsPagingPage(resourceGroupName, organizationName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
196
+ _c = _f.value;
197
+ _d = false;
198
+ const page = _c;
199
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
200
+ }
201
+ }
202
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
203
+ finally {
204
+ try {
205
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
206
+ }
207
+ finally { if (e_3) throw e_3.error; }
208
+ }
209
+ });
210
+ }
211
+ /**
212
+ * Lists of all the clusters in a environment
213
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
214
+ * @param organizationName Organization resource name
215
+ * @param environmentId Confluent environment id
216
+ * @param options The options parameters.
217
+ */
218
+ listClusters(resourceGroupName, organizationName, environmentId, options) {
219
+ const iter = this.listClustersPagingAll(resourceGroupName, organizationName, environmentId, options);
220
+ return {
221
+ next() {
222
+ return iter.next();
223
+ },
224
+ [Symbol.asyncIterator]() {
225
+ return this;
226
+ },
227
+ byPage: (settings) => {
228
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
229
+ throw new Error("maxPageSize is not supported by this operation.");
230
+ }
231
+ return this.listClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings);
232
+ },
233
+ };
234
+ }
235
+ listClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings) {
236
+ return __asyncGenerator(this, arguments, function* listClustersPagingPage_1() {
237
+ let result;
238
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
239
+ if (!continuationToken) {
240
+ result = yield __await(this._listClusters(resourceGroupName, organizationName, environmentId, options));
241
+ let page = result.value || [];
242
+ continuationToken = result.nextLink;
243
+ setContinuationToken(page, continuationToken);
244
+ yield yield __await(page);
245
+ }
246
+ while (continuationToken) {
247
+ result = yield __await(this._listClustersNext(resourceGroupName, organizationName, environmentId, continuationToken, options));
248
+ continuationToken = result.nextLink;
249
+ let page = result.value || [];
250
+ setContinuationToken(page, continuationToken);
251
+ yield yield __await(page);
252
+ }
253
+ });
254
+ }
255
+ listClustersPagingAll(resourceGroupName, organizationName, environmentId, options) {
256
+ return __asyncGenerator(this, arguments, function* listClustersPagingAll_1() {
257
+ var _a, e_4, _b, _c;
258
+ try {
259
+ for (var _d = true, _e = __asyncValues(this.listClustersPagingPage(resourceGroupName, organizationName, environmentId, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
260
+ _c = _f.value;
261
+ _d = false;
262
+ const page = _c;
263
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
264
+ }
265
+ }
266
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
267
+ finally {
268
+ try {
269
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
270
+ }
271
+ finally { if (e_4) throw e_4.error; }
272
+ }
273
+ });
274
+ }
275
+ /**
276
+ * Get schema registry clusters
277
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
278
+ * @param organizationName Organization resource name
279
+ * @param environmentId Confluent environment id
280
+ * @param options The options parameters.
281
+ */
282
+ listSchemaRegistryClusters(resourceGroupName, organizationName, environmentId, options) {
283
+ const iter = this.listSchemaRegistryClustersPagingAll(resourceGroupName, organizationName, environmentId, options);
284
+ return {
285
+ next() {
286
+ return iter.next();
287
+ },
288
+ [Symbol.asyncIterator]() {
289
+ return this;
290
+ },
291
+ byPage: (settings) => {
292
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
293
+ throw new Error("maxPageSize is not supported by this operation.");
294
+ }
295
+ return this.listSchemaRegistryClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings);
296
+ },
297
+ };
298
+ }
299
+ listSchemaRegistryClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings) {
300
+ return __asyncGenerator(this, arguments, function* listSchemaRegistryClustersPagingPage_1() {
301
+ let result;
302
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
303
+ if (!continuationToken) {
304
+ result = yield __await(this._listSchemaRegistryClusters(resourceGroupName, organizationName, environmentId, options));
305
+ let page = result.value || [];
306
+ continuationToken = result.nextLink;
307
+ setContinuationToken(page, continuationToken);
308
+ yield yield __await(page);
309
+ }
310
+ while (continuationToken) {
311
+ result = yield __await(this._listSchemaRegistryClustersNext(resourceGroupName, organizationName, environmentId, continuationToken, options));
312
+ continuationToken = result.nextLink;
313
+ let page = result.value || [];
314
+ setContinuationToken(page, continuationToken);
315
+ yield yield __await(page);
316
+ }
317
+ });
318
+ }
319
+ listSchemaRegistryClustersPagingAll(resourceGroupName, organizationName, environmentId, options) {
320
+ return __asyncGenerator(this, arguments, function* listSchemaRegistryClustersPagingAll_1() {
321
+ var _a, e_5, _b, _c;
322
+ try {
323
+ for (var _d = true, _e = __asyncValues(this.listSchemaRegistryClustersPagingPage(resourceGroupName, organizationName, environmentId, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
324
+ _c = _f.value;
325
+ _d = false;
326
+ const page = _c;
327
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
328
+ }
329
+ }
330
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
331
+ finally {
332
+ try {
333
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
334
+ }
335
+ finally { if (e_5) throw e_5.error; }
336
+ }
337
+ });
338
+ }
339
+ /**
340
+ * List all organizations under the specified subscription.
341
+ * @param options The options parameters.
342
+ */
343
+ _listBySubscription(options) {
344
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
345
+ }
346
+ /**
347
+ * List all Organizations under the specified resource group.
348
+ * @param resourceGroupName Resource group name
349
+ * @param options The options parameters.
350
+ */
351
+ _listByResourceGroup(resourceGroupName, options) {
352
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
353
+ }
354
+ /**
355
+ * Get the properties of a specific Organization resource.
356
+ * @param resourceGroupName Resource group name
357
+ * @param organizationName Organization resource name
358
+ * @param options The options parameters.
359
+ */
360
+ get(resourceGroupName, organizationName, options) {
361
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, getOperationSpec);
362
+ }
363
+ /**
364
+ * Create Organization resource
365
+ * @param resourceGroupName Resource group name
366
+ * @param organizationName Organization resource name
367
+ * @param options The options parameters.
368
+ */
369
+ async beginCreate(resourceGroupName, organizationName, options) {
370
+ const directSendOperation = async (args, spec) => {
371
+ return this.client.sendOperationRequest(args, spec);
372
+ };
373
+ const sendOperationFn = async (args, spec) => {
374
+ var _a;
375
+ let currentRawResponse = undefined;
376
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
377
+ const callback = (rawResponse, flatResponse) => {
378
+ currentRawResponse = rawResponse;
379
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
380
+ };
381
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
382
+ const flatResponse = await directSendOperation(updatedArgs, spec);
383
+ return {
384
+ flatResponse,
385
+ rawResponse: {
386
+ statusCode: currentRawResponse.status,
387
+ body: currentRawResponse.parsedBody,
388
+ headers: currentRawResponse.headers.toJSON(),
389
+ },
390
+ };
391
+ };
392
+ const lro = createLroSpec({
393
+ sendOperationFn,
394
+ args: { resourceGroupName, organizationName, options },
395
+ spec: createOperationSpec,
396
+ });
397
+ const poller = await createHttpPoller(lro, {
398
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
399
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
400
+ resourceLocationConfig: "azure-async-operation",
401
+ });
402
+ await poller.poll();
403
+ return poller;
404
+ }
405
+ /**
406
+ * Create Organization resource
407
+ * @param resourceGroupName Resource group name
408
+ * @param organizationName Organization resource name
409
+ * @param options The options parameters.
410
+ */
411
+ async beginCreateAndWait(resourceGroupName, organizationName, options) {
412
+ const poller = await this.beginCreate(resourceGroupName, organizationName, options);
413
+ return poller.pollUntilDone();
414
+ }
415
+ /**
416
+ * Update Organization resource
417
+ * @param resourceGroupName Resource group name
418
+ * @param organizationName Organization resource name
419
+ * @param options The options parameters.
420
+ */
421
+ update(resourceGroupName, organizationName, options) {
422
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, updateOperationSpec);
423
+ }
424
+ /**
425
+ * Delete Organization resource
426
+ * @param resourceGroupName Resource group name
427
+ * @param organizationName Organization resource name
428
+ * @param options The options parameters.
429
+ */
430
+ async beginDelete(resourceGroupName, organizationName, options) {
431
+ const directSendOperation = async (args, spec) => {
432
+ return this.client.sendOperationRequest(args, spec);
433
+ };
434
+ const sendOperationFn = async (args, spec) => {
435
+ var _a;
436
+ let currentRawResponse = undefined;
437
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
438
+ const callback = (rawResponse, flatResponse) => {
439
+ currentRawResponse = rawResponse;
440
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
441
+ };
442
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
443
+ const flatResponse = await directSendOperation(updatedArgs, spec);
444
+ return {
445
+ flatResponse,
446
+ rawResponse: {
447
+ statusCode: currentRawResponse.status,
448
+ body: currentRawResponse.parsedBody,
449
+ headers: currentRawResponse.headers.toJSON(),
450
+ },
451
+ };
452
+ };
453
+ const lro = createLroSpec({
454
+ sendOperationFn,
455
+ args: { resourceGroupName, organizationName, options },
456
+ spec: deleteOperationSpec,
457
+ });
458
+ const poller = await createHttpPoller(lro, {
459
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
460
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
461
+ resourceLocationConfig: "location",
462
+ });
463
+ await poller.poll();
464
+ return poller;
465
+ }
466
+ /**
467
+ * Delete Organization resource
468
+ * @param resourceGroupName Resource group name
469
+ * @param organizationName Organization resource name
470
+ * @param options The options parameters.
471
+ */
472
+ async beginDeleteAndWait(resourceGroupName, organizationName, options) {
473
+ const poller = await this.beginDelete(resourceGroupName, organizationName, options);
474
+ return poller.pollUntilDone();
475
+ }
476
+ /**
477
+ * Lists of all the environments in a organization
478
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
479
+ * @param organizationName Organization resource name
480
+ * @param options The options parameters.
481
+ */
482
+ _listEnvironments(resourceGroupName, organizationName, options) {
483
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, listEnvironmentsOperationSpec);
484
+ }
485
+ /**
486
+ * Get Environment details by environment Id
487
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
488
+ * @param organizationName Organization resource name
489
+ * @param environmentId Confluent environment id
490
+ * @param options The options parameters.
491
+ */
492
+ getEnvironmentById(resourceGroupName, organizationName, environmentId, options) {
493
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, options }, getEnvironmentByIdOperationSpec);
494
+ }
495
+ /**
496
+ * Lists of all the clusters in a environment
497
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
498
+ * @param organizationName Organization resource name
499
+ * @param environmentId Confluent environment id
500
+ * @param options The options parameters.
501
+ */
502
+ _listClusters(resourceGroupName, organizationName, environmentId, options) {
503
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, options }, listClustersOperationSpec);
504
+ }
505
+ /**
506
+ * Get schema registry clusters
507
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
508
+ * @param organizationName Organization resource name
509
+ * @param environmentId Confluent environment id
510
+ * @param options The options parameters.
511
+ */
512
+ _listSchemaRegistryClusters(resourceGroupName, organizationName, environmentId, options) {
513
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, options }, listSchemaRegistryClustersOperationSpec);
514
+ }
515
+ /**
516
+ * cloud provider regions available for creating Schema Registry clusters.
517
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
518
+ * @param organizationName Organization resource name
519
+ * @param body List Access Request Model
520
+ * @param options The options parameters.
521
+ */
522
+ listRegions(resourceGroupName, organizationName, body, options) {
523
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listRegionsOperationSpec);
524
+ }
525
+ /**
526
+ * Creates API key for a schema registry Cluster ID or Kafka Cluster ID under a environment
527
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
528
+ * @param organizationName Organization resource name
529
+ * @param environmentId Confluent environment id
530
+ * @param clusterId Confluent kafka or schema registry cluster id
531
+ * @param body Request payload for get creating API Key for schema registry Cluster ID or Kafka Cluster
532
+ * ID under a environment
533
+ * @param options The options parameters.
534
+ */
535
+ createAPIKey(resourceGroupName, organizationName, environmentId, clusterId, body, options) {
536
+ return this.client.sendOperationRequest({
537
+ resourceGroupName,
538
+ organizationName,
539
+ environmentId,
540
+ clusterId,
541
+ body,
542
+ options,
543
+ }, createAPIKeyOperationSpec);
544
+ }
545
+ /**
546
+ * Deletes API key of a kafka or schema registry cluster
547
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
548
+ * @param organizationName Organization resource name
549
+ * @param apiKeyId Confluent API Key id
550
+ * @param options The options parameters.
551
+ */
552
+ deleteClusterAPIKey(resourceGroupName, organizationName, apiKeyId, options) {
553
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, apiKeyId, options }, deleteClusterAPIKeyOperationSpec);
554
+ }
555
+ /**
556
+ * Get API key details of a kafka or schema registry cluster
557
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
558
+ * @param organizationName Organization resource name
559
+ * @param apiKeyId Confluent API Key id
560
+ * @param options The options parameters.
561
+ */
562
+ getClusterAPIKey(resourceGroupName, organizationName, apiKeyId, options) {
563
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, apiKeyId, options }, getClusterAPIKeyOperationSpec);
564
+ }
565
+ /**
566
+ * Get schema registry cluster by Id
567
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
568
+ * @param organizationName Organization resource name
569
+ * @param environmentId Confluent environment id
570
+ * @param clusterId Confluent kafka or schema registry cluster id
571
+ * @param options The options parameters.
572
+ */
573
+ getSchemaRegistryClusterById(resourceGroupName, organizationName, environmentId, clusterId, options) {
574
+ return this.client.sendOperationRequest({
575
+ resourceGroupName,
576
+ organizationName,
577
+ environmentId,
578
+ clusterId,
579
+ options,
580
+ }, getSchemaRegistryClusterByIdOperationSpec);
581
+ }
582
+ /**
583
+ * Get cluster by Id
584
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
585
+ * @param organizationName Organization resource name
586
+ * @param environmentId Confluent environment id
587
+ * @param clusterId Confluent kafka or schema registry cluster id
588
+ * @param options The options parameters.
589
+ */
590
+ getClusterById(resourceGroupName, organizationName, environmentId, clusterId, options) {
591
+ return this.client.sendOperationRequest({
592
+ resourceGroupName,
593
+ organizationName,
594
+ environmentId,
595
+ clusterId,
596
+ options,
597
+ }, getClusterByIdOperationSpec);
598
+ }
599
+ /**
600
+ * ListBySubscriptionNext
601
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
602
+ * @param options The options parameters.
603
+ */
604
+ _listBySubscriptionNext(nextLink, options) {
605
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
606
+ }
607
+ /**
608
+ * ListByResourceGroupNext
609
+ * @param resourceGroupName Resource group name
610
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
611
+ * @param options The options parameters.
612
+ */
613
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
614
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
615
+ }
616
+ /**
617
+ * ListEnvironmentsNext
618
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
619
+ * @param organizationName Organization resource name
620
+ * @param nextLink The nextLink from the previous successful call to the ListEnvironments method.
621
+ * @param options The options parameters.
622
+ */
623
+ _listEnvironmentsNext(resourceGroupName, organizationName, nextLink, options) {
624
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, nextLink, options }, listEnvironmentsNextOperationSpec);
625
+ }
626
+ /**
627
+ * ListClustersNext
628
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
629
+ * @param organizationName Organization resource name
630
+ * @param environmentId Confluent environment id
631
+ * @param nextLink The nextLink from the previous successful call to the ListClusters method.
632
+ * @param options The options parameters.
633
+ */
634
+ _listClustersNext(resourceGroupName, organizationName, environmentId, nextLink, options) {
635
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, nextLink, options }, listClustersNextOperationSpec);
636
+ }
637
+ /**
638
+ * ListSchemaRegistryClustersNext
639
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
640
+ * @param organizationName Organization resource name
641
+ * @param environmentId Confluent environment id
642
+ * @param nextLink The nextLink from the previous successful call to the ListSchemaRegistryClusters
643
+ * method.
644
+ * @param options The options parameters.
645
+ */
646
+ _listSchemaRegistryClustersNext(resourceGroupName, organizationName, environmentId, nextLink, options) {
647
+ return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, nextLink, options }, listSchemaRegistryClustersNextOperationSpec);
648
+ }
649
+ }
650
+ // Operation Specifications
651
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
652
+ const listBySubscriptionOperationSpec = {
653
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
654
+ httpMethod: "GET",
655
+ responses: {
656
+ 200: {
657
+ bodyMapper: Mappers.OrganizationResourceListResult,
658
+ },
659
+ default: {
660
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
661
+ },
662
+ },
663
+ queryParameters: [Parameters.apiVersion],
664
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
665
+ headerParameters: [Parameters.accept],
666
+ serializer,
667
+ };
668
+ const listByResourceGroupOperationSpec = {
669
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
670
+ httpMethod: "GET",
671
+ responses: {
672
+ 200: {
673
+ bodyMapper: Mappers.OrganizationResourceListResult,
674
+ },
675
+ default: {
676
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
677
+ },
678
+ },
679
+ queryParameters: [Parameters.apiVersion],
680
+ urlParameters: [
681
+ Parameters.$host,
682
+ Parameters.subscriptionId,
683
+ Parameters.resourceGroupName,
684
+ ],
685
+ headerParameters: [Parameters.accept],
686
+ serializer,
687
+ };
688
+ const getOperationSpec = {
689
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
690
+ httpMethod: "GET",
691
+ responses: {
692
+ 200: {
693
+ bodyMapper: Mappers.OrganizationResource,
694
+ },
695
+ default: {
696
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
697
+ },
698
+ },
699
+ queryParameters: [Parameters.apiVersion],
700
+ urlParameters: [
701
+ Parameters.$host,
702
+ Parameters.subscriptionId,
703
+ Parameters.resourceGroupName,
704
+ Parameters.organizationName,
705
+ ],
706
+ headerParameters: [Parameters.accept],
707
+ serializer,
708
+ };
709
+ const createOperationSpec = {
710
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
711
+ httpMethod: "PUT",
712
+ responses: {
713
+ 200: {
714
+ bodyMapper: Mappers.OrganizationResource,
715
+ },
716
+ 201: {
717
+ bodyMapper: Mappers.OrganizationResource,
718
+ },
719
+ 202: {
720
+ bodyMapper: Mappers.OrganizationResource,
721
+ },
722
+ 204: {
723
+ bodyMapper: Mappers.OrganizationResource,
724
+ },
725
+ default: {
726
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
727
+ },
728
+ },
729
+ requestBody: Parameters.body1,
730
+ queryParameters: [Parameters.apiVersion],
731
+ urlParameters: [
732
+ Parameters.$host,
733
+ Parameters.subscriptionId,
734
+ Parameters.resourceGroupName,
735
+ Parameters.organizationName,
736
+ ],
737
+ headerParameters: [Parameters.accept, Parameters.contentType],
738
+ mediaType: "json",
739
+ serializer,
740
+ };
741
+ const updateOperationSpec = {
742
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
743
+ httpMethod: "PATCH",
744
+ responses: {
745
+ 200: {
746
+ bodyMapper: Mappers.OrganizationResource,
747
+ },
748
+ default: {
749
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
750
+ },
751
+ },
752
+ requestBody: Parameters.body2,
753
+ queryParameters: [Parameters.apiVersion],
754
+ urlParameters: [
755
+ Parameters.$host,
756
+ Parameters.subscriptionId,
757
+ Parameters.resourceGroupName,
758
+ Parameters.organizationName,
759
+ ],
760
+ headerParameters: [Parameters.accept, Parameters.contentType],
761
+ mediaType: "json",
762
+ serializer,
763
+ };
764
+ const deleteOperationSpec = {
765
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
766
+ httpMethod: "DELETE",
767
+ responses: {
768
+ 200: {},
769
+ 201: {},
770
+ 202: {},
771
+ 204: {},
772
+ default: {
773
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
774
+ },
775
+ },
776
+ queryParameters: [Parameters.apiVersion],
777
+ urlParameters: [
778
+ Parameters.$host,
779
+ Parameters.subscriptionId,
780
+ Parameters.resourceGroupName,
781
+ Parameters.organizationName,
782
+ ],
783
+ headerParameters: [Parameters.accept],
784
+ serializer,
785
+ };
786
+ const listEnvironmentsOperationSpec = {
787
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments",
788
+ httpMethod: "GET",
789
+ responses: {
790
+ 200: {
791
+ bodyMapper: Mappers.GetEnvironmentsResponse,
792
+ },
793
+ default: {
794
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
795
+ },
796
+ },
797
+ queryParameters: [
798
+ Parameters.apiVersion,
799
+ Parameters.pageSize,
800
+ Parameters.pageToken,
801
+ ],
802
+ urlParameters: [
803
+ Parameters.$host,
804
+ Parameters.subscriptionId,
805
+ Parameters.organizationName,
806
+ Parameters.resourceGroupName1,
807
+ ],
808
+ headerParameters: [Parameters.accept],
809
+ serializer,
810
+ };
811
+ const getEnvironmentByIdOperationSpec = {
812
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}",
813
+ httpMethod: "GET",
814
+ responses: {
815
+ 200: {
816
+ bodyMapper: Mappers.SCEnvironmentRecord,
817
+ },
818
+ default: {
819
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
820
+ },
821
+ },
822
+ queryParameters: [Parameters.apiVersion],
823
+ urlParameters: [
824
+ Parameters.$host,
825
+ Parameters.subscriptionId,
826
+ Parameters.organizationName,
827
+ Parameters.resourceGroupName1,
828
+ Parameters.environmentId,
829
+ ],
830
+ headerParameters: [Parameters.accept],
831
+ serializer,
832
+ };
833
+ const listClustersOperationSpec = {
834
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters",
835
+ httpMethod: "GET",
836
+ responses: {
837
+ 200: {
838
+ bodyMapper: Mappers.ListClustersSuccessResponse,
839
+ },
840
+ default: {
841
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
842
+ },
843
+ },
844
+ queryParameters: [
845
+ Parameters.apiVersion,
846
+ Parameters.pageSize,
847
+ Parameters.pageToken,
848
+ ],
849
+ urlParameters: [
850
+ Parameters.$host,
851
+ Parameters.subscriptionId,
852
+ Parameters.organizationName,
853
+ Parameters.resourceGroupName1,
854
+ Parameters.environmentId,
855
+ ],
856
+ headerParameters: [Parameters.accept],
857
+ serializer,
858
+ };
859
+ const listSchemaRegistryClustersOperationSpec = {
860
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters",
861
+ httpMethod: "GET",
862
+ responses: {
863
+ 200: {
864
+ bodyMapper: Mappers.ListSchemaRegistryClustersResponse,
865
+ },
866
+ default: {
867
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
868
+ },
869
+ },
870
+ queryParameters: [
871
+ Parameters.apiVersion,
872
+ Parameters.pageSize,
873
+ Parameters.pageToken,
874
+ ],
875
+ urlParameters: [
876
+ Parameters.$host,
877
+ Parameters.subscriptionId,
878
+ Parameters.organizationName,
879
+ Parameters.resourceGroupName1,
880
+ Parameters.environmentId,
881
+ ],
882
+ headerParameters: [Parameters.accept],
883
+ serializer,
884
+ };
885
+ const listRegionsOperationSpec = {
886
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/listRegions",
887
+ httpMethod: "POST",
888
+ responses: {
889
+ 200: {
890
+ bodyMapper: Mappers.ListRegionsSuccessResponse,
891
+ },
892
+ default: {
893
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
894
+ },
895
+ },
896
+ requestBody: Parameters.body3,
897
+ queryParameters: [Parameters.apiVersion],
898
+ urlParameters: [
899
+ Parameters.$host,
900
+ Parameters.subscriptionId,
901
+ Parameters.organizationName,
902
+ Parameters.resourceGroupName1,
903
+ ],
904
+ headerParameters: [Parameters.accept, Parameters.contentType],
905
+ mediaType: "json",
906
+ serializer,
907
+ };
908
+ const createAPIKeyOperationSpec = {
909
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/createAPIKey",
910
+ httpMethod: "POST",
911
+ responses: {
912
+ 200: {
913
+ bodyMapper: Mappers.APIKeyRecord,
914
+ },
915
+ default: {
916
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
917
+ },
918
+ },
919
+ requestBody: Parameters.body4,
920
+ queryParameters: [Parameters.apiVersion],
921
+ urlParameters: [
922
+ Parameters.$host,
923
+ Parameters.subscriptionId,
924
+ Parameters.organizationName,
925
+ Parameters.resourceGroupName1,
926
+ Parameters.environmentId,
927
+ Parameters.clusterId,
928
+ ],
929
+ headerParameters: [Parameters.accept, Parameters.contentType],
930
+ mediaType: "json",
931
+ serializer,
932
+ };
933
+ const deleteClusterAPIKeyOperationSpec = {
934
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}",
935
+ httpMethod: "DELETE",
936
+ responses: {
937
+ 200: {},
938
+ 204: {},
939
+ default: {
940
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
941
+ },
942
+ },
943
+ queryParameters: [Parameters.apiVersion],
944
+ urlParameters: [
945
+ Parameters.$host,
946
+ Parameters.subscriptionId,
947
+ Parameters.organizationName,
948
+ Parameters.resourceGroupName1,
949
+ Parameters.apiKeyId,
950
+ ],
951
+ headerParameters: [Parameters.accept],
952
+ serializer,
953
+ };
954
+ const getClusterAPIKeyOperationSpec = {
955
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}",
956
+ httpMethod: "GET",
957
+ responses: {
958
+ 200: {
959
+ bodyMapper: Mappers.APIKeyRecord,
960
+ },
961
+ default: {
962
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
963
+ },
964
+ },
965
+ queryParameters: [Parameters.apiVersion],
966
+ urlParameters: [
967
+ Parameters.$host,
968
+ Parameters.subscriptionId,
969
+ Parameters.organizationName,
970
+ Parameters.resourceGroupName1,
971
+ Parameters.apiKeyId,
972
+ ],
973
+ headerParameters: [Parameters.accept],
974
+ serializer,
975
+ };
976
+ const getSchemaRegistryClusterByIdOperationSpec = {
977
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters/{clusterId}",
978
+ httpMethod: "GET",
979
+ responses: {
980
+ 200: {
981
+ bodyMapper: Mappers.SchemaRegistryClusterRecord,
982
+ },
983
+ default: {
984
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
985
+ },
986
+ },
987
+ queryParameters: [Parameters.apiVersion],
988
+ urlParameters: [
989
+ Parameters.$host,
990
+ Parameters.subscriptionId,
991
+ Parameters.organizationName,
992
+ Parameters.resourceGroupName1,
993
+ Parameters.environmentId,
994
+ Parameters.clusterId,
995
+ ],
996
+ headerParameters: [Parameters.accept],
997
+ serializer,
998
+ };
999
+ const getClusterByIdOperationSpec = {
1000
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}",
1001
+ httpMethod: "GET",
1002
+ responses: {
1003
+ 200: {
1004
+ bodyMapper: Mappers.SCClusterRecord,
1005
+ },
1006
+ default: {
1007
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
1008
+ },
1009
+ },
1010
+ queryParameters: [Parameters.apiVersion],
1011
+ urlParameters: [
1012
+ Parameters.$host,
1013
+ Parameters.subscriptionId,
1014
+ Parameters.organizationName,
1015
+ Parameters.resourceGroupName1,
1016
+ Parameters.environmentId,
1017
+ Parameters.clusterId,
1018
+ ],
1019
+ headerParameters: [Parameters.accept],
1020
+ serializer,
1021
+ };
1022
+ const listBySubscriptionNextOperationSpec = {
1023
+ path: "{nextLink}",
1024
+ httpMethod: "GET",
1025
+ responses: {
1026
+ 200: {
1027
+ bodyMapper: Mappers.OrganizationResourceListResult,
1028
+ },
1029
+ default: {
1030
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
1031
+ },
1032
+ },
1033
+ urlParameters: [
1034
+ Parameters.$host,
1035
+ Parameters.subscriptionId,
1036
+ Parameters.nextLink,
1037
+ ],
1038
+ headerParameters: [Parameters.accept],
1039
+ serializer,
1040
+ };
1041
+ const listByResourceGroupNextOperationSpec = {
1042
+ path: "{nextLink}",
1043
+ httpMethod: "GET",
1044
+ responses: {
1045
+ 200: {
1046
+ bodyMapper: Mappers.OrganizationResourceListResult,
1047
+ },
1048
+ default: {
1049
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
1050
+ },
1051
+ },
1052
+ urlParameters: [
1053
+ Parameters.$host,
1054
+ Parameters.subscriptionId,
1055
+ Parameters.nextLink,
1056
+ Parameters.resourceGroupName,
1057
+ ],
1058
+ headerParameters: [Parameters.accept],
1059
+ serializer,
1060
+ };
1061
+ const listEnvironmentsNextOperationSpec = {
1062
+ path: "{nextLink}",
1063
+ httpMethod: "GET",
1064
+ responses: {
1065
+ 200: {
1066
+ bodyMapper: Mappers.GetEnvironmentsResponse,
1067
+ },
1068
+ default: {
1069
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
1070
+ },
1071
+ },
1072
+ urlParameters: [
1073
+ Parameters.$host,
1074
+ Parameters.subscriptionId,
1075
+ Parameters.nextLink,
1076
+ Parameters.organizationName,
1077
+ Parameters.resourceGroupName1,
1078
+ ],
1079
+ headerParameters: [Parameters.accept],
1080
+ serializer,
1081
+ };
1082
+ const listClustersNextOperationSpec = {
1083
+ path: "{nextLink}",
1084
+ httpMethod: "GET",
1085
+ responses: {
1086
+ 200: {
1087
+ bodyMapper: Mappers.ListClustersSuccessResponse,
1088
+ },
1089
+ default: {
1090
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
1091
+ },
1092
+ },
1093
+ urlParameters: [
1094
+ Parameters.$host,
1095
+ Parameters.subscriptionId,
1096
+ Parameters.nextLink,
1097
+ Parameters.organizationName,
1098
+ Parameters.resourceGroupName1,
1099
+ Parameters.environmentId,
1100
+ ],
1101
+ headerParameters: [Parameters.accept],
1102
+ serializer,
1103
+ };
1104
+ const listSchemaRegistryClustersNextOperationSpec = {
1105
+ path: "{nextLink}",
1106
+ httpMethod: "GET",
1107
+ responses: {
1108
+ 200: {
1109
+ bodyMapper: Mappers.ListSchemaRegistryClustersResponse,
1110
+ },
1111
+ default: {
1112
+ bodyMapper: Mappers.ResourceProviderDefaultErrorResponse,
1113
+ },
1114
+ },
1115
+ urlParameters: [
1116
+ Parameters.$host,
1117
+ Parameters.subscriptionId,
1118
+ Parameters.nextLink,
1119
+ Parameters.organizationName,
1120
+ Parameters.resourceGroupName1,
1121
+ Parameters.environmentId,
1122
+ ],
1123
+ headerParameters: [Parameters.accept],
1124
+ serializer,
1125
+ };
1126
+ //# sourceMappingURL=organization.js.map