@azure/arm-redisenterprisecache 3.1.0-alpha.20250218.1 → 3.1.0-alpha.20250220.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (569) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/operations/accessPolicyAssignmentOperations.d.ts +3 -3
  12. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/accessPolicyAssignmentOperations.js +90 -98
  14. package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/databases.d.ts +3 -3
  16. package/dist/browser/operations/databases.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/databases.js +415 -455
  18. package/dist/browser/operations/databases.js.map +1 -0
  19. package/dist/browser/operations/index.d.ts +8 -0
  20. package/dist/browser/operations/index.d.ts.map +1 -0
  21. package/dist/browser/operations/index.js +15 -0
  22. package/dist/browser/operations/index.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  24. package/dist/browser/operations/operations.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  26. package/dist/browser/operations/operations.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/operationsStatus.d.ts +3 -3
  28. package/dist/browser/operations/operationsStatus.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/operationsStatus.js +2 -2
  30. package/dist/browser/operations/operationsStatus.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  32. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +86 -94
  34. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  36. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
  38. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/redisEnterprise.d.ts +3 -3
  40. package/dist/browser/operations/redisEnterprise.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/redisEnterprise.js +116 -128
  42. package/dist/browser/operations/redisEnterprise.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +1 -1
  44. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  45. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.d.ts +1 -1
  47. package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -0
  48. package/dist/browser/operationsInterfaces/databases.js.map +1 -0
  49. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  50. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/index.js +15 -0
  52. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  55. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts +1 -1
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts.map +1 -1
  58. package/dist/browser/operationsInterfaces/operationsStatus.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.d.ts +1 -1
  66. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/redisEnterprise.js.map +1 -0
  68. package/dist/browser/package.json +3 -0
  69. package/dist/browser/pagingHelper.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.d.ts +2 -2
  71. package/dist/browser/redisEnterpriseManagementClient.d.ts.map +1 -0
  72. package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.js +15 -18
  73. package/dist/browser/redisEnterpriseManagementClient.js.map +1 -0
  74. package/dist/commonjs/index.d.ts +5 -0
  75. package/dist/commonjs/index.d.ts.map +1 -0
  76. package/dist/commonjs/index.js +19 -0
  77. package/dist/commonjs/index.js.map +1 -0
  78. package/dist/commonjs/lroImpl.d.ts +11 -0
  79. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  80. package/dist/commonjs/lroImpl.js +17 -0
  81. package/dist/commonjs/lroImpl.js.map +1 -0
  82. package/{types/arm-redisenterprisecache.d.ts → dist/commonjs/models/index.d.ts} +1534 -2165
  83. package/dist/commonjs/models/index.d.ts.map +1 -0
  84. package/dist/commonjs/models/index.js +355 -0
  85. package/dist/commonjs/models/index.js.map +1 -0
  86. package/dist/commonjs/models/mappers.d.ts +60 -0
  87. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  88. package/dist/commonjs/models/mappers.js +1657 -0
  89. package/dist/commonjs/models/mappers.js.map +1 -0
  90. package/dist/commonjs/models/parameters.d.ts +27 -0
  91. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  92. package/dist/commonjs/models/parameters.js +217 -0
  93. package/dist/commonjs/models/parameters.js.map +1 -0
  94. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +94 -0
  95. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  96. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +399 -0
  97. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +1 -0
  98. package/dist/commonjs/operations/databases.d.ts +235 -0
  99. package/dist/commonjs/operations/databases.d.ts.map +1 -0
  100. package/dist/commonjs/operations/databases.js +1114 -0
  101. package/dist/commonjs/operations/databases.js.map +1 -0
  102. package/dist/commonjs/operations/index.d.ts +8 -0
  103. package/dist/commonjs/operations/index.d.ts.map +1 -0
  104. package/dist/commonjs/operations/index.js +18 -0
  105. package/dist/commonjs/operations/index.js.map +1 -0
  106. package/dist/commonjs/operations/operations.d.ts +32 -0
  107. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  108. package/dist/commonjs/operations/operations.js +137 -0
  109. package/dist/commonjs/operations/operations.js.map +1 -0
  110. package/dist/commonjs/operations/operationsStatus.d.ts +20 -0
  111. package/dist/commonjs/operations/operationsStatus.d.ts.map +1 -0
  112. package/dist/commonjs/operations/operationsStatus.js +58 -0
  113. package/dist/commonjs/operations/operationsStatus.js.map +1 -0
  114. package/dist/commonjs/operations/privateEndpointConnections.d.ts +80 -0
  115. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  116. package/dist/commonjs/operations/privateEndpointConnections.js +331 -0
  117. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  118. package/dist/commonjs/operations/privateLinkResources.d.ts +30 -0
  119. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  120. package/dist/commonjs/operations/privateLinkResources.js +109 -0
  121. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  122. package/dist/commonjs/operations/redisEnterprise.d.ts +107 -0
  123. package/dist/commonjs/operations/redisEnterprise.d.ts.map +1 -0
  124. package/dist/commonjs/operations/redisEnterprise.js +538 -0
  125. package/dist/commonjs/operations/redisEnterprise.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
  127. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +10 -0
  129. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/databases.d.ts +210 -0
  131. package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/databases.js +10 -0
  133. package/dist/commonjs/operationsInterfaces/databases.js.map +1 -0
  134. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  135. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  137. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  138. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  139. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  141. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  142. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +12 -0
  143. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  144. package/dist/commonjs/operationsInterfaces/operationsStatus.js +10 -0
  145. package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +1 -0
  146. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +63 -0
  147. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  148. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  149. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  150. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +13 -0
  151. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  152. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  153. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  154. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +71 -0
  155. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  156. package/dist/commonjs/operationsInterfaces/redisEnterprise.js +10 -0
  157. package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +1 -0
  158. package/dist/commonjs/package.json +3 -0
  159. package/dist/commonjs/pagingHelper.d.ts +13 -0
  160. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  161. package/dist/commonjs/pagingHelper.js +36 -0
  162. package/dist/commonjs/pagingHelper.js.map +1 -0
  163. package/dist/commonjs/redisEnterpriseManagementClient.d.ts +26 -0
  164. package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +1 -0
  165. package/dist/commonjs/redisEnterpriseManagementClient.js +109 -0
  166. package/dist/commonjs/redisEnterpriseManagementClient.js.map +1 -0
  167. package/dist/esm/index.d.ts +5 -0
  168. package/dist/esm/index.d.ts.map +1 -0
  169. package/{src/index.ts → dist/esm/index.js} +5 -5
  170. package/dist/esm/index.js.map +1 -0
  171. package/dist/esm/lroImpl.d.ts +11 -0
  172. package/dist/esm/lroImpl.d.ts.map +1 -0
  173. package/dist/esm/lroImpl.js +14 -0
  174. package/dist/esm/lroImpl.js.map +1 -0
  175. package/dist/esm/models/index.d.ts +1534 -0
  176. package/dist/esm/models/index.d.ts.map +1 -0
  177. package/dist/esm/models/index.js +352 -0
  178. package/dist/esm/models/index.js.map +1 -0
  179. package/dist/esm/models/mappers.d.ts +60 -0
  180. package/dist/esm/models/mappers.d.ts.map +1 -0
  181. package/dist/esm/models/mappers.js +1653 -0
  182. package/dist/esm/models/mappers.js.map +1 -0
  183. package/dist/esm/models/parameters.d.ts +27 -0
  184. package/dist/esm/models/parameters.d.ts.map +1 -0
  185. package/dist/esm/models/parameters.js +214 -0
  186. package/dist/esm/models/parameters.js.map +1 -0
  187. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +94 -0
  188. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  189. package/dist/esm/operations/accessPolicyAssignmentOperations.js +395 -0
  190. package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +1 -0
  191. package/dist/esm/operations/databases.d.ts +235 -0
  192. package/dist/esm/operations/databases.d.ts.map +1 -0
  193. package/dist/esm/operations/databases.js +1110 -0
  194. package/dist/esm/operations/databases.js.map +1 -0
  195. package/dist/esm/operations/index.d.ts +8 -0
  196. package/dist/esm/operations/index.d.ts.map +1 -0
  197. package/dist/esm/operations/index.js +15 -0
  198. package/dist/esm/operations/index.js.map +1 -0
  199. package/dist/esm/operations/operations.d.ts +32 -0
  200. package/dist/esm/operations/operations.d.ts.map +1 -0
  201. package/dist/esm/operations/operations.js +133 -0
  202. package/dist/esm/operations/operations.js.map +1 -0
  203. package/dist/esm/operations/operationsStatus.d.ts +20 -0
  204. package/dist/esm/operations/operationsStatus.d.ts.map +1 -0
  205. package/dist/esm/operations/operationsStatus.js +53 -0
  206. package/dist/esm/operations/operationsStatus.js.map +1 -0
  207. package/dist/esm/operations/privateEndpointConnections.d.ts +80 -0
  208. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  209. package/dist/esm/operations/privateEndpointConnections.js +327 -0
  210. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  211. package/dist/esm/operations/privateLinkResources.d.ts +30 -0
  212. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  213. package/dist/esm/operations/privateLinkResources.js +105 -0
  214. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  215. package/dist/esm/operations/redisEnterprise.d.ts +107 -0
  216. package/dist/esm/operations/redisEnterprise.d.ts.map +1 -0
  217. package/dist/esm/operations/redisEnterprise.js +534 -0
  218. package/dist/esm/operations/redisEnterprise.js.map +1 -0
  219. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
  220. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  221. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  222. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  223. package/dist/esm/operationsInterfaces/databases.d.ts +210 -0
  224. package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -0
  225. package/dist/esm/operationsInterfaces/databases.js +9 -0
  226. package/dist/esm/operationsInterfaces/databases.js.map +1 -0
  227. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  228. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  229. package/dist/esm/operationsInterfaces/index.js +15 -0
  230. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  231. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  232. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  233. package/dist/esm/operationsInterfaces/operations.js +9 -0
  234. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  235. package/dist/esm/operationsInterfaces/operationsStatus.d.ts +12 -0
  236. package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  237. package/dist/esm/operationsInterfaces/operationsStatus.js +9 -0
  238. package/dist/esm/operationsInterfaces/operationsStatus.js.map +1 -0
  239. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +63 -0
  240. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  241. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  242. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  243. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +13 -0
  244. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  245. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  246. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  247. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +71 -0
  248. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  249. package/dist/esm/operationsInterfaces/redisEnterprise.js +9 -0
  250. package/dist/esm/operationsInterfaces/redisEnterprise.js.map +1 -0
  251. package/dist/esm/package.json +3 -0
  252. package/dist/esm/pagingHelper.d.ts +13 -0
  253. package/dist/esm/pagingHelper.d.ts.map +1 -0
  254. package/dist/esm/pagingHelper.js +32 -0
  255. package/dist/esm/pagingHelper.js.map +1 -0
  256. package/dist/esm/redisEnterpriseManagementClient.d.ts +26 -0
  257. package/dist/esm/redisEnterpriseManagementClient.d.ts.map +1 -0
  258. package/dist/esm/redisEnterpriseManagementClient.js +104 -0
  259. package/dist/esm/redisEnterpriseManagementClient.js.map +1 -0
  260. package/dist/react-native/index.d.ts +5 -0
  261. package/dist/react-native/index.d.ts.map +1 -0
  262. package/dist/react-native/index.js +13 -0
  263. package/dist/react-native/index.js.map +1 -0
  264. package/dist/react-native/lroImpl.d.ts +11 -0
  265. package/dist/react-native/lroImpl.d.ts.map +1 -0
  266. package/dist/react-native/lroImpl.js +14 -0
  267. package/dist/react-native/lroImpl.js.map +1 -0
  268. package/dist/react-native/models/index.d.ts +1534 -0
  269. package/dist/react-native/models/index.d.ts.map +1 -0
  270. package/dist/react-native/models/index.js +352 -0
  271. package/dist/react-native/models/index.js.map +1 -0
  272. package/dist/react-native/models/mappers.d.ts +60 -0
  273. package/dist/react-native/models/mappers.d.ts.map +1 -0
  274. package/dist/react-native/models/mappers.js +1653 -0
  275. package/dist/react-native/models/mappers.js.map +1 -0
  276. package/dist/react-native/models/parameters.d.ts +27 -0
  277. package/dist/react-native/models/parameters.d.ts.map +1 -0
  278. package/dist/react-native/models/parameters.js +214 -0
  279. package/dist/react-native/models/parameters.js.map +1 -0
  280. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +94 -0
  281. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  282. package/dist/react-native/operations/accessPolicyAssignmentOperations.js +395 -0
  283. package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +1 -0
  284. package/dist/react-native/operations/databases.d.ts +235 -0
  285. package/dist/react-native/operations/databases.d.ts.map +1 -0
  286. package/dist/react-native/operations/databases.js +1110 -0
  287. package/dist/react-native/operations/databases.js.map +1 -0
  288. package/dist/react-native/operations/index.d.ts +8 -0
  289. package/dist/react-native/operations/index.d.ts.map +1 -0
  290. package/dist/react-native/operations/index.js +15 -0
  291. package/dist/react-native/operations/index.js.map +1 -0
  292. package/dist/react-native/operations/operations.d.ts +32 -0
  293. package/dist/react-native/operations/operations.d.ts.map +1 -0
  294. package/dist/react-native/operations/operations.js +133 -0
  295. package/dist/react-native/operations/operations.js.map +1 -0
  296. package/dist/react-native/operations/operationsStatus.d.ts +20 -0
  297. package/dist/react-native/operations/operationsStatus.d.ts.map +1 -0
  298. package/dist/react-native/operations/operationsStatus.js +53 -0
  299. package/dist/react-native/operations/operationsStatus.js.map +1 -0
  300. package/dist/react-native/operations/privateEndpointConnections.d.ts +80 -0
  301. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  302. package/dist/react-native/operations/privateEndpointConnections.js +327 -0
  303. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  304. package/dist/react-native/operations/privateLinkResources.d.ts +30 -0
  305. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  306. package/dist/react-native/operations/privateLinkResources.js +105 -0
  307. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  308. package/dist/react-native/operations/redisEnterprise.d.ts +107 -0
  309. package/dist/react-native/operations/redisEnterprise.d.ts.map +1 -0
  310. package/dist/react-native/operations/redisEnterprise.js +534 -0
  311. package/dist/react-native/operations/redisEnterprise.js.map +1 -0
  312. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
  313. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  314. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  315. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  316. package/dist/react-native/operationsInterfaces/databases.d.ts +210 -0
  317. package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -0
  318. package/dist/react-native/operationsInterfaces/databases.js +9 -0
  319. package/dist/react-native/operationsInterfaces/databases.js.map +1 -0
  320. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  321. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  322. package/dist/react-native/operationsInterfaces/index.js +15 -0
  323. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  324. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  325. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  326. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  327. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  328. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +12 -0
  329. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  330. package/dist/react-native/operationsInterfaces/operationsStatus.js +9 -0
  331. package/dist/react-native/operationsInterfaces/operationsStatus.js.map +1 -0
  332. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +63 -0
  333. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  334. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  335. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  336. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +13 -0
  337. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  338. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  339. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  340. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +71 -0
  341. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  342. package/dist/react-native/operationsInterfaces/redisEnterprise.js +9 -0
  343. package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +1 -0
  344. package/dist/react-native/package.json +3 -0
  345. package/dist/react-native/pagingHelper.d.ts +13 -0
  346. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  347. package/dist/react-native/pagingHelper.js +32 -0
  348. package/dist/react-native/pagingHelper.js.map +1 -0
  349. package/dist/react-native/redisEnterpriseManagementClient.d.ts +26 -0
  350. package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +1 -0
  351. package/dist/react-native/redisEnterpriseManagementClient.js +104 -0
  352. package/dist/react-native/redisEnterpriseManagementClient.js.map +1 -0
  353. package/package.json +67 -36
  354. package/dist/index.js +0 -5146
  355. package/dist/index.js.map +0 -1
  356. package/dist/index.min.js +0 -1
  357. package/dist/index.min.js.map +0 -1
  358. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts +0 -2
  359. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +0 -1
  360. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +0 -35
  361. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +0 -1
  362. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +0 -2
  363. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +0 -1
  364. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +0 -38
  365. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +0 -1
  366. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +0 -2
  367. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +0 -1
  368. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +0 -38
  369. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +0 -1
  370. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +0 -2
  371. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +0 -1
  372. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +0 -53
  373. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +0 -1
  374. package/dist-esm/samples-dev/databasesCreateSample.d.ts +0 -2
  375. package/dist-esm/samples-dev/databasesCreateSample.d.ts.map +0 -1
  376. package/dist-esm/samples-dev/databasesCreateSample.js +0 -81
  377. package/dist-esm/samples-dev/databasesCreateSample.js.map +0 -1
  378. package/dist-esm/samples-dev/databasesDeleteSample.d.ts +0 -2
  379. package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/databasesDeleteSample.js +0 -37
  381. package/dist-esm/samples-dev/databasesDeleteSample.js.map +0 -1
  382. package/dist-esm/samples-dev/databasesExportSample.d.ts +0 -2
  383. package/dist-esm/samples-dev/databasesExportSample.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/databasesExportSample.js +0 -33
  385. package/dist-esm/samples-dev/databasesExportSample.js.map +0 -1
  386. package/dist-esm/samples-dev/databasesFlushSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/databasesFlushSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/databasesFlushSample.js +0 -35
  389. package/dist-esm/samples-dev/databasesFlushSample.js.map +0 -1
  390. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +0 -41
  393. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js.map +0 -1
  394. package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +0 -35
  397. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +0 -1
  398. package/dist-esm/samples-dev/databasesGetSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/databasesGetSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/databasesGetSample.js +0 -37
  401. package/dist-esm/samples-dev/databasesGetSample.js.map +0 -1
  402. package/dist-esm/samples-dev/databasesImportSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/databasesImportSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/databasesImportSample.js +0 -36
  405. package/dist-esm/samples-dev/databasesImportSample.js.map +0 -1
  406. package/dist-esm/samples-dev/databasesListByClusterSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/databasesListByClusterSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/databasesListByClusterSample.js +0 -52
  409. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +0 -1
  410. package/dist-esm/samples-dev/databasesListKeysSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/databasesListKeysSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/databasesListKeysSample.js +0 -37
  413. package/dist-esm/samples-dev/databasesListKeysSample.js.map +0 -1
  414. package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts +0 -2
  415. package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +0 -31
  417. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +0 -1
  418. package/dist-esm/samples-dev/databasesUpdateSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/databasesUpdateSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/databasesUpdateSample.js +0 -36
  421. package/dist-esm/samples-dev/databasesUpdateSample.js.map +0 -1
  422. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +0 -37
  425. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +0 -1
  426. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/operationsListSample.js +0 -50
  429. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  430. package/dist-esm/samples-dev/operationsStatusGetSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/operationsStatusGetSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/operationsStatusGetSample.js +0 -36
  433. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +0 -1
  434. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
  437. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  438. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
  441. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  442. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -52
  445. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  446. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -36
  449. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
  450. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +0 -52
  453. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +0 -1
  454. package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +0 -51
  457. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +0 -1
  458. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +0 -36
  461. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +0 -1
  462. package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +0 -36
  465. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +0 -1
  466. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +0 -51
  469. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +0 -1
  470. package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts +0 -2
  471. package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts.map +0 -1
  472. package/dist-esm/samples-dev/redisEnterpriseListSample.js +0 -50
  473. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +0 -1
  474. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts +0 -2
  475. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts.map +0 -1
  476. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +0 -34
  477. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +0 -1
  478. package/dist-esm/src/index.d.ts +0 -5
  479. package/dist-esm/src/index.js.map +0 -1
  480. package/dist-esm/src/lroImpl.js.map +0 -1
  481. package/dist-esm/src/models/index.js.map +0 -1
  482. package/dist-esm/src/models/mappers.js.map +0 -1
  483. package/dist-esm/src/models/parameters.js.map +0 -1
  484. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  485. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js.map +0 -1
  486. package/dist-esm/src/operations/databases.d.ts.map +0 -1
  487. package/dist-esm/src/operations/databases.js.map +0 -1
  488. package/dist-esm/src/operations/index.d.ts +0 -8
  489. package/dist-esm/src/operations/index.d.ts.map +0 -1
  490. package/dist-esm/src/operations/index.js +0 -15
  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/accessPolicyAssignmentOperations.d.ts.map +0 -1
  503. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  504. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +0 -1
  505. package/dist-esm/src/operationsInterfaces/databases.js.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  507. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  509. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  511. package/dist-esm/src/operationsInterfaces/operationsStatus.js.map +0 -1
  512. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  513. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  514. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  515. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  516. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  517. package/dist-esm/src/operationsInterfaces/redisEnterprise.js.map +0 -1
  518. package/dist-esm/src/pagingHelper.js.map +0 -1
  519. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +0 -1
  520. package/dist-esm/src/redisEnterpriseManagementClient.js.map +0 -1
  521. package/dist-esm/test/redisenterprisecache_test.spec.d.ts +0 -4
  522. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +0 -1
  523. package/dist-esm/test/redisenterprisecache_test.spec.js +0 -74
  524. package/dist-esm/test/redisenterprisecache_test.spec.js.map +0 -1
  525. package/src/lroImpl.ts +0 -38
  526. package/src/models/index.ts +0 -1720
  527. package/src/models/mappers.ts +0 -1773
  528. package/src/models/parameters.ts +0 -257
  529. package/src/operations/accessPolicyAssignmentOperations.ts +0 -569
  530. package/src/operations/databases.ts +0 -1603
  531. package/src/operations/index.ts +0 -15
  532. package/src/operations/operations.ts +0 -149
  533. package/src/operations/operationsStatus.ts +0 -71
  534. package/src/operations/privateEndpointConnections.ts +0 -451
  535. package/src/operations/privateLinkResources.ts +0 -136
  536. package/src/operations/redisEnterprise.ts +0 -708
  537. package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +0 -132
  538. package/src/operationsInterfaces/databases.ts +0 -403
  539. package/src/operationsInterfaces/index.ts +0 -15
  540. package/src/operationsInterfaces/operations.ts +0 -22
  541. package/src/operationsInterfaces/operationsStatus.ts +0 -27
  542. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -116
  543. package/src/operationsInterfaces/privateLinkResources.ts +0 -29
  544. package/src/operationsInterfaces/redisEnterprise.ts +0 -139
  545. package/src/pagingHelper.ts +0 -39
  546. package/src/redisEnterpriseManagementClient.ts +0 -170
  547. package/tsconfig.json +0 -33
  548. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  549. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  550. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  551. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  552. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  553. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  554. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  555. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  556. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  557. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  558. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  559. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -0
  560. /package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.js +0 -0
  561. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  562. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.js +0 -0
  563. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  564. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  565. /package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.js +0 -0
  566. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  567. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  568. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  569. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databases.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databases.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 Database,\n DatabasesListByClusterOptionalParams,\n DatabasesCreateOptionalParams,\n DatabasesCreateResponse,\n DatabaseUpdate,\n DatabasesUpdateOptionalParams,\n DatabasesUpdateResponse,\n DatabasesGetOptionalParams,\n DatabasesGetResponse,\n DatabasesDeleteOptionalParams,\n DatabasesListKeysOptionalParams,\n DatabasesListKeysResponse,\n RegenerateKeyParameters,\n DatabasesRegenerateKeyOptionalParams,\n DatabasesRegenerateKeyResponse,\n ImportClusterParameters,\n DatabasesImportOptionalParams,\n ExportClusterParameters,\n DatabasesExportOptionalParams,\n ForceUnlinkParameters,\n DatabasesForceUnlinkOptionalParams,\n ForceLinkParameters,\n DatabasesForceLinkToReplicationGroupOptionalParams,\n DatabasesForceLinkToReplicationGroupResponse,\n FlushParameters,\n DatabasesFlushOptionalParams,\n DatabasesUpgradeDBRedisVersionOptionalParams,\n DatabasesUpgradeDBRedisVersionResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Databases. */\nexport interface Databases {\n /**\n * Gets all databases in the specified 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.\n * @param options The options parameters.\n */\n listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: DatabasesListByClusterOptionalParams,\n ): PagedAsyncIterableIterator<Database>;\n /**\n * Creates a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Parameters supplied to the create or update database operation.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: Database,\n options?: DatabasesCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabasesCreateResponse>,\n DatabasesCreateResponse\n >\n >;\n /**\n * Creates a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Parameters supplied to the create or update database operation.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: Database,\n options?: DatabasesCreateOptionalParams,\n ): Promise<DatabasesCreateResponse>;\n /**\n * Updates a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Parameters supplied to the create or update database operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: DatabaseUpdate,\n options?: DatabasesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabasesUpdateResponse>,\n DatabasesUpdateResponse\n >\n >;\n /**\n * Updates a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Parameters supplied to the create or update database operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: DatabaseUpdate,\n options?: DatabasesUpdateOptionalParams,\n ): Promise<DatabasesUpdateResponse>;\n /**\n * Gets information about a database in 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.\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: DatabasesGetOptionalParams,\n ): Promise<DatabasesGetResponse>;\n /**\n * Deletes a single database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: DatabasesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a single database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: DatabasesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Retrieves the access keys for the Redis Enterprise database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: DatabasesListKeysOptionalParams,\n ): Promise<DatabasesListKeysResponse>;\n /**\n * Regenerates the Redis Enterprise database's access keys.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Specifies which key to regenerate.\n * @param options The options parameters.\n */\n beginRegenerateKey(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: RegenerateKeyParameters,\n options?: DatabasesRegenerateKeyOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabasesRegenerateKeyResponse>,\n DatabasesRegenerateKeyResponse\n >\n >;\n /**\n * Regenerates the Redis Enterprise database's access keys.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Specifies which key to regenerate.\n * @param options The options parameters.\n */\n beginRegenerateKeyAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: RegenerateKeyParameters,\n options?: DatabasesRegenerateKeyOptionalParams,\n ): Promise<DatabasesRegenerateKeyResponse>;\n /**\n * Imports database files to target database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Storage information for importing into the cluster\n * @param options The options parameters.\n */\n beginImport(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ImportClusterParameters,\n options?: DatabasesImportOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Imports database files to target database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Storage information for importing into the cluster\n * @param options The options parameters.\n */\n beginImportAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ImportClusterParameters,\n options?: DatabasesImportOptionalParams,\n ): Promise<void>;\n /**\n * Exports a database file from target database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Storage information for exporting into the cluster\n * @param options The options parameters.\n */\n beginExport(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ExportClusterParameters,\n options?: DatabasesExportOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Exports a database file from target database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Storage information for exporting into the cluster\n * @param options The options parameters.\n */\n beginExportAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ExportClusterParameters,\n options?: DatabasesExportOptionalParams,\n ): Promise<void>;\n /**\n * Forcibly removes the link to the specified database resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Information identifying the database to be unlinked.\n * @param options The options parameters.\n */\n beginForceUnlink(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceUnlinkParameters,\n options?: DatabasesForceUnlinkOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Forcibly removes the link to the specified database resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Information identifying the database to be unlinked.\n * @param options The options parameters.\n */\n beginForceUnlinkAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceUnlinkParameters,\n options?: DatabasesForceUnlinkOptionalParams,\n ): Promise<void>;\n /**\n * Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing\n * replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database\n * will temporarily be unavailable while rejoining the replication group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Information identifying the database to be unlinked.\n * @param options The options parameters.\n */\n beginForceLinkToReplicationGroup(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceLinkParameters,\n options?: DatabasesForceLinkToReplicationGroupOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabasesForceLinkToReplicationGroupResponse>,\n DatabasesForceLinkToReplicationGroupResponse\n >\n >;\n /**\n * Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing\n * replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database\n * will temporarily be unavailable while rejoining the replication group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Information identifying the database to be unlinked.\n * @param options The options parameters.\n */\n beginForceLinkToReplicationGroupAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceLinkParameters,\n options?: DatabasesForceLinkToReplicationGroupOptionalParams,\n ): Promise<DatabasesForceLinkToReplicationGroupResponse>;\n /**\n * Flushes all the keys in this database and also from its linked databases.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Information identifying the databases to be flushed\n * @param options The options parameters.\n */\n beginFlush(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: FlushParameters,\n options?: DatabasesFlushOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Flushes all the keys in this database and also from its linked databases.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param parameters Information identifying the databases to be flushed\n * @param options The options parameters.\n */\n beginFlushAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: FlushParameters,\n options?: DatabasesFlushOptionalParams,\n ): Promise<void>;\n /**\n * Upgrades the database Redis version to the latest available.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n beginUpgradeDBRedisVersion(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: DatabasesUpgradeDBRedisVersionOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabasesUpgradeDBRedisVersionResponse>,\n DatabasesUpgradeDBRedisVersionResponse\n >\n >;\n /**\n * Upgrades the database Redis version to the latest available.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster.\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n beginUpgradeDBRedisVersionAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: DatabasesUpgradeDBRedisVersionOptionalParams,\n ): Promise<DatabasesUpgradeDBRedisVersionResponse>;\n}\n"]}
@@ -0,0 +1,8 @@
1
+ export * from "./operations.js";
2
+ export * from "./operationsStatus.js";
3
+ export * from "./redisEnterprise.js";
4
+ export * from "./databases.js";
5
+ export * from "./accessPolicyAssignmentOperations.js";
6
+ export * from "./privateEndpointConnections.js";
7
+ export * from "./privateLinkResources.js";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,15 @@
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 * from "./operations.js";
9
+ export * from "./operationsStatus.js";
10
+ export * from "./redisEnterprise.js";
11
+ export * from "./databases.js";
12
+ export * from "./accessPolicyAssignmentOperations.js";
13
+ export * from "./privateEndpointConnections.js";
14
+ export * from "./privateLinkResources.js";
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,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 * from \"./operations.js\";\nexport * from \"./operationsStatus.js\";\nexport * from \"./redisEnterprise.js\";\nexport * from \"./databases.js\";\nexport * from \"./accessPolicyAssignmentOperations.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available REST API operations of the Microsoft.Cache provider.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { OperationsStatusGetOptionalParams, OperationsStatusGetResponse } from "../models";
1
+ import { OperationsStatusGetOptionalParams, OperationsStatusGetResponse } from "../models/index.js";
2
2
  /** Interface representing a OperationsStatus. */
3
3
  export interface OperationsStatus {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operationsStatus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationsStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,WAAW,CAAC;AAEnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"operationsStatus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationsStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsStatus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationsStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationsStatusGetOptionalParams,\n OperationsStatusGetResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a OperationsStatus. */\nexport interface OperationsStatus {\n /**\n * Gets the status of operation.\n * @param location The name of Azure region.\n * @param operationId The ID of an ongoing async operation.\n * @param options The options parameters.\n */\n get(\n location: string,\n operationId: string,\n options?: OperationsStatusGetOptionalParams,\n ): Promise<OperationsStatusGetResponse>;\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsPutOptionalParams, PrivateEndpointConnectionsPutResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
3
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsPutOptionalParams, PrivateEndpointConnectionsPutResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
4
4
  /** Interface representing a PrivateEndpointConnections. */
5
5
  export interface PrivateEndpointConnections {
6
6
  /**
@@ -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;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;OAOG;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;;;;;;;;;OASG;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;;;;;;;;;OASG;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;;;;;;;OAOG;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;;;;;;;OAOG;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 @@
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.\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.\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.\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.\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.\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.\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"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models";
2
+ import { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a PrivateLinkResources. */
4
4
  export interface PrivateLinkResources {
5
5
  /**
@@ -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;;;;;OAKG;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 @@
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.\n * @param options The options parameters.\n */\n listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { Cluster, RedisEnterpriseListByResourceGroupOptionalParams, RedisEnterpriseListOptionalParams, RedisEnterpriseCreateOptionalParams, RedisEnterpriseCreateResponse, ClusterUpdate, RedisEnterpriseUpdateOptionalParams, RedisEnterpriseUpdateResponse, RedisEnterpriseDeleteOptionalParams, RedisEnterpriseGetOptionalParams, RedisEnterpriseGetResponse } from "../models";
3
+ import { Cluster, RedisEnterpriseListByResourceGroupOptionalParams, RedisEnterpriseListOptionalParams, RedisEnterpriseCreateOptionalParams, RedisEnterpriseCreateResponse, ClusterUpdate, RedisEnterpriseUpdateOptionalParams, RedisEnterpriseUpdateResponse, RedisEnterpriseDeleteOptionalParams, RedisEnterpriseGetOptionalParams, RedisEnterpriseGetResponse } from "../models/index.js";
4
4
  /** Interface representing a RedisEnterprise. */
5
5
  export interface RedisEnterprise {
6
6
  /**
@@ -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,EAC3B,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;;;;;;OAMG;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;;;;;;OAMG;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;;;;;;OAMG;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;;;;;;OAMG;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;;;;;OAKG;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;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
@@ -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} 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.\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.\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.\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.\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.\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.\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.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseGetOptionalParams,\n ): Promise<RedisEnterpriseGetResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -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"]}
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Operations, OperationsStatus, RedisEnterprise, Databases, AccessPolicyAssignmentOperations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces";
4
- import { RedisEnterpriseManagementClientOptionalParams } from "./models";
3
+ import { Operations, OperationsStatus, RedisEnterprise, Databases, AccessPolicyAssignmentOperations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces/index.js";
4
+ import { RedisEnterpriseManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -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"}
@@ -5,10 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { OperationsImpl, OperationsStatusImpl, RedisEnterpriseImpl, DatabasesImpl, AccessPolicyAssignmentOperationsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, } from "./operations";
10
+ import { OperationsImpl, OperationsStatusImpl, RedisEnterpriseImpl, DatabasesImpl, AccessPolicyAssignmentOperationsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, } from "./operations/index.js";
12
11
  export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
13
12
  /**
14
13
  * Initializes a new instance of the RedisEnterpriseManagementClient class.
@@ -83,22 +82,20 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
83
82
  }
84
83
  const apiVersionPolicy = {
85
84
  name: "CustomApiVersionPolicy",
86
- sendRequest(request, next) {
87
- return __awaiter(this, void 0, void 0, function* () {
88
- const param = request.url.split("?");
89
- if (param.length > 1) {
90
- const newParams = param[1].split("&").map((item) => {
91
- if (item.indexOf("api-version") > -1) {
92
- return "api-version=" + apiVersion;
93
- }
94
- else {
95
- return item;
96
- }
97
- });
98
- request.url = param[0] + "?" + newParams.join("&");
99
- }
100
- return next(request);
101
- });
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);
102
99
  },
103
100
  };
104
101
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -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/3.1.0-beta.3`;\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 || \"2024-09-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"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { RedisEnterpriseManagementClient } from "./redisEnterpriseManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.RedisEnterpriseManagementClient = exports.getContinuationToken = void 0;
11
+ const tslib_1 = require("tslib");
12
+ /// <reference lib="esnext.asynciterable" />
13
+ var pagingHelper_js_1 = require("./pagingHelper.js");
14
+ Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
15
+ tslib_1.__exportStar(require("./models/index.js"), exports);
16
+ var redisEnterpriseManagementClient_js_1 = require("./redisEnterpriseManagementClient.js");
17
+ Object.defineProperty(exports, "RedisEnterpriseManagementClient", { enumerable: true, get: function () { return redisEnterpriseManagementClient_js_1.RedisEnterpriseManagementClient; } });
18
+ tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,2FAAuF;AAA9E,qJAAA,+BAA+B,OAAA;AACxC,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { RedisEnterpriseManagementClient } from \"./redisEnterpriseManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,11 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare function createLroSpec<T>(inputs: {
3
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
+ args: Record<string, unknown>;
5
+ spec: {
6
+ readonly requestBody?: unknown;
7
+ readonly path?: string;
8
+ readonly httpMethod: string;
9
+ } & Record<string, any>;
10
+ }): LongRunningOperation<T>;
11
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createLroSpec = createLroSpec;
4
+ const tslib_1 = require("tslib");
5
+ function createLroSpec(inputs) {
6
+ const { args, spec, sendOperationFn } = inputs;
7
+ return {
8
+ requestMethod: spec.httpMethod,
9
+ requestPath: spec.path,
10
+ sendInitialRequest: () => sendOperationFn(args, spec),
11
+ sendPollRequest: (path, options) => {
12
+ const { requestBody } = spec, restSpec = tslib_1.__rest(spec, ["requestBody"]);
13
+ return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
14
+ },
15
+ };
16
+ }
17
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";;AAUA,sCA2BC;;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,kBAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}