@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
package/dist/index.js DELETED
@@ -1,4603 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var tslib = require('tslib');
6
- var coreClient = require('@azure/core-client');
7
- var coreRestPipeline = require('@azure/core-rest-pipeline');
8
- var coreLro = require('@azure/core-lro');
9
-
10
- function _interopNamespaceDefault(e) {
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n.default = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
28
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
29
-
30
- /*
31
- * Copyright (c) Microsoft Corporation.
32
- * Licensed under the MIT License.
33
- *
34
- * Code generated by Microsoft (R) AutoRest Code Generator.
35
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
36
- */
37
- const pageMap = new WeakMap();
38
- /**
39
- * Given the last `.value` produced by the `byPage` iterator,
40
- * returns a continuation token that can be used to begin paging from
41
- * that point later.
42
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
43
- * @returns The continuation token that can be passed into byPage() during future calls.
44
- */
45
- function getContinuationToken(page) {
46
- var _a;
47
- if (typeof page !== "object" || page === null) {
48
- return undefined;
49
- }
50
- return (_a = pageMap.get(page)) === null || _a === undefined ? undefined : _a.continuationToken;
51
- }
52
- function setContinuationToken(page, continuationToken) {
53
- var _a;
54
- if (typeof page !== "object" || page === null || !continuationToken) {
55
- return;
56
- }
57
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== undefined ? _a : {};
58
- pageInfo.continuationToken = continuationToken;
59
- pageMap.set(page, pageInfo);
60
- }
61
-
62
- /*
63
- * Copyright (c) Microsoft Corporation.
64
- * Licensed under the MIT License.
65
- *
66
- * Code generated by Microsoft (R) AutoRest Code Generator.
67
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
68
- */
69
- /** Known values of {@link CreatedByType} that the service accepts. */
70
- exports.KnownCreatedByType = void 0;
71
- (function (KnownCreatedByType) {
72
- /** User */
73
- KnownCreatedByType["User"] = "User";
74
- /** Application */
75
- KnownCreatedByType["Application"] = "Application";
76
- /** ManagedIdentity */
77
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
78
- /** Key */
79
- KnownCreatedByType["Key"] = "Key";
80
- })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
81
- /** Known values of {@link ProvisionState} that the service accepts. */
82
- exports.KnownProvisionState = void 0;
83
- (function (KnownProvisionState) {
84
- /** Accepted */
85
- KnownProvisionState["Accepted"] = "Accepted";
86
- /** Creating */
87
- KnownProvisionState["Creating"] = "Creating";
88
- /** Updating */
89
- KnownProvisionState["Updating"] = "Updating";
90
- /** Deleting */
91
- KnownProvisionState["Deleting"] = "Deleting";
92
- /** Succeeded */
93
- KnownProvisionState["Succeeded"] = "Succeeded";
94
- /** Failed */
95
- KnownProvisionState["Failed"] = "Failed";
96
- /** Canceled */
97
- KnownProvisionState["Canceled"] = "Canceled";
98
- /** Deleted */
99
- KnownProvisionState["Deleted"] = "Deleted";
100
- /** NotSpecified */
101
- KnownProvisionState["NotSpecified"] = "NotSpecified";
102
- })(exports.KnownProvisionState || (exports.KnownProvisionState = {}));
103
- /** Known values of {@link SaaSOfferStatus} that the service accepts. */
104
- exports.KnownSaaSOfferStatus = void 0;
105
- (function (KnownSaaSOfferStatus) {
106
- /** Started */
107
- KnownSaaSOfferStatus["Started"] = "Started";
108
- /** PendingFulfillmentStart */
109
- KnownSaaSOfferStatus["PendingFulfillmentStart"] = "PendingFulfillmentStart";
110
- /** InProgress */
111
- KnownSaaSOfferStatus["InProgress"] = "InProgress";
112
- /** Subscribed */
113
- KnownSaaSOfferStatus["Subscribed"] = "Subscribed";
114
- /** Suspended */
115
- KnownSaaSOfferStatus["Suspended"] = "Suspended";
116
- /** Reinstated */
117
- KnownSaaSOfferStatus["Reinstated"] = "Reinstated";
118
- /** Succeeded */
119
- KnownSaaSOfferStatus["Succeeded"] = "Succeeded";
120
- /** Failed */
121
- KnownSaaSOfferStatus["Failed"] = "Failed";
122
- /** Unsubscribed */
123
- KnownSaaSOfferStatus["Unsubscribed"] = "Unsubscribed";
124
- /** Updating */
125
- KnownSaaSOfferStatus["Updating"] = "Updating";
126
- })(exports.KnownSaaSOfferStatus || (exports.KnownSaaSOfferStatus = {}));
127
-
128
- /*
129
- * Copyright (c) Microsoft Corporation.
130
- * Licensed under the MIT License.
131
- *
132
- * Code generated by Microsoft (R) AutoRest Code Generator.
133
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
134
- */
135
- const ConfluentAgreementResourceListResponse = {
136
- type: {
137
- name: "Composite",
138
- className: "ConfluentAgreementResourceListResponse",
139
- modelProperties: {
140
- value: {
141
- serializedName: "value",
142
- type: {
143
- name: "Sequence",
144
- element: {
145
- type: {
146
- name: "Composite",
147
- className: "ConfluentAgreementResource",
148
- },
149
- },
150
- },
151
- },
152
- nextLink: {
153
- serializedName: "nextLink",
154
- type: {
155
- name: "String",
156
- },
157
- },
158
- },
159
- },
160
- };
161
- const ConfluentAgreementResource = {
162
- type: {
163
- name: "Composite",
164
- className: "ConfluentAgreementResource",
165
- modelProperties: {
166
- id: {
167
- serializedName: "id",
168
- readOnly: true,
169
- type: {
170
- name: "String",
171
- },
172
- },
173
- name: {
174
- serializedName: "name",
175
- readOnly: true,
176
- type: {
177
- name: "String",
178
- },
179
- },
180
- type: {
181
- serializedName: "type",
182
- readOnly: true,
183
- type: {
184
- name: "String",
185
- },
186
- },
187
- systemData: {
188
- serializedName: "systemData",
189
- type: {
190
- name: "Composite",
191
- className: "SystemData",
192
- },
193
- },
194
- publisher: {
195
- serializedName: "properties.publisher",
196
- type: {
197
- name: "String",
198
- },
199
- },
200
- product: {
201
- serializedName: "properties.product",
202
- type: {
203
- name: "String",
204
- },
205
- },
206
- plan: {
207
- serializedName: "properties.plan",
208
- type: {
209
- name: "String",
210
- },
211
- },
212
- licenseTextLink: {
213
- serializedName: "properties.licenseTextLink",
214
- type: {
215
- name: "String",
216
- },
217
- },
218
- privacyPolicyLink: {
219
- serializedName: "properties.privacyPolicyLink",
220
- type: {
221
- name: "String",
222
- },
223
- },
224
- retrieveDatetime: {
225
- serializedName: "properties.retrieveDatetime",
226
- type: {
227
- name: "DateTime",
228
- },
229
- },
230
- signature: {
231
- serializedName: "properties.signature",
232
- type: {
233
- name: "String",
234
- },
235
- },
236
- accepted: {
237
- serializedName: "properties.accepted",
238
- type: {
239
- name: "Boolean",
240
- },
241
- },
242
- },
243
- },
244
- };
245
- const SystemData = {
246
- type: {
247
- name: "Composite",
248
- className: "SystemData",
249
- modelProperties: {
250
- createdBy: {
251
- serializedName: "createdBy",
252
- type: {
253
- name: "String",
254
- },
255
- },
256
- createdByType: {
257
- serializedName: "createdByType",
258
- type: {
259
- name: "String",
260
- },
261
- },
262
- createdAt: {
263
- serializedName: "createdAt",
264
- type: {
265
- name: "DateTime",
266
- },
267
- },
268
- lastModifiedBy: {
269
- serializedName: "lastModifiedBy",
270
- type: {
271
- name: "String",
272
- },
273
- },
274
- lastModifiedByType: {
275
- serializedName: "lastModifiedByType",
276
- type: {
277
- name: "String",
278
- },
279
- },
280
- lastModifiedAt: {
281
- serializedName: "lastModifiedAt",
282
- type: {
283
- name: "DateTime",
284
- },
285
- },
286
- },
287
- },
288
- };
289
- const ResourceProviderDefaultErrorResponse = {
290
- type: {
291
- name: "Composite",
292
- className: "ResourceProviderDefaultErrorResponse",
293
- modelProperties: {
294
- error: {
295
- serializedName: "error",
296
- type: {
297
- name: "Composite",
298
- className: "ErrorResponseBody",
299
- },
300
- },
301
- },
302
- },
303
- };
304
- const ErrorResponseBody = {
305
- type: {
306
- name: "Composite",
307
- className: "ErrorResponseBody",
308
- modelProperties: {
309
- code: {
310
- serializedName: "code",
311
- readOnly: true,
312
- type: {
313
- name: "String",
314
- },
315
- },
316
- message: {
317
- serializedName: "message",
318
- readOnly: true,
319
- type: {
320
- name: "String",
321
- },
322
- },
323
- target: {
324
- serializedName: "target",
325
- readOnly: true,
326
- type: {
327
- name: "String",
328
- },
329
- },
330
- details: {
331
- serializedName: "details",
332
- readOnly: true,
333
- type: {
334
- name: "Sequence",
335
- element: {
336
- type: {
337
- name: "Composite",
338
- className: "ErrorResponseBody",
339
- },
340
- },
341
- },
342
- },
343
- },
344
- },
345
- };
346
- const OperationListResult = {
347
- type: {
348
- name: "Composite",
349
- className: "OperationListResult",
350
- modelProperties: {
351
- value: {
352
- serializedName: "value",
353
- type: {
354
- name: "Sequence",
355
- element: {
356
- type: {
357
- name: "Composite",
358
- className: "OperationResult",
359
- },
360
- },
361
- },
362
- },
363
- nextLink: {
364
- serializedName: "nextLink",
365
- type: {
366
- name: "String",
367
- },
368
- },
369
- },
370
- },
371
- };
372
- const OperationResult = {
373
- type: {
374
- name: "Composite",
375
- className: "OperationResult",
376
- modelProperties: {
377
- name: {
378
- serializedName: "name",
379
- type: {
380
- name: "String",
381
- },
382
- },
383
- display: {
384
- serializedName: "display",
385
- type: {
386
- name: "Composite",
387
- className: "OperationDisplay",
388
- },
389
- },
390
- isDataAction: {
391
- serializedName: "isDataAction",
392
- type: {
393
- name: "Boolean",
394
- },
395
- },
396
- },
397
- },
398
- };
399
- const OperationDisplay = {
400
- type: {
401
- name: "Composite",
402
- className: "OperationDisplay",
403
- modelProperties: {
404
- provider: {
405
- serializedName: "provider",
406
- type: {
407
- name: "String",
408
- },
409
- },
410
- resource: {
411
- serializedName: "resource",
412
- type: {
413
- name: "String",
414
- },
415
- },
416
- operation: {
417
- serializedName: "operation",
418
- type: {
419
- name: "String",
420
- },
421
- },
422
- description: {
423
- serializedName: "description",
424
- type: {
425
- name: "String",
426
- },
427
- },
428
- },
429
- },
430
- };
431
- const OrganizationResourceListResult = {
432
- type: {
433
- name: "Composite",
434
- className: "OrganizationResourceListResult",
435
- modelProperties: {
436
- value: {
437
- serializedName: "value",
438
- type: {
439
- name: "Sequence",
440
- element: {
441
- type: {
442
- name: "Composite",
443
- className: "OrganizationResource",
444
- },
445
- },
446
- },
447
- },
448
- nextLink: {
449
- serializedName: "nextLink",
450
- type: {
451
- name: "String",
452
- },
453
- },
454
- },
455
- },
456
- };
457
- const OrganizationResource = {
458
- type: {
459
- name: "Composite",
460
- className: "OrganizationResource",
461
- modelProperties: {
462
- id: {
463
- serializedName: "id",
464
- readOnly: true,
465
- type: {
466
- name: "String",
467
- },
468
- },
469
- name: {
470
- serializedName: "name",
471
- readOnly: true,
472
- type: {
473
- name: "String",
474
- },
475
- },
476
- type: {
477
- serializedName: "type",
478
- readOnly: true,
479
- type: {
480
- name: "String",
481
- },
482
- },
483
- systemData: {
484
- serializedName: "systemData",
485
- type: {
486
- name: "Composite",
487
- className: "SystemData",
488
- },
489
- },
490
- tags: {
491
- serializedName: "tags",
492
- type: {
493
- name: "Dictionary",
494
- value: { type: { name: "String" } },
495
- },
496
- },
497
- location: {
498
- serializedName: "location",
499
- type: {
500
- name: "String",
501
- },
502
- },
503
- createdTime: {
504
- serializedName: "properties.createdTime",
505
- readOnly: true,
506
- type: {
507
- name: "DateTime",
508
- },
509
- },
510
- provisioningState: {
511
- serializedName: "properties.provisioningState",
512
- readOnly: true,
513
- type: {
514
- name: "String",
515
- },
516
- },
517
- organizationId: {
518
- serializedName: "properties.organizationId",
519
- readOnly: true,
520
- type: {
521
- name: "String",
522
- },
523
- },
524
- ssoUrl: {
525
- serializedName: "properties.ssoUrl",
526
- readOnly: true,
527
- type: {
528
- name: "String",
529
- },
530
- },
531
- offerDetail: {
532
- serializedName: "properties.offerDetail",
533
- type: {
534
- name: "Composite",
535
- className: "OfferDetail",
536
- },
537
- },
538
- userDetail: {
539
- serializedName: "properties.userDetail",
540
- type: {
541
- name: "Composite",
542
- className: "UserDetail",
543
- },
544
- },
545
- linkOrganization: {
546
- serializedName: "properties.linkOrganization",
547
- type: {
548
- name: "Composite",
549
- className: "LinkOrganization",
550
- },
551
- },
552
- },
553
- },
554
- };
555
- const OfferDetail = {
556
- type: {
557
- name: "Composite",
558
- className: "OfferDetail",
559
- modelProperties: {
560
- publisherId: {
561
- constraints: {
562
- MaxLength: 50,
563
- },
564
- serializedName: "publisherId",
565
- required: true,
566
- type: {
567
- name: "String",
568
- },
569
- },
570
- id: {
571
- constraints: {
572
- MaxLength: 50,
573
- },
574
- serializedName: "id",
575
- required: true,
576
- type: {
577
- name: "String",
578
- },
579
- },
580
- planId: {
581
- constraints: {
582
- MaxLength: 200,
583
- },
584
- serializedName: "planId",
585
- required: true,
586
- type: {
587
- name: "String",
588
- },
589
- },
590
- planName: {
591
- constraints: {
592
- MaxLength: 200,
593
- },
594
- serializedName: "planName",
595
- required: true,
596
- type: {
597
- name: "String",
598
- },
599
- },
600
- termUnit: {
601
- constraints: {
602
- MaxLength: 25,
603
- },
604
- serializedName: "termUnit",
605
- required: true,
606
- type: {
607
- name: "String",
608
- },
609
- },
610
- termId: {
611
- constraints: {
612
- MaxLength: 50,
613
- },
614
- serializedName: "termId",
615
- type: {
616
- name: "String",
617
- },
618
- },
619
- privateOfferId: {
620
- constraints: {
621
- MaxLength: 255,
622
- },
623
- serializedName: "privateOfferId",
624
- type: {
625
- name: "String",
626
- },
627
- },
628
- privateOfferIds: {
629
- serializedName: "privateOfferIds",
630
- type: {
631
- name: "Sequence",
632
- element: {
633
- type: {
634
- name: "String",
635
- },
636
- },
637
- },
638
- },
639
- status: {
640
- serializedName: "status",
641
- type: {
642
- name: "String",
643
- },
644
- },
645
- },
646
- },
647
- };
648
- const UserDetail = {
649
- type: {
650
- name: "Composite",
651
- className: "UserDetail",
652
- modelProperties: {
653
- firstName: {
654
- constraints: {
655
- MaxLength: 50,
656
- },
657
- serializedName: "firstName",
658
- type: {
659
- name: "String",
660
- },
661
- },
662
- lastName: {
663
- constraints: {
664
- MaxLength: 50,
665
- },
666
- serializedName: "lastName",
667
- type: {
668
- name: "String",
669
- },
670
- },
671
- emailAddress: {
672
- constraints: {
673
- Pattern: new RegExp("^\\S+@\\S+\\.\\S+$"),
674
- },
675
- serializedName: "emailAddress",
676
- required: true,
677
- type: {
678
- name: "String",
679
- },
680
- },
681
- userPrincipalName: {
682
- serializedName: "userPrincipalName",
683
- type: {
684
- name: "String",
685
- },
686
- },
687
- aadEmail: {
688
- serializedName: "aadEmail",
689
- type: {
690
- name: "String",
691
- },
692
- },
693
- },
694
- },
695
- };
696
- const LinkOrganization = {
697
- type: {
698
- name: "Composite",
699
- className: "LinkOrganization",
700
- modelProperties: {
701
- token: {
702
- serializedName: "token",
703
- required: true,
704
- type: {
705
- name: "String",
706
- },
707
- },
708
- },
709
- },
710
- };
711
- const OrganizationResourceUpdate = {
712
- type: {
713
- name: "Composite",
714
- className: "OrganizationResourceUpdate",
715
- modelProperties: {
716
- tags: {
717
- serializedName: "tags",
718
- type: {
719
- name: "Dictionary",
720
- value: { type: { name: "String" } },
721
- },
722
- },
723
- },
724
- },
725
- };
726
- const ValidationResponse = {
727
- type: {
728
- name: "Composite",
729
- className: "ValidationResponse",
730
- modelProperties: {
731
- info: {
732
- serializedName: "info",
733
- type: {
734
- name: "Dictionary",
735
- value: { type: { name: "String" } },
736
- },
737
- },
738
- },
739
- },
740
- };
741
- const ListAccessRequestModel = {
742
- type: {
743
- name: "Composite",
744
- className: "ListAccessRequestModel",
745
- modelProperties: {
746
- searchFilters: {
747
- serializedName: "searchFilters",
748
- type: {
749
- name: "Dictionary",
750
- value: { type: { name: "String" } },
751
- },
752
- },
753
- },
754
- },
755
- };
756
- const AccessListUsersSuccessResponse = {
757
- type: {
758
- name: "Composite",
759
- className: "AccessListUsersSuccessResponse",
760
- modelProperties: {
761
- kind: {
762
- serializedName: "kind",
763
- type: {
764
- name: "String",
765
- },
766
- },
767
- metadata: {
768
- serializedName: "metadata",
769
- type: {
770
- name: "Composite",
771
- className: "ConfluentListMetadata",
772
- },
773
- },
774
- data: {
775
- serializedName: "data",
776
- type: {
777
- name: "Sequence",
778
- element: {
779
- type: {
780
- name: "Composite",
781
- className: "UserRecord",
782
- },
783
- },
784
- },
785
- },
786
- },
787
- },
788
- };
789
- const ConfluentListMetadata = {
790
- type: {
791
- name: "Composite",
792
- className: "ConfluentListMetadata",
793
- modelProperties: {
794
- first: {
795
- serializedName: "first",
796
- type: {
797
- name: "String",
798
- },
799
- },
800
- last: {
801
- serializedName: "last",
802
- type: {
803
- name: "String",
804
- },
805
- },
806
- prev: {
807
- serializedName: "prev",
808
- type: {
809
- name: "String",
810
- },
811
- },
812
- next: {
813
- serializedName: "next",
814
- type: {
815
- name: "String",
816
- },
817
- },
818
- totalSize: {
819
- serializedName: "total_size",
820
- type: {
821
- name: "Number",
822
- },
823
- },
824
- },
825
- },
826
- };
827
- const UserRecord = {
828
- type: {
829
- name: "Composite",
830
- className: "UserRecord",
831
- modelProperties: {
832
- kind: {
833
- serializedName: "kind",
834
- type: {
835
- name: "String",
836
- },
837
- },
838
- id: {
839
- serializedName: "id",
840
- type: {
841
- name: "String",
842
- },
843
- },
844
- metadata: {
845
- serializedName: "metadata",
846
- type: {
847
- name: "Composite",
848
- className: "MetadataEntity",
849
- },
850
- },
851
- email: {
852
- serializedName: "email",
853
- type: {
854
- name: "String",
855
- },
856
- },
857
- fullName: {
858
- serializedName: "full_name",
859
- type: {
860
- name: "String",
861
- },
862
- },
863
- authType: {
864
- serializedName: "auth_type",
865
- type: {
866
- name: "String",
867
- },
868
- },
869
- },
870
- },
871
- };
872
- const MetadataEntity = {
873
- type: {
874
- name: "Composite",
875
- className: "MetadataEntity",
876
- modelProperties: {
877
- self: {
878
- serializedName: "self",
879
- type: {
880
- name: "String",
881
- },
882
- },
883
- resourceName: {
884
- serializedName: "resource_name",
885
- type: {
886
- name: "String",
887
- },
888
- },
889
- createdAt: {
890
- serializedName: "created_at",
891
- type: {
892
- name: "String",
893
- },
894
- },
895
- updatedAt: {
896
- serializedName: "updated_at",
897
- type: {
898
- name: "String",
899
- },
900
- },
901
- deletedAt: {
902
- serializedName: "deleted_at",
903
- type: {
904
- name: "String",
905
- },
906
- },
907
- },
908
- },
909
- };
910
- const AccessListServiceAccountsSuccessResponse = {
911
- type: {
912
- name: "Composite",
913
- className: "AccessListServiceAccountsSuccessResponse",
914
- modelProperties: {
915
- kind: {
916
- serializedName: "kind",
917
- type: {
918
- name: "String",
919
- },
920
- },
921
- metadata: {
922
- serializedName: "metadata",
923
- type: {
924
- name: "Composite",
925
- className: "ConfluentListMetadata",
926
- },
927
- },
928
- data: {
929
- serializedName: "data",
930
- type: {
931
- name: "Sequence",
932
- element: {
933
- type: {
934
- name: "Composite",
935
- className: "ServiceAccountRecord",
936
- },
937
- },
938
- },
939
- },
940
- },
941
- },
942
- };
943
- const ServiceAccountRecord = {
944
- type: {
945
- name: "Composite",
946
- className: "ServiceAccountRecord",
947
- modelProperties: {
948
- kind: {
949
- serializedName: "kind",
950
- type: {
951
- name: "String",
952
- },
953
- },
954
- id: {
955
- serializedName: "id",
956
- type: {
957
- name: "String",
958
- },
959
- },
960
- metadata: {
961
- serializedName: "metadata",
962
- type: {
963
- name: "Composite",
964
- className: "MetadataEntity",
965
- },
966
- },
967
- displayName: {
968
- serializedName: "display_name",
969
- type: {
970
- name: "String",
971
- },
972
- },
973
- description: {
974
- serializedName: "description",
975
- type: {
976
- name: "String",
977
- },
978
- },
979
- },
980
- },
981
- };
982
- const AccessListInvitationsSuccessResponse = {
983
- type: {
984
- name: "Composite",
985
- className: "AccessListInvitationsSuccessResponse",
986
- modelProperties: {
987
- kind: {
988
- serializedName: "kind",
989
- type: {
990
- name: "String",
991
- },
992
- },
993
- metadata: {
994
- serializedName: "metadata",
995
- type: {
996
- name: "Composite",
997
- className: "ConfluentListMetadata",
998
- },
999
- },
1000
- data: {
1001
- serializedName: "data",
1002
- type: {
1003
- name: "Sequence",
1004
- element: {
1005
- type: {
1006
- name: "Composite",
1007
- className: "InvitationRecord",
1008
- },
1009
- },
1010
- },
1011
- },
1012
- },
1013
- },
1014
- };
1015
- const InvitationRecord = {
1016
- type: {
1017
- name: "Composite",
1018
- className: "InvitationRecord",
1019
- modelProperties: {
1020
- kind: {
1021
- serializedName: "kind",
1022
- type: {
1023
- name: "String",
1024
- },
1025
- },
1026
- id: {
1027
- serializedName: "id",
1028
- type: {
1029
- name: "String",
1030
- },
1031
- },
1032
- metadata: {
1033
- serializedName: "metadata",
1034
- type: {
1035
- name: "Composite",
1036
- className: "MetadataEntity",
1037
- },
1038
- },
1039
- email: {
1040
- serializedName: "email",
1041
- type: {
1042
- name: "String",
1043
- },
1044
- },
1045
- authType: {
1046
- serializedName: "auth_type",
1047
- type: {
1048
- name: "String",
1049
- },
1050
- },
1051
- status: {
1052
- serializedName: "status",
1053
- type: {
1054
- name: "String",
1055
- },
1056
- },
1057
- acceptedAt: {
1058
- serializedName: "accepted_at",
1059
- type: {
1060
- name: "String",
1061
- },
1062
- },
1063
- expiresAt: {
1064
- serializedName: "expires_at",
1065
- type: {
1066
- name: "String",
1067
- },
1068
- },
1069
- },
1070
- },
1071
- };
1072
- const AccessInviteUserAccountModel = {
1073
- type: {
1074
- name: "Composite",
1075
- className: "AccessInviteUserAccountModel",
1076
- modelProperties: {
1077
- organizationId: {
1078
- serializedName: "organizationId",
1079
- type: {
1080
- name: "String",
1081
- },
1082
- },
1083
- email: {
1084
- serializedName: "email",
1085
- type: {
1086
- name: "String",
1087
- },
1088
- },
1089
- upn: {
1090
- serializedName: "upn",
1091
- type: {
1092
- name: "String",
1093
- },
1094
- },
1095
- invitedUserDetails: {
1096
- serializedName: "invitedUserDetails",
1097
- type: {
1098
- name: "Composite",
1099
- className: "AccessInvitedUserDetails",
1100
- },
1101
- },
1102
- },
1103
- },
1104
- };
1105
- const AccessInvitedUserDetails = {
1106
- type: {
1107
- name: "Composite",
1108
- className: "AccessInvitedUserDetails",
1109
- modelProperties: {
1110
- invitedEmail: {
1111
- serializedName: "invitedEmail",
1112
- type: {
1113
- name: "String",
1114
- },
1115
- },
1116
- authType: {
1117
- serializedName: "auth_type",
1118
- type: {
1119
- name: "String",
1120
- },
1121
- },
1122
- },
1123
- },
1124
- };
1125
- const AccessListEnvironmentsSuccessResponse = {
1126
- type: {
1127
- name: "Composite",
1128
- className: "AccessListEnvironmentsSuccessResponse",
1129
- modelProperties: {
1130
- kind: {
1131
- serializedName: "kind",
1132
- type: {
1133
- name: "String",
1134
- },
1135
- },
1136
- metadata: {
1137
- serializedName: "metadata",
1138
- type: {
1139
- name: "Composite",
1140
- className: "ConfluentListMetadata",
1141
- },
1142
- },
1143
- data: {
1144
- serializedName: "data",
1145
- type: {
1146
- name: "Sequence",
1147
- element: {
1148
- type: {
1149
- name: "Composite",
1150
- className: "EnvironmentRecord",
1151
- },
1152
- },
1153
- },
1154
- },
1155
- },
1156
- },
1157
- };
1158
- const EnvironmentRecord = {
1159
- type: {
1160
- name: "Composite",
1161
- className: "EnvironmentRecord",
1162
- modelProperties: {
1163
- kind: {
1164
- serializedName: "kind",
1165
- type: {
1166
- name: "String",
1167
- },
1168
- },
1169
- id: {
1170
- serializedName: "id",
1171
- type: {
1172
- name: "String",
1173
- },
1174
- },
1175
- metadata: {
1176
- serializedName: "metadata",
1177
- type: {
1178
- name: "Composite",
1179
- className: "MetadataEntity",
1180
- },
1181
- },
1182
- displayName: {
1183
- serializedName: "display_name",
1184
- type: {
1185
- name: "String",
1186
- },
1187
- },
1188
- },
1189
- },
1190
- };
1191
- const AccessListClusterSuccessResponse = {
1192
- type: {
1193
- name: "Composite",
1194
- className: "AccessListClusterSuccessResponse",
1195
- modelProperties: {
1196
- kind: {
1197
- serializedName: "kind",
1198
- type: {
1199
- name: "String",
1200
- },
1201
- },
1202
- metadata: {
1203
- serializedName: "metadata",
1204
- type: {
1205
- name: "Composite",
1206
- className: "ConfluentListMetadata",
1207
- },
1208
- },
1209
- data: {
1210
- serializedName: "data",
1211
- type: {
1212
- name: "Sequence",
1213
- element: {
1214
- type: {
1215
- name: "Composite",
1216
- className: "ClusterRecord",
1217
- },
1218
- },
1219
- },
1220
- },
1221
- },
1222
- },
1223
- };
1224
- const ClusterRecord = {
1225
- type: {
1226
- name: "Composite",
1227
- className: "ClusterRecord",
1228
- modelProperties: {
1229
- kind: {
1230
- serializedName: "kind",
1231
- type: {
1232
- name: "String",
1233
- },
1234
- },
1235
- id: {
1236
- serializedName: "id",
1237
- type: {
1238
- name: "String",
1239
- },
1240
- },
1241
- metadata: {
1242
- serializedName: "metadata",
1243
- type: {
1244
- name: "Composite",
1245
- className: "MetadataEntity",
1246
- },
1247
- },
1248
- displayName: {
1249
- serializedName: "display_name",
1250
- type: {
1251
- name: "String",
1252
- },
1253
- },
1254
- spec: {
1255
- serializedName: "spec",
1256
- type: {
1257
- name: "Composite",
1258
- className: "ClusterSpecEntity",
1259
- },
1260
- },
1261
- status: {
1262
- serializedName: "status",
1263
- type: {
1264
- name: "Composite",
1265
- className: "ClusterStatusEntity",
1266
- },
1267
- },
1268
- },
1269
- },
1270
- };
1271
- const ClusterSpecEntity = {
1272
- type: {
1273
- name: "Composite",
1274
- className: "ClusterSpecEntity",
1275
- modelProperties: {
1276
- displayName: {
1277
- serializedName: "display_name",
1278
- type: {
1279
- name: "String",
1280
- },
1281
- },
1282
- availability: {
1283
- serializedName: "availability",
1284
- type: {
1285
- name: "String",
1286
- },
1287
- },
1288
- cloud: {
1289
- serializedName: "cloud",
1290
- type: {
1291
- name: "String",
1292
- },
1293
- },
1294
- zone: {
1295
- serializedName: "zone",
1296
- type: {
1297
- name: "String",
1298
- },
1299
- },
1300
- region: {
1301
- serializedName: "region",
1302
- type: {
1303
- name: "String",
1304
- },
1305
- },
1306
- kafkaBootstrapEndpoint: {
1307
- serializedName: "kafka_bootstrap_endpoint",
1308
- type: {
1309
- name: "String",
1310
- },
1311
- },
1312
- httpEndpoint: {
1313
- serializedName: "http_endpoint",
1314
- type: {
1315
- name: "String",
1316
- },
1317
- },
1318
- apiEndpoint: {
1319
- serializedName: "api_endpoint",
1320
- type: {
1321
- name: "String",
1322
- },
1323
- },
1324
- config: {
1325
- serializedName: "config",
1326
- type: {
1327
- name: "Composite",
1328
- className: "ClusterConfigEntity",
1329
- },
1330
- },
1331
- environment: {
1332
- serializedName: "environment",
1333
- type: {
1334
- name: "Composite",
1335
- className: "ClusterEnvironmentEntity",
1336
- },
1337
- },
1338
- network: {
1339
- serializedName: "network",
1340
- type: {
1341
- name: "Composite",
1342
- className: "ClusterNetworkEntity",
1343
- },
1344
- },
1345
- byok: {
1346
- serializedName: "byok",
1347
- type: {
1348
- name: "Composite",
1349
- className: "ClusterByokEntity",
1350
- },
1351
- },
1352
- },
1353
- },
1354
- };
1355
- const ClusterConfigEntity = {
1356
- type: {
1357
- name: "Composite",
1358
- className: "ClusterConfigEntity",
1359
- modelProperties: {
1360
- kind: {
1361
- serializedName: "kind",
1362
- type: {
1363
- name: "String",
1364
- },
1365
- },
1366
- },
1367
- },
1368
- };
1369
- const ClusterEnvironmentEntity = {
1370
- type: {
1371
- name: "Composite",
1372
- className: "ClusterEnvironmentEntity",
1373
- modelProperties: {
1374
- id: {
1375
- serializedName: "id",
1376
- type: {
1377
- name: "String",
1378
- },
1379
- },
1380
- environment: {
1381
- serializedName: "environment",
1382
- type: {
1383
- name: "String",
1384
- },
1385
- },
1386
- related: {
1387
- serializedName: "related",
1388
- type: {
1389
- name: "String",
1390
- },
1391
- },
1392
- resourceName: {
1393
- serializedName: "resource_name",
1394
- type: {
1395
- name: "String",
1396
- },
1397
- },
1398
- },
1399
- },
1400
- };
1401
- const ClusterNetworkEntity = {
1402
- type: {
1403
- name: "Composite",
1404
- className: "ClusterNetworkEntity",
1405
- modelProperties: {
1406
- id: {
1407
- serializedName: "id",
1408
- type: {
1409
- name: "String",
1410
- },
1411
- },
1412
- environment: {
1413
- serializedName: "environment",
1414
- type: {
1415
- name: "String",
1416
- },
1417
- },
1418
- related: {
1419
- serializedName: "related",
1420
- type: {
1421
- name: "String",
1422
- },
1423
- },
1424
- resourceName: {
1425
- serializedName: "resource_name",
1426
- type: {
1427
- name: "String",
1428
- },
1429
- },
1430
- },
1431
- },
1432
- };
1433
- const ClusterByokEntity = {
1434
- type: {
1435
- name: "Composite",
1436
- className: "ClusterByokEntity",
1437
- modelProperties: {
1438
- id: {
1439
- serializedName: "id",
1440
- type: {
1441
- name: "String",
1442
- },
1443
- },
1444
- related: {
1445
- serializedName: "related",
1446
- type: {
1447
- name: "String",
1448
- },
1449
- },
1450
- resourceName: {
1451
- serializedName: "resource_name",
1452
- type: {
1453
- name: "String",
1454
- },
1455
- },
1456
- },
1457
- },
1458
- };
1459
- const ClusterStatusEntity = {
1460
- type: {
1461
- name: "Composite",
1462
- className: "ClusterStatusEntity",
1463
- modelProperties: {
1464
- phase: {
1465
- serializedName: "phase",
1466
- type: {
1467
- name: "String",
1468
- },
1469
- },
1470
- cku: {
1471
- serializedName: "cku",
1472
- type: {
1473
- name: "Number",
1474
- },
1475
- },
1476
- },
1477
- },
1478
- };
1479
- const AccessListRoleBindingsSuccessResponse = {
1480
- type: {
1481
- name: "Composite",
1482
- className: "AccessListRoleBindingsSuccessResponse",
1483
- modelProperties: {
1484
- kind: {
1485
- serializedName: "kind",
1486
- type: {
1487
- name: "String",
1488
- },
1489
- },
1490
- metadata: {
1491
- serializedName: "metadata",
1492
- type: {
1493
- name: "Composite",
1494
- className: "ConfluentListMetadata",
1495
- },
1496
- },
1497
- data: {
1498
- serializedName: "data",
1499
- type: {
1500
- name: "Sequence",
1501
- element: {
1502
- type: {
1503
- name: "Composite",
1504
- className: "RoleBindingRecord",
1505
- },
1506
- },
1507
- },
1508
- },
1509
- },
1510
- },
1511
- };
1512
- const RoleBindingRecord = {
1513
- type: {
1514
- name: "Composite",
1515
- className: "RoleBindingRecord",
1516
- modelProperties: {
1517
- kind: {
1518
- serializedName: "kind",
1519
- type: {
1520
- name: "String",
1521
- },
1522
- },
1523
- id: {
1524
- serializedName: "id",
1525
- type: {
1526
- name: "String",
1527
- },
1528
- },
1529
- metadata: {
1530
- serializedName: "metadata",
1531
- type: {
1532
- name: "Composite",
1533
- className: "MetadataEntity",
1534
- },
1535
- },
1536
- principal: {
1537
- serializedName: "principal",
1538
- type: {
1539
- name: "String",
1540
- },
1541
- },
1542
- roleName: {
1543
- serializedName: "role_name",
1544
- type: {
1545
- name: "String",
1546
- },
1547
- },
1548
- crnPattern: {
1549
- serializedName: "crn_pattern",
1550
- type: {
1551
- name: "String",
1552
- },
1553
- },
1554
- },
1555
- },
1556
- };
1557
- const AccessCreateRoleBindingRequestModel = {
1558
- type: {
1559
- name: "Composite",
1560
- className: "AccessCreateRoleBindingRequestModel",
1561
- modelProperties: {
1562
- principal: {
1563
- serializedName: "principal",
1564
- type: {
1565
- name: "String",
1566
- },
1567
- },
1568
- roleName: {
1569
- serializedName: "role_name",
1570
- type: {
1571
- name: "String",
1572
- },
1573
- },
1574
- crnPattern: {
1575
- serializedName: "crn_pattern",
1576
- type: {
1577
- name: "String",
1578
- },
1579
- },
1580
- },
1581
- },
1582
- };
1583
- const AccessRoleBindingNameListSuccessResponse = {
1584
- type: {
1585
- name: "Composite",
1586
- className: "AccessRoleBindingNameListSuccessResponse",
1587
- modelProperties: {
1588
- kind: {
1589
- serializedName: "kind",
1590
- type: {
1591
- name: "String",
1592
- },
1593
- },
1594
- metadata: {
1595
- serializedName: "metadata",
1596
- type: {
1597
- name: "Composite",
1598
- className: "ConfluentListMetadata",
1599
- },
1600
- },
1601
- data: {
1602
- serializedName: "data",
1603
- type: {
1604
- name: "Sequence",
1605
- element: {
1606
- type: {
1607
- name: "String",
1608
- },
1609
- },
1610
- },
1611
- },
1612
- },
1613
- },
1614
- };
1615
- const GetEnvironmentsResponse = {
1616
- type: {
1617
- name: "Composite",
1618
- className: "GetEnvironmentsResponse",
1619
- modelProperties: {
1620
- value: {
1621
- serializedName: "value",
1622
- type: {
1623
- name: "Sequence",
1624
- element: {
1625
- type: {
1626
- name: "Composite",
1627
- className: "SCEnvironmentRecord",
1628
- },
1629
- },
1630
- },
1631
- },
1632
- nextLink: {
1633
- serializedName: "nextLink",
1634
- type: {
1635
- name: "String",
1636
- },
1637
- },
1638
- },
1639
- },
1640
- };
1641
- const SCEnvironmentRecord = {
1642
- type: {
1643
- name: "Composite",
1644
- className: "SCEnvironmentRecord",
1645
- modelProperties: {
1646
- kind: {
1647
- serializedName: "kind",
1648
- type: {
1649
- name: "String",
1650
- },
1651
- },
1652
- id: {
1653
- serializedName: "id",
1654
- type: {
1655
- name: "String",
1656
- },
1657
- },
1658
- name: {
1659
- serializedName: "name",
1660
- type: {
1661
- name: "String",
1662
- },
1663
- },
1664
- metadata: {
1665
- serializedName: "properties.metadata",
1666
- type: {
1667
- name: "Composite",
1668
- className: "SCMetadataEntity",
1669
- },
1670
- },
1671
- },
1672
- },
1673
- };
1674
- const SCMetadataEntity = {
1675
- type: {
1676
- name: "Composite",
1677
- className: "SCMetadataEntity",
1678
- modelProperties: {
1679
- self: {
1680
- serializedName: "self",
1681
- type: {
1682
- name: "String",
1683
- },
1684
- },
1685
- resourceName: {
1686
- serializedName: "resourceName",
1687
- type: {
1688
- name: "String",
1689
- },
1690
- },
1691
- createdTimestamp: {
1692
- serializedName: "createdTimestamp",
1693
- type: {
1694
- name: "String",
1695
- },
1696
- },
1697
- updatedTimestamp: {
1698
- serializedName: "updatedTimestamp",
1699
- type: {
1700
- name: "String",
1701
- },
1702
- },
1703
- deletedTimestamp: {
1704
- serializedName: "deletedTimestamp",
1705
- type: {
1706
- name: "String",
1707
- },
1708
- },
1709
- },
1710
- },
1711
- };
1712
- const ListClustersSuccessResponse = {
1713
- type: {
1714
- name: "Composite",
1715
- className: "ListClustersSuccessResponse",
1716
- modelProperties: {
1717
- value: {
1718
- serializedName: "value",
1719
- type: {
1720
- name: "Sequence",
1721
- element: {
1722
- type: {
1723
- name: "Composite",
1724
- className: "SCClusterRecord",
1725
- },
1726
- },
1727
- },
1728
- },
1729
- nextLink: {
1730
- serializedName: "nextLink",
1731
- type: {
1732
- name: "String",
1733
- },
1734
- },
1735
- },
1736
- },
1737
- };
1738
- const SCClusterRecord = {
1739
- type: {
1740
- name: "Composite",
1741
- className: "SCClusterRecord",
1742
- modelProperties: {
1743
- kind: {
1744
- serializedName: "kind",
1745
- type: {
1746
- name: "String",
1747
- },
1748
- },
1749
- id: {
1750
- serializedName: "id",
1751
- type: {
1752
- name: "String",
1753
- },
1754
- },
1755
- name: {
1756
- serializedName: "name",
1757
- type: {
1758
- name: "String",
1759
- },
1760
- },
1761
- metadata: {
1762
- serializedName: "properties.metadata",
1763
- type: {
1764
- name: "Composite",
1765
- className: "SCMetadataEntity",
1766
- },
1767
- },
1768
- spec: {
1769
- serializedName: "properties.spec",
1770
- type: {
1771
- name: "Composite",
1772
- className: "SCClusterSpecEntity",
1773
- },
1774
- },
1775
- status: {
1776
- serializedName: "properties.status",
1777
- type: {
1778
- name: "Composite",
1779
- className: "ClusterStatusEntity",
1780
- },
1781
- },
1782
- },
1783
- },
1784
- };
1785
- const SCClusterSpecEntity = {
1786
- type: {
1787
- name: "Composite",
1788
- className: "SCClusterSpecEntity",
1789
- modelProperties: {
1790
- name: {
1791
- serializedName: "name",
1792
- type: {
1793
- name: "String",
1794
- },
1795
- },
1796
- availability: {
1797
- serializedName: "availability",
1798
- type: {
1799
- name: "String",
1800
- },
1801
- },
1802
- cloud: {
1803
- serializedName: "cloud",
1804
- type: {
1805
- name: "String",
1806
- },
1807
- },
1808
- zone: {
1809
- serializedName: "zone",
1810
- type: {
1811
- name: "String",
1812
- },
1813
- },
1814
- region: {
1815
- serializedName: "region",
1816
- type: {
1817
- name: "String",
1818
- },
1819
- },
1820
- kafkaBootstrapEndpoint: {
1821
- serializedName: "kafkaBootstrapEndpoint",
1822
- type: {
1823
- name: "String",
1824
- },
1825
- },
1826
- httpEndpoint: {
1827
- serializedName: "httpEndpoint",
1828
- type: {
1829
- name: "String",
1830
- },
1831
- },
1832
- apiEndpoint: {
1833
- serializedName: "apiEndpoint",
1834
- type: {
1835
- name: "String",
1836
- },
1837
- },
1838
- config: {
1839
- serializedName: "config",
1840
- type: {
1841
- name: "Composite",
1842
- className: "ClusterConfigEntity",
1843
- },
1844
- },
1845
- environment: {
1846
- serializedName: "environment",
1847
- type: {
1848
- name: "Composite",
1849
- className: "SCClusterNetworkEnvironmentEntity",
1850
- },
1851
- },
1852
- network: {
1853
- serializedName: "network",
1854
- type: {
1855
- name: "Composite",
1856
- className: "SCClusterNetworkEnvironmentEntity",
1857
- },
1858
- },
1859
- byok: {
1860
- serializedName: "byok",
1861
- type: {
1862
- name: "Composite",
1863
- className: "SCClusterByokEntity",
1864
- },
1865
- },
1866
- },
1867
- },
1868
- };
1869
- const SCClusterNetworkEnvironmentEntity = {
1870
- type: {
1871
- name: "Composite",
1872
- className: "SCClusterNetworkEnvironmentEntity",
1873
- modelProperties: {
1874
- id: {
1875
- serializedName: "id",
1876
- type: {
1877
- name: "String",
1878
- },
1879
- },
1880
- environment: {
1881
- serializedName: "environment",
1882
- type: {
1883
- name: "String",
1884
- },
1885
- },
1886
- related: {
1887
- serializedName: "related",
1888
- type: {
1889
- name: "String",
1890
- },
1891
- },
1892
- resourceName: {
1893
- serializedName: "resourceName",
1894
- type: {
1895
- name: "String",
1896
- },
1897
- },
1898
- },
1899
- },
1900
- };
1901
- const SCClusterByokEntity = {
1902
- type: {
1903
- name: "Composite",
1904
- className: "SCClusterByokEntity",
1905
- modelProperties: {
1906
- id: {
1907
- serializedName: "id",
1908
- type: {
1909
- name: "String",
1910
- },
1911
- },
1912
- related: {
1913
- serializedName: "related",
1914
- type: {
1915
- name: "String",
1916
- },
1917
- },
1918
- resourceName: {
1919
- serializedName: "resourceName",
1920
- type: {
1921
- name: "String",
1922
- },
1923
- },
1924
- },
1925
- },
1926
- };
1927
- const ListSchemaRegistryClustersResponse = {
1928
- type: {
1929
- name: "Composite",
1930
- className: "ListSchemaRegistryClustersResponse",
1931
- modelProperties: {
1932
- value: {
1933
- serializedName: "value",
1934
- type: {
1935
- name: "Sequence",
1936
- element: {
1937
- type: {
1938
- name: "Composite",
1939
- className: "SchemaRegistryClusterRecord",
1940
- },
1941
- },
1942
- },
1943
- },
1944
- nextLink: {
1945
- serializedName: "nextLink",
1946
- type: {
1947
- name: "String",
1948
- },
1949
- },
1950
- },
1951
- },
1952
- };
1953
- const SchemaRegistryClusterRecord = {
1954
- type: {
1955
- name: "Composite",
1956
- className: "SchemaRegistryClusterRecord",
1957
- modelProperties: {
1958
- kind: {
1959
- serializedName: "kind",
1960
- type: {
1961
- name: "String",
1962
- },
1963
- },
1964
- id: {
1965
- serializedName: "id",
1966
- type: {
1967
- name: "String",
1968
- },
1969
- },
1970
- metadata: {
1971
- serializedName: "properties.metadata",
1972
- type: {
1973
- name: "Composite",
1974
- className: "SCMetadataEntity",
1975
- },
1976
- },
1977
- spec: {
1978
- serializedName: "properties.spec",
1979
- type: {
1980
- name: "Composite",
1981
- className: "SchemaRegistryClusterSpecEntity",
1982
- },
1983
- },
1984
- status: {
1985
- serializedName: "properties.status",
1986
- type: {
1987
- name: "Composite",
1988
- className: "SchemaRegistryClusterStatusEntity",
1989
- },
1990
- },
1991
- },
1992
- },
1993
- };
1994
- const SchemaRegistryClusterSpecEntity = {
1995
- type: {
1996
- name: "Composite",
1997
- className: "SchemaRegistryClusterSpecEntity",
1998
- modelProperties: {
1999
- name: {
2000
- serializedName: "name",
2001
- type: {
2002
- name: "String",
2003
- },
2004
- },
2005
- httpEndpoint: {
2006
- serializedName: "httpEndpoint",
2007
- type: {
2008
- name: "String",
2009
- },
2010
- },
2011
- package: {
2012
- serializedName: "package",
2013
- type: {
2014
- name: "String",
2015
- },
2016
- },
2017
- region: {
2018
- serializedName: "region",
2019
- type: {
2020
- name: "Composite",
2021
- className: "SchemaRegistryClusterEnvironmentRegionEntity",
2022
- },
2023
- },
2024
- environment: {
2025
- serializedName: "environment",
2026
- type: {
2027
- name: "Composite",
2028
- className: "SchemaRegistryClusterEnvironmentRegionEntity",
2029
- },
2030
- },
2031
- cloud: {
2032
- serializedName: "cloud",
2033
- type: {
2034
- name: "String",
2035
- },
2036
- },
2037
- },
2038
- },
2039
- };
2040
- const SchemaRegistryClusterEnvironmentRegionEntity = {
2041
- type: {
2042
- name: "Composite",
2043
- className: "SchemaRegistryClusterEnvironmentRegionEntity",
2044
- modelProperties: {
2045
- id: {
2046
- serializedName: "id",
2047
- type: {
2048
- name: "String",
2049
- },
2050
- },
2051
- related: {
2052
- serializedName: "related",
2053
- type: {
2054
- name: "String",
2055
- },
2056
- },
2057
- resourceName: {
2058
- serializedName: "resourceName",
2059
- type: {
2060
- name: "String",
2061
- },
2062
- },
2063
- },
2064
- },
2065
- };
2066
- const SchemaRegistryClusterStatusEntity = {
2067
- type: {
2068
- name: "Composite",
2069
- className: "SchemaRegistryClusterStatusEntity",
2070
- modelProperties: {
2071
- phase: {
2072
- serializedName: "phase",
2073
- type: {
2074
- name: "String",
2075
- },
2076
- },
2077
- },
2078
- },
2079
- };
2080
- const ListRegionsSuccessResponse = {
2081
- type: {
2082
- name: "Composite",
2083
- className: "ListRegionsSuccessResponse",
2084
- modelProperties: {
2085
- data: {
2086
- serializedName: "data",
2087
- type: {
2088
- name: "Sequence",
2089
- element: {
2090
- type: {
2091
- name: "Composite",
2092
- className: "RegionRecord",
2093
- },
2094
- },
2095
- },
2096
- },
2097
- },
2098
- },
2099
- };
2100
- const RegionRecord = {
2101
- type: {
2102
- name: "Composite",
2103
- className: "RegionRecord",
2104
- modelProperties: {
2105
- kind: {
2106
- serializedName: "kind",
2107
- type: {
2108
- name: "String",
2109
- },
2110
- },
2111
- id: {
2112
- serializedName: "id",
2113
- type: {
2114
- name: "String",
2115
- },
2116
- },
2117
- metadata: {
2118
- serializedName: "properties.metadata",
2119
- type: {
2120
- name: "Composite",
2121
- className: "SCMetadataEntity",
2122
- },
2123
- },
2124
- spec: {
2125
- serializedName: "properties.spec",
2126
- type: {
2127
- name: "Composite",
2128
- className: "RegionSpecEntity",
2129
- },
2130
- },
2131
- },
2132
- },
2133
- };
2134
- const RegionSpecEntity = {
2135
- type: {
2136
- name: "Composite",
2137
- className: "RegionSpecEntity",
2138
- modelProperties: {
2139
- name: {
2140
- serializedName: "name",
2141
- type: {
2142
- name: "String",
2143
- },
2144
- },
2145
- cloud: {
2146
- serializedName: "cloud",
2147
- type: {
2148
- name: "String",
2149
- },
2150
- },
2151
- regionName: {
2152
- serializedName: "regionName",
2153
- type: {
2154
- name: "String",
2155
- },
2156
- },
2157
- packages: {
2158
- serializedName: "packages",
2159
- type: {
2160
- name: "Sequence",
2161
- element: {
2162
- type: {
2163
- name: "String",
2164
- },
2165
- },
2166
- },
2167
- },
2168
- },
2169
- },
2170
- };
2171
- const CreateAPIKeyModel = {
2172
- type: {
2173
- name: "Composite",
2174
- className: "CreateAPIKeyModel",
2175
- modelProperties: {
2176
- name: {
2177
- serializedName: "name",
2178
- type: {
2179
- name: "String",
2180
- },
2181
- },
2182
- description: {
2183
- serializedName: "description",
2184
- type: {
2185
- name: "String",
2186
- },
2187
- },
2188
- },
2189
- },
2190
- };
2191
- const APIKeyRecord = {
2192
- type: {
2193
- name: "Composite",
2194
- className: "APIKeyRecord",
2195
- modelProperties: {
2196
- kind: {
2197
- serializedName: "kind",
2198
- type: {
2199
- name: "String",
2200
- },
2201
- },
2202
- id: {
2203
- serializedName: "id",
2204
- type: {
2205
- name: "String",
2206
- },
2207
- },
2208
- metadata: {
2209
- serializedName: "properties.metadata",
2210
- type: {
2211
- name: "Composite",
2212
- className: "SCMetadataEntity",
2213
- },
2214
- },
2215
- spec: {
2216
- serializedName: "properties.spec",
2217
- type: {
2218
- name: "Composite",
2219
- className: "APIKeySpecEntity",
2220
- },
2221
- },
2222
- },
2223
- },
2224
- };
2225
- const APIKeySpecEntity = {
2226
- type: {
2227
- name: "Composite",
2228
- className: "APIKeySpecEntity",
2229
- modelProperties: {
2230
- description: {
2231
- serializedName: "description",
2232
- type: {
2233
- name: "String",
2234
- },
2235
- },
2236
- name: {
2237
- serializedName: "name",
2238
- type: {
2239
- name: "String",
2240
- },
2241
- },
2242
- secret: {
2243
- serializedName: "secret",
2244
- type: {
2245
- name: "String",
2246
- },
2247
- },
2248
- resource: {
2249
- serializedName: "resource",
2250
- type: {
2251
- name: "Composite",
2252
- className: "APIKeyResourceEntity",
2253
- },
2254
- },
2255
- owner: {
2256
- serializedName: "owner",
2257
- type: {
2258
- name: "Composite",
2259
- className: "APIKeyOwnerEntity",
2260
- },
2261
- },
2262
- },
2263
- },
2264
- };
2265
- const APIKeyResourceEntity = {
2266
- type: {
2267
- name: "Composite",
2268
- className: "APIKeyResourceEntity",
2269
- modelProperties: {
2270
- id: {
2271
- serializedName: "id",
2272
- type: {
2273
- name: "String",
2274
- },
2275
- },
2276
- environment: {
2277
- serializedName: "environment",
2278
- type: {
2279
- name: "String",
2280
- },
2281
- },
2282
- related: {
2283
- serializedName: "related",
2284
- type: {
2285
- name: "String",
2286
- },
2287
- },
2288
- resourceName: {
2289
- serializedName: "resourceName",
2290
- type: {
2291
- name: "String",
2292
- },
2293
- },
2294
- kind: {
2295
- serializedName: "kind",
2296
- type: {
2297
- name: "String",
2298
- },
2299
- },
2300
- },
2301
- },
2302
- };
2303
- const APIKeyOwnerEntity = {
2304
- type: {
2305
- name: "Composite",
2306
- className: "APIKeyOwnerEntity",
2307
- modelProperties: {
2308
- id: {
2309
- serializedName: "id",
2310
- type: {
2311
- name: "String",
2312
- },
2313
- },
2314
- related: {
2315
- serializedName: "related",
2316
- type: {
2317
- name: "String",
2318
- },
2319
- },
2320
- resourceName: {
2321
- serializedName: "resourceName",
2322
- type: {
2323
- name: "String",
2324
- },
2325
- },
2326
- kind: {
2327
- serializedName: "kind",
2328
- type: {
2329
- name: "String",
2330
- },
2331
- },
2332
- },
2333
- },
2334
- };
2335
- const SCConfluentListMetadata = {
2336
- type: {
2337
- name: "Composite",
2338
- className: "SCConfluentListMetadata",
2339
- modelProperties: {
2340
- first: {
2341
- serializedName: "first",
2342
- type: {
2343
- name: "String",
2344
- },
2345
- },
2346
- last: {
2347
- serializedName: "last",
2348
- type: {
2349
- name: "String",
2350
- },
2351
- },
2352
- prev: {
2353
- serializedName: "prev",
2354
- type: {
2355
- name: "String",
2356
- },
2357
- },
2358
- next: {
2359
- serializedName: "next",
2360
- type: {
2361
- name: "String",
2362
- },
2363
- },
2364
- totalSize: {
2365
- serializedName: "totalSize",
2366
- type: {
2367
- name: "Number",
2368
- },
2369
- },
2370
- },
2371
- },
2372
- };
2373
-
2374
- var Mappers = /*#__PURE__*/Object.freeze({
2375
- __proto__: null,
2376
- APIKeyOwnerEntity: APIKeyOwnerEntity,
2377
- APIKeyRecord: APIKeyRecord,
2378
- APIKeyResourceEntity: APIKeyResourceEntity,
2379
- APIKeySpecEntity: APIKeySpecEntity,
2380
- AccessCreateRoleBindingRequestModel: AccessCreateRoleBindingRequestModel,
2381
- AccessInviteUserAccountModel: AccessInviteUserAccountModel,
2382
- AccessInvitedUserDetails: AccessInvitedUserDetails,
2383
- AccessListClusterSuccessResponse: AccessListClusterSuccessResponse,
2384
- AccessListEnvironmentsSuccessResponse: AccessListEnvironmentsSuccessResponse,
2385
- AccessListInvitationsSuccessResponse: AccessListInvitationsSuccessResponse,
2386
- AccessListRoleBindingsSuccessResponse: AccessListRoleBindingsSuccessResponse,
2387
- AccessListServiceAccountsSuccessResponse: AccessListServiceAccountsSuccessResponse,
2388
- AccessListUsersSuccessResponse: AccessListUsersSuccessResponse,
2389
- AccessRoleBindingNameListSuccessResponse: AccessRoleBindingNameListSuccessResponse,
2390
- ClusterByokEntity: ClusterByokEntity,
2391
- ClusterConfigEntity: ClusterConfigEntity,
2392
- ClusterEnvironmentEntity: ClusterEnvironmentEntity,
2393
- ClusterNetworkEntity: ClusterNetworkEntity,
2394
- ClusterRecord: ClusterRecord,
2395
- ClusterSpecEntity: ClusterSpecEntity,
2396
- ClusterStatusEntity: ClusterStatusEntity,
2397
- ConfluentAgreementResource: ConfluentAgreementResource,
2398
- ConfluentAgreementResourceListResponse: ConfluentAgreementResourceListResponse,
2399
- ConfluentListMetadata: ConfluentListMetadata,
2400
- CreateAPIKeyModel: CreateAPIKeyModel,
2401
- EnvironmentRecord: EnvironmentRecord,
2402
- ErrorResponseBody: ErrorResponseBody,
2403
- GetEnvironmentsResponse: GetEnvironmentsResponse,
2404
- InvitationRecord: InvitationRecord,
2405
- LinkOrganization: LinkOrganization,
2406
- ListAccessRequestModel: ListAccessRequestModel,
2407
- ListClustersSuccessResponse: ListClustersSuccessResponse,
2408
- ListRegionsSuccessResponse: ListRegionsSuccessResponse,
2409
- ListSchemaRegistryClustersResponse: ListSchemaRegistryClustersResponse,
2410
- MetadataEntity: MetadataEntity,
2411
- OfferDetail: OfferDetail,
2412
- OperationDisplay: OperationDisplay,
2413
- OperationListResult: OperationListResult,
2414
- OperationResult: OperationResult,
2415
- OrganizationResource: OrganizationResource,
2416
- OrganizationResourceListResult: OrganizationResourceListResult,
2417
- OrganizationResourceUpdate: OrganizationResourceUpdate,
2418
- RegionRecord: RegionRecord,
2419
- RegionSpecEntity: RegionSpecEntity,
2420
- ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse,
2421
- RoleBindingRecord: RoleBindingRecord,
2422
- SCClusterByokEntity: SCClusterByokEntity,
2423
- SCClusterNetworkEnvironmentEntity: SCClusterNetworkEnvironmentEntity,
2424
- SCClusterRecord: SCClusterRecord,
2425
- SCClusterSpecEntity: SCClusterSpecEntity,
2426
- SCConfluentListMetadata: SCConfluentListMetadata,
2427
- SCEnvironmentRecord: SCEnvironmentRecord,
2428
- SCMetadataEntity: SCMetadataEntity,
2429
- SchemaRegistryClusterEnvironmentRegionEntity: SchemaRegistryClusterEnvironmentRegionEntity,
2430
- SchemaRegistryClusterRecord: SchemaRegistryClusterRecord,
2431
- SchemaRegistryClusterSpecEntity: SchemaRegistryClusterSpecEntity,
2432
- SchemaRegistryClusterStatusEntity: SchemaRegistryClusterStatusEntity,
2433
- ServiceAccountRecord: ServiceAccountRecord,
2434
- SystemData: SystemData,
2435
- UserDetail: UserDetail,
2436
- UserRecord: UserRecord,
2437
- ValidationResponse: ValidationResponse
2438
- });
2439
-
2440
- /*
2441
- * Copyright (c) Microsoft Corporation.
2442
- * Licensed under the MIT License.
2443
- *
2444
- * Code generated by Microsoft (R) AutoRest Code Generator.
2445
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2446
- */
2447
- const accept = {
2448
- parameterPath: "accept",
2449
- mapper: {
2450
- defaultValue: "application/json",
2451
- isConstant: true,
2452
- serializedName: "Accept",
2453
- type: {
2454
- name: "String",
2455
- },
2456
- },
2457
- };
2458
- const $host = {
2459
- parameterPath: "$host",
2460
- mapper: {
2461
- serializedName: "$host",
2462
- required: true,
2463
- type: {
2464
- name: "String",
2465
- },
2466
- },
2467
- skipEncoding: true,
2468
- };
2469
- const apiVersion = {
2470
- parameterPath: "apiVersion",
2471
- mapper: {
2472
- defaultValue: "2024-02-13",
2473
- isConstant: true,
2474
- serializedName: "api-version",
2475
- type: {
2476
- name: "String",
2477
- },
2478
- },
2479
- };
2480
- const subscriptionId = {
2481
- parameterPath: "subscriptionId",
2482
- mapper: {
2483
- serializedName: "subscriptionId",
2484
- required: true,
2485
- type: {
2486
- name: "String",
2487
- },
2488
- },
2489
- };
2490
- const contentType = {
2491
- parameterPath: ["options", "contentType"],
2492
- mapper: {
2493
- defaultValue: "application/json",
2494
- isConstant: true,
2495
- serializedName: "Content-Type",
2496
- type: {
2497
- name: "String",
2498
- },
2499
- },
2500
- };
2501
- const body = {
2502
- parameterPath: ["options", "body"],
2503
- mapper: ConfluentAgreementResource,
2504
- };
2505
- const nextLink = {
2506
- parameterPath: "nextLink",
2507
- mapper: {
2508
- serializedName: "nextLink",
2509
- required: true,
2510
- type: {
2511
- name: "String",
2512
- },
2513
- },
2514
- skipEncoding: true,
2515
- };
2516
- const resourceGroupName = {
2517
- parameterPath: "resourceGroupName",
2518
- mapper: {
2519
- serializedName: "resourceGroupName",
2520
- required: true,
2521
- type: {
2522
- name: "String",
2523
- },
2524
- },
2525
- };
2526
- const organizationName = {
2527
- parameterPath: "organizationName",
2528
- mapper: {
2529
- serializedName: "organizationName",
2530
- required: true,
2531
- type: {
2532
- name: "String",
2533
- },
2534
- },
2535
- };
2536
- const body1 = {
2537
- parameterPath: ["options", "body"],
2538
- mapper: OrganizationResource,
2539
- };
2540
- const body2 = {
2541
- parameterPath: ["options", "body"],
2542
- mapper: OrganizationResourceUpdate,
2543
- };
2544
- const resourceGroupName1 = {
2545
- parameterPath: "resourceGroupName",
2546
- mapper: {
2547
- constraints: {
2548
- MaxLength: 90,
2549
- MinLength: 1,
2550
- },
2551
- serializedName: "resourceGroupName",
2552
- required: true,
2553
- type: {
2554
- name: "String",
2555
- },
2556
- },
2557
- };
2558
- const pageSize = {
2559
- parameterPath: ["options", "pageSize"],
2560
- mapper: {
2561
- serializedName: "pageSize",
2562
- type: {
2563
- name: "Number",
2564
- },
2565
- },
2566
- };
2567
- const pageToken = {
2568
- parameterPath: ["options", "pageToken"],
2569
- mapper: {
2570
- serializedName: "pageToken",
2571
- type: {
2572
- name: "String",
2573
- },
2574
- },
2575
- };
2576
- const environmentId = {
2577
- parameterPath: "environmentId",
2578
- mapper: {
2579
- serializedName: "environmentId",
2580
- required: true,
2581
- type: {
2582
- name: "String",
2583
- },
2584
- },
2585
- };
2586
- const body3 = {
2587
- parameterPath: "body",
2588
- mapper: ListAccessRequestModel,
2589
- };
2590
- const body4 = {
2591
- parameterPath: "body",
2592
- mapper: CreateAPIKeyModel,
2593
- };
2594
- const clusterId = {
2595
- parameterPath: "clusterId",
2596
- mapper: {
2597
- serializedName: "clusterId",
2598
- required: true,
2599
- type: {
2600
- name: "String",
2601
- },
2602
- },
2603
- };
2604
- const apiKeyId = {
2605
- parameterPath: "apiKeyId",
2606
- mapper: {
2607
- serializedName: "apiKeyId",
2608
- required: true,
2609
- type: {
2610
- name: "String",
2611
- },
2612
- },
2613
- };
2614
- const body5 = {
2615
- parameterPath: "body",
2616
- mapper: OrganizationResource,
2617
- };
2618
- const body6 = {
2619
- parameterPath: "body",
2620
- mapper: AccessInviteUserAccountModel,
2621
- };
2622
- const body7 = {
2623
- parameterPath: "body",
2624
- mapper: AccessCreateRoleBindingRequestModel,
2625
- };
2626
- const roleBindingId = {
2627
- parameterPath: "roleBindingId",
2628
- mapper: {
2629
- serializedName: "roleBindingId",
2630
- required: true,
2631
- type: {
2632
- name: "String",
2633
- },
2634
- },
2635
- };
2636
-
2637
- /*
2638
- * Copyright (c) Microsoft Corporation.
2639
- * Licensed under the MIT License.
2640
- *
2641
- * Code generated by Microsoft (R) AutoRest Code Generator.
2642
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2643
- */
2644
- /// <reference lib="esnext.asynciterable" />
2645
- /** Class containing MarketplaceAgreements operations. */
2646
- class MarketplaceAgreementsImpl {
2647
- /**
2648
- * Initialize a new instance of the class MarketplaceAgreements class.
2649
- * @param client Reference to the service client
2650
- */
2651
- constructor(client) {
2652
- this.client = client;
2653
- }
2654
- /**
2655
- * List Confluent marketplace agreements in the subscription.
2656
- * @param options The options parameters.
2657
- */
2658
- list(options) {
2659
- const iter = this.listPagingAll(options);
2660
- return {
2661
- next() {
2662
- return iter.next();
2663
- },
2664
- [Symbol.asyncIterator]() {
2665
- return this;
2666
- },
2667
- byPage: (settings) => {
2668
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
2669
- throw new Error("maxPageSize is not supported by this operation.");
2670
- }
2671
- return this.listPagingPage(options, settings);
2672
- },
2673
- };
2674
- }
2675
- listPagingPage(options, settings) {
2676
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
2677
- let result;
2678
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
2679
- if (!continuationToken) {
2680
- result = yield tslib.__await(this._list(options));
2681
- let page = result.value || [];
2682
- continuationToken = result.nextLink;
2683
- setContinuationToken(page, continuationToken);
2684
- yield yield tslib.__await(page);
2685
- }
2686
- while (continuationToken) {
2687
- result = yield tslib.__await(this._listNext(continuationToken, options));
2688
- continuationToken = result.nextLink;
2689
- let page = result.value || [];
2690
- setContinuationToken(page, continuationToken);
2691
- yield yield tslib.__await(page);
2692
- }
2693
- });
2694
- }
2695
- listPagingAll(options) {
2696
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2697
- var _a, e_1, _b, _c;
2698
- try {
2699
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2700
- _c = _f.value;
2701
- _d = false;
2702
- const page = _c;
2703
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2704
- }
2705
- }
2706
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2707
- finally {
2708
- try {
2709
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2710
- }
2711
- finally { if (e_1) throw e_1.error; }
2712
- }
2713
- });
2714
- }
2715
- /**
2716
- * List Confluent marketplace agreements in the subscription.
2717
- * @param options The options parameters.
2718
- */
2719
- _list(options) {
2720
- return this.client.sendOperationRequest({ options }, listOperationSpec$1);
2721
- }
2722
- /**
2723
- * Create Confluent Marketplace agreement in the subscription.
2724
- * @param options The options parameters.
2725
- */
2726
- create(options) {
2727
- return this.client.sendOperationRequest({ options }, createOperationSpec$1);
2728
- }
2729
- /**
2730
- * ListNext
2731
- * @param nextLink The nextLink from the previous successful call to the List method.
2732
- * @param options The options parameters.
2733
- */
2734
- _listNext(nextLink, options) {
2735
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
2736
- }
2737
- }
2738
- // Operation Specifications
2739
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2740
- const listOperationSpec$1 = {
2741
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements",
2742
- httpMethod: "GET",
2743
- responses: {
2744
- 200: {
2745
- bodyMapper: ConfluentAgreementResourceListResponse,
2746
- },
2747
- default: {
2748
- bodyMapper: ResourceProviderDefaultErrorResponse,
2749
- },
2750
- },
2751
- queryParameters: [apiVersion],
2752
- urlParameters: [$host, subscriptionId],
2753
- headerParameters: [accept],
2754
- serializer: serializer$4,
2755
- };
2756
- const createOperationSpec$1 = {
2757
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default",
2758
- httpMethod: "PUT",
2759
- responses: {
2760
- 200: {
2761
- bodyMapper: ConfluentAgreementResource,
2762
- },
2763
- default: {
2764
- bodyMapper: ResourceProviderDefaultErrorResponse,
2765
- },
2766
- },
2767
- requestBody: body,
2768
- queryParameters: [apiVersion],
2769
- urlParameters: [$host, subscriptionId],
2770
- headerParameters: [accept, contentType],
2771
- mediaType: "json",
2772
- serializer: serializer$4,
2773
- };
2774
- const listNextOperationSpec$1 = {
2775
- path: "{nextLink}",
2776
- httpMethod: "GET",
2777
- responses: {
2778
- 200: {
2779
- bodyMapper: ConfluentAgreementResourceListResponse,
2780
- },
2781
- default: {
2782
- bodyMapper: ResourceProviderDefaultErrorResponse,
2783
- },
2784
- },
2785
- urlParameters: [
2786
- $host,
2787
- subscriptionId,
2788
- nextLink,
2789
- ],
2790
- headerParameters: [accept],
2791
- serializer: serializer$4,
2792
- };
2793
-
2794
- /*
2795
- * Copyright (c) Microsoft Corporation.
2796
- * Licensed under the MIT License.
2797
- *
2798
- * Code generated by Microsoft (R) AutoRest Code Generator.
2799
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2800
- */
2801
- /// <reference lib="esnext.asynciterable" />
2802
- /** Class containing OrganizationOperations operations. */
2803
- class OrganizationOperationsImpl {
2804
- /**
2805
- * Initialize a new instance of the class OrganizationOperations class.
2806
- * @param client Reference to the service client
2807
- */
2808
- constructor(client) {
2809
- this.client = client;
2810
- }
2811
- /**
2812
- * List all operations provided by Microsoft.Confluent.
2813
- * @param options The options parameters.
2814
- */
2815
- list(options) {
2816
- const iter = this.listPagingAll(options);
2817
- return {
2818
- next() {
2819
- return iter.next();
2820
- },
2821
- [Symbol.asyncIterator]() {
2822
- return this;
2823
- },
2824
- byPage: (settings) => {
2825
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
2826
- throw new Error("maxPageSize is not supported by this operation.");
2827
- }
2828
- return this.listPagingPage(options, settings);
2829
- },
2830
- };
2831
- }
2832
- listPagingPage(options, settings) {
2833
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
2834
- let result;
2835
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
2836
- if (!continuationToken) {
2837
- result = yield tslib.__await(this._list(options));
2838
- let page = result.value || [];
2839
- continuationToken = result.nextLink;
2840
- setContinuationToken(page, continuationToken);
2841
- yield yield tslib.__await(page);
2842
- }
2843
- while (continuationToken) {
2844
- result = yield tslib.__await(this._listNext(continuationToken, options));
2845
- continuationToken = result.nextLink;
2846
- let page = result.value || [];
2847
- setContinuationToken(page, continuationToken);
2848
- yield yield tslib.__await(page);
2849
- }
2850
- });
2851
- }
2852
- listPagingAll(options) {
2853
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2854
- var _a, e_1, _b, _c;
2855
- try {
2856
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2857
- _c = _f.value;
2858
- _d = false;
2859
- const page = _c;
2860
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2861
- }
2862
- }
2863
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2864
- finally {
2865
- try {
2866
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2867
- }
2868
- finally { if (e_1) throw e_1.error; }
2869
- }
2870
- });
2871
- }
2872
- /**
2873
- * List all operations provided by Microsoft.Confluent.
2874
- * @param options The options parameters.
2875
- */
2876
- _list(options) {
2877
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2878
- }
2879
- /**
2880
- * ListNext
2881
- * @param nextLink The nextLink from the previous successful call to the List method.
2882
- * @param options The options parameters.
2883
- */
2884
- _listNext(nextLink, options) {
2885
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
2886
- }
2887
- }
2888
- // Operation Specifications
2889
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2890
- const listOperationSpec = {
2891
- path: "/providers/Microsoft.Confluent/operations",
2892
- httpMethod: "GET",
2893
- responses: {
2894
- 200: {
2895
- bodyMapper: OperationListResult,
2896
- },
2897
- default: {
2898
- bodyMapper: ResourceProviderDefaultErrorResponse,
2899
- },
2900
- },
2901
- queryParameters: [apiVersion],
2902
- urlParameters: [$host],
2903
- headerParameters: [accept],
2904
- serializer: serializer$3,
2905
- };
2906
- const listNextOperationSpec = {
2907
- path: "{nextLink}",
2908
- httpMethod: "GET",
2909
- responses: {
2910
- 200: {
2911
- bodyMapper: OperationListResult,
2912
- },
2913
- default: {
2914
- bodyMapper: ResourceProviderDefaultErrorResponse,
2915
- },
2916
- },
2917
- urlParameters: [$host, nextLink],
2918
- headerParameters: [accept],
2919
- serializer: serializer$3,
2920
- };
2921
-
2922
- /*
2923
- * Copyright (c) Microsoft Corporation.
2924
- * Licensed under the MIT License.
2925
- *
2926
- * Code generated by Microsoft (R) AutoRest Code Generator.
2927
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2928
- */
2929
- function createLroSpec(inputs) {
2930
- const { args, spec, sendOperationFn } = inputs;
2931
- return {
2932
- requestMethod: spec.httpMethod,
2933
- requestPath: spec.path,
2934
- sendInitialRequest: () => sendOperationFn(args, spec),
2935
- sendPollRequest: (path, options) => {
2936
- const restSpec = tslib.__rest(spec, ["requestBody"]);
2937
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === undefined ? undefined : options.abortSignal }));
2938
- },
2939
- };
2940
- }
2941
-
2942
- /*
2943
- * Copyright (c) Microsoft Corporation.
2944
- * Licensed under the MIT License.
2945
- *
2946
- * Code generated by Microsoft (R) AutoRest Code Generator.
2947
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2948
- */
2949
- /// <reference lib="esnext.asynciterable" />
2950
- /** Class containing Organization operations. */
2951
- class OrganizationImpl {
2952
- /**
2953
- * Initialize a new instance of the class Organization class.
2954
- * @param client Reference to the service client
2955
- */
2956
- constructor(client) {
2957
- this.client = client;
2958
- }
2959
- /**
2960
- * List all organizations under the specified subscription.
2961
- * @param options The options parameters.
2962
- */
2963
- listBySubscription(options) {
2964
- const iter = this.listBySubscriptionPagingAll(options);
2965
- return {
2966
- next() {
2967
- return iter.next();
2968
- },
2969
- [Symbol.asyncIterator]() {
2970
- return this;
2971
- },
2972
- byPage: (settings) => {
2973
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
2974
- throw new Error("maxPageSize is not supported by this operation.");
2975
- }
2976
- return this.listBySubscriptionPagingPage(options, settings);
2977
- },
2978
- };
2979
- }
2980
- listBySubscriptionPagingPage(options, settings) {
2981
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
2982
- let result;
2983
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
2984
- if (!continuationToken) {
2985
- result = yield tslib.__await(this._listBySubscription(options));
2986
- let page = result.value || [];
2987
- continuationToken = result.nextLink;
2988
- setContinuationToken(page, continuationToken);
2989
- yield yield tslib.__await(page);
2990
- }
2991
- while (continuationToken) {
2992
- result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
2993
- continuationToken = result.nextLink;
2994
- let page = result.value || [];
2995
- setContinuationToken(page, continuationToken);
2996
- yield yield tslib.__await(page);
2997
- }
2998
- });
2999
- }
3000
- listBySubscriptionPagingAll(options) {
3001
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
3002
- var _a, e_1, _b, _c;
3003
- try {
3004
- for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3005
- _c = _f.value;
3006
- _d = false;
3007
- const page = _c;
3008
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3009
- }
3010
- }
3011
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3012
- finally {
3013
- try {
3014
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3015
- }
3016
- finally { if (e_1) throw e_1.error; }
3017
- }
3018
- });
3019
- }
3020
- /**
3021
- * List all Organizations under the specified resource group.
3022
- * @param resourceGroupName Resource group name
3023
- * @param options The options parameters.
3024
- */
3025
- listByResourceGroup(resourceGroupName, options) {
3026
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
3027
- return {
3028
- next() {
3029
- return iter.next();
3030
- },
3031
- [Symbol.asyncIterator]() {
3032
- return this;
3033
- },
3034
- byPage: (settings) => {
3035
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
3036
- throw new Error("maxPageSize is not supported by this operation.");
3037
- }
3038
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
3039
- },
3040
- };
3041
- }
3042
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
3043
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
3044
- let result;
3045
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
3046
- if (!continuationToken) {
3047
- result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
3048
- let page = result.value || [];
3049
- continuationToken = result.nextLink;
3050
- setContinuationToken(page, continuationToken);
3051
- yield yield tslib.__await(page);
3052
- }
3053
- while (continuationToken) {
3054
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
3055
- continuationToken = result.nextLink;
3056
- let page = result.value || [];
3057
- setContinuationToken(page, continuationToken);
3058
- yield yield tslib.__await(page);
3059
- }
3060
- });
3061
- }
3062
- listByResourceGroupPagingAll(resourceGroupName, options) {
3063
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
3064
- var _a, e_2, _b, _c;
3065
- try {
3066
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3067
- _c = _f.value;
3068
- _d = false;
3069
- const page = _c;
3070
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3071
- }
3072
- }
3073
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
3074
- finally {
3075
- try {
3076
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3077
- }
3078
- finally { if (e_2) throw e_2.error; }
3079
- }
3080
- });
3081
- }
3082
- /**
3083
- * Lists of all the environments in a organization
3084
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3085
- * @param organizationName Organization resource name
3086
- * @param options The options parameters.
3087
- */
3088
- listEnvironments(resourceGroupName, organizationName, options) {
3089
- const iter = this.listEnvironmentsPagingAll(resourceGroupName, organizationName, options);
3090
- return {
3091
- next() {
3092
- return iter.next();
3093
- },
3094
- [Symbol.asyncIterator]() {
3095
- return this;
3096
- },
3097
- byPage: (settings) => {
3098
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
3099
- throw new Error("maxPageSize is not supported by this operation.");
3100
- }
3101
- return this.listEnvironmentsPagingPage(resourceGroupName, organizationName, options, settings);
3102
- },
3103
- };
3104
- }
3105
- listEnvironmentsPagingPage(resourceGroupName, organizationName, options, settings) {
3106
- return tslib.__asyncGenerator(this, arguments, function* listEnvironmentsPagingPage_1() {
3107
- let result;
3108
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
3109
- if (!continuationToken) {
3110
- result = yield tslib.__await(this._listEnvironments(resourceGroupName, organizationName, options));
3111
- let page = result.value || [];
3112
- continuationToken = result.nextLink;
3113
- setContinuationToken(page, continuationToken);
3114
- yield yield tslib.__await(page);
3115
- }
3116
- while (continuationToken) {
3117
- result = yield tslib.__await(this._listEnvironmentsNext(resourceGroupName, organizationName, continuationToken, options));
3118
- continuationToken = result.nextLink;
3119
- let page = result.value || [];
3120
- setContinuationToken(page, continuationToken);
3121
- yield yield tslib.__await(page);
3122
- }
3123
- });
3124
- }
3125
- listEnvironmentsPagingAll(resourceGroupName, organizationName, options) {
3126
- return tslib.__asyncGenerator(this, arguments, function* listEnvironmentsPagingAll_1() {
3127
- var _a, e_3, _b, _c;
3128
- try {
3129
- for (var _d = true, _e = tslib.__asyncValues(this.listEnvironmentsPagingPage(resourceGroupName, organizationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3130
- _c = _f.value;
3131
- _d = false;
3132
- const page = _c;
3133
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3134
- }
3135
- }
3136
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
3137
- finally {
3138
- try {
3139
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3140
- }
3141
- finally { if (e_3) throw e_3.error; }
3142
- }
3143
- });
3144
- }
3145
- /**
3146
- * Lists of all the clusters in a environment
3147
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3148
- * @param organizationName Organization resource name
3149
- * @param environmentId Confluent environment id
3150
- * @param options The options parameters.
3151
- */
3152
- listClusters(resourceGroupName, organizationName, environmentId, options) {
3153
- const iter = this.listClustersPagingAll(resourceGroupName, organizationName, environmentId, options);
3154
- return {
3155
- next() {
3156
- return iter.next();
3157
- },
3158
- [Symbol.asyncIterator]() {
3159
- return this;
3160
- },
3161
- byPage: (settings) => {
3162
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
3163
- throw new Error("maxPageSize is not supported by this operation.");
3164
- }
3165
- return this.listClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings);
3166
- },
3167
- };
3168
- }
3169
- listClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings) {
3170
- return tslib.__asyncGenerator(this, arguments, function* listClustersPagingPage_1() {
3171
- let result;
3172
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
3173
- if (!continuationToken) {
3174
- result = yield tslib.__await(this._listClusters(resourceGroupName, organizationName, environmentId, options));
3175
- let page = result.value || [];
3176
- continuationToken = result.nextLink;
3177
- setContinuationToken(page, continuationToken);
3178
- yield yield tslib.__await(page);
3179
- }
3180
- while (continuationToken) {
3181
- result = yield tslib.__await(this._listClustersNext(resourceGroupName, organizationName, environmentId, continuationToken, options));
3182
- continuationToken = result.nextLink;
3183
- let page = result.value || [];
3184
- setContinuationToken(page, continuationToken);
3185
- yield yield tslib.__await(page);
3186
- }
3187
- });
3188
- }
3189
- listClustersPagingAll(resourceGroupName, organizationName, environmentId, options) {
3190
- return tslib.__asyncGenerator(this, arguments, function* listClustersPagingAll_1() {
3191
- var _a, e_4, _b, _c;
3192
- try {
3193
- for (var _d = true, _e = tslib.__asyncValues(this.listClustersPagingPage(resourceGroupName, organizationName, environmentId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3194
- _c = _f.value;
3195
- _d = false;
3196
- const page = _c;
3197
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3198
- }
3199
- }
3200
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
3201
- finally {
3202
- try {
3203
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3204
- }
3205
- finally { if (e_4) throw e_4.error; }
3206
- }
3207
- });
3208
- }
3209
- /**
3210
- * Get schema registry clusters
3211
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3212
- * @param organizationName Organization resource name
3213
- * @param environmentId Confluent environment id
3214
- * @param options The options parameters.
3215
- */
3216
- listSchemaRegistryClusters(resourceGroupName, organizationName, environmentId, options) {
3217
- const iter = this.listSchemaRegistryClustersPagingAll(resourceGroupName, organizationName, environmentId, options);
3218
- return {
3219
- next() {
3220
- return iter.next();
3221
- },
3222
- [Symbol.asyncIterator]() {
3223
- return this;
3224
- },
3225
- byPage: (settings) => {
3226
- if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
3227
- throw new Error("maxPageSize is not supported by this operation.");
3228
- }
3229
- return this.listSchemaRegistryClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings);
3230
- },
3231
- };
3232
- }
3233
- listSchemaRegistryClustersPagingPage(resourceGroupName, organizationName, environmentId, options, settings) {
3234
- return tslib.__asyncGenerator(this, arguments, function* listSchemaRegistryClustersPagingPage_1() {
3235
- let result;
3236
- let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
3237
- if (!continuationToken) {
3238
- result = yield tslib.__await(this._listSchemaRegistryClusters(resourceGroupName, organizationName, environmentId, options));
3239
- let page = result.value || [];
3240
- continuationToken = result.nextLink;
3241
- setContinuationToken(page, continuationToken);
3242
- yield yield tslib.__await(page);
3243
- }
3244
- while (continuationToken) {
3245
- result = yield tslib.__await(this._listSchemaRegistryClustersNext(resourceGroupName, organizationName, environmentId, continuationToken, options));
3246
- continuationToken = result.nextLink;
3247
- let page = result.value || [];
3248
- setContinuationToken(page, continuationToken);
3249
- yield yield tslib.__await(page);
3250
- }
3251
- });
3252
- }
3253
- listSchemaRegistryClustersPagingAll(resourceGroupName, organizationName, environmentId, options) {
3254
- return tslib.__asyncGenerator(this, arguments, function* listSchemaRegistryClustersPagingAll_1() {
3255
- var _a, e_5, _b, _c;
3256
- try {
3257
- for (var _d = true, _e = tslib.__asyncValues(this.listSchemaRegistryClustersPagingPage(resourceGroupName, organizationName, environmentId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3258
- _c = _f.value;
3259
- _d = false;
3260
- const page = _c;
3261
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3262
- }
3263
- }
3264
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
3265
- finally {
3266
- try {
3267
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3268
- }
3269
- finally { if (e_5) throw e_5.error; }
3270
- }
3271
- });
3272
- }
3273
- /**
3274
- * List all organizations under the specified subscription.
3275
- * @param options The options parameters.
3276
- */
3277
- _listBySubscription(options) {
3278
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
3279
- }
3280
- /**
3281
- * List all Organizations under the specified resource group.
3282
- * @param resourceGroupName Resource group name
3283
- * @param options The options parameters.
3284
- */
3285
- _listByResourceGroup(resourceGroupName, options) {
3286
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
3287
- }
3288
- /**
3289
- * Get the properties of a specific Organization resource.
3290
- * @param resourceGroupName Resource group name
3291
- * @param organizationName Organization resource name
3292
- * @param options The options parameters.
3293
- */
3294
- get(resourceGroupName, organizationName, options) {
3295
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, getOperationSpec);
3296
- }
3297
- /**
3298
- * Create Organization resource
3299
- * @param resourceGroupName Resource group name
3300
- * @param organizationName Organization resource name
3301
- * @param options The options parameters.
3302
- */
3303
- beginCreate(resourceGroupName, organizationName, options) {
3304
- return tslib.__awaiter(this, undefined, undefined, function* () {
3305
- const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
3306
- return this.client.sendOperationRequest(args, spec);
3307
- });
3308
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
3309
- var _a;
3310
- let currentRawResponse = undefined;
3311
- const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
3312
- const callback = (rawResponse, flatResponse) => {
3313
- currentRawResponse = rawResponse;
3314
- providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
3315
- };
3316
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
3317
- const flatResponse = yield directSendOperation(updatedArgs, spec);
3318
- return {
3319
- flatResponse,
3320
- rawResponse: {
3321
- statusCode: currentRawResponse.status,
3322
- body: currentRawResponse.parsedBody,
3323
- headers: currentRawResponse.headers.toJSON(),
3324
- },
3325
- };
3326
- });
3327
- const lro = createLroSpec({
3328
- sendOperationFn,
3329
- args: { resourceGroupName, organizationName, options },
3330
- spec: createOperationSpec,
3331
- });
3332
- const poller = yield coreLro.createHttpPoller(lro, {
3333
- restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
3334
- intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
3335
- resourceLocationConfig: "azure-async-operation",
3336
- });
3337
- yield poller.poll();
3338
- return poller;
3339
- });
3340
- }
3341
- /**
3342
- * Create Organization resource
3343
- * @param resourceGroupName Resource group name
3344
- * @param organizationName Organization resource name
3345
- * @param options The options parameters.
3346
- */
3347
- beginCreateAndWait(resourceGroupName, organizationName, options) {
3348
- return tslib.__awaiter(this, undefined, undefined, function* () {
3349
- const poller = yield this.beginCreate(resourceGroupName, organizationName, options);
3350
- return poller.pollUntilDone();
3351
- });
3352
- }
3353
- /**
3354
- * Update Organization resource
3355
- * @param resourceGroupName Resource group name
3356
- * @param organizationName Organization resource name
3357
- * @param options The options parameters.
3358
- */
3359
- update(resourceGroupName, organizationName, options) {
3360
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, updateOperationSpec);
3361
- }
3362
- /**
3363
- * Delete Organization resource
3364
- * @param resourceGroupName Resource group name
3365
- * @param organizationName Organization resource name
3366
- * @param options The options parameters.
3367
- */
3368
- beginDelete(resourceGroupName, organizationName, options) {
3369
- return tslib.__awaiter(this, undefined, undefined, function* () {
3370
- const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
3371
- return this.client.sendOperationRequest(args, spec);
3372
- });
3373
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
3374
- var _a;
3375
- let currentRawResponse = undefined;
3376
- const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
3377
- const callback = (rawResponse, flatResponse) => {
3378
- currentRawResponse = rawResponse;
3379
- providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
3380
- };
3381
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
3382
- const flatResponse = yield directSendOperation(updatedArgs, spec);
3383
- return {
3384
- flatResponse,
3385
- rawResponse: {
3386
- statusCode: currentRawResponse.status,
3387
- body: currentRawResponse.parsedBody,
3388
- headers: currentRawResponse.headers.toJSON(),
3389
- },
3390
- };
3391
- });
3392
- const lro = createLroSpec({
3393
- sendOperationFn,
3394
- args: { resourceGroupName, organizationName, options },
3395
- spec: deleteOperationSpec,
3396
- });
3397
- const poller = yield coreLro.createHttpPoller(lro, {
3398
- restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
3399
- intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
3400
- resourceLocationConfig: "location",
3401
- });
3402
- yield poller.poll();
3403
- return poller;
3404
- });
3405
- }
3406
- /**
3407
- * Delete Organization resource
3408
- * @param resourceGroupName Resource group name
3409
- * @param organizationName Organization resource name
3410
- * @param options The options parameters.
3411
- */
3412
- beginDeleteAndWait(resourceGroupName, organizationName, options) {
3413
- return tslib.__awaiter(this, undefined, undefined, function* () {
3414
- const poller = yield this.beginDelete(resourceGroupName, organizationName, options);
3415
- return poller.pollUntilDone();
3416
- });
3417
- }
3418
- /**
3419
- * Lists of all the environments in a organization
3420
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3421
- * @param organizationName Organization resource name
3422
- * @param options The options parameters.
3423
- */
3424
- _listEnvironments(resourceGroupName, organizationName, options) {
3425
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, options }, listEnvironmentsOperationSpec$1);
3426
- }
3427
- /**
3428
- * Get Environment details by environment Id
3429
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3430
- * @param organizationName Organization resource name
3431
- * @param environmentId Confluent environment id
3432
- * @param options The options parameters.
3433
- */
3434
- getEnvironmentById(resourceGroupName, organizationName, environmentId, options) {
3435
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, options }, getEnvironmentByIdOperationSpec);
3436
- }
3437
- /**
3438
- * Lists of all the clusters in a environment
3439
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3440
- * @param organizationName Organization resource name
3441
- * @param environmentId Confluent environment id
3442
- * @param options The options parameters.
3443
- */
3444
- _listClusters(resourceGroupName, organizationName, environmentId, options) {
3445
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, options }, listClustersOperationSpec$1);
3446
- }
3447
- /**
3448
- * Get schema registry clusters
3449
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3450
- * @param organizationName Organization resource name
3451
- * @param environmentId Confluent environment id
3452
- * @param options The options parameters.
3453
- */
3454
- _listSchemaRegistryClusters(resourceGroupName, organizationName, environmentId, options) {
3455
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, options }, listSchemaRegistryClustersOperationSpec);
3456
- }
3457
- /**
3458
- * cloud provider regions available for creating Schema Registry clusters.
3459
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3460
- * @param organizationName Organization resource name
3461
- * @param body List Access Request Model
3462
- * @param options The options parameters.
3463
- */
3464
- listRegions(resourceGroupName, organizationName, body, options) {
3465
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listRegionsOperationSpec);
3466
- }
3467
- /**
3468
- * Creates API key for a schema registry Cluster ID or Kafka Cluster ID under a environment
3469
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3470
- * @param organizationName Organization resource name
3471
- * @param environmentId Confluent environment id
3472
- * @param clusterId Confluent kafka or schema registry cluster id
3473
- * @param body Request payload for get creating API Key for schema registry Cluster ID or Kafka Cluster
3474
- * ID under a environment
3475
- * @param options The options parameters.
3476
- */
3477
- createAPIKey(resourceGroupName, organizationName, environmentId, clusterId, body, options) {
3478
- return this.client.sendOperationRequest({
3479
- resourceGroupName,
3480
- organizationName,
3481
- environmentId,
3482
- clusterId,
3483
- body,
3484
- options,
3485
- }, createAPIKeyOperationSpec);
3486
- }
3487
- /**
3488
- * Deletes API key of a kafka or schema registry cluster
3489
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3490
- * @param organizationName Organization resource name
3491
- * @param apiKeyId Confluent API Key id
3492
- * @param options The options parameters.
3493
- */
3494
- deleteClusterAPIKey(resourceGroupName, organizationName, apiKeyId, options) {
3495
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, apiKeyId, options }, deleteClusterAPIKeyOperationSpec);
3496
- }
3497
- /**
3498
- * Get API key details of a kafka or schema registry cluster
3499
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3500
- * @param organizationName Organization resource name
3501
- * @param apiKeyId Confluent API Key id
3502
- * @param options The options parameters.
3503
- */
3504
- getClusterAPIKey(resourceGroupName, organizationName, apiKeyId, options) {
3505
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, apiKeyId, options }, getClusterAPIKeyOperationSpec);
3506
- }
3507
- /**
3508
- * Get schema registry cluster by Id
3509
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3510
- * @param organizationName Organization resource name
3511
- * @param environmentId Confluent environment id
3512
- * @param clusterId Confluent kafka or schema registry cluster id
3513
- * @param options The options parameters.
3514
- */
3515
- getSchemaRegistryClusterById(resourceGroupName, organizationName, environmentId, clusterId, options) {
3516
- return this.client.sendOperationRequest({
3517
- resourceGroupName,
3518
- organizationName,
3519
- environmentId,
3520
- clusterId,
3521
- options,
3522
- }, getSchemaRegistryClusterByIdOperationSpec);
3523
- }
3524
- /**
3525
- * Get cluster by Id
3526
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3527
- * @param organizationName Organization resource name
3528
- * @param environmentId Confluent environment id
3529
- * @param clusterId Confluent kafka or schema registry cluster id
3530
- * @param options The options parameters.
3531
- */
3532
- getClusterById(resourceGroupName, organizationName, environmentId, clusterId, options) {
3533
- return this.client.sendOperationRequest({
3534
- resourceGroupName,
3535
- organizationName,
3536
- environmentId,
3537
- clusterId,
3538
- options,
3539
- }, getClusterByIdOperationSpec);
3540
- }
3541
- /**
3542
- * ListBySubscriptionNext
3543
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
3544
- * @param options The options parameters.
3545
- */
3546
- _listBySubscriptionNext(nextLink, options) {
3547
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
3548
- }
3549
- /**
3550
- * ListByResourceGroupNext
3551
- * @param resourceGroupName Resource group name
3552
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
3553
- * @param options The options parameters.
3554
- */
3555
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
3556
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
3557
- }
3558
- /**
3559
- * ListEnvironmentsNext
3560
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3561
- * @param organizationName Organization resource name
3562
- * @param nextLink The nextLink from the previous successful call to the ListEnvironments method.
3563
- * @param options The options parameters.
3564
- */
3565
- _listEnvironmentsNext(resourceGroupName, organizationName, nextLink, options) {
3566
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, nextLink, options }, listEnvironmentsNextOperationSpec);
3567
- }
3568
- /**
3569
- * ListClustersNext
3570
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3571
- * @param organizationName Organization resource name
3572
- * @param environmentId Confluent environment id
3573
- * @param nextLink The nextLink from the previous successful call to the ListClusters method.
3574
- * @param options The options parameters.
3575
- */
3576
- _listClustersNext(resourceGroupName, organizationName, environmentId, nextLink, options) {
3577
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, nextLink, options }, listClustersNextOperationSpec);
3578
- }
3579
- /**
3580
- * ListSchemaRegistryClustersNext
3581
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3582
- * @param organizationName Organization resource name
3583
- * @param environmentId Confluent environment id
3584
- * @param nextLink The nextLink from the previous successful call to the ListSchemaRegistryClusters
3585
- * method.
3586
- * @param options The options parameters.
3587
- */
3588
- _listSchemaRegistryClustersNext(resourceGroupName, organizationName, environmentId, nextLink, options) {
3589
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, environmentId, nextLink, options }, listSchemaRegistryClustersNextOperationSpec);
3590
- }
3591
- }
3592
- // Operation Specifications
3593
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3594
- const listBySubscriptionOperationSpec = {
3595
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
3596
- httpMethod: "GET",
3597
- responses: {
3598
- 200: {
3599
- bodyMapper: OrganizationResourceListResult,
3600
- },
3601
- default: {
3602
- bodyMapper: ResourceProviderDefaultErrorResponse,
3603
- },
3604
- },
3605
- queryParameters: [apiVersion],
3606
- urlParameters: [$host, subscriptionId],
3607
- headerParameters: [accept],
3608
- serializer: serializer$2,
3609
- };
3610
- const listByResourceGroupOperationSpec = {
3611
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
3612
- httpMethod: "GET",
3613
- responses: {
3614
- 200: {
3615
- bodyMapper: OrganizationResourceListResult,
3616
- },
3617
- default: {
3618
- bodyMapper: ResourceProviderDefaultErrorResponse,
3619
- },
3620
- },
3621
- queryParameters: [apiVersion],
3622
- urlParameters: [
3623
- $host,
3624
- subscriptionId,
3625
- resourceGroupName,
3626
- ],
3627
- headerParameters: [accept],
3628
- serializer: serializer$2,
3629
- };
3630
- const getOperationSpec = {
3631
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
3632
- httpMethod: "GET",
3633
- responses: {
3634
- 200: {
3635
- bodyMapper: OrganizationResource,
3636
- },
3637
- default: {
3638
- bodyMapper: ResourceProviderDefaultErrorResponse,
3639
- },
3640
- },
3641
- queryParameters: [apiVersion],
3642
- urlParameters: [
3643
- $host,
3644
- subscriptionId,
3645
- resourceGroupName,
3646
- organizationName,
3647
- ],
3648
- headerParameters: [accept],
3649
- serializer: serializer$2,
3650
- };
3651
- const createOperationSpec = {
3652
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
3653
- httpMethod: "PUT",
3654
- responses: {
3655
- 200: {
3656
- bodyMapper: OrganizationResource,
3657
- },
3658
- 201: {
3659
- bodyMapper: OrganizationResource,
3660
- },
3661
- 202: {
3662
- bodyMapper: OrganizationResource,
3663
- },
3664
- 204: {
3665
- bodyMapper: OrganizationResource,
3666
- },
3667
- default: {
3668
- bodyMapper: ResourceProviderDefaultErrorResponse,
3669
- },
3670
- },
3671
- requestBody: body1,
3672
- queryParameters: [apiVersion],
3673
- urlParameters: [
3674
- $host,
3675
- subscriptionId,
3676
- resourceGroupName,
3677
- organizationName,
3678
- ],
3679
- headerParameters: [accept, contentType],
3680
- mediaType: "json",
3681
- serializer: serializer$2,
3682
- };
3683
- const updateOperationSpec = {
3684
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
3685
- httpMethod: "PATCH",
3686
- responses: {
3687
- 200: {
3688
- bodyMapper: OrganizationResource,
3689
- },
3690
- default: {
3691
- bodyMapper: ResourceProviderDefaultErrorResponse,
3692
- },
3693
- },
3694
- requestBody: body2,
3695
- queryParameters: [apiVersion],
3696
- urlParameters: [
3697
- $host,
3698
- subscriptionId,
3699
- resourceGroupName,
3700
- organizationName,
3701
- ],
3702
- headerParameters: [accept, contentType],
3703
- mediaType: "json",
3704
- serializer: serializer$2,
3705
- };
3706
- const deleteOperationSpec = {
3707
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
3708
- httpMethod: "DELETE",
3709
- responses: {
3710
- 200: {},
3711
- 201: {},
3712
- 202: {},
3713
- 204: {},
3714
- default: {
3715
- bodyMapper: ResourceProviderDefaultErrorResponse,
3716
- },
3717
- },
3718
- queryParameters: [apiVersion],
3719
- urlParameters: [
3720
- $host,
3721
- subscriptionId,
3722
- resourceGroupName,
3723
- organizationName,
3724
- ],
3725
- headerParameters: [accept],
3726
- serializer: serializer$2,
3727
- };
3728
- const listEnvironmentsOperationSpec$1 = {
3729
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments",
3730
- httpMethod: "GET",
3731
- responses: {
3732
- 200: {
3733
- bodyMapper: GetEnvironmentsResponse,
3734
- },
3735
- default: {
3736
- bodyMapper: ResourceProviderDefaultErrorResponse,
3737
- },
3738
- },
3739
- queryParameters: [
3740
- apiVersion,
3741
- pageSize,
3742
- pageToken,
3743
- ],
3744
- urlParameters: [
3745
- $host,
3746
- subscriptionId,
3747
- organizationName,
3748
- resourceGroupName1,
3749
- ],
3750
- headerParameters: [accept],
3751
- serializer: serializer$2,
3752
- };
3753
- const getEnvironmentByIdOperationSpec = {
3754
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}",
3755
- httpMethod: "GET",
3756
- responses: {
3757
- 200: {
3758
- bodyMapper: SCEnvironmentRecord,
3759
- },
3760
- default: {
3761
- bodyMapper: ResourceProviderDefaultErrorResponse,
3762
- },
3763
- },
3764
- queryParameters: [apiVersion],
3765
- urlParameters: [
3766
- $host,
3767
- subscriptionId,
3768
- organizationName,
3769
- resourceGroupName1,
3770
- environmentId,
3771
- ],
3772
- headerParameters: [accept],
3773
- serializer: serializer$2,
3774
- };
3775
- const listClustersOperationSpec$1 = {
3776
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters",
3777
- httpMethod: "GET",
3778
- responses: {
3779
- 200: {
3780
- bodyMapper: ListClustersSuccessResponse,
3781
- },
3782
- default: {
3783
- bodyMapper: ResourceProviderDefaultErrorResponse,
3784
- },
3785
- },
3786
- queryParameters: [
3787
- apiVersion,
3788
- pageSize,
3789
- pageToken,
3790
- ],
3791
- urlParameters: [
3792
- $host,
3793
- subscriptionId,
3794
- organizationName,
3795
- resourceGroupName1,
3796
- environmentId,
3797
- ],
3798
- headerParameters: [accept],
3799
- serializer: serializer$2,
3800
- };
3801
- const listSchemaRegistryClustersOperationSpec = {
3802
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters",
3803
- httpMethod: "GET",
3804
- responses: {
3805
- 200: {
3806
- bodyMapper: ListSchemaRegistryClustersResponse,
3807
- },
3808
- default: {
3809
- bodyMapper: ResourceProviderDefaultErrorResponse,
3810
- },
3811
- },
3812
- queryParameters: [
3813
- apiVersion,
3814
- pageSize,
3815
- pageToken,
3816
- ],
3817
- urlParameters: [
3818
- $host,
3819
- subscriptionId,
3820
- organizationName,
3821
- resourceGroupName1,
3822
- environmentId,
3823
- ],
3824
- headerParameters: [accept],
3825
- serializer: serializer$2,
3826
- };
3827
- const listRegionsOperationSpec = {
3828
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/listRegions",
3829
- httpMethod: "POST",
3830
- responses: {
3831
- 200: {
3832
- bodyMapper: ListRegionsSuccessResponse,
3833
- },
3834
- default: {
3835
- bodyMapper: ResourceProviderDefaultErrorResponse,
3836
- },
3837
- },
3838
- requestBody: body3,
3839
- queryParameters: [apiVersion],
3840
- urlParameters: [
3841
- $host,
3842
- subscriptionId,
3843
- organizationName,
3844
- resourceGroupName1,
3845
- ],
3846
- headerParameters: [accept, contentType],
3847
- mediaType: "json",
3848
- serializer: serializer$2,
3849
- };
3850
- const createAPIKeyOperationSpec = {
3851
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/createAPIKey",
3852
- httpMethod: "POST",
3853
- responses: {
3854
- 200: {
3855
- bodyMapper: APIKeyRecord,
3856
- },
3857
- default: {
3858
- bodyMapper: ResourceProviderDefaultErrorResponse,
3859
- },
3860
- },
3861
- requestBody: body4,
3862
- queryParameters: [apiVersion],
3863
- urlParameters: [
3864
- $host,
3865
- subscriptionId,
3866
- organizationName,
3867
- resourceGroupName1,
3868
- environmentId,
3869
- clusterId,
3870
- ],
3871
- headerParameters: [accept, contentType],
3872
- mediaType: "json",
3873
- serializer: serializer$2,
3874
- };
3875
- const deleteClusterAPIKeyOperationSpec = {
3876
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}",
3877
- httpMethod: "DELETE",
3878
- responses: {
3879
- 200: {},
3880
- 204: {},
3881
- default: {
3882
- bodyMapper: ResourceProviderDefaultErrorResponse,
3883
- },
3884
- },
3885
- queryParameters: [apiVersion],
3886
- urlParameters: [
3887
- $host,
3888
- subscriptionId,
3889
- organizationName,
3890
- resourceGroupName1,
3891
- apiKeyId,
3892
- ],
3893
- headerParameters: [accept],
3894
- serializer: serializer$2,
3895
- };
3896
- const getClusterAPIKeyOperationSpec = {
3897
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}",
3898
- httpMethod: "GET",
3899
- responses: {
3900
- 200: {
3901
- bodyMapper: APIKeyRecord,
3902
- },
3903
- default: {
3904
- bodyMapper: ResourceProviderDefaultErrorResponse,
3905
- },
3906
- },
3907
- queryParameters: [apiVersion],
3908
- urlParameters: [
3909
- $host,
3910
- subscriptionId,
3911
- organizationName,
3912
- resourceGroupName1,
3913
- apiKeyId,
3914
- ],
3915
- headerParameters: [accept],
3916
- serializer: serializer$2,
3917
- };
3918
- const getSchemaRegistryClusterByIdOperationSpec = {
3919
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters/{clusterId}",
3920
- httpMethod: "GET",
3921
- responses: {
3922
- 200: {
3923
- bodyMapper: SchemaRegistryClusterRecord,
3924
- },
3925
- default: {
3926
- bodyMapper: ResourceProviderDefaultErrorResponse,
3927
- },
3928
- },
3929
- queryParameters: [apiVersion],
3930
- urlParameters: [
3931
- $host,
3932
- subscriptionId,
3933
- organizationName,
3934
- resourceGroupName1,
3935
- environmentId,
3936
- clusterId,
3937
- ],
3938
- headerParameters: [accept],
3939
- serializer: serializer$2,
3940
- };
3941
- const getClusterByIdOperationSpec = {
3942
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}",
3943
- httpMethod: "GET",
3944
- responses: {
3945
- 200: {
3946
- bodyMapper: SCClusterRecord,
3947
- },
3948
- default: {
3949
- bodyMapper: ResourceProviderDefaultErrorResponse,
3950
- },
3951
- },
3952
- queryParameters: [apiVersion],
3953
- urlParameters: [
3954
- $host,
3955
- subscriptionId,
3956
- organizationName,
3957
- resourceGroupName1,
3958
- environmentId,
3959
- clusterId,
3960
- ],
3961
- headerParameters: [accept],
3962
- serializer: serializer$2,
3963
- };
3964
- const listBySubscriptionNextOperationSpec = {
3965
- path: "{nextLink}",
3966
- httpMethod: "GET",
3967
- responses: {
3968
- 200: {
3969
- bodyMapper: OrganizationResourceListResult,
3970
- },
3971
- default: {
3972
- bodyMapper: ResourceProviderDefaultErrorResponse,
3973
- },
3974
- },
3975
- urlParameters: [
3976
- $host,
3977
- subscriptionId,
3978
- nextLink,
3979
- ],
3980
- headerParameters: [accept],
3981
- serializer: serializer$2,
3982
- };
3983
- const listByResourceGroupNextOperationSpec = {
3984
- path: "{nextLink}",
3985
- httpMethod: "GET",
3986
- responses: {
3987
- 200: {
3988
- bodyMapper: OrganizationResourceListResult,
3989
- },
3990
- default: {
3991
- bodyMapper: ResourceProviderDefaultErrorResponse,
3992
- },
3993
- },
3994
- urlParameters: [
3995
- $host,
3996
- subscriptionId,
3997
- nextLink,
3998
- resourceGroupName,
3999
- ],
4000
- headerParameters: [accept],
4001
- serializer: serializer$2,
4002
- };
4003
- const listEnvironmentsNextOperationSpec = {
4004
- path: "{nextLink}",
4005
- httpMethod: "GET",
4006
- responses: {
4007
- 200: {
4008
- bodyMapper: GetEnvironmentsResponse,
4009
- },
4010
- default: {
4011
- bodyMapper: ResourceProviderDefaultErrorResponse,
4012
- },
4013
- },
4014
- urlParameters: [
4015
- $host,
4016
- subscriptionId,
4017
- nextLink,
4018
- organizationName,
4019
- resourceGroupName1,
4020
- ],
4021
- headerParameters: [accept],
4022
- serializer: serializer$2,
4023
- };
4024
- const listClustersNextOperationSpec = {
4025
- path: "{nextLink}",
4026
- httpMethod: "GET",
4027
- responses: {
4028
- 200: {
4029
- bodyMapper: ListClustersSuccessResponse,
4030
- },
4031
- default: {
4032
- bodyMapper: ResourceProviderDefaultErrorResponse,
4033
- },
4034
- },
4035
- urlParameters: [
4036
- $host,
4037
- subscriptionId,
4038
- nextLink,
4039
- organizationName,
4040
- resourceGroupName1,
4041
- environmentId,
4042
- ],
4043
- headerParameters: [accept],
4044
- serializer: serializer$2,
4045
- };
4046
- const listSchemaRegistryClustersNextOperationSpec = {
4047
- path: "{nextLink}",
4048
- httpMethod: "GET",
4049
- responses: {
4050
- 200: {
4051
- bodyMapper: ListSchemaRegistryClustersResponse,
4052
- },
4053
- default: {
4054
- bodyMapper: ResourceProviderDefaultErrorResponse,
4055
- },
4056
- },
4057
- urlParameters: [
4058
- $host,
4059
- subscriptionId,
4060
- nextLink,
4061
- organizationName,
4062
- resourceGroupName1,
4063
- environmentId,
4064
- ],
4065
- headerParameters: [accept],
4066
- serializer: serializer$2,
4067
- };
4068
-
4069
- /*
4070
- * Copyright (c) Microsoft Corporation.
4071
- * Licensed under the MIT License.
4072
- *
4073
- * Code generated by Microsoft (R) AutoRest Code Generator.
4074
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4075
- */
4076
- /** Class containing Validations operations. */
4077
- class ValidationsImpl {
4078
- /**
4079
- * Initialize a new instance of the class Validations class.
4080
- * @param client Reference to the service client
4081
- */
4082
- constructor(client) {
4083
- this.client = client;
4084
- }
4085
- /**
4086
- * Organization Validate proxy resource
4087
- * @param resourceGroupName Resource group name
4088
- * @param organizationName Organization resource name
4089
- * @param body Organization resource model
4090
- * @param options The options parameters.
4091
- */
4092
- validateOrganization(resourceGroupName, organizationName, body, options) {
4093
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, validateOrganizationOperationSpec);
4094
- }
4095
- /**
4096
- * Organization Validate proxy resource
4097
- * @param resourceGroupName Resource group name
4098
- * @param organizationName Organization resource name
4099
- * @param body Organization resource model
4100
- * @param options The options parameters.
4101
- */
4102
- validateOrganizationV2(resourceGroupName, organizationName, body, options) {
4103
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, validateOrganizationV2OperationSpec);
4104
- }
4105
- }
4106
- // Operation Specifications
4107
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4108
- const validateOrganizationOperationSpec = {
4109
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
4110
- httpMethod: "POST",
4111
- responses: {
4112
- 200: {
4113
- bodyMapper: OrganizationResource,
4114
- },
4115
- default: {
4116
- bodyMapper: ResourceProviderDefaultErrorResponse,
4117
- },
4118
- },
4119
- requestBody: body5,
4120
- queryParameters: [apiVersion],
4121
- urlParameters: [
4122
- $host,
4123
- subscriptionId,
4124
- resourceGroupName,
4125
- organizationName,
4126
- ],
4127
- headerParameters: [accept, contentType],
4128
- mediaType: "json",
4129
- serializer: serializer$1,
4130
- };
4131
- const validateOrganizationV2OperationSpec = {
4132
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidateV2",
4133
- httpMethod: "POST",
4134
- responses: {
4135
- 200: {
4136
- bodyMapper: ValidationResponse,
4137
- },
4138
- default: {
4139
- bodyMapper: ResourceProviderDefaultErrorResponse,
4140
- },
4141
- },
4142
- requestBody: body5,
4143
- queryParameters: [apiVersion],
4144
- urlParameters: [
4145
- $host,
4146
- subscriptionId,
4147
- resourceGroupName,
4148
- organizationName,
4149
- ],
4150
- headerParameters: [accept, contentType],
4151
- mediaType: "json",
4152
- serializer: serializer$1,
4153
- };
4154
-
4155
- /*
4156
- * Copyright (c) Microsoft Corporation.
4157
- * Licensed under the MIT License.
4158
- *
4159
- * Code generated by Microsoft (R) AutoRest Code Generator.
4160
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4161
- */
4162
- /** Class containing Access operations. */
4163
- class AccessImpl {
4164
- /**
4165
- * Initialize a new instance of the class Access class.
4166
- * @param client Reference to the service client
4167
- */
4168
- constructor(client) {
4169
- this.client = client;
4170
- }
4171
- /**
4172
- * Organization users details
4173
- * @param resourceGroupName Resource group name
4174
- * @param organizationName Organization resource name
4175
- * @param body List Access Request Model
4176
- * @param options The options parameters.
4177
- */
4178
- listUsers(resourceGroupName, organizationName, body, options) {
4179
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listUsersOperationSpec);
4180
- }
4181
- /**
4182
- * Organization service accounts details
4183
- * @param resourceGroupName Resource group name
4184
- * @param organizationName Organization resource name
4185
- * @param body List Access Request Model
4186
- * @param options The options parameters.
4187
- */
4188
- listServiceAccounts(resourceGroupName, organizationName, body, options) {
4189
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listServiceAccountsOperationSpec);
4190
- }
4191
- /**
4192
- * Organization accounts invitation details
4193
- * @param resourceGroupName Resource group name
4194
- * @param organizationName Organization resource name
4195
- * @param body List Access Request Model
4196
- * @param options The options parameters.
4197
- */
4198
- listInvitations(resourceGroupName, organizationName, body, options) {
4199
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listInvitationsOperationSpec);
4200
- }
4201
- /**
4202
- * Invite user to the organization
4203
- * @param resourceGroupName Resource group name
4204
- * @param organizationName Organization resource name
4205
- * @param body Invite user account model
4206
- * @param options The options parameters.
4207
- */
4208
- inviteUser(resourceGroupName, organizationName, body, options) {
4209
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, inviteUserOperationSpec);
4210
- }
4211
- /**
4212
- * Environment list of an organization
4213
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4214
- * @param organizationName Organization resource name
4215
- * @param body List Access Request Model
4216
- * @param options The options parameters.
4217
- */
4218
- listEnvironments(resourceGroupName, organizationName, body, options) {
4219
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listEnvironmentsOperationSpec);
4220
- }
4221
- /**
4222
- * Cluster details
4223
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4224
- * @param organizationName Organization resource name
4225
- * @param body List Access Request Model
4226
- * @param options The options parameters.
4227
- */
4228
- listClusters(resourceGroupName, organizationName, body, options) {
4229
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listClustersOperationSpec);
4230
- }
4231
- /**
4232
- * Organization role bindings
4233
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4234
- * @param organizationName Organization resource name
4235
- * @param body List Access Request Model
4236
- * @param options The options parameters.
4237
- */
4238
- listRoleBindings(resourceGroupName, organizationName, body, options) {
4239
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listRoleBindingsOperationSpec);
4240
- }
4241
- /**
4242
- * Organization role bindings
4243
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4244
- * @param organizationName Organization resource name
4245
- * @param body Create role binding Request Model
4246
- * @param options The options parameters.
4247
- */
4248
- createRoleBinding(resourceGroupName, organizationName, body, options) {
4249
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, createRoleBindingOperationSpec);
4250
- }
4251
- /**
4252
- * Organization role bindings
4253
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4254
- * @param organizationName Organization resource name
4255
- * @param roleBindingId Confluent Role binding id
4256
- * @param options The options parameters.
4257
- */
4258
- deleteRoleBinding(resourceGroupName, organizationName, roleBindingId, options) {
4259
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, roleBindingId, options }, deleteRoleBindingOperationSpec);
4260
- }
4261
- /**
4262
- * Organization role bindings
4263
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4264
- * @param organizationName Organization resource name
4265
- * @param body List Access Request Model
4266
- * @param options The options parameters.
4267
- */
4268
- listRoleBindingNameList(resourceGroupName, organizationName, body, options) {
4269
- return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listRoleBindingNameListOperationSpec);
4270
- }
4271
- }
4272
- // Operation Specifications
4273
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4274
- const listUsersOperationSpec = {
4275
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listUsers",
4276
- httpMethod: "POST",
4277
- responses: {
4278
- 200: {
4279
- bodyMapper: AccessListUsersSuccessResponse,
4280
- },
4281
- default: {
4282
- bodyMapper: ResourceProviderDefaultErrorResponse,
4283
- },
4284
- },
4285
- requestBody: body3,
4286
- queryParameters: [apiVersion],
4287
- urlParameters: [
4288
- $host,
4289
- subscriptionId,
4290
- resourceGroupName,
4291
- organizationName,
4292
- ],
4293
- headerParameters: [accept, contentType],
4294
- mediaType: "json",
4295
- serializer,
4296
- };
4297
- const listServiceAccountsOperationSpec = {
4298
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listServiceAccounts",
4299
- httpMethod: "POST",
4300
- responses: {
4301
- 200: {
4302
- bodyMapper: AccessListServiceAccountsSuccessResponse,
4303
- },
4304
- default: {
4305
- bodyMapper: ResourceProviderDefaultErrorResponse,
4306
- },
4307
- },
4308
- requestBody: body3,
4309
- queryParameters: [apiVersion],
4310
- urlParameters: [
4311
- $host,
4312
- subscriptionId,
4313
- resourceGroupName,
4314
- organizationName,
4315
- ],
4316
- headerParameters: [accept, contentType],
4317
- mediaType: "json",
4318
- serializer,
4319
- };
4320
- const listInvitationsOperationSpec = {
4321
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listInvitations",
4322
- httpMethod: "POST",
4323
- responses: {
4324
- 200: {
4325
- bodyMapper: AccessListInvitationsSuccessResponse,
4326
- },
4327
- default: {
4328
- bodyMapper: ResourceProviderDefaultErrorResponse,
4329
- },
4330
- },
4331
- requestBody: body3,
4332
- queryParameters: [apiVersion],
4333
- urlParameters: [
4334
- $host,
4335
- subscriptionId,
4336
- resourceGroupName,
4337
- organizationName,
4338
- ],
4339
- headerParameters: [accept, contentType],
4340
- mediaType: "json",
4341
- serializer,
4342
- };
4343
- const inviteUserOperationSpec = {
4344
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/createInvitation",
4345
- httpMethod: "POST",
4346
- responses: {
4347
- 200: {
4348
- bodyMapper: InvitationRecord,
4349
- },
4350
- default: {
4351
- bodyMapper: ResourceProviderDefaultErrorResponse,
4352
- },
4353
- },
4354
- requestBody: body6,
4355
- queryParameters: [apiVersion],
4356
- urlParameters: [
4357
- $host,
4358
- subscriptionId,
4359
- resourceGroupName,
4360
- organizationName,
4361
- ],
4362
- headerParameters: [accept, contentType],
4363
- mediaType: "json",
4364
- serializer,
4365
- };
4366
- const listEnvironmentsOperationSpec = {
4367
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listEnvironments",
4368
- httpMethod: "POST",
4369
- responses: {
4370
- 200: {
4371
- bodyMapper: AccessListEnvironmentsSuccessResponse,
4372
- },
4373
- default: {
4374
- bodyMapper: ResourceProviderDefaultErrorResponse,
4375
- },
4376
- },
4377
- requestBody: body3,
4378
- queryParameters: [apiVersion],
4379
- urlParameters: [
4380
- $host,
4381
- subscriptionId,
4382
- organizationName,
4383
- resourceGroupName1,
4384
- ],
4385
- headerParameters: [accept, contentType],
4386
- mediaType: "json",
4387
- serializer,
4388
- };
4389
- const listClustersOperationSpec = {
4390
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listClusters",
4391
- httpMethod: "POST",
4392
- responses: {
4393
- 200: {
4394
- bodyMapper: AccessListClusterSuccessResponse,
4395
- },
4396
- default: {
4397
- bodyMapper: ResourceProviderDefaultErrorResponse,
4398
- },
4399
- },
4400
- requestBody: body3,
4401
- queryParameters: [apiVersion],
4402
- urlParameters: [
4403
- $host,
4404
- subscriptionId,
4405
- organizationName,
4406
- resourceGroupName1,
4407
- ],
4408
- headerParameters: [accept, contentType],
4409
- mediaType: "json",
4410
- serializer,
4411
- };
4412
- const listRoleBindingsOperationSpec = {
4413
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listRoleBindings",
4414
- httpMethod: "POST",
4415
- responses: {
4416
- 200: {
4417
- bodyMapper: AccessListRoleBindingsSuccessResponse,
4418
- },
4419
- default: {
4420
- bodyMapper: ResourceProviderDefaultErrorResponse,
4421
- },
4422
- },
4423
- requestBody: body3,
4424
- queryParameters: [apiVersion],
4425
- urlParameters: [
4426
- $host,
4427
- subscriptionId,
4428
- organizationName,
4429
- resourceGroupName1,
4430
- ],
4431
- headerParameters: [accept, contentType],
4432
- mediaType: "json",
4433
- serializer,
4434
- };
4435
- const createRoleBindingOperationSpec = {
4436
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/createRoleBinding",
4437
- httpMethod: "POST",
4438
- responses: {
4439
- 200: {
4440
- bodyMapper: RoleBindingRecord,
4441
- },
4442
- default: {
4443
- bodyMapper: ResourceProviderDefaultErrorResponse,
4444
- },
4445
- },
4446
- requestBody: body7,
4447
- queryParameters: [apiVersion],
4448
- urlParameters: [
4449
- $host,
4450
- subscriptionId,
4451
- organizationName,
4452
- resourceGroupName1,
4453
- ],
4454
- headerParameters: [accept, contentType],
4455
- mediaType: "json",
4456
- serializer,
4457
- };
4458
- const deleteRoleBindingOperationSpec = {
4459
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/deleteRoleBinding/{roleBindingId}",
4460
- httpMethod: "DELETE",
4461
- responses: {
4462
- 200: {},
4463
- 204: {},
4464
- default: {
4465
- bodyMapper: ResourceProviderDefaultErrorResponse,
4466
- },
4467
- },
4468
- queryParameters: [apiVersion],
4469
- urlParameters: [
4470
- $host,
4471
- subscriptionId,
4472
- organizationName,
4473
- resourceGroupName1,
4474
- roleBindingId,
4475
- ],
4476
- headerParameters: [accept],
4477
- serializer,
4478
- };
4479
- const listRoleBindingNameListOperationSpec = {
4480
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listRoleBindingNameList",
4481
- httpMethod: "POST",
4482
- responses: {
4483
- 200: {
4484
- bodyMapper: AccessRoleBindingNameListSuccessResponse,
4485
- },
4486
- default: {
4487
- bodyMapper: ResourceProviderDefaultErrorResponse,
4488
- },
4489
- },
4490
- requestBody: body3,
4491
- queryParameters: [apiVersion],
4492
- urlParameters: [
4493
- $host,
4494
- subscriptionId,
4495
- organizationName,
4496
- resourceGroupName1,
4497
- ],
4498
- headerParameters: [accept, contentType],
4499
- mediaType: "json",
4500
- serializer,
4501
- };
4502
-
4503
- /*
4504
- * Copyright (c) Microsoft Corporation.
4505
- * Licensed under the MIT License.
4506
- *
4507
- * Code generated by Microsoft (R) AutoRest Code Generator.
4508
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4509
- */
4510
- class ConfluentManagementClient extends coreClient__namespace.ServiceClient {
4511
- constructor(credentials, subscriptionIdOrOptions, options) {
4512
- var _a, _b, _c;
4513
- if (credentials === undefined) {
4514
- throw new Error("'credentials' cannot be null");
4515
- }
4516
- let subscriptionId;
4517
- if (typeof subscriptionIdOrOptions === "string") {
4518
- subscriptionId = subscriptionIdOrOptions;
4519
- }
4520
- else if (typeof subscriptionIdOrOptions === "object") {
4521
- options = subscriptionIdOrOptions;
4522
- }
4523
- // Initializing default values for options
4524
- if (!options) {
4525
- options = {};
4526
- }
4527
- const defaults = {
4528
- requestContentType: "application/json; charset=utf-8",
4529
- credential: credentials,
4530
- };
4531
- const packageDetails = `azsdk-js-arm-confluent/3.1.1`;
4532
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4533
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4534
- : `${packageDetails}`;
4535
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
4536
- userAgentPrefix,
4537
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== undefined ? _a : options.baseUri) !== null && _b !== undefined ? _b : "https://management.azure.com" });
4538
- super(optionsWithDefaults);
4539
- let bearerTokenAuthenticationPolicyFound = false;
4540
- if ((options === null || options === undefined ? undefined : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
4541
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
4542
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
4543
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
4544
- }
4545
- if (!options ||
4546
- !options.pipeline ||
4547
- options.pipeline.getOrderedPolicies().length == 0 ||
4548
- !bearerTokenAuthenticationPolicyFound) {
4549
- this.pipeline.removePolicy({
4550
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
4551
- });
4552
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
4553
- credential: credentials,
4554
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== undefined ? _c : `${optionsWithDefaults.endpoint}/.default`,
4555
- challengeCallbacks: {
4556
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
4557
- },
4558
- }));
4559
- }
4560
- // Parameter assignments
4561
- this.subscriptionId = subscriptionId;
4562
- // Assigning values to Constant parameters
4563
- this.$host = options.$host || "https://management.azure.com";
4564
- this.apiVersion = options.apiVersion || "2024-02-13";
4565
- this.marketplaceAgreements = new MarketplaceAgreementsImpl(this);
4566
- this.organizationOperations = new OrganizationOperationsImpl(this);
4567
- this.organization = new OrganizationImpl(this);
4568
- this.validations = new ValidationsImpl(this);
4569
- this.access = new AccessImpl(this);
4570
- this.addCustomApiVersionPolicy(options.apiVersion);
4571
- }
4572
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
4573
- addCustomApiVersionPolicy(apiVersion) {
4574
- if (!apiVersion) {
4575
- return;
4576
- }
4577
- const apiVersionPolicy = {
4578
- name: "CustomApiVersionPolicy",
4579
- sendRequest(request, next) {
4580
- return tslib.__awaiter(this, undefined, undefined, function* () {
4581
- const param = request.url.split("?");
4582
- if (param.length > 1) {
4583
- const newParams = param[1].split("&").map((item) => {
4584
- if (item.indexOf("api-version") > -1) {
4585
- return "api-version=" + apiVersion;
4586
- }
4587
- else {
4588
- return item;
4589
- }
4590
- });
4591
- request.url = param[0] + "?" + newParams.join("&");
4592
- }
4593
- return next(request);
4594
- });
4595
- },
4596
- };
4597
- this.pipeline.addPolicy(apiVersionPolicy);
4598
- }
4599
- }
4600
-
4601
- exports.ConfluentManagementClient = ConfluentManagementClient;
4602
- exports.getContinuationToken = getContinuationToken;
4603
- //# sourceMappingURL=index.js.map