@azure/arm-redisenterprisecache 3.1.0-beta.1 → 4.0.0-alpha.20250422.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 (555) hide show
  1. package/CHANGELOG.md +243 -0
  2. package/LICENSE +3 -3
  3. package/README.md +24 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/dist/browser/lroImpl.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/index.d.ts +517 -31
  10. package/dist/browser/models/index.d.ts.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/index.js +146 -2
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +21 -1
  14. package/dist/browser/models/mappers.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.js +506 -5
  16. package/dist/browser/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +2 -0
  18. package/dist/browser/models/parameters.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.js +22 -5
  20. package/dist/browser/models/parameters.js.map +1 -0
  21. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  22. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  23. package/dist/browser/operations/accessPolicyAssignmentOperations.js +411 -0
  24. package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +1 -0
  25. package/dist/browser/operations/databases.d.ts +283 -0
  26. package/dist/browser/operations/databases.d.ts.map +1 -0
  27. package/dist/browser/operations/databases.js +1152 -0
  28. package/dist/browser/operations/databases.js.map +1 -0
  29. package/dist/browser/operations/index.d.ts +8 -0
  30. package/dist/browser/operations/index.d.ts.map +1 -0
  31. package/dist/browser/operations/index.js +15 -0
  32. package/dist/browser/operations/index.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  34. package/dist/browser/operations/operations.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  36. package/dist/browser/operations/operations.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/operationsStatus.d.ts +3 -3
  38. package/dist/browser/operations/operationsStatus.d.ts.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/operationsStatus.js +2 -2
  40. package/dist/browser/operations/operationsStatus.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +31 -17
  42. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +114 -108
  44. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +11 -7
  46. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +10 -6
  48. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/redisEnterprise.d.ts +46 -23
  50. package/dist/browser/operations/redisEnterprise.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operations/redisEnterprise.js +182 -148
  52. package/dist/browser/operations/redisEnterprise.js.map +1 -0
  53. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  54. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  56. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.d.ts +77 -33
  58. package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/databases.js.map +1 -0
  60. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  61. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/index.js +15 -0
  63. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  66. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts +1 -1
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts.map +1 -1
  69. package/dist/browser/operationsInterfaces/operationsStatus.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +25 -13
  71. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +5 -3
  74. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  76. package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.d.ts +42 -19
  77. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  78. package/dist/browser/operationsInterfaces/redisEnterprise.js.map +1 -0
  79. package/dist/browser/package.json +3 -0
  80. package/dist/browser/pagingHelper.js.map +1 -0
  81. package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.d.ts +3 -2
  82. package/dist/browser/redisEnterpriseManagementClient.d.ts.map +1 -0
  83. package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.js +19 -20
  84. package/dist/browser/redisEnterpriseManagementClient.js.map +1 -0
  85. package/dist/commonjs/index.d.ts +5 -0
  86. package/dist/commonjs/index.d.ts.map +1 -0
  87. package/dist/commonjs/index.js +19 -0
  88. package/dist/commonjs/index.js.map +1 -0
  89. package/dist/commonjs/lroImpl.d.ts +11 -0
  90. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  91. package/dist/commonjs/lroImpl.js +24 -0
  92. package/dist/commonjs/lroImpl.js.map +1 -0
  93. package/{types/arm-redisenterprisecache.d.ts → dist/commonjs/models/index.d.ts} +1624 -1671
  94. package/dist/commonjs/models/index.d.ts.map +1 -0
  95. package/dist/commonjs/models/index.js +367 -0
  96. package/dist/commonjs/models/index.js.map +1 -0
  97. package/dist/commonjs/models/mappers.d.ts +65 -0
  98. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  99. package/dist/commonjs/models/mappers.js +1788 -0
  100. package/dist/commonjs/models/mappers.js.map +1 -0
  101. package/dist/commonjs/models/parameters.d.ts +27 -0
  102. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  103. package/dist/commonjs/models/parameters.js +217 -0
  104. package/dist/commonjs/models/parameters.js.map +1 -0
  105. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  106. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  107. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +415 -0
  108. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +1 -0
  109. package/dist/commonjs/operations/databases.d.ts +283 -0
  110. package/dist/commonjs/operations/databases.d.ts.map +1 -0
  111. package/dist/commonjs/operations/databases.js +1156 -0
  112. package/dist/commonjs/operations/databases.js.map +1 -0
  113. package/dist/commonjs/operations/index.d.ts +8 -0
  114. package/dist/commonjs/operations/index.d.ts.map +1 -0
  115. package/dist/commonjs/operations/index.js +18 -0
  116. package/dist/commonjs/operations/index.js.map +1 -0
  117. package/dist/commonjs/operations/operations.d.ts +32 -0
  118. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  119. package/dist/commonjs/operations/operations.js +137 -0
  120. package/dist/commonjs/operations/operations.js.map +1 -0
  121. package/dist/commonjs/operations/operationsStatus.d.ts +20 -0
  122. package/dist/commonjs/operations/operationsStatus.d.ts.map +1 -0
  123. package/dist/commonjs/operations/operationsStatus.js +58 -0
  124. package/dist/commonjs/operations/operationsStatus.js.map +1 -0
  125. package/dist/commonjs/operations/privateEndpointConnections.d.ts +94 -0
  126. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  127. package/dist/commonjs/operations/privateEndpointConnections.js +345 -0
  128. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  129. package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
  130. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  131. package/dist/commonjs/operations/privateLinkResources.js +113 -0
  132. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  133. package/dist/commonjs/operations/redisEnterprise.d.ts +130 -0
  134. package/dist/commonjs/operations/redisEnterprise.d.ts.map +1 -0
  135. package/dist/commonjs/operations/redisEnterprise.js +584 -0
  136. package/dist/commonjs/operations/redisEnterprise.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  138. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  141. package/{dist-esm/src/operations → dist/commonjs/operationsInterfaces}/databases.d.ts +79 -60
  142. package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/databases.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/databases.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  146. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  148. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  150. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +12 -0
  154. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/operationsStatus.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
  158. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
  162. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +94 -0
  166. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/redisEnterprise.js +10 -0
  168. package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +1 -0
  169. package/dist/commonjs/package.json +3 -0
  170. package/dist/commonjs/pagingHelper.d.ts +13 -0
  171. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  172. package/dist/commonjs/pagingHelper.js +36 -0
  173. package/dist/commonjs/pagingHelper.js.map +1 -0
  174. package/dist/commonjs/redisEnterpriseManagementClient.d.ts +26 -0
  175. package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +1 -0
  176. package/dist/commonjs/redisEnterpriseManagementClient.js +109 -0
  177. package/dist/commonjs/redisEnterpriseManagementClient.js.map +1 -0
  178. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  179. package/dist/esm/index.d.ts +5 -0
  180. package/dist/esm/index.d.ts.map +1 -0
  181. package/{src/index.ts → dist/esm/index.js} +5 -5
  182. package/dist/esm/index.js.map +1 -0
  183. package/dist/esm/lroImpl.d.ts +11 -0
  184. package/dist/esm/lroImpl.d.ts.map +1 -0
  185. package/dist/esm/lroImpl.js +21 -0
  186. package/dist/esm/lroImpl.js.map +1 -0
  187. package/dist/esm/models/index.d.ts +1624 -0
  188. package/dist/esm/models/index.d.ts.map +1 -0
  189. package/dist/esm/models/index.js +364 -0
  190. package/dist/esm/models/index.js.map +1 -0
  191. package/dist/esm/models/mappers.d.ts +65 -0
  192. package/dist/esm/models/mappers.d.ts.map +1 -0
  193. package/dist/esm/models/mappers.js +1784 -0
  194. package/dist/esm/models/mappers.js.map +1 -0
  195. package/dist/esm/models/parameters.d.ts +27 -0
  196. package/dist/esm/models/parameters.d.ts.map +1 -0
  197. package/dist/esm/models/parameters.js +214 -0
  198. package/dist/esm/models/parameters.js.map +1 -0
  199. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  200. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  201. package/dist/esm/operations/accessPolicyAssignmentOperations.js +411 -0
  202. package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +1 -0
  203. package/dist/esm/operations/databases.d.ts +283 -0
  204. package/dist/esm/operations/databases.d.ts.map +1 -0
  205. package/dist/esm/operations/databases.js +1152 -0
  206. package/dist/esm/operations/databases.js.map +1 -0
  207. package/dist/esm/operations/index.d.ts +8 -0
  208. package/dist/esm/operations/index.d.ts.map +1 -0
  209. package/dist/esm/operations/index.js +15 -0
  210. package/dist/esm/operations/index.js.map +1 -0
  211. package/dist/esm/operations/operations.d.ts +32 -0
  212. package/dist/esm/operations/operations.d.ts.map +1 -0
  213. package/dist/esm/operations/operations.js +133 -0
  214. package/dist/esm/operations/operations.js.map +1 -0
  215. package/dist/esm/operations/operationsStatus.d.ts +20 -0
  216. package/dist/esm/operations/operationsStatus.d.ts.map +1 -0
  217. package/dist/esm/operations/operationsStatus.js +53 -0
  218. package/dist/esm/operations/operationsStatus.js.map +1 -0
  219. package/dist/esm/operations/privateEndpointConnections.d.ts +94 -0
  220. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  221. package/dist/esm/operations/privateEndpointConnections.js +341 -0
  222. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  223. package/dist/esm/operations/privateLinkResources.d.ts +34 -0
  224. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  225. package/dist/esm/operations/privateLinkResources.js +109 -0
  226. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  227. package/dist/esm/operations/redisEnterprise.d.ts +130 -0
  228. package/dist/esm/operations/redisEnterprise.d.ts.map +1 -0
  229. package/dist/esm/operations/redisEnterprise.js +580 -0
  230. package/dist/esm/operations/redisEnterprise.js.map +1 -0
  231. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  232. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  233. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  234. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  235. package/dist/esm/operationsInterfaces/databases.d.ts +254 -0
  236. package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -0
  237. package/dist/esm/operationsInterfaces/databases.js +9 -0
  238. package/dist/esm/operationsInterfaces/databases.js.map +1 -0
  239. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  240. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  241. package/dist/esm/operationsInterfaces/index.js +15 -0
  242. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  243. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  244. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  245. package/dist/esm/operationsInterfaces/operations.js +9 -0
  246. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  247. package/dist/esm/operationsInterfaces/operationsStatus.d.ts +12 -0
  248. package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  249. package/dist/esm/operationsInterfaces/operationsStatus.js +9 -0
  250. package/dist/esm/operationsInterfaces/operationsStatus.js.map +1 -0
  251. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
  252. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  253. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  254. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  255. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  256. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  257. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  258. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  259. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +94 -0
  260. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  261. package/dist/esm/operationsInterfaces/redisEnterprise.js +9 -0
  262. package/dist/esm/operationsInterfaces/redisEnterprise.js.map +1 -0
  263. package/dist/esm/package.json +3 -0
  264. package/dist/esm/pagingHelper.d.ts +13 -0
  265. package/dist/esm/pagingHelper.d.ts.map +1 -0
  266. package/dist/esm/pagingHelper.js +32 -0
  267. package/dist/esm/pagingHelper.js.map +1 -0
  268. package/dist/esm/redisEnterpriseManagementClient.d.ts +26 -0
  269. package/dist/esm/redisEnterpriseManagementClient.d.ts.map +1 -0
  270. package/dist/esm/redisEnterpriseManagementClient.js +104 -0
  271. package/dist/esm/redisEnterpriseManagementClient.js.map +1 -0
  272. package/dist/react-native/index.d.ts +5 -0
  273. package/dist/react-native/index.d.ts.map +1 -0
  274. package/dist/react-native/index.js +13 -0
  275. package/dist/react-native/index.js.map +1 -0
  276. package/dist/react-native/lroImpl.d.ts +11 -0
  277. package/dist/react-native/lroImpl.d.ts.map +1 -0
  278. package/dist/react-native/lroImpl.js +21 -0
  279. package/dist/react-native/lroImpl.js.map +1 -0
  280. package/dist/react-native/models/index.d.ts +1624 -0
  281. package/dist/react-native/models/index.d.ts.map +1 -0
  282. package/dist/react-native/models/index.js +364 -0
  283. package/dist/react-native/models/index.js.map +1 -0
  284. package/dist/react-native/models/mappers.d.ts +65 -0
  285. package/dist/react-native/models/mappers.d.ts.map +1 -0
  286. package/dist/react-native/models/mappers.js +1784 -0
  287. package/dist/react-native/models/mappers.js.map +1 -0
  288. package/dist/react-native/models/parameters.d.ts +27 -0
  289. package/dist/react-native/models/parameters.d.ts.map +1 -0
  290. package/dist/react-native/models/parameters.js +214 -0
  291. package/dist/react-native/models/parameters.js.map +1 -0
  292. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  293. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  294. package/dist/react-native/operations/accessPolicyAssignmentOperations.js +411 -0
  295. package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +1 -0
  296. package/dist/react-native/operations/databases.d.ts +283 -0
  297. package/dist/react-native/operations/databases.d.ts.map +1 -0
  298. package/dist/react-native/operations/databases.js +1152 -0
  299. package/dist/react-native/operations/databases.js.map +1 -0
  300. package/dist/react-native/operations/index.d.ts +8 -0
  301. package/dist/react-native/operations/index.d.ts.map +1 -0
  302. package/dist/react-native/operations/index.js +15 -0
  303. package/dist/react-native/operations/index.js.map +1 -0
  304. package/dist/react-native/operations/operations.d.ts +32 -0
  305. package/dist/react-native/operations/operations.d.ts.map +1 -0
  306. package/dist/react-native/operations/operations.js +133 -0
  307. package/dist/react-native/operations/operations.js.map +1 -0
  308. package/dist/react-native/operations/operationsStatus.d.ts +20 -0
  309. package/dist/react-native/operations/operationsStatus.d.ts.map +1 -0
  310. package/dist/react-native/operations/operationsStatus.js +53 -0
  311. package/dist/react-native/operations/operationsStatus.js.map +1 -0
  312. package/dist/react-native/operations/privateEndpointConnections.d.ts +94 -0
  313. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  314. package/dist/react-native/operations/privateEndpointConnections.js +341 -0
  315. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  316. package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
  317. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  318. package/dist/react-native/operations/privateLinkResources.js +109 -0
  319. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  320. package/dist/react-native/operations/redisEnterprise.d.ts +130 -0
  321. package/dist/react-native/operations/redisEnterprise.d.ts.map +1 -0
  322. package/dist/react-native/operations/redisEnterprise.js +580 -0
  323. package/dist/react-native/operations/redisEnterprise.js.map +1 -0
  324. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  325. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  326. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  327. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  328. package/dist/react-native/operationsInterfaces/databases.d.ts +254 -0
  329. package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -0
  330. package/dist/react-native/operationsInterfaces/databases.js +9 -0
  331. package/dist/react-native/operationsInterfaces/databases.js.map +1 -0
  332. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  333. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  334. package/dist/react-native/operationsInterfaces/index.js +15 -0
  335. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  336. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  337. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  338. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  339. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  340. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +12 -0
  341. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  342. package/dist/react-native/operationsInterfaces/operationsStatus.js +9 -0
  343. package/dist/react-native/operationsInterfaces/operationsStatus.js.map +1 -0
  344. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
  345. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  346. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  347. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  348. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
  349. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  350. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  351. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  352. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +94 -0
  353. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  354. package/dist/react-native/operationsInterfaces/redisEnterprise.js +9 -0
  355. package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +1 -0
  356. package/dist/react-native/package.json +3 -0
  357. package/dist/react-native/pagingHelper.d.ts +13 -0
  358. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  359. package/dist/react-native/pagingHelper.js +32 -0
  360. package/dist/react-native/pagingHelper.js.map +1 -0
  361. package/dist/react-native/redisEnterpriseManagementClient.d.ts +26 -0
  362. package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +1 -0
  363. package/dist/react-native/redisEnterpriseManagementClient.js +104 -0
  364. package/dist/react-native/redisEnterpriseManagementClient.js.map +1 -0
  365. package/package.json +81 -55
  366. package/review/arm-redisenterprisecache.api.md +294 -6
  367. package/LICENSE.txt +0 -21
  368. package/dist/index.js +0 -4221
  369. package/dist/index.js.map +0 -1
  370. package/dist/index.min.js +0 -1
  371. package/dist/index.min.js.map +0 -1
  372. package/dist-esm/samples-dev/databasesCreateSample.d.ts +0 -2
  373. package/dist-esm/samples-dev/databasesCreateSample.d.ts.map +0 -1
  374. package/dist-esm/samples-dev/databasesCreateSample.js +0 -88
  375. package/dist-esm/samples-dev/databasesCreateSample.js.map +0 -1
  376. package/dist-esm/samples-dev/databasesDeleteSample.d.ts +0 -2
  377. package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +0 -1
  378. package/dist-esm/samples-dev/databasesDeleteSample.js +0 -39
  379. package/dist-esm/samples-dev/databasesDeleteSample.js.map +0 -1
  380. package/dist-esm/samples-dev/databasesExportSample.d.ts +0 -2
  381. package/dist-esm/samples-dev/databasesExportSample.d.ts.map +0 -1
  382. package/dist-esm/samples-dev/databasesExportSample.js +0 -42
  383. package/dist-esm/samples-dev/databasesExportSample.js.map +0 -1
  384. package/dist-esm/samples-dev/databasesFlushSample.d.ts +0 -2
  385. package/dist-esm/samples-dev/databasesFlushSample.d.ts.map +0 -1
  386. package/dist-esm/samples-dev/databasesFlushSample.js +0 -44
  387. package/dist-esm/samples-dev/databasesFlushSample.js.map +0 -1
  388. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts +0 -2
  389. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts.map +0 -1
  390. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +0 -51
  391. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js.map +0 -1
  392. package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts +0 -2
  393. package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts.map +0 -1
  394. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +0 -44
  395. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +0 -1
  396. package/dist-esm/samples-dev/databasesGetSample.d.ts +0 -2
  397. package/dist-esm/samples-dev/databasesGetSample.d.ts.map +0 -1
  398. package/dist-esm/samples-dev/databasesGetSample.js +0 -39
  399. package/dist-esm/samples-dev/databasesGetSample.js.map +0 -1
  400. package/dist-esm/samples-dev/databasesImportSample.d.ts +0 -2
  401. package/dist-esm/samples-dev/databasesImportSample.d.ts.map +0 -1
  402. package/dist-esm/samples-dev/databasesImportSample.js +0 -45
  403. package/dist-esm/samples-dev/databasesImportSample.js.map +0 -1
  404. package/dist-esm/samples-dev/databasesListByClusterSample.d.ts +0 -2
  405. package/dist-esm/samples-dev/databasesListByClusterSample.d.ts.map +0 -1
  406. package/dist-esm/samples-dev/databasesListByClusterSample.js +0 -54
  407. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +0 -1
  408. package/dist-esm/samples-dev/databasesListKeysSample.d.ts +0 -2
  409. package/dist-esm/samples-dev/databasesListKeysSample.d.ts.map +0 -1
  410. package/dist-esm/samples-dev/databasesListKeysSample.js +0 -39
  411. package/dist-esm/samples-dev/databasesListKeysSample.js.map +0 -1
  412. package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts +0 -2
  413. package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts.map +0 -1
  414. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +0 -40
  415. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +0 -1
  416. package/dist-esm/samples-dev/databasesUpdateSample.d.ts +0 -2
  417. package/dist-esm/samples-dev/databasesUpdateSample.d.ts.map +0 -1
  418. package/dist-esm/samples-dev/databasesUpdateSample.js +0 -44
  419. package/dist-esm/samples-dev/databasesUpdateSample.js.map +0 -1
  420. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts +0 -2
  421. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts.map +0 -1
  422. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +0 -39
  423. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +0 -1
  424. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  425. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  426. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  427. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  428. package/dist-esm/samples-dev/operationsStatusGetSample.d.ts +0 -2
  429. package/dist-esm/samples-dev/operationsStatusGetSample.d.ts.map +0 -1
  430. package/dist-esm/samples-dev/operationsStatusGetSample.js +0 -38
  431. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +0 -1
  432. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  433. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  434. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -39
  435. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  436. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  437. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  438. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -39
  439. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  440. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  441. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  442. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -54
  443. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  444. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
  445. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
  446. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -45
  447. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
  448. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts +0 -2
  449. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts.map +0 -1
  450. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +0 -54
  451. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +0 -1
  452. package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts +0 -2
  453. package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts.map +0 -1
  454. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +0 -60
  455. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +0 -1
  456. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts +0 -2
  457. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts.map +0 -1
  458. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +0 -38
  459. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +0 -1
  460. package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts +0 -2
  461. package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts.map +0 -1
  462. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +0 -38
  463. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +0 -1
  464. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts +0 -2
  465. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts.map +0 -1
  466. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +0 -53
  467. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +0 -1
  468. package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts +0 -2
  469. package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts.map +0 -1
  470. package/dist-esm/samples-dev/redisEnterpriseListSample.js +0 -52
  471. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +0 -1
  472. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts +0 -2
  473. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts.map +0 -1
  474. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +0 -43
  475. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +0 -1
  476. package/dist-esm/src/index.d.ts +0 -5
  477. package/dist-esm/src/index.js.map +0 -1
  478. package/dist-esm/src/lroImpl.js.map +0 -1
  479. package/dist-esm/src/models/index.d.ts.map +0 -1
  480. package/dist-esm/src/models/index.js.map +0 -1
  481. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  482. package/dist-esm/src/models/mappers.js.map +0 -1
  483. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  484. package/dist-esm/src/models/parameters.js.map +0 -1
  485. package/dist-esm/src/operations/databases.d.ts.map +0 -1
  486. package/dist-esm/src/operations/databases.js +0 -1150
  487. package/dist-esm/src/operations/databases.js.map +0 -1
  488. package/dist-esm/src/operations/index.d.ts +0 -7
  489. package/dist-esm/src/operations/index.d.ts.map +0 -1
  490. package/dist-esm/src/operations/index.js +0 -14
  491. package/dist-esm/src/operations/index.js.map +0 -1
  492. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  493. package/dist-esm/src/operations/operations.js.map +0 -1
  494. package/dist-esm/src/operations/operationsStatus.d.ts.map +0 -1
  495. package/dist-esm/src/operations/operationsStatus.js.map +0 -1
  496. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  497. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  498. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  499. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  500. package/dist-esm/src/operations/redisEnterprise.d.ts.map +0 -1
  501. package/dist-esm/src/operations/redisEnterprise.js.map +0 -1
  502. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +0 -1
  503. package/dist-esm/src/operationsInterfaces/databases.js.map +0 -1
  504. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  505. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/index.js +0 -14
  507. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  509. package/dist-esm/src/operationsInterfaces/operationsStatus.js.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  511. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  512. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  513. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  514. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  515. package/dist-esm/src/operationsInterfaces/redisEnterprise.js.map +0 -1
  516. package/dist-esm/src/pagingHelper.js.map +0 -1
  517. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +0 -1
  518. package/dist-esm/src/redisEnterpriseManagementClient.js.map +0 -1
  519. package/dist-esm/test/redisenterprisecache_test.spec.d.ts +0 -4
  520. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +0 -1
  521. package/dist-esm/test/redisenterprisecache_test.spec.js +0 -70
  522. package/dist-esm/test/redisenterprisecache_test.spec.js.map +0 -1
  523. package/src/lroImpl.ts +0 -42
  524. package/src/models/index.ts +0 -1289
  525. package/src/models/mappers.ts +0 -1375
  526. package/src/models/parameters.ts +0 -237
  527. package/src/operations/databases.ts +0 -1603
  528. package/src/operations/index.ts +0 -14
  529. package/src/operations/operations.ts +0 -149
  530. package/src/operations/operationsStatus.ts +0 -71
  531. package/src/operations/privateEndpointConnections.ts +0 -451
  532. package/src/operations/privateLinkResources.ts +0 -136
  533. package/src/operations/redisEnterprise.ts +0 -708
  534. package/src/operationsInterfaces/databases.ts +0 -403
  535. package/src/operationsInterfaces/index.ts +0 -14
  536. package/src/operationsInterfaces/operations.ts +0 -22
  537. package/src/operationsInterfaces/operationsStatus.ts +0 -27
  538. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -116
  539. package/src/operationsInterfaces/privateLinkResources.ts +0 -29
  540. package/src/operationsInterfaces/redisEnterprise.ts +0 -139
  541. package/src/pagingHelper.ts +0 -39
  542. package/src/redisEnterpriseManagementClient.ts +0 -165
  543. package/tsconfig.json +0 -33
  544. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  545. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  546. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  547. /package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.js +0 -0
  548. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  549. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.js +0 -0
  550. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  551. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  552. /package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.js +0 -0
  553. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  554. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  555. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -0,0 +1,75 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsPutOptionalParams, PrivateEndpointConnectionsPutResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
4
+ /** Interface representing a PrivateEndpointConnections. */
5
+ export interface PrivateEndpointConnections {
6
+ /**
7
+ * Lists all the private endpoint connections associated with the Redis Enterprise cluster.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
10
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
11
+ * consecutive hyphens
12
+ * @param options The options parameters.
13
+ */
14
+ list(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
15
+ /**
16
+ * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.
17
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
18
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
19
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
20
+ * consecutive hyphens
21
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
22
+ * Azure resource
23
+ * @param options The options parameters.
24
+ */
25
+ get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
26
+ /**
27
+ * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
28
+ * cluster.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
31
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
32
+ * consecutive hyphens
33
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
34
+ * Azure resource
35
+ * @param properties The private endpoint connection properties.
36
+ * @param options The options parameters.
37
+ */
38
+ beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
39
+ /**
40
+ * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
41
+ * cluster.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
44
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
45
+ * consecutive hyphens
46
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
47
+ * Azure resource
48
+ * @param properties The private endpoint connection properties.
49
+ * @param options The options parameters.
50
+ */
51
+ beginPutAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
52
+ /**
53
+ * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
54
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
55
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
56
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
57
+ * consecutive hyphens
58
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
59
+ * Azure resource
60
+ * @param options The options parameters.
61
+ */
62
+ beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
63
+ /**
64
+ * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
67
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
68
+ * consecutive hyphens
69
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
70
+ * Azure resource
71
+ * @param options The options parameters.
72
+ */
73
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
74
+ }
75
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,yBAAyB,EACzB,4CAA4C,EAC5C,2CAA2C,EAC3C,qCAAqC,EACrC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;OAOG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;;;OASG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,qCAAqC,CAAC,EACrD,qCAAqC,CACtC,CACF,CAAC;IACF;;;;;;;;;;;OAWG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;;OASG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsPutOptionalParams,\n PrivateEndpointConnectionsPutResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection>;\n /**\n * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n beginPut(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsPutResponse>,\n PrivateEndpointConnectionsPutResponse\n >\n >;\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n beginPutAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<PrivateEndpointConnectionsPutResponse>;\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,15 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models/index.js";
3
+ /** Interface representing a PrivateLinkResources. */
4
+ export interface PrivateLinkResources {
5
+ /**
6
+ * Gets the private link resources that need to be created for a Redis Enterprise cluster.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
9
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
10
+ * consecutive hyphens
11
+ * @param options The options parameters.
12
+ */
13
+ listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
14
+ }
15
+ //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n PrivateLinkResource,\n PrivateLinkResourcesListByClusterOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateLinkResources. */\nexport interface PrivateLinkResources {\n /**\n * Gets the private link resources that need to be created for a Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n}\n"]}
@@ -0,0 +1,94 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { Cluster, RedisEnterpriseListByResourceGroupOptionalParams, RedisEnterpriseListOptionalParams, RedisEnterpriseCreateOptionalParams, RedisEnterpriseCreateResponse, ClusterUpdate, RedisEnterpriseUpdateOptionalParams, RedisEnterpriseUpdateResponse, RedisEnterpriseDeleteOptionalParams, RedisEnterpriseGetOptionalParams, RedisEnterpriseGetResponse, RedisEnterpriseListSkusForScalingOptionalParams, RedisEnterpriseListSkusForScalingResponse } from "../models/index.js";
4
+ /** Interface representing a RedisEnterprise. */
5
+ export interface RedisEnterprise {
6
+ /**
7
+ * Lists all Redis Enterprise clusters in a resource group.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: RedisEnterpriseListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
12
+ /**
13
+ * Lists all Redis Enterprise clusters in the specified subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster>;
17
+ /**
18
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
21
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
22
+ * consecutive hyphens
23
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
24
+ * @param options The options parameters.
25
+ */
26
+ beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>>;
27
+ /**
28
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
31
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
32
+ * consecutive hyphens
33
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
34
+ * @param options The options parameters.
35
+ */
36
+ beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<RedisEnterpriseCreateResponse>;
37
+ /**
38
+ * Updates an existing Redis Enterprise cluster
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
41
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
42
+ * consecutive hyphens
43
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
44
+ * @param options The options parameters.
45
+ */
46
+ beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>>;
47
+ /**
48
+ * Updates an existing Redis Enterprise cluster
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
51
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
52
+ * consecutive hyphens
53
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
54
+ * @param options The options parameters.
55
+ */
56
+ beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<RedisEnterpriseUpdateResponse>;
57
+ /**
58
+ * Deletes a Redis Enterprise cache cluster.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
61
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
62
+ * consecutive hyphens
63
+ * @param options The options parameters.
64
+ */
65
+ beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
66
+ /**
67
+ * Deletes a Redis Enterprise cache cluster.
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
70
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
71
+ * consecutive hyphens
72
+ * @param options The options parameters.
73
+ */
74
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<void>;
75
+ /**
76
+ * Gets information about a Redis Enterprise cluster
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
79
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
80
+ * consecutive hyphens
81
+ * @param options The options parameters.
82
+ */
83
+ get(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseGetOptionalParams): Promise<RedisEnterpriseGetResponse>;
84
+ /**
85
+ * Lists the available SKUs for scaling the Redis Enterprise cluster.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
88
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
89
+ * consecutive hyphens
90
+ * @param options The options parameters.
91
+ */
92
+ listSkusForScaling(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseListSkusForScalingOptionalParams): Promise<RedisEnterpriseListSkusForScalingResponse>;
93
+ }
94
+ //# sourceMappingURL=redisEnterprise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterprise.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/redisEnterprise.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,OAAO,EACP,gDAAgD,EAChD,iCAAiC,EACjC,mCAAmC,EACnC,6BAA6B,EAC7B,aAAa,EACb,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACnC,gCAAgC,EAChC,0BAA0B,EAC1B,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6BAA6B,CAAC,EAC7C,6BAA6B,CAC9B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6BAA6B,CAAC,EAC7C,6BAA6B,CAC9B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=redisEnterprise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/redisEnterprise.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Cluster,\n RedisEnterpriseListByResourceGroupOptionalParams,\n RedisEnterpriseListOptionalParams,\n RedisEnterpriseCreateOptionalParams,\n RedisEnterpriseCreateResponse,\n ClusterUpdate,\n RedisEnterpriseUpdateOptionalParams,\n RedisEnterpriseUpdateResponse,\n RedisEnterpriseDeleteOptionalParams,\n RedisEnterpriseGetOptionalParams,\n RedisEnterpriseGetResponse,\n RedisEnterpriseListSkusForScalingOptionalParams,\n RedisEnterpriseListSkusForScalingResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a RedisEnterprise. */\nexport interface RedisEnterprise {\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Cluster>;\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n list(\n options?: RedisEnterpriseListOptionalParams,\n ): PagedAsyncIterableIterator<Cluster>;\n /**\n * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RedisEnterpriseCreateResponse>,\n RedisEnterpriseCreateResponse\n >\n >;\n /**\n * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<RedisEnterpriseCreateResponse>;\n /**\n * Updates an existing Redis Enterprise cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RedisEnterpriseUpdateResponse>,\n RedisEnterpriseUpdateResponse\n >\n >;\n /**\n * Updates an existing Redis Enterprise cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<RedisEnterpriseUpdateResponse>;\n /**\n * Deletes a Redis Enterprise cache cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a Redis Enterprise cache cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets information about a Redis Enterprise cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseGetOptionalParams,\n ): Promise<RedisEnterpriseGetResponse>;\n /**\n * Lists the available SKUs for scaling the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n listSkusForScaling(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseListSkusForScalingOptionalParams,\n ): Promise<RedisEnterpriseListSkusForScalingResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,26 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, OperationsStatus, RedisEnterprise, Databases, AccessPolicyAssignmentOperations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces/index.js";
4
+ import { RedisEnterpriseManagementClientOptionalParams } from "./models/index.js";
5
+ export declare class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the RedisEnterpriseManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The ID of the target subscription.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: RedisEnterpriseManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ operations: Operations;
19
+ operationsStatus: OperationsStatus;
20
+ redisEnterprise: RedisEnterprise;
21
+ databases: Databases;
22
+ accessPolicyAssignmentOperations: AccessPolicyAssignmentOperations;
23
+ privateEndpointConnections: PrivateEndpointConnections;
24
+ privateLinkResources: PrivateLinkResources;
25
+ }
26
+ //# sourceMappingURL=redisEnterpriseManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterpriseManagementClient.d.ts","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,gCAAgC,EAChC,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,6CAA6C,EAAE,MAAM,mBAAmB,CAAC;AAElF,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;IAoFzD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,gCAAgC,EAAE,gCAAgC,CAAC;IACnE,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
@@ -0,0 +1,104 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, OperationsStatusImpl, RedisEnterpriseImpl, DatabasesImpl, AccessPolicyAssignmentOperationsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, } from "./operations/index.js";
11
+ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the RedisEnterpriseManagementClient class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId The ID of the target subscription.
16
+ * @param options The parameter options
17
+ */
18
+ constructor(credentials, subscriptionId, options) {
19
+ var _a, _b, _c;
20
+ if (credentials === undefined) {
21
+ throw new Error("'credentials' cannot be null");
22
+ }
23
+ if (subscriptionId === undefined) {
24
+ throw new Error("'subscriptionId' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials,
33
+ };
34
+ const packageDetails = `azsdk-js-arm-redisenterprisecache/4.0.0-beta.1`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix,
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
60
+ },
61
+ }));
62
+ }
63
+ // Parameter assignments
64
+ this.subscriptionId = subscriptionId;
65
+ // Assigning values to Constant parameters
66
+ this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2025-05-01-preview";
68
+ this.operations = new OperationsImpl(this);
69
+ this.operationsStatus = new OperationsStatusImpl(this);
70
+ this.redisEnterprise = new RedisEnterpriseImpl(this);
71
+ this.databases = new DatabasesImpl(this);
72
+ this.accessPolicyAssignmentOperations =
73
+ new AccessPolicyAssignmentOperationsImpl(this);
74
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
75
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
76
+ this.addCustomApiVersionPolicy(options.apiVersion);
77
+ }
78
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
79
+ addCustomApiVersionPolicy(apiVersion) {
80
+ if (!apiVersion) {
81
+ return;
82
+ }
83
+ const apiVersionPolicy = {
84
+ name: "CustomApiVersionPolicy",
85
+ async sendRequest(request, next) {
86
+ const param = request.url.split("?");
87
+ if (param.length > 1) {
88
+ const newParams = param[1].split("&").map((item) => {
89
+ if (item.indexOf("api-version") > -1) {
90
+ return "api-version=" + apiVersion;
91
+ }
92
+ else {
93
+ return item;
94
+ }
95
+ });
96
+ request.url = param[0] + "?" + newParams.join("&");
97
+ }
98
+ return next(request);
99
+ },
100
+ };
101
+ this.pipeline.addPolicy(apiVersionPolicy);
102
+ }
103
+ }
104
+ //# sourceMappingURL=redisEnterpriseManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterpriseManagementClient.js","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,oCAAoC,EACpC,8BAA8B,EAC9B,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAY/B,MAAM,OAAO,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAK3E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuD;;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAkD;YAC9D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,gDAAgD,CAAC;QACxE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GACpB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YACxC,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,MAAA,mBAAmB,CAAC,gBAAgB,mCACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,gCAAgC;YACnC,IAAI,oCAAoC,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CASF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n OperationsStatusImpl,\n RedisEnterpriseImpl,\n DatabasesImpl,\n AccessPolicyAssignmentOperationsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n OperationsStatus,\n RedisEnterprise,\n Databases,\n AccessPolicyAssignmentOperations,\n PrivateEndpointConnections,\n PrivateLinkResources,\n} from \"./operationsInterfaces/index.js\";\nimport { RedisEnterpriseManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class RedisEnterpriseManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the RedisEnterpriseManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: RedisEnterpriseManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: RedisEnterpriseManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-redisenterprisecache/4.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-05-01-preview\";\n this.operations = new OperationsImpl(this);\n this.operationsStatus = new OperationsStatusImpl(this);\n this.redisEnterprise = new RedisEnterpriseImpl(this);\n this.databases = new DatabasesImpl(this);\n this.accessPolicyAssignmentOperations =\n new AccessPolicyAssignmentOperationsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n operationsStatus: OperationsStatus;\n redisEnterprise: RedisEnterprise;\n databases: Databases;\n accessPolicyAssignmentOperations: AccessPolicyAssignmentOperations;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n}\n"]}