@azure/arm-redisenterprisecache 4.0.0 → 5.0.0-beta.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 (797) hide show
  1. package/README.md +10 -10
  2. package/dist/browser/api/accessPolicyAssignment/index.d.ts +3 -0
  3. package/dist/browser/api/accessPolicyAssignment/index.js +4 -0
  4. package/dist/browser/api/accessPolicyAssignment/index.js.map +1 -0
  5. package/dist/browser/api/accessPolicyAssignment/operations.d.ts +23 -0
  6. package/dist/browser/api/accessPolicyAssignment/operations.js +139 -0
  7. package/dist/browser/api/accessPolicyAssignment/operations.js.map +1 -0
  8. package/dist/browser/api/accessPolicyAssignment/options.d.ts +18 -0
  9. package/dist/{react-native/operationsInterfaces/databases.js → browser/api/accessPolicyAssignment/options.js} +1 -1
  10. package/dist/browser/api/accessPolicyAssignment/options.js.map +1 -0
  11. package/dist/browser/api/databases/index.d.ts +3 -0
  12. package/dist/browser/api/databases/index.js +4 -0
  13. package/dist/browser/api/databases/index.js.map +1 -0
  14. package/dist/browser/api/databases/operations.d.ts +59 -0
  15. package/dist/browser/api/databases/operations.js +444 -0
  16. package/dist/browser/api/databases/operations.js.map +1 -0
  17. package/dist/browser/api/databases/options.d.ts +64 -0
  18. package/dist/browser/{operationsInterfaces/databases.js → api/databases/options.js} +1 -1
  19. package/dist/browser/api/databases/options.js.map +1 -0
  20. package/dist/browser/api/index.d.ts +3 -0
  21. package/dist/browser/api/index.js +4 -0
  22. package/dist/browser/api/index.js.map +1 -0
  23. package/dist/browser/api/migration/index.d.ts +3 -0
  24. package/dist/browser/api/migration/index.js +4 -0
  25. package/dist/browser/api/migration/index.js.map +1 -0
  26. package/dist/browser/api/migration/operations.d.ts +23 -0
  27. package/dist/browser/api/migration/operations.js +132 -0
  28. package/dist/browser/api/migration/operations.js.map +1 -0
  29. package/dist/browser/api/migration/options.d.ts +18 -0
  30. package/dist/{esm/operationsInterfaces/databases.js → browser/api/migration/options.js} +1 -1
  31. package/dist/browser/api/migration/options.js.map +1 -0
  32. package/dist/browser/api/migrations/index.d.ts +3 -0
  33. package/dist/browser/api/migrations/index.js +4 -0
  34. package/dist/browser/api/migrations/index.js.map +1 -0
  35. package/dist/browser/api/migrations/operations.d.ts +9 -0
  36. package/dist/browser/api/migrations/operations.js +36 -0
  37. package/dist/browser/api/migrations/operations.js.map +1 -0
  38. package/dist/browser/api/migrations/options.d.ts +5 -0
  39. package/dist/browser/{operationsInterfaces/operations.js → api/migrations/options.js} +1 -1
  40. package/dist/browser/api/migrations/options.js.map +1 -0
  41. package/dist/browser/api/operations/index.d.ts +3 -0
  42. package/dist/browser/api/operations/index.js +4 -0
  43. package/dist/browser/api/operations/index.js.map +1 -0
  44. package/dist/browser/api/operations/operations.d.ts +10 -0
  45. package/dist/browser/api/operations/operations.js +35 -0
  46. package/dist/browser/api/operations/operations.js.map +1 -0
  47. package/dist/browser/api/operations/options.d.ts +5 -0
  48. package/dist/browser/api/operations/options.js +4 -0
  49. package/dist/browser/api/operations/options.js.map +1 -0
  50. package/dist/browser/api/operationsStatus/index.d.ts +3 -0
  51. package/dist/browser/{operationsInterfaces/accessPolicyAssignmentOperations.js → api/operationsStatus/index.js} +2 -2
  52. package/dist/browser/api/operationsStatus/index.js.map +1 -0
  53. package/dist/browser/api/operationsStatus/operations.d.ts +9 -0
  54. package/dist/browser/api/operationsStatus/operations.js +34 -0
  55. package/dist/browser/api/operationsStatus/operations.js.map +1 -0
  56. package/dist/browser/api/operationsStatus/options.d.ts +5 -0
  57. package/dist/browser/api/operationsStatus/options.js +4 -0
  58. package/dist/browser/api/operationsStatus/options.js.map +1 -0
  59. package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
  60. package/dist/browser/api/privateEndpointConnections/index.js +4 -0
  61. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
  62. package/dist/browser/api/privateEndpointConnections/operations.d.ts +23 -0
  63. package/dist/browser/api/privateEndpointConnections/operations.js +135 -0
  64. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
  65. package/dist/browser/api/privateEndpointConnections/options.d.ts +18 -0
  66. package/dist/browser/api/privateEndpointConnections/options.js +4 -0
  67. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
  68. package/dist/browser/api/privateLinkResources/index.d.ts +3 -0
  69. package/dist/browser/api/privateLinkResources/index.js +4 -0
  70. package/dist/browser/api/privateLinkResources/index.js.map +1 -0
  71. package/dist/browser/api/privateLinkResources/operations.d.ts +10 -0
  72. package/dist/browser/api/privateLinkResources/operations.js +38 -0
  73. package/dist/browser/api/privateLinkResources/operations.js.map +1 -0
  74. package/dist/browser/api/privateLinkResources/options.d.ts +5 -0
  75. package/dist/browser/api/privateLinkResources/options.js +4 -0
  76. package/dist/browser/api/privateLinkResources/options.js.map +1 -0
  77. package/dist/browser/api/redisEnterprise/index.d.ts +3 -0
  78. package/dist/browser/api/redisEnterprise/index.js +4 -0
  79. package/dist/browser/api/redisEnterprise/index.js.map +1 -0
  80. package/dist/browser/api/redisEnterprise/operations.d.ts +35 -0
  81. package/dist/browser/api/redisEnterprise/operations.js +223 -0
  82. package/dist/browser/api/redisEnterprise/operations.js.map +1 -0
  83. package/dist/browser/api/redisEnterprise/options.d.ts +29 -0
  84. package/dist/browser/api/redisEnterprise/options.js +4 -0
  85. package/dist/browser/api/redisEnterprise/options.js.map +1 -0
  86. package/dist/browser/api/redisEnterpriseManagementContext.d.ts +22 -0
  87. package/dist/browser/api/redisEnterpriseManagementContext.js +26 -0
  88. package/dist/browser/api/redisEnterpriseManagementContext.js.map +1 -0
  89. package/dist/browser/classic/accessPolicyAssignment/index.d.ts +27 -0
  90. package/dist/browser/classic/accessPolicyAssignment/index.js +34 -0
  91. package/dist/browser/classic/accessPolicyAssignment/index.js.map +1 -0
  92. package/dist/browser/classic/databases/index.d.ts +77 -0
  93. package/dist/browser/classic/databases/index.js +107 -0
  94. package/dist/browser/classic/databases/index.js.map +1 -0
  95. package/dist/browser/classic/index.d.ts +10 -0
  96. package/dist/{esm/operationsInterfaces/operations.js → browser/classic/index.js} +1 -1
  97. package/dist/browser/classic/index.js.map +1 -0
  98. package/dist/browser/classic/migration/index.d.ts +27 -0
  99. package/dist/browser/classic/migration/index.js +34 -0
  100. package/dist/browser/classic/migration/index.js.map +1 -0
  101. package/dist/browser/classic/migrations/index.d.ts +10 -0
  102. package/dist/browser/classic/migrations/index.js +14 -0
  103. package/dist/browser/classic/migrations/index.js.map +1 -0
  104. package/dist/browser/classic/operations/index.d.ts +11 -0
  105. package/dist/browser/classic/operations/index.js +14 -0
  106. package/dist/browser/classic/operations/index.js.map +1 -0
  107. package/dist/browser/classic/operationsStatus/index.d.ts +10 -0
  108. package/dist/browser/classic/operationsStatus/index.js +14 -0
  109. package/dist/browser/classic/operationsStatus/index.js.map +1 -0
  110. package/dist/browser/classic/privateEndpointConnections/index.d.ts +27 -0
  111. package/dist/browser/classic/privateEndpointConnections/index.js +34 -0
  112. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
  113. package/dist/browser/classic/privateLinkResources/index.d.ts +11 -0
  114. package/dist/browser/classic/privateLinkResources/index.js +14 -0
  115. package/dist/browser/classic/privateLinkResources/index.js.map +1 -0
  116. package/dist/browser/classic/redisEnterprise/index.d.ts +37 -0
  117. package/dist/browser/classic/redisEnterprise/index.js +45 -0
  118. package/dist/browser/classic/redisEnterprise/index.js.map +1 -0
  119. package/dist/browser/index.d.ts +22 -3
  120. package/dist/browser/index.js +5 -6
  121. package/dist/browser/index.js.map +1 -1
  122. package/dist/browser/logger.d.ts +2 -0
  123. package/dist/browser/logger.js +5 -0
  124. package/dist/browser/logger.js.map +1 -0
  125. package/dist/browser/models/index.d.ts +2 -1734
  126. package/dist/browser/models/index.js +1 -364
  127. package/dist/browser/models/index.js.map +1 -1
  128. package/dist/browser/models/models.d.ts +1573 -0
  129. package/dist/browser/models/models.js +1631 -0
  130. package/dist/browser/models/models.js.map +1 -0
  131. package/dist/browser/redisEnterpriseManagementClient.d.ts +37 -24
  132. package/dist/browser/redisEnterpriseManagementClient.js +48 -104
  133. package/dist/browser/redisEnterpriseManagementClient.js.map +1 -1
  134. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  135. package/dist/browser/restorePollerHelpers.js +122 -0
  136. package/dist/browser/restorePollerHelpers.js.map +1 -0
  137. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  138. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  139. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  140. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  141. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  142. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  143. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  144. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  145. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  146. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  147. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  148. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  149. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  150. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  151. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  152. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  153. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  154. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  155. package/dist/commonjs/api/accessPolicyAssignment/index.d.ts +3 -0
  156. package/dist/commonjs/api/accessPolicyAssignment/index.js +34 -0
  157. package/dist/commonjs/api/accessPolicyAssignment/index.js.map +7 -0
  158. package/dist/commonjs/api/accessPolicyAssignment/operations.d.ts +23 -0
  159. package/dist/commonjs/api/accessPolicyAssignment/operations.js +225 -0
  160. package/dist/commonjs/api/accessPolicyAssignment/operations.js.map +7 -0
  161. package/dist/commonjs/api/accessPolicyAssignment/options.d.ts +18 -0
  162. package/dist/commonjs/api/accessPolicyAssignment/options.js +16 -0
  163. package/dist/commonjs/api/accessPolicyAssignment/options.js.map +7 -0
  164. package/dist/commonjs/api/databases/index.d.ts +3 -0
  165. package/dist/commonjs/api/databases/index.js +52 -0
  166. package/dist/commonjs/api/databases/index.js.map +7 -0
  167. package/dist/commonjs/api/databases/operations.d.ts +59 -0
  168. package/dist/commonjs/api/databases/operations.js +612 -0
  169. package/dist/commonjs/api/databases/operations.js.map +7 -0
  170. package/dist/commonjs/api/databases/options.d.ts +64 -0
  171. package/dist/commonjs/api/databases/options.js +16 -0
  172. package/dist/commonjs/api/databases/options.js.map +7 -0
  173. package/dist/commonjs/api/index.d.ts +3 -0
  174. package/dist/commonjs/api/index.js +28 -0
  175. package/dist/commonjs/api/index.js.map +7 -0
  176. package/dist/commonjs/api/migration/index.d.ts +3 -0
  177. package/dist/commonjs/api/migration/index.js +34 -0
  178. package/dist/commonjs/api/migration/index.js.map +7 -0
  179. package/dist/commonjs/api/migration/operations.d.ts +23 -0
  180. package/dist/commonjs/api/migration/operations.js +196 -0
  181. package/dist/commonjs/api/migration/operations.js.map +7 -0
  182. package/dist/commonjs/api/migration/options.d.ts +18 -0
  183. package/dist/commonjs/api/migration/options.js +16 -0
  184. package/dist/commonjs/api/migration/options.js.map +7 -0
  185. package/dist/commonjs/api/migrations/index.d.ts +3 -0
  186. package/dist/commonjs/api/migrations/index.js +28 -0
  187. package/dist/commonjs/api/migrations/index.js.map +7 -0
  188. package/dist/commonjs/api/migrations/operations.d.ts +9 -0
  189. package/dist/commonjs/api/migrations/operations.js +67 -0
  190. package/dist/commonjs/api/migrations/operations.js.map +7 -0
  191. package/dist/commonjs/api/migrations/options.d.ts +5 -0
  192. package/dist/commonjs/api/migrations/options.js +16 -0
  193. package/dist/commonjs/api/migrations/options.js.map +7 -0
  194. package/dist/commonjs/api/operations/index.d.ts +3 -0
  195. package/dist/commonjs/api/operations/index.js +28 -0
  196. package/dist/commonjs/api/operations/index.js.map +7 -0
  197. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  198. package/dist/commonjs/api/operations/operations.js +72 -0
  199. package/dist/commonjs/api/operations/operations.js.map +7 -0
  200. package/dist/commonjs/api/operations/options.d.ts +5 -0
  201. package/dist/commonjs/api/operations/options.js +16 -0
  202. package/dist/commonjs/api/operations/options.js.map +7 -0
  203. package/dist/commonjs/api/operationsStatus/index.d.ts +3 -0
  204. package/dist/commonjs/api/operationsStatus/index.js +28 -0
  205. package/dist/commonjs/api/operationsStatus/index.js.map +7 -0
  206. package/dist/commonjs/api/operationsStatus/operations.d.ts +9 -0
  207. package/dist/commonjs/api/operationsStatus/operations.js +65 -0
  208. package/dist/commonjs/api/operationsStatus/operations.js.map +7 -0
  209. package/dist/commonjs/api/operationsStatus/options.d.ts +5 -0
  210. package/dist/commonjs/api/operationsStatus/options.js +16 -0
  211. package/dist/commonjs/api/operationsStatus/options.js.map +7 -0
  212. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
  213. package/dist/commonjs/api/privateEndpointConnections/index.js +34 -0
  214. package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -0
  215. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +23 -0
  216. package/dist/commonjs/api/privateEndpointConnections/operations.js +212 -0
  217. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -0
  218. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +18 -0
  219. package/dist/commonjs/api/privateEndpointConnections/options.js +16 -0
  220. package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -0
  221. package/dist/commonjs/api/privateLinkResources/index.d.ts +3 -0
  222. package/dist/commonjs/api/privateLinkResources/index.js +28 -0
  223. package/dist/commonjs/api/privateLinkResources/index.js.map +7 -0
  224. package/dist/commonjs/api/privateLinkResources/operations.d.ts +10 -0
  225. package/dist/commonjs/api/privateLinkResources/operations.js +75 -0
  226. package/dist/commonjs/api/privateLinkResources/operations.js.map +7 -0
  227. package/dist/commonjs/api/privateLinkResources/options.d.ts +5 -0
  228. package/dist/commonjs/api/privateLinkResources/options.js +16 -0
  229. package/dist/commonjs/api/privateLinkResources/options.js.map +7 -0
  230. package/dist/commonjs/api/redisEnterprise/index.d.ts +3 -0
  231. package/dist/commonjs/api/redisEnterprise/index.js +40 -0
  232. package/dist/commonjs/api/redisEnterprise/index.js.map +7 -0
  233. package/dist/commonjs/api/redisEnterprise/operations.d.ts +35 -0
  234. package/dist/commonjs/api/redisEnterprise/operations.js +320 -0
  235. package/dist/commonjs/api/redisEnterprise/operations.js.map +7 -0
  236. package/dist/commonjs/api/redisEnterprise/options.d.ts +29 -0
  237. package/dist/commonjs/api/redisEnterprise/options.js +16 -0
  238. package/dist/commonjs/api/redisEnterprise/options.js.map +7 -0
  239. package/dist/commonjs/api/redisEnterpriseManagementContext.d.ts +22 -0
  240. package/dist/commonjs/api/redisEnterpriseManagementContext.js +47 -0
  241. package/dist/commonjs/api/redisEnterpriseManagementContext.js.map +7 -0
  242. package/dist/commonjs/classic/accessPolicyAssignment/index.d.ts +27 -0
  243. package/dist/commonjs/classic/accessPolicyAssignment/index.js +110 -0
  244. package/dist/commonjs/classic/accessPolicyAssignment/index.js.map +7 -0
  245. package/dist/commonjs/classic/databases/index.d.ts +77 -0
  246. package/dist/commonjs/classic/databases/index.js +248 -0
  247. package/dist/commonjs/classic/databases/index.js.map +7 -0
  248. package/dist/commonjs/classic/index.d.ts +10 -0
  249. package/dist/commonjs/classic/index.js +16 -0
  250. package/dist/commonjs/classic/index.js.map +7 -0
  251. package/dist/commonjs/classic/migration/index.d.ts +27 -0
  252. package/dist/commonjs/classic/migration/index.js +58 -0
  253. package/dist/commonjs/classic/migration/index.js.map +7 -0
  254. package/dist/commonjs/classic/migrations/index.d.ts +10 -0
  255. package/dist/commonjs/classic/migrations/index.js +38 -0
  256. package/dist/commonjs/classic/migrations/index.js.map +7 -0
  257. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  258. package/dist/commonjs/classic/operations/index.js +38 -0
  259. package/dist/commonjs/classic/operations/index.js.map +7 -0
  260. package/dist/commonjs/classic/operationsStatus/index.d.ts +10 -0
  261. package/dist/commonjs/classic/operationsStatus/index.js +38 -0
  262. package/dist/commonjs/classic/operationsStatus/index.js.map +7 -0
  263. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +27 -0
  264. package/dist/commonjs/classic/privateEndpointConnections/index.js +91 -0
  265. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -0
  266. package/dist/commonjs/classic/privateLinkResources/index.d.ts +11 -0
  267. package/dist/commonjs/classic/privateLinkResources/index.js +38 -0
  268. package/dist/commonjs/classic/privateLinkResources/index.js.map +7 -0
  269. package/dist/commonjs/classic/redisEnterprise/index.d.ts +37 -0
  270. package/dist/commonjs/classic/redisEnterprise/index.js +69 -0
  271. package/dist/commonjs/classic/redisEnterprise/index.js.map +7 -0
  272. package/dist/commonjs/index.d.ts +22 -3
  273. package/dist/commonjs/index.js +96 -16
  274. package/dist/commonjs/index.js.map +7 -1
  275. package/dist/commonjs/logger.d.ts +2 -0
  276. package/dist/commonjs/logger.js +29 -0
  277. package/dist/commonjs/logger.js.map +7 -0
  278. package/dist/commonjs/models/index.d.ts +2 -1734
  279. package/dist/commonjs/models/index.js +82 -370
  280. package/dist/commonjs/models/index.js.map +7 -1
  281. package/dist/commonjs/models/models.d.ts +1573 -0
  282. package/dist/commonjs/models/models.js +1626 -0
  283. package/dist/commonjs/models/models.js.map +7 -0
  284. package/dist/commonjs/redisEnterpriseManagementClient.d.ts +37 -24
  285. package/dist/commonjs/redisEnterpriseManagementClient.js +78 -117
  286. package/dist/commonjs/redisEnterpriseManagementClient.js.map +7 -1
  287. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  288. package/dist/commonjs/restorePollerHelpers.js +135 -0
  289. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  290. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  291. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  292. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  293. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  294. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  295. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  296. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  297. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  298. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  299. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  300. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  301. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  302. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  303. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  304. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  305. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  306. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  307. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  308. package/dist/commonjs/tsdoc-metadata.json +1 -1
  309. package/dist/esm/api/accessPolicyAssignment/index.d.ts +3 -0
  310. package/dist/esm/api/accessPolicyAssignment/index.js +4 -0
  311. package/dist/esm/api/accessPolicyAssignment/index.js.map +1 -0
  312. package/dist/esm/api/accessPolicyAssignment/operations.d.ts +23 -0
  313. package/dist/esm/api/accessPolicyAssignment/operations.js +139 -0
  314. package/dist/esm/api/accessPolicyAssignment/operations.js.map +1 -0
  315. package/dist/esm/api/accessPolicyAssignment/options.d.ts +18 -0
  316. package/dist/esm/api/accessPolicyAssignment/options.js +4 -0
  317. package/dist/esm/api/accessPolicyAssignment/options.js.map +1 -0
  318. package/dist/esm/api/databases/index.d.ts +3 -0
  319. package/dist/esm/api/databases/index.js +4 -0
  320. package/dist/esm/api/databases/index.js.map +1 -0
  321. package/dist/esm/api/databases/operations.d.ts +59 -0
  322. package/dist/esm/api/databases/operations.js +444 -0
  323. package/dist/esm/api/databases/operations.js.map +1 -0
  324. package/dist/esm/api/databases/options.d.ts +64 -0
  325. package/dist/esm/api/databases/options.js +4 -0
  326. package/dist/esm/api/databases/options.js.map +1 -0
  327. package/dist/esm/api/index.d.ts +3 -0
  328. package/dist/esm/api/index.js +4 -0
  329. package/dist/esm/api/index.js.map +1 -0
  330. package/dist/esm/api/migration/index.d.ts +3 -0
  331. package/dist/esm/api/migration/index.js +4 -0
  332. package/dist/esm/api/migration/index.js.map +1 -0
  333. package/dist/esm/api/migration/operations.d.ts +23 -0
  334. package/dist/esm/api/migration/operations.js +132 -0
  335. package/dist/esm/api/migration/operations.js.map +1 -0
  336. package/dist/esm/api/migration/options.d.ts +18 -0
  337. package/dist/esm/api/migration/options.js +4 -0
  338. package/dist/esm/api/migration/options.js.map +1 -0
  339. package/dist/esm/api/migrations/index.d.ts +3 -0
  340. package/dist/esm/api/migrations/index.js +4 -0
  341. package/dist/esm/api/migrations/index.js.map +1 -0
  342. package/dist/esm/api/migrations/operations.d.ts +9 -0
  343. package/dist/esm/api/migrations/operations.js +36 -0
  344. package/dist/esm/api/migrations/operations.js.map +1 -0
  345. package/dist/esm/api/migrations/options.d.ts +5 -0
  346. package/dist/esm/api/migrations/options.js +4 -0
  347. package/dist/esm/api/migrations/options.js.map +1 -0
  348. package/dist/esm/api/operations/index.d.ts +3 -0
  349. package/dist/esm/api/operations/index.js +4 -0
  350. package/dist/esm/api/operations/index.js.map +1 -0
  351. package/dist/esm/api/operations/operations.d.ts +10 -0
  352. package/dist/esm/api/operations/operations.js +35 -0
  353. package/dist/esm/api/operations/operations.js.map +1 -0
  354. package/dist/esm/api/operations/options.d.ts +5 -0
  355. package/dist/esm/api/operations/options.js +4 -0
  356. package/dist/esm/api/operations/options.js.map +1 -0
  357. package/dist/esm/api/operationsStatus/index.d.ts +3 -0
  358. package/dist/{browser/operationsInterfaces/operationsStatus.js → esm/api/operationsStatus/index.js} +2 -2
  359. package/dist/esm/api/operationsStatus/index.js.map +1 -0
  360. package/dist/esm/api/operationsStatus/operations.d.ts +9 -0
  361. package/dist/esm/api/operationsStatus/operations.js +34 -0
  362. package/dist/esm/api/operationsStatus/operations.js.map +1 -0
  363. package/dist/esm/api/operationsStatus/options.d.ts +5 -0
  364. package/dist/esm/api/operationsStatus/options.js +4 -0
  365. package/dist/esm/api/operationsStatus/options.js.map +1 -0
  366. package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
  367. package/dist/esm/api/privateEndpointConnections/index.js +4 -0
  368. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
  369. package/dist/esm/api/privateEndpointConnections/operations.d.ts +23 -0
  370. package/dist/esm/api/privateEndpointConnections/operations.js +135 -0
  371. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
  372. package/dist/esm/api/privateEndpointConnections/options.d.ts +18 -0
  373. package/dist/esm/api/privateEndpointConnections/options.js +4 -0
  374. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
  375. package/dist/esm/api/privateLinkResources/index.d.ts +3 -0
  376. package/dist/esm/api/privateLinkResources/index.js +4 -0
  377. package/dist/esm/api/privateLinkResources/index.js.map +1 -0
  378. package/dist/esm/api/privateLinkResources/operations.d.ts +10 -0
  379. package/dist/esm/api/privateLinkResources/operations.js +38 -0
  380. package/dist/esm/api/privateLinkResources/operations.js.map +1 -0
  381. package/dist/esm/api/privateLinkResources/options.d.ts +5 -0
  382. package/dist/esm/api/privateLinkResources/options.js +4 -0
  383. package/dist/esm/api/privateLinkResources/options.js.map +1 -0
  384. package/dist/esm/api/redisEnterprise/index.d.ts +3 -0
  385. package/dist/esm/api/redisEnterprise/index.js +4 -0
  386. package/dist/esm/api/redisEnterprise/index.js.map +1 -0
  387. package/dist/esm/api/redisEnterprise/operations.d.ts +35 -0
  388. package/dist/esm/api/redisEnterprise/operations.js +223 -0
  389. package/dist/esm/api/redisEnterprise/operations.js.map +1 -0
  390. package/dist/esm/api/redisEnterprise/options.d.ts +29 -0
  391. package/dist/esm/api/redisEnterprise/options.js +4 -0
  392. package/dist/esm/api/redisEnterprise/options.js.map +1 -0
  393. package/dist/esm/api/redisEnterpriseManagementContext.d.ts +22 -0
  394. package/dist/esm/api/redisEnterpriseManagementContext.js +26 -0
  395. package/dist/esm/api/redisEnterpriseManagementContext.js.map +1 -0
  396. package/dist/esm/classic/accessPolicyAssignment/index.d.ts +27 -0
  397. package/dist/esm/classic/accessPolicyAssignment/index.js +34 -0
  398. package/dist/esm/classic/accessPolicyAssignment/index.js.map +1 -0
  399. package/dist/esm/classic/databases/index.d.ts +77 -0
  400. package/dist/esm/classic/databases/index.js +107 -0
  401. package/dist/esm/classic/databases/index.js.map +1 -0
  402. package/dist/esm/classic/index.d.ts +10 -0
  403. package/dist/esm/classic/index.js +4 -0
  404. package/dist/esm/classic/index.js.map +1 -0
  405. package/dist/esm/classic/migration/index.d.ts +27 -0
  406. package/dist/esm/classic/migration/index.js +34 -0
  407. package/dist/esm/classic/migration/index.js.map +1 -0
  408. package/dist/esm/classic/migrations/index.d.ts +10 -0
  409. package/dist/esm/classic/migrations/index.js +14 -0
  410. package/dist/esm/classic/migrations/index.js.map +1 -0
  411. package/dist/esm/classic/operations/index.d.ts +11 -0
  412. package/dist/esm/classic/operations/index.js +14 -0
  413. package/dist/esm/classic/operations/index.js.map +1 -0
  414. package/dist/esm/classic/operationsStatus/index.d.ts +10 -0
  415. package/dist/esm/classic/operationsStatus/index.js +14 -0
  416. package/dist/esm/classic/operationsStatus/index.js.map +1 -0
  417. package/dist/esm/classic/privateEndpointConnections/index.d.ts +27 -0
  418. package/dist/esm/classic/privateEndpointConnections/index.js +34 -0
  419. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
  420. package/dist/esm/classic/privateLinkResources/index.d.ts +11 -0
  421. package/dist/esm/classic/privateLinkResources/index.js +14 -0
  422. package/dist/esm/classic/privateLinkResources/index.js.map +1 -0
  423. package/dist/esm/classic/redisEnterprise/index.d.ts +37 -0
  424. package/dist/esm/classic/redisEnterprise/index.js +45 -0
  425. package/dist/esm/classic/redisEnterprise/index.js.map +1 -0
  426. package/dist/esm/index.d.ts +22 -3
  427. package/dist/esm/index.js +5 -6
  428. package/dist/esm/index.js.map +1 -1
  429. package/dist/esm/logger.d.ts +2 -0
  430. package/dist/esm/logger.js +5 -0
  431. package/dist/esm/logger.js.map +1 -0
  432. package/dist/esm/models/index.d.ts +2 -1734
  433. package/dist/esm/models/index.js +1 -364
  434. package/dist/esm/models/index.js.map +1 -1
  435. package/dist/esm/models/models.d.ts +1573 -0
  436. package/dist/esm/models/models.js +1631 -0
  437. package/dist/esm/models/models.js.map +1 -0
  438. package/dist/esm/redisEnterpriseManagementClient.d.ts +37 -24
  439. package/dist/esm/redisEnterpriseManagementClient.js +48 -104
  440. package/dist/esm/redisEnterpriseManagementClient.js.map +1 -1
  441. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  442. package/dist/esm/restorePollerHelpers.js +122 -0
  443. package/dist/esm/restorePollerHelpers.js.map +1 -0
  444. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  445. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  446. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  447. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  448. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  449. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  450. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  451. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  452. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  453. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  454. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  455. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  456. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  457. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  458. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  459. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  460. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  461. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  462. package/package.json +242 -96
  463. package/dist/browser/index.d.ts.map +0 -1
  464. package/dist/browser/lroImpl.d.ts +0 -11
  465. package/dist/browser/lroImpl.d.ts.map +0 -1
  466. package/dist/browser/lroImpl.js +0 -20
  467. package/dist/browser/lroImpl.js.map +0 -1
  468. package/dist/browser/models/index.d.ts.map +0 -1
  469. package/dist/browser/models/mappers.d.ts +0 -71
  470. package/dist/browser/models/mappers.d.ts.map +0 -1
  471. package/dist/browser/models/mappers.js +0 -2062
  472. package/dist/browser/models/mappers.js.map +0 -1
  473. package/dist/browser/models/parameters.d.ts +0 -27
  474. package/dist/browser/models/parameters.d.ts.map +0 -1
  475. package/dist/browser/models/parameters.js +0 -209
  476. package/dist/browser/models/parameters.js.map +0 -1
  477. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  478. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  479. package/dist/browser/operations/accessPolicyAssignmentOperations.js +0 -399
  480. package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +0 -1
  481. package/dist/browser/operations/databases.d.ts +0 -283
  482. package/dist/browser/operations/databases.d.ts.map +0 -1
  483. package/dist/browser/operations/databases.js +0 -1180
  484. package/dist/browser/operations/databases.js.map +0 -1
  485. package/dist/browser/operations/index.d.ts +0 -8
  486. package/dist/browser/operations/index.d.ts.map +0 -1
  487. package/dist/browser/operations/index.js +0 -12
  488. package/dist/browser/operations/index.js.map +0 -1
  489. package/dist/browser/operations/operations.d.ts +0 -32
  490. package/dist/browser/operations/operations.d.ts.map +0 -1
  491. package/dist/browser/operations/operations.js +0 -111
  492. package/dist/browser/operations/operations.js.map +0 -1
  493. package/dist/browser/operations/operationsStatus.d.ts +0 -20
  494. package/dist/browser/operations/operationsStatus.d.ts.map +0 -1
  495. package/dist/browser/operations/operationsStatus.js +0 -49
  496. package/dist/browser/operations/operationsStatus.js.map +0 -1
  497. package/dist/browser/operations/privateEndpointConnections.d.ts +0 -94
  498. package/dist/browser/operations/privateEndpointConnections.d.ts.map +0 -1
  499. package/dist/browser/operations/privateEndpointConnections.js +0 -329
  500. package/dist/browser/operations/privateEndpointConnections.js.map +0 -1
  501. package/dist/browser/operations/privateLinkResources.d.ts +0 -34
  502. package/dist/browser/operations/privateLinkResources.d.ts.map +0 -1
  503. package/dist/browser/operations/privateLinkResources.js +0 -87
  504. package/dist/browser/operations/privateLinkResources.js.map +0 -1
  505. package/dist/browser/operations/redisEnterprise.d.ts +0 -130
  506. package/dist/browser/operations/redisEnterprise.d.ts.map +0 -1
  507. package/dist/browser/operations/redisEnterprise.js +0 -548
  508. package/dist/browser/operations/redisEnterprise.js.map +0 -1
  509. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  510. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  511. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  512. package/dist/browser/operationsInterfaces/databases.d.ts +0 -254
  513. package/dist/browser/operationsInterfaces/databases.d.ts.map +0 -1
  514. package/dist/browser/operationsInterfaces/databases.js.map +0 -1
  515. package/dist/browser/operationsInterfaces/index.d.ts +0 -8
  516. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  517. package/dist/browser/operationsInterfaces/index.js +0 -12
  518. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  519. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  520. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  521. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  522. package/dist/browser/operationsInterfaces/operationsStatus.d.ts +0 -12
  523. package/dist/browser/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  524. package/dist/browser/operationsInterfaces/operationsStatus.js.map +0 -1
  525. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  526. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  527. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +0 -4
  528. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  529. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +0 -15
  530. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  531. package/dist/browser/operationsInterfaces/privateLinkResources.js +0 -4
  532. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +0 -1
  533. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts +0 -94
  534. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  535. package/dist/browser/operationsInterfaces/redisEnterprise.js +0 -4
  536. package/dist/browser/operationsInterfaces/redisEnterprise.js.map +0 -1
  537. package/dist/browser/pagingHelper.d.ts +0 -13
  538. package/dist/browser/pagingHelper.d.ts.map +0 -1
  539. package/dist/browser/pagingHelper.js +0 -25
  540. package/dist/browser/pagingHelper.js.map +0 -1
  541. package/dist/browser/redisEnterpriseManagementClient.d.ts.map +0 -1
  542. package/dist/commonjs/index.d.ts.map +0 -1
  543. package/dist/commonjs/lroImpl.d.ts +0 -11
  544. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  545. package/dist/commonjs/lroImpl.js +0 -23
  546. package/dist/commonjs/lroImpl.js.map +0 -1
  547. package/dist/commonjs/models/index.d.ts.map +0 -1
  548. package/dist/commonjs/models/mappers.d.ts +0 -71
  549. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  550. package/dist/commonjs/models/mappers.js +0 -2066
  551. package/dist/commonjs/models/mappers.js.map +0 -1
  552. package/dist/commonjs/models/parameters.d.ts +0 -27
  553. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  554. package/dist/commonjs/models/parameters.js +0 -212
  555. package/dist/commonjs/models/parameters.js.map +0 -1
  556. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  557. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  558. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +0 -404
  559. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +0 -1
  560. package/dist/commonjs/operations/databases.d.ts +0 -283
  561. package/dist/commonjs/operations/databases.d.ts.map +0 -1
  562. package/dist/commonjs/operations/databases.js +0 -1185
  563. package/dist/commonjs/operations/databases.js.map +0 -1
  564. package/dist/commonjs/operations/index.d.ts +0 -8
  565. package/dist/commonjs/operations/index.d.ts.map +0 -1
  566. package/dist/commonjs/operations/index.js +0 -15
  567. package/dist/commonjs/operations/index.js.map +0 -1
  568. package/dist/commonjs/operations/operations.d.ts +0 -32
  569. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  570. package/dist/commonjs/operations/operations.js +0 -116
  571. package/dist/commonjs/operations/operations.js.map +0 -1
  572. package/dist/commonjs/operations/operationsStatus.d.ts +0 -20
  573. package/dist/commonjs/operations/operationsStatus.d.ts.map +0 -1
  574. package/dist/commonjs/operations/operationsStatus.js +0 -54
  575. package/dist/commonjs/operations/operationsStatus.js.map +0 -1
  576. package/dist/commonjs/operations/privateEndpointConnections.d.ts +0 -94
  577. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +0 -1
  578. package/dist/commonjs/operations/privateEndpointConnections.js +0 -334
  579. package/dist/commonjs/operations/privateEndpointConnections.js.map +0 -1
  580. package/dist/commonjs/operations/privateLinkResources.d.ts +0 -34
  581. package/dist/commonjs/operations/privateLinkResources.d.ts.map +0 -1
  582. package/dist/commonjs/operations/privateLinkResources.js +0 -92
  583. package/dist/commonjs/operations/privateLinkResources.js.map +0 -1
  584. package/dist/commonjs/operations/redisEnterprise.d.ts +0 -130
  585. package/dist/commonjs/operations/redisEnterprise.d.ts.map +0 -1
  586. package/dist/commonjs/operations/redisEnterprise.js +0 -553
  587. package/dist/commonjs/operations/redisEnterprise.js.map +0 -1
  588. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  589. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  590. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -5
  591. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  592. package/dist/commonjs/operationsInterfaces/databases.d.ts +0 -254
  593. package/dist/commonjs/operationsInterfaces/databases.d.ts.map +0 -1
  594. package/dist/commonjs/operationsInterfaces/databases.js +0 -5
  595. package/dist/commonjs/operationsInterfaces/databases.js.map +0 -1
  596. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
  597. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  598. package/dist/commonjs/operationsInterfaces/index.js +0 -15
  599. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  600. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  601. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  602. package/dist/commonjs/operationsInterfaces/operations.js +0 -5
  603. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  604. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +0 -12
  605. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  606. package/dist/commonjs/operationsInterfaces/operationsStatus.js +0 -5
  607. package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +0 -1
  608. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  609. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  610. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +0 -5
  611. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  612. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +0 -15
  613. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  614. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +0 -5
  615. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +0 -1
  616. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +0 -94
  617. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  618. package/dist/commonjs/operationsInterfaces/redisEnterprise.js +0 -5
  619. package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +0 -1
  620. package/dist/commonjs/pagingHelper.d.ts +0 -13
  621. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  622. package/dist/commonjs/pagingHelper.js +0 -29
  623. package/dist/commonjs/pagingHelper.js.map +0 -1
  624. package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +0 -1
  625. package/dist/esm/index.d.ts.map +0 -1
  626. package/dist/esm/lroImpl.d.ts +0 -11
  627. package/dist/esm/lroImpl.d.ts.map +0 -1
  628. package/dist/esm/lroImpl.js +0 -20
  629. package/dist/esm/lroImpl.js.map +0 -1
  630. package/dist/esm/models/index.d.ts.map +0 -1
  631. package/dist/esm/models/mappers.d.ts +0 -71
  632. package/dist/esm/models/mappers.d.ts.map +0 -1
  633. package/dist/esm/models/mappers.js +0 -2062
  634. package/dist/esm/models/mappers.js.map +0 -1
  635. package/dist/esm/models/parameters.d.ts +0 -27
  636. package/dist/esm/models/parameters.d.ts.map +0 -1
  637. package/dist/esm/models/parameters.js +0 -209
  638. package/dist/esm/models/parameters.js.map +0 -1
  639. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  640. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  641. package/dist/esm/operations/accessPolicyAssignmentOperations.js +0 -399
  642. package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +0 -1
  643. package/dist/esm/operations/databases.d.ts +0 -283
  644. package/dist/esm/operations/databases.d.ts.map +0 -1
  645. package/dist/esm/operations/databases.js +0 -1180
  646. package/dist/esm/operations/databases.js.map +0 -1
  647. package/dist/esm/operations/index.d.ts +0 -8
  648. package/dist/esm/operations/index.d.ts.map +0 -1
  649. package/dist/esm/operations/index.js +0 -12
  650. package/dist/esm/operations/index.js.map +0 -1
  651. package/dist/esm/operations/operations.d.ts +0 -32
  652. package/dist/esm/operations/operations.d.ts.map +0 -1
  653. package/dist/esm/operations/operations.js +0 -111
  654. package/dist/esm/operations/operations.js.map +0 -1
  655. package/dist/esm/operations/operationsStatus.d.ts +0 -20
  656. package/dist/esm/operations/operationsStatus.d.ts.map +0 -1
  657. package/dist/esm/operations/operationsStatus.js +0 -49
  658. package/dist/esm/operations/operationsStatus.js.map +0 -1
  659. package/dist/esm/operations/privateEndpointConnections.d.ts +0 -94
  660. package/dist/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  661. package/dist/esm/operations/privateEndpointConnections.js +0 -329
  662. package/dist/esm/operations/privateEndpointConnections.js.map +0 -1
  663. package/dist/esm/operations/privateLinkResources.d.ts +0 -34
  664. package/dist/esm/operations/privateLinkResources.d.ts.map +0 -1
  665. package/dist/esm/operations/privateLinkResources.js +0 -87
  666. package/dist/esm/operations/privateLinkResources.js.map +0 -1
  667. package/dist/esm/operations/redisEnterprise.d.ts +0 -130
  668. package/dist/esm/operations/redisEnterprise.d.ts.map +0 -1
  669. package/dist/esm/operations/redisEnterprise.js +0 -548
  670. package/dist/esm/operations/redisEnterprise.js.map +0 -1
  671. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  672. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  673. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -4
  674. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  675. package/dist/esm/operationsInterfaces/databases.d.ts +0 -254
  676. package/dist/esm/operationsInterfaces/databases.d.ts.map +0 -1
  677. package/dist/esm/operationsInterfaces/databases.js.map +0 -1
  678. package/dist/esm/operationsInterfaces/index.d.ts +0 -8
  679. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  680. package/dist/esm/operationsInterfaces/index.js +0 -12
  681. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  682. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  683. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  684. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  685. package/dist/esm/operationsInterfaces/operationsStatus.d.ts +0 -12
  686. package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  687. package/dist/esm/operationsInterfaces/operationsStatus.js +0 -4
  688. package/dist/esm/operationsInterfaces/operationsStatus.js.map +0 -1
  689. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  690. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  691. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +0 -4
  692. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  693. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +0 -15
  694. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  695. package/dist/esm/operationsInterfaces/privateLinkResources.js +0 -4
  696. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +0 -1
  697. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +0 -94
  698. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  699. package/dist/esm/operationsInterfaces/redisEnterprise.js +0 -4
  700. package/dist/esm/operationsInterfaces/redisEnterprise.js.map +0 -1
  701. package/dist/esm/pagingHelper.d.ts +0 -13
  702. package/dist/esm/pagingHelper.d.ts.map +0 -1
  703. package/dist/esm/pagingHelper.js +0 -25
  704. package/dist/esm/pagingHelper.js.map +0 -1
  705. package/dist/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
  706. package/dist/react-native/index.d.ts +0 -5
  707. package/dist/react-native/index.d.ts.map +0 -1
  708. package/dist/react-native/index.js +0 -10
  709. package/dist/react-native/index.js.map +0 -1
  710. package/dist/react-native/lroImpl.d.ts +0 -11
  711. package/dist/react-native/lroImpl.d.ts.map +0 -1
  712. package/dist/react-native/lroImpl.js +0 -20
  713. package/dist/react-native/lroImpl.js.map +0 -1
  714. package/dist/react-native/models/index.d.ts +0 -1735
  715. package/dist/react-native/models/index.d.ts.map +0 -1
  716. package/dist/react-native/models/index.js +0 -367
  717. package/dist/react-native/models/index.js.map +0 -1
  718. package/dist/react-native/models/mappers.d.ts +0 -71
  719. package/dist/react-native/models/mappers.d.ts.map +0 -1
  720. package/dist/react-native/models/mappers.js +0 -2062
  721. package/dist/react-native/models/mappers.js.map +0 -1
  722. package/dist/react-native/models/parameters.d.ts +0 -27
  723. package/dist/react-native/models/parameters.d.ts.map +0 -1
  724. package/dist/react-native/models/parameters.js +0 -209
  725. package/dist/react-native/models/parameters.js.map +0 -1
  726. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  727. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  728. package/dist/react-native/operations/accessPolicyAssignmentOperations.js +0 -399
  729. package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +0 -1
  730. package/dist/react-native/operations/databases.d.ts +0 -283
  731. package/dist/react-native/operations/databases.d.ts.map +0 -1
  732. package/dist/react-native/operations/databases.js +0 -1180
  733. package/dist/react-native/operations/databases.js.map +0 -1
  734. package/dist/react-native/operations/index.d.ts +0 -8
  735. package/dist/react-native/operations/index.d.ts.map +0 -1
  736. package/dist/react-native/operations/index.js +0 -12
  737. package/dist/react-native/operations/index.js.map +0 -1
  738. package/dist/react-native/operations/operations.d.ts +0 -32
  739. package/dist/react-native/operations/operations.d.ts.map +0 -1
  740. package/dist/react-native/operations/operations.js +0 -111
  741. package/dist/react-native/operations/operations.js.map +0 -1
  742. package/dist/react-native/operations/operationsStatus.d.ts +0 -20
  743. package/dist/react-native/operations/operationsStatus.d.ts.map +0 -1
  744. package/dist/react-native/operations/operationsStatus.js +0 -49
  745. package/dist/react-native/operations/operationsStatus.js.map +0 -1
  746. package/dist/react-native/operations/privateEndpointConnections.d.ts +0 -94
  747. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +0 -1
  748. package/dist/react-native/operations/privateEndpointConnections.js +0 -329
  749. package/dist/react-native/operations/privateEndpointConnections.js.map +0 -1
  750. package/dist/react-native/operations/privateLinkResources.d.ts +0 -34
  751. package/dist/react-native/operations/privateLinkResources.d.ts.map +0 -1
  752. package/dist/react-native/operations/privateLinkResources.js +0 -87
  753. package/dist/react-native/operations/privateLinkResources.js.map +0 -1
  754. package/dist/react-native/operations/redisEnterprise.d.ts +0 -130
  755. package/dist/react-native/operations/redisEnterprise.d.ts.map +0 -1
  756. package/dist/react-native/operations/redisEnterprise.js +0 -548
  757. package/dist/react-native/operations/redisEnterprise.js.map +0 -1
  758. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  759. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  760. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -4
  761. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  762. package/dist/react-native/operationsInterfaces/databases.d.ts +0 -254
  763. package/dist/react-native/operationsInterfaces/databases.d.ts.map +0 -1
  764. package/dist/react-native/operationsInterfaces/databases.js.map +0 -1
  765. package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
  766. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  767. package/dist/react-native/operationsInterfaces/index.js +0 -12
  768. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  769. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  770. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  771. package/dist/react-native/operationsInterfaces/operations.js +0 -4
  772. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  773. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +0 -12
  774. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  775. package/dist/react-native/operationsInterfaces/operationsStatus.js +0 -4
  776. package/dist/react-native/operationsInterfaces/operationsStatus.js.map +0 -1
  777. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  778. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  779. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +0 -4
  780. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  781. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +0 -15
  782. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  783. package/dist/react-native/operationsInterfaces/privateLinkResources.js +0 -4
  784. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +0 -1
  785. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +0 -94
  786. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  787. package/dist/react-native/operationsInterfaces/redisEnterprise.js +0 -4
  788. package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +0 -1
  789. package/dist/react-native/package.json +0 -3
  790. package/dist/react-native/pagingHelper.d.ts +0 -13
  791. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  792. package/dist/react-native/pagingHelper.js +0 -25
  793. package/dist/react-native/pagingHelper.js.map +0 -1
  794. package/dist/react-native/redisEnterpriseManagementClient.d.ts +0 -26
  795. package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +0 -1
  796. package/dist/react-native/redisEnterpriseManagementClient.js +0 -113
  797. package/dist/react-native/redisEnterpriseManagementClient.js.map +0 -1
@@ -1,1180 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { setContinuationToken } from "../pagingHelper.js";
4
- import * as coreClient from "@azure/core-client";
5
- import * as Mappers from "../models/mappers.js";
6
- import * as Parameters from "../models/parameters.js";
7
- import { createHttpPoller } from "@azure/core-lro";
8
- import { createLroSpec } from "../lroImpl.js";
9
- /// <reference lib="esnext.asynciterable" />
10
- /** Class containing Databases operations. */
11
- export class DatabasesImpl {
12
- client;
13
- /**
14
- * Initialize a new instance of the class Databases class.
15
- * @param client Reference to the service client
16
- */
17
- constructor(client) {
18
- this.client = client;
19
- }
20
- /**
21
- * Gets all databases in the specified Redis Enterprise cluster.
22
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
24
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
25
- * consecutive hyphens
26
- * @param options The options parameters.
27
- */
28
- listByCluster(resourceGroupName, clusterName, options) {
29
- const iter = this.listByClusterPagingAll(resourceGroupName, clusterName, options);
30
- return {
31
- next() {
32
- return iter.next();
33
- },
34
- [Symbol.asyncIterator]() {
35
- return this;
36
- },
37
- byPage: (settings) => {
38
- if (settings?.maxPageSize) {
39
- throw new Error("maxPageSize is not supported by this operation.");
40
- }
41
- return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
42
- },
43
- };
44
- }
45
- async *listByClusterPagingPage(resourceGroupName, clusterName, options, settings) {
46
- let result;
47
- let continuationToken = settings?.continuationToken;
48
- if (!continuationToken) {
49
- result = await this._listByCluster(resourceGroupName, clusterName, options);
50
- const page = result.value || [];
51
- continuationToken = result.nextLink;
52
- setContinuationToken(page, continuationToken);
53
- yield page;
54
- }
55
- while (continuationToken) {
56
- result = await this._listByClusterNext(resourceGroupName, clusterName, continuationToken, options);
57
- continuationToken = result.nextLink;
58
- const page = result.value || [];
59
- setContinuationToken(page, continuationToken);
60
- yield page;
61
- }
62
- }
63
- async *listByClusterPagingAll(resourceGroupName, clusterName, options) {
64
- for await (const page of this.listByClusterPagingPage(resourceGroupName, clusterName, options)) {
65
- yield* page;
66
- }
67
- }
68
- /**
69
- * Gets all databases in the specified Redis Enterprise cluster.
70
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
72
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
73
- * consecutive hyphens
74
- * @param options The options parameters.
75
- */
76
- _listByCluster(resourceGroupName, clusterName, options) {
77
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listByClusterOperationSpec);
78
- }
79
- /**
80
- * Creates a database
81
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
83
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
84
- * consecutive hyphens
85
- * @param databaseName The name of the Redis Enterprise database.
86
- * @param parameters Parameters supplied to the create or update database operation.
87
- * @param options The options parameters.
88
- */
89
- async beginCreate(resourceGroupName, clusterName, databaseName, parameters, options) {
90
- const directSendOperation = async (args, spec) => {
91
- return this.client.sendOperationRequest(args, spec);
92
- };
93
- const sendOperationFn = async (args, spec) => {
94
- let currentRawResponse = undefined;
95
- const providedCallback = args.options?.onResponse;
96
- const callback = (rawResponse, flatResponse) => {
97
- currentRawResponse = rawResponse;
98
- providedCallback?.(rawResponse, flatResponse);
99
- };
100
- const updatedArgs = {
101
- ...args,
102
- options: {
103
- ...args.options,
104
- onResponse: callback,
105
- },
106
- };
107
- const flatResponse = await directSendOperation(updatedArgs, spec);
108
- return {
109
- flatResponse,
110
- rawResponse: {
111
- statusCode: currentRawResponse.status,
112
- body: currentRawResponse.parsedBody,
113
- headers: currentRawResponse.headers.toJSON(),
114
- },
115
- };
116
- };
117
- const lro = createLroSpec({
118
- sendOperationFn,
119
- args: {
120
- resourceGroupName,
121
- clusterName,
122
- databaseName,
123
- parameters,
124
- options,
125
- },
126
- spec: createOperationSpec,
127
- });
128
- const poller = await createHttpPoller(lro, {
129
- restoreFrom: options?.resumeFrom,
130
- intervalInMs: options?.updateIntervalInMs,
131
- resourceLocationConfig: "original-uri",
132
- });
133
- await poller.poll();
134
- return poller;
135
- }
136
- /**
137
- * Creates a database
138
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
139
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
140
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
141
- * consecutive hyphens
142
- * @param databaseName The name of the Redis Enterprise database.
143
- * @param parameters Parameters supplied to the create or update database operation.
144
- * @param options The options parameters.
145
- */
146
- async beginCreateAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
147
- const poller = await this.beginCreate(resourceGroupName, clusterName, databaseName, parameters, options);
148
- return poller.pollUntilDone();
149
- }
150
- /**
151
- * Updates a database
152
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
153
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
154
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
155
- * consecutive hyphens
156
- * @param databaseName The name of the Redis Enterprise database.
157
- * @param parameters Parameters supplied to the create or update database operation.
158
- * @param options The options parameters.
159
- */
160
- async beginUpdate(resourceGroupName, clusterName, databaseName, parameters, options) {
161
- const directSendOperation = async (args, spec) => {
162
- return this.client.sendOperationRequest(args, spec);
163
- };
164
- const sendOperationFn = async (args, spec) => {
165
- let currentRawResponse = undefined;
166
- const providedCallback = args.options?.onResponse;
167
- const callback = (rawResponse, flatResponse) => {
168
- currentRawResponse = rawResponse;
169
- providedCallback?.(rawResponse, flatResponse);
170
- };
171
- const updatedArgs = {
172
- ...args,
173
- options: {
174
- ...args.options,
175
- onResponse: callback,
176
- },
177
- };
178
- const flatResponse = await directSendOperation(updatedArgs, spec);
179
- return {
180
- flatResponse,
181
- rawResponse: {
182
- statusCode: currentRawResponse.status,
183
- body: currentRawResponse.parsedBody,
184
- headers: currentRawResponse.headers.toJSON(),
185
- },
186
- };
187
- };
188
- const lro = createLroSpec({
189
- sendOperationFn,
190
- args: {
191
- resourceGroupName,
192
- clusterName,
193
- databaseName,
194
- parameters,
195
- options,
196
- },
197
- spec: updateOperationSpec,
198
- });
199
- const poller = await createHttpPoller(lro, {
200
- restoreFrom: options?.resumeFrom,
201
- intervalInMs: options?.updateIntervalInMs,
202
- resourceLocationConfig: "azure-async-operation",
203
- });
204
- await poller.poll();
205
- return poller;
206
- }
207
- /**
208
- * Updates a database
209
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
210
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
211
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
212
- * consecutive hyphens
213
- * @param databaseName The name of the Redis Enterprise database.
214
- * @param parameters Parameters supplied to the create or update database operation.
215
- * @param options The options parameters.
216
- */
217
- async beginUpdateAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
218
- const poller = await this.beginUpdate(resourceGroupName, clusterName, databaseName, parameters, options);
219
- return poller.pollUntilDone();
220
- }
221
- /**
222
- * Gets information about a database in a Redis Enterprise cluster.
223
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
224
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
225
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
226
- * consecutive hyphens
227
- * @param databaseName The name of the Redis Enterprise database.
228
- * @param options The options parameters.
229
- */
230
- get(resourceGroupName, clusterName, databaseName, options) {
231
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, getOperationSpec);
232
- }
233
- /**
234
- * Deletes a single database
235
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
236
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
237
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
238
- * consecutive hyphens
239
- * @param databaseName The name of the Redis Enterprise database.
240
- * @param options The options parameters.
241
- */
242
- async beginDelete(resourceGroupName, clusterName, databaseName, options) {
243
- const directSendOperation = async (args, spec) => {
244
- return this.client.sendOperationRequest(args, spec);
245
- };
246
- const sendOperationFn = async (args, spec) => {
247
- let currentRawResponse = undefined;
248
- const providedCallback = args.options?.onResponse;
249
- const callback = (rawResponse, flatResponse) => {
250
- currentRawResponse = rawResponse;
251
- providedCallback?.(rawResponse, flatResponse);
252
- };
253
- const updatedArgs = {
254
- ...args,
255
- options: {
256
- ...args.options,
257
- onResponse: callback,
258
- },
259
- };
260
- const flatResponse = await directSendOperation(updatedArgs, spec);
261
- return {
262
- flatResponse,
263
- rawResponse: {
264
- statusCode: currentRawResponse.status,
265
- body: currentRawResponse.parsedBody,
266
- headers: currentRawResponse.headers.toJSON(),
267
- },
268
- };
269
- };
270
- const lro = createLroSpec({
271
- sendOperationFn,
272
- args: { resourceGroupName, clusterName, databaseName, options },
273
- spec: deleteOperationSpec,
274
- });
275
- const poller = await createHttpPoller(lro, {
276
- restoreFrom: options?.resumeFrom,
277
- intervalInMs: options?.updateIntervalInMs,
278
- resourceLocationConfig: "azure-async-operation",
279
- });
280
- await poller.poll();
281
- return poller;
282
- }
283
- /**
284
- * Deletes a single database
285
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
286
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
287
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
288
- * consecutive hyphens
289
- * @param databaseName The name of the Redis Enterprise database.
290
- * @param options The options parameters.
291
- */
292
- async beginDeleteAndWait(resourceGroupName, clusterName, databaseName, options) {
293
- const poller = await this.beginDelete(resourceGroupName, clusterName, databaseName, options);
294
- return poller.pollUntilDone();
295
- }
296
- /**
297
- * Retrieves the access keys for the Redis Enterprise database.
298
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
299
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
300
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
301
- * consecutive hyphens
302
- * @param databaseName The name of the Redis Enterprise database.
303
- * @param options The options parameters.
304
- */
305
- listKeys(resourceGroupName, clusterName, databaseName, options) {
306
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listKeysOperationSpec);
307
- }
308
- /**
309
- * Regenerates the Redis Enterprise database's access keys.
310
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
311
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
312
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
313
- * consecutive hyphens
314
- * @param databaseName The name of the Redis Enterprise database.
315
- * @param parameters Specifies which key to regenerate.
316
- * @param options The options parameters.
317
- */
318
- async beginRegenerateKey(resourceGroupName, clusterName, databaseName, parameters, options) {
319
- const directSendOperation = async (args, spec) => {
320
- return this.client.sendOperationRequest(args, spec);
321
- };
322
- const sendOperationFn = async (args, spec) => {
323
- let currentRawResponse = undefined;
324
- const providedCallback = args.options?.onResponse;
325
- const callback = (rawResponse, flatResponse) => {
326
- currentRawResponse = rawResponse;
327
- providedCallback?.(rawResponse, flatResponse);
328
- };
329
- const updatedArgs = {
330
- ...args,
331
- options: {
332
- ...args.options,
333
- onResponse: callback,
334
- },
335
- };
336
- const flatResponse = await directSendOperation(updatedArgs, spec);
337
- return {
338
- flatResponse,
339
- rawResponse: {
340
- statusCode: currentRawResponse.status,
341
- body: currentRawResponse.parsedBody,
342
- headers: currentRawResponse.headers.toJSON(),
343
- },
344
- };
345
- };
346
- const lro = createLroSpec({
347
- sendOperationFn,
348
- args: {
349
- resourceGroupName,
350
- clusterName,
351
- databaseName,
352
- parameters,
353
- options,
354
- },
355
- spec: regenerateKeyOperationSpec,
356
- });
357
- const poller = await createHttpPoller(lro, {
358
- restoreFrom: options?.resumeFrom,
359
- intervalInMs: options?.updateIntervalInMs,
360
- resourceLocationConfig: "azure-async-operation",
361
- });
362
- await poller.poll();
363
- return poller;
364
- }
365
- /**
366
- * Regenerates the Redis Enterprise database's access keys.
367
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
368
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
369
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
370
- * consecutive hyphens
371
- * @param databaseName The name of the Redis Enterprise database.
372
- * @param parameters Specifies which key to regenerate.
373
- * @param options The options parameters.
374
- */
375
- async beginRegenerateKeyAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
376
- const poller = await this.beginRegenerateKey(resourceGroupName, clusterName, databaseName, parameters, options);
377
- return poller.pollUntilDone();
378
- }
379
- /**
380
- * Imports database files to target database.
381
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
382
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
383
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
384
- * consecutive hyphens
385
- * @param databaseName The name of the Redis Enterprise database.
386
- * @param parameters Storage information for importing into the cluster
387
- * @param options The options parameters.
388
- */
389
- async beginImport(resourceGroupName, clusterName, databaseName, parameters, options) {
390
- const directSendOperation = async (args, spec) => {
391
- return this.client.sendOperationRequest(args, spec);
392
- };
393
- const sendOperationFn = async (args, spec) => {
394
- let currentRawResponse = undefined;
395
- const providedCallback = args.options?.onResponse;
396
- const callback = (rawResponse, flatResponse) => {
397
- currentRawResponse = rawResponse;
398
- providedCallback?.(rawResponse, flatResponse);
399
- };
400
- const updatedArgs = {
401
- ...args,
402
- options: {
403
- ...args.options,
404
- onResponse: callback,
405
- },
406
- };
407
- const flatResponse = await directSendOperation(updatedArgs, spec);
408
- return {
409
- flatResponse,
410
- rawResponse: {
411
- statusCode: currentRawResponse.status,
412
- body: currentRawResponse.parsedBody,
413
- headers: currentRawResponse.headers.toJSON(),
414
- },
415
- };
416
- };
417
- const lro = createLroSpec({
418
- sendOperationFn,
419
- args: {
420
- resourceGroupName,
421
- clusterName,
422
- databaseName,
423
- parameters,
424
- options,
425
- },
426
- spec: importOperationSpec,
427
- });
428
- const poller = await createHttpPoller(lro, {
429
- restoreFrom: options?.resumeFrom,
430
- intervalInMs: options?.updateIntervalInMs,
431
- resourceLocationConfig: "azure-async-operation",
432
- });
433
- await poller.poll();
434
- return poller;
435
- }
436
- /**
437
- * Imports database files to target database.
438
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
439
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
440
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
441
- * consecutive hyphens
442
- * @param databaseName The name of the Redis Enterprise database.
443
- * @param parameters Storage information for importing into the cluster
444
- * @param options The options parameters.
445
- */
446
- async beginImportAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
447
- const poller = await this.beginImport(resourceGroupName, clusterName, databaseName, parameters, options);
448
- return poller.pollUntilDone();
449
- }
450
- /**
451
- * Exports a database file from target database.
452
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
453
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
454
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
455
- * consecutive hyphens
456
- * @param databaseName The name of the Redis Enterprise database.
457
- * @param parameters Storage information for exporting into the cluster
458
- * @param options The options parameters.
459
- */
460
- async beginExport(resourceGroupName, clusterName, databaseName, parameters, options) {
461
- const directSendOperation = async (args, spec) => {
462
- return this.client.sendOperationRequest(args, spec);
463
- };
464
- const sendOperationFn = async (args, spec) => {
465
- let currentRawResponse = undefined;
466
- const providedCallback = args.options?.onResponse;
467
- const callback = (rawResponse, flatResponse) => {
468
- currentRawResponse = rawResponse;
469
- providedCallback?.(rawResponse, flatResponse);
470
- };
471
- const updatedArgs = {
472
- ...args,
473
- options: {
474
- ...args.options,
475
- onResponse: callback,
476
- },
477
- };
478
- const flatResponse = await directSendOperation(updatedArgs, spec);
479
- return {
480
- flatResponse,
481
- rawResponse: {
482
- statusCode: currentRawResponse.status,
483
- body: currentRawResponse.parsedBody,
484
- headers: currentRawResponse.headers.toJSON(),
485
- },
486
- };
487
- };
488
- const lro = createLroSpec({
489
- sendOperationFn,
490
- args: {
491
- resourceGroupName,
492
- clusterName,
493
- databaseName,
494
- parameters,
495
- options,
496
- },
497
- spec: exportOperationSpec,
498
- });
499
- const poller = await createHttpPoller(lro, {
500
- restoreFrom: options?.resumeFrom,
501
- intervalInMs: options?.updateIntervalInMs,
502
- resourceLocationConfig: "azure-async-operation",
503
- });
504
- await poller.poll();
505
- return poller;
506
- }
507
- /**
508
- * Exports a database file from target database.
509
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
510
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
511
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
512
- * consecutive hyphens
513
- * @param databaseName The name of the Redis Enterprise database.
514
- * @param parameters Storage information for exporting into the cluster
515
- * @param options The options parameters.
516
- */
517
- async beginExportAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
518
- const poller = await this.beginExport(resourceGroupName, clusterName, databaseName, parameters, options);
519
- return poller.pollUntilDone();
520
- }
521
- /**
522
- * Forcibly removes the link to the specified database resource.
523
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
524
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
525
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
526
- * consecutive hyphens
527
- * @param databaseName The name of the Redis Enterprise database.
528
- * @param parameters Information identifying the database to be unlinked.
529
- * @param options The options parameters.
530
- */
531
- async beginForceUnlink(resourceGroupName, clusterName, databaseName, parameters, options) {
532
- const directSendOperation = async (args, spec) => {
533
- return this.client.sendOperationRequest(args, spec);
534
- };
535
- const sendOperationFn = async (args, spec) => {
536
- let currentRawResponse = undefined;
537
- const providedCallback = args.options?.onResponse;
538
- const callback = (rawResponse, flatResponse) => {
539
- currentRawResponse = rawResponse;
540
- providedCallback?.(rawResponse, flatResponse);
541
- };
542
- const updatedArgs = {
543
- ...args,
544
- options: {
545
- ...args.options,
546
- onResponse: callback,
547
- },
548
- };
549
- const flatResponse = await directSendOperation(updatedArgs, spec);
550
- return {
551
- flatResponse,
552
- rawResponse: {
553
- statusCode: currentRawResponse.status,
554
- body: currentRawResponse.parsedBody,
555
- headers: currentRawResponse.headers.toJSON(),
556
- },
557
- };
558
- };
559
- const lro = createLroSpec({
560
- sendOperationFn,
561
- args: {
562
- resourceGroupName,
563
- clusterName,
564
- databaseName,
565
- parameters,
566
- options,
567
- },
568
- spec: forceUnlinkOperationSpec,
569
- });
570
- const poller = await createHttpPoller(lro, {
571
- restoreFrom: options?.resumeFrom,
572
- intervalInMs: options?.updateIntervalInMs,
573
- resourceLocationConfig: "azure-async-operation",
574
- });
575
- await poller.poll();
576
- return poller;
577
- }
578
- /**
579
- * Forcibly removes the link to the specified database resource.
580
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
581
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
582
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
583
- * consecutive hyphens
584
- * @param databaseName The name of the Redis Enterprise database.
585
- * @param parameters Information identifying the database to be unlinked.
586
- * @param options The options parameters.
587
- */
588
- async beginForceUnlinkAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
589
- const poller = await this.beginForceUnlink(resourceGroupName, clusterName, databaseName, parameters, options);
590
- return poller.pollUntilDone();
591
- }
592
- /**
593
- * Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing
594
- * replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database
595
- * will temporarily be unavailable while rejoining the replication group.
596
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
597
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
598
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
599
- * consecutive hyphens
600
- * @param databaseName The name of the Redis Enterprise database.
601
- * @param parameters Information identifying the database to be unlinked.
602
- * @param options The options parameters.
603
- */
604
- async beginForceLinkToReplicationGroup(resourceGroupName, clusterName, databaseName, parameters, options) {
605
- const directSendOperation = async (args, spec) => {
606
- return this.client.sendOperationRequest(args, spec);
607
- };
608
- const sendOperationFn = async (args, spec) => {
609
- let currentRawResponse = undefined;
610
- const providedCallback = args.options?.onResponse;
611
- const callback = (rawResponse, flatResponse) => {
612
- currentRawResponse = rawResponse;
613
- providedCallback?.(rawResponse, flatResponse);
614
- };
615
- const updatedArgs = {
616
- ...args,
617
- options: {
618
- ...args.options,
619
- onResponse: callback,
620
- },
621
- };
622
- const flatResponse = await directSendOperation(updatedArgs, spec);
623
- return {
624
- flatResponse,
625
- rawResponse: {
626
- statusCode: currentRawResponse.status,
627
- body: currentRawResponse.parsedBody,
628
- headers: currentRawResponse.headers.toJSON(),
629
- },
630
- };
631
- };
632
- const lro = createLroSpec({
633
- sendOperationFn,
634
- args: {
635
- resourceGroupName,
636
- clusterName,
637
- databaseName,
638
- parameters,
639
- options,
640
- },
641
- spec: forceLinkToReplicationGroupOperationSpec,
642
- });
643
- const poller = await createHttpPoller(lro, {
644
- restoreFrom: options?.resumeFrom,
645
- intervalInMs: options?.updateIntervalInMs,
646
- resourceLocationConfig: "azure-async-operation",
647
- });
648
- await poller.poll();
649
- return poller;
650
- }
651
- /**
652
- * Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing
653
- * replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database
654
- * will temporarily be unavailable while rejoining the replication group.
655
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
656
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
657
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
658
- * consecutive hyphens
659
- * @param databaseName The name of the Redis Enterprise database.
660
- * @param parameters Information identifying the database to be unlinked.
661
- * @param options The options parameters.
662
- */
663
- async beginForceLinkToReplicationGroupAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
664
- const poller = await this.beginForceLinkToReplicationGroup(resourceGroupName, clusterName, databaseName, parameters, options);
665
- return poller.pollUntilDone();
666
- }
667
- /**
668
- * Flushes all the keys in this database and also from its linked databases.
669
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
670
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
671
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
672
- * consecutive hyphens
673
- * @param databaseName The name of the Redis Enterprise database.
674
- * @param options The options parameters.
675
- */
676
- async beginFlush(resourceGroupName, clusterName, databaseName, options) {
677
- const directSendOperation = async (args, spec) => {
678
- return this.client.sendOperationRequest(args, spec);
679
- };
680
- const sendOperationFn = async (args, spec) => {
681
- let currentRawResponse = undefined;
682
- const providedCallback = args.options?.onResponse;
683
- const callback = (rawResponse, flatResponse) => {
684
- currentRawResponse = rawResponse;
685
- providedCallback?.(rawResponse, flatResponse);
686
- };
687
- const updatedArgs = {
688
- ...args,
689
- options: {
690
- ...args.options,
691
- onResponse: callback,
692
- },
693
- };
694
- const flatResponse = await directSendOperation(updatedArgs, spec);
695
- return {
696
- flatResponse,
697
- rawResponse: {
698
- statusCode: currentRawResponse.status,
699
- body: currentRawResponse.parsedBody,
700
- headers: currentRawResponse.headers.toJSON(),
701
- },
702
- };
703
- };
704
- const lro = createLroSpec({
705
- sendOperationFn,
706
- args: { resourceGroupName, clusterName, databaseName, options },
707
- spec: flushOperationSpec,
708
- });
709
- const poller = await createHttpPoller(lro, {
710
- restoreFrom: options?.resumeFrom,
711
- intervalInMs: options?.updateIntervalInMs,
712
- resourceLocationConfig: "location",
713
- });
714
- await poller.poll();
715
- return poller;
716
- }
717
- /**
718
- * Flushes all the keys in this database and also from its linked databases.
719
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
720
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
721
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
722
- * consecutive hyphens
723
- * @param databaseName The name of the Redis Enterprise database.
724
- * @param options The options parameters.
725
- */
726
- async beginFlushAndWait(resourceGroupName, clusterName, databaseName, options) {
727
- const poller = await this.beginFlush(resourceGroupName, clusterName, databaseName, options);
728
- return poller.pollUntilDone();
729
- }
730
- /**
731
- * Upgrades the database Redis version to the latest available.
732
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
733
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
734
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
735
- * consecutive hyphens
736
- * @param databaseName The name of the Redis Enterprise database.
737
- * @param options The options parameters.
738
- */
739
- async beginUpgradeDBRedisVersion(resourceGroupName, clusterName, databaseName, options) {
740
- const directSendOperation = async (args, spec) => {
741
- return this.client.sendOperationRequest(args, spec);
742
- };
743
- const sendOperationFn = async (args, spec) => {
744
- let currentRawResponse = undefined;
745
- const providedCallback = args.options?.onResponse;
746
- const callback = (rawResponse, flatResponse) => {
747
- currentRawResponse = rawResponse;
748
- providedCallback?.(rawResponse, flatResponse);
749
- };
750
- const updatedArgs = {
751
- ...args,
752
- options: {
753
- ...args.options,
754
- onResponse: callback,
755
- },
756
- };
757
- const flatResponse = await directSendOperation(updatedArgs, spec);
758
- return {
759
- flatResponse,
760
- rawResponse: {
761
- statusCode: currentRawResponse.status,
762
- body: currentRawResponse.parsedBody,
763
- headers: currentRawResponse.headers.toJSON(),
764
- },
765
- };
766
- };
767
- const lro = createLroSpec({
768
- sendOperationFn,
769
- args: { resourceGroupName, clusterName, databaseName, options },
770
- spec: upgradeDBRedisVersionOperationSpec,
771
- });
772
- const poller = await createHttpPoller(lro, {
773
- restoreFrom: options?.resumeFrom,
774
- intervalInMs: options?.updateIntervalInMs,
775
- resourceLocationConfig: "location",
776
- });
777
- await poller.poll();
778
- return poller;
779
- }
780
- /**
781
- * Upgrades the database Redis version to the latest available.
782
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
783
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
784
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
785
- * consecutive hyphens
786
- * @param databaseName The name of the Redis Enterprise database.
787
- * @param options The options parameters.
788
- */
789
- async beginUpgradeDBRedisVersionAndWait(resourceGroupName, clusterName, databaseName, options) {
790
- const poller = await this.beginUpgradeDBRedisVersion(resourceGroupName, clusterName, databaseName, options);
791
- return poller.pollUntilDone();
792
- }
793
- /**
794
- * ListByClusterNext
795
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
796
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
797
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
798
- * consecutive hyphens
799
- * @param nextLink The nextLink from the previous successful call to the ListByCluster method.
800
- * @param options The options parameters.
801
- */
802
- _listByClusterNext(resourceGroupName, clusterName, nextLink, options) {
803
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, nextLink, options }, listByClusterNextOperationSpec);
804
- }
805
- }
806
- // Operation Specifications
807
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
808
- const listByClusterOperationSpec = {
809
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases",
810
- httpMethod: "GET",
811
- responses: {
812
- 200: {
813
- bodyMapper: Mappers.DatabaseList,
814
- },
815
- default: {
816
- bodyMapper: Mappers.ErrorResponse,
817
- },
818
- },
819
- queryParameters: [Parameters.apiVersion],
820
- urlParameters: [
821
- Parameters.$host,
822
- Parameters.subscriptionId,
823
- Parameters.resourceGroupName,
824
- Parameters.clusterName,
825
- ],
826
- headerParameters: [Parameters.accept],
827
- serializer,
828
- };
829
- const createOperationSpec = {
830
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
831
- httpMethod: "PUT",
832
- responses: {
833
- 200: {
834
- bodyMapper: Mappers.Database,
835
- },
836
- 201: {
837
- bodyMapper: Mappers.Database,
838
- },
839
- 202: {
840
- bodyMapper: Mappers.Database,
841
- },
842
- 204: {
843
- bodyMapper: Mappers.Database,
844
- },
845
- default: {
846
- bodyMapper: Mappers.ErrorResponse,
847
- },
848
- },
849
- requestBody: Parameters.parameters2,
850
- queryParameters: [Parameters.apiVersion],
851
- urlParameters: [
852
- Parameters.$host,
853
- Parameters.subscriptionId,
854
- Parameters.resourceGroupName,
855
- Parameters.clusterName,
856
- Parameters.databaseName,
857
- ],
858
- headerParameters: [Parameters.accept, Parameters.contentType],
859
- mediaType: "json",
860
- serializer,
861
- };
862
- const updateOperationSpec = {
863
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
864
- httpMethod: "PATCH",
865
- responses: {
866
- 200: {
867
- bodyMapper: Mappers.Database,
868
- },
869
- 201: {
870
- bodyMapper: Mappers.Database,
871
- },
872
- 202: {
873
- bodyMapper: Mappers.Database,
874
- },
875
- 204: {
876
- bodyMapper: Mappers.Database,
877
- },
878
- default: {
879
- bodyMapper: Mappers.ErrorResponse,
880
- },
881
- },
882
- requestBody: Parameters.parameters3,
883
- queryParameters: [Parameters.apiVersion],
884
- urlParameters: [
885
- Parameters.$host,
886
- Parameters.subscriptionId,
887
- Parameters.resourceGroupName,
888
- Parameters.clusterName,
889
- Parameters.databaseName,
890
- ],
891
- headerParameters: [Parameters.accept, Parameters.contentType],
892
- mediaType: "json",
893
- serializer,
894
- };
895
- const getOperationSpec = {
896
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
897
- httpMethod: "GET",
898
- responses: {
899
- 200: {
900
- bodyMapper: Mappers.Database,
901
- },
902
- default: {
903
- bodyMapper: Mappers.ErrorResponse,
904
- },
905
- },
906
- queryParameters: [Parameters.apiVersion],
907
- urlParameters: [
908
- Parameters.$host,
909
- Parameters.subscriptionId,
910
- Parameters.resourceGroupName,
911
- Parameters.clusterName,
912
- Parameters.databaseName,
913
- ],
914
- headerParameters: [Parameters.accept],
915
- serializer,
916
- };
917
- const deleteOperationSpec = {
918
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
919
- httpMethod: "DELETE",
920
- responses: {
921
- 200: {},
922
- 201: {},
923
- 202: {},
924
- 204: {},
925
- default: {
926
- bodyMapper: Mappers.ErrorResponse,
927
- },
928
- },
929
- queryParameters: [Parameters.apiVersion],
930
- urlParameters: [
931
- Parameters.$host,
932
- Parameters.subscriptionId,
933
- Parameters.resourceGroupName,
934
- Parameters.clusterName,
935
- Parameters.databaseName,
936
- ],
937
- headerParameters: [Parameters.accept],
938
- serializer,
939
- };
940
- const listKeysOperationSpec = {
941
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys",
942
- httpMethod: "POST",
943
- responses: {
944
- 200: {
945
- bodyMapper: Mappers.AccessKeys,
946
- },
947
- default: {
948
- bodyMapper: Mappers.ErrorResponse,
949
- },
950
- },
951
- queryParameters: [Parameters.apiVersion],
952
- urlParameters: [
953
- Parameters.$host,
954
- Parameters.subscriptionId,
955
- Parameters.resourceGroupName,
956
- Parameters.clusterName,
957
- Parameters.databaseName,
958
- ],
959
- headerParameters: [Parameters.accept],
960
- serializer,
961
- };
962
- const regenerateKeyOperationSpec = {
963
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey",
964
- httpMethod: "POST",
965
- responses: {
966
- 200: {
967
- bodyMapper: Mappers.AccessKeys,
968
- },
969
- 201: {
970
- bodyMapper: Mappers.AccessKeys,
971
- },
972
- 202: {
973
- bodyMapper: Mappers.AccessKeys,
974
- },
975
- 204: {
976
- bodyMapper: Mappers.AccessKeys,
977
- },
978
- default: {
979
- bodyMapper: Mappers.ErrorResponse,
980
- },
981
- },
982
- requestBody: Parameters.parameters4,
983
- queryParameters: [Parameters.apiVersion],
984
- urlParameters: [
985
- Parameters.$host,
986
- Parameters.subscriptionId,
987
- Parameters.resourceGroupName,
988
- Parameters.clusterName,
989
- Parameters.databaseName,
990
- ],
991
- headerParameters: [Parameters.accept, Parameters.contentType],
992
- mediaType: "json",
993
- serializer,
994
- };
995
- const importOperationSpec = {
996
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import",
997
- httpMethod: "POST",
998
- responses: {
999
- 200: {},
1000
- 201: {},
1001
- 202: {},
1002
- 204: {},
1003
- default: {
1004
- bodyMapper: Mappers.ErrorResponse,
1005
- },
1006
- },
1007
- requestBody: Parameters.parameters5,
1008
- queryParameters: [Parameters.apiVersion],
1009
- urlParameters: [
1010
- Parameters.$host,
1011
- Parameters.subscriptionId,
1012
- Parameters.resourceGroupName,
1013
- Parameters.clusterName,
1014
- Parameters.databaseName,
1015
- ],
1016
- headerParameters: [Parameters.accept, Parameters.contentType],
1017
- mediaType: "json",
1018
- serializer,
1019
- };
1020
- const exportOperationSpec = {
1021
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export",
1022
- httpMethod: "POST",
1023
- responses: {
1024
- 200: {},
1025
- 201: {},
1026
- 202: {},
1027
- 204: {},
1028
- default: {
1029
- bodyMapper: Mappers.ErrorResponse,
1030
- },
1031
- },
1032
- requestBody: Parameters.parameters6,
1033
- queryParameters: [Parameters.apiVersion],
1034
- urlParameters: [
1035
- Parameters.$host,
1036
- Parameters.subscriptionId,
1037
- Parameters.resourceGroupName,
1038
- Parameters.clusterName,
1039
- Parameters.databaseName,
1040
- ],
1041
- headerParameters: [Parameters.accept, Parameters.contentType],
1042
- mediaType: "json",
1043
- serializer,
1044
- };
1045
- const forceUnlinkOperationSpec = {
1046
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceUnlink",
1047
- httpMethod: "POST",
1048
- responses: {
1049
- 200: {},
1050
- 201: {},
1051
- 202: {},
1052
- 204: {},
1053
- default: {
1054
- bodyMapper: Mappers.ErrorResponse,
1055
- },
1056
- },
1057
- requestBody: Parameters.parameters7,
1058
- queryParameters: [Parameters.apiVersion],
1059
- urlParameters: [
1060
- Parameters.$host,
1061
- Parameters.subscriptionId,
1062
- Parameters.resourceGroupName,
1063
- Parameters.clusterName,
1064
- Parameters.databaseName,
1065
- ],
1066
- headerParameters: [Parameters.accept, Parameters.contentType],
1067
- mediaType: "json",
1068
- serializer,
1069
- };
1070
- const forceLinkToReplicationGroupOperationSpec = {
1071
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceLinkToReplicationGroup",
1072
- httpMethod: "POST",
1073
- responses: {
1074
- 200: {
1075
- headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
1076
- },
1077
- 201: {
1078
- headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
1079
- },
1080
- 202: {
1081
- headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
1082
- },
1083
- 204: {
1084
- headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
1085
- },
1086
- default: {
1087
- bodyMapper: Mappers.ErrorResponseAutoGenerated,
1088
- },
1089
- },
1090
- requestBody: Parameters.parameters8,
1091
- queryParameters: [Parameters.apiVersion],
1092
- urlParameters: [
1093
- Parameters.$host,
1094
- Parameters.subscriptionId,
1095
- Parameters.resourceGroupName,
1096
- Parameters.clusterName,
1097
- Parameters.databaseName,
1098
- ],
1099
- headerParameters: [Parameters.accept, Parameters.contentType],
1100
- mediaType: "json",
1101
- serializer,
1102
- };
1103
- const flushOperationSpec = {
1104
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush",
1105
- httpMethod: "POST",
1106
- responses: {
1107
- 200: {},
1108
- 201: {},
1109
- 202: {},
1110
- 204: {},
1111
- default: {
1112
- bodyMapper: Mappers.ErrorResponse,
1113
- },
1114
- },
1115
- requestBody: Parameters.parameters9,
1116
- queryParameters: [Parameters.apiVersion],
1117
- urlParameters: [
1118
- Parameters.$host,
1119
- Parameters.subscriptionId,
1120
- Parameters.resourceGroupName,
1121
- Parameters.clusterName,
1122
- Parameters.databaseName,
1123
- ],
1124
- headerParameters: [Parameters.accept, Parameters.contentType],
1125
- mediaType: "json",
1126
- serializer,
1127
- };
1128
- const upgradeDBRedisVersionOperationSpec = {
1129
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/upgradeDBRedisVersion",
1130
- httpMethod: "POST",
1131
- responses: {
1132
- 200: {
1133
- headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
1134
- },
1135
- 201: {
1136
- headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
1137
- },
1138
- 202: {
1139
- headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
1140
- },
1141
- 204: {
1142
- headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
1143
- },
1144
- default: {
1145
- bodyMapper: Mappers.ErrorResponse,
1146
- },
1147
- },
1148
- queryParameters: [Parameters.apiVersion],
1149
- urlParameters: [
1150
- Parameters.$host,
1151
- Parameters.subscriptionId,
1152
- Parameters.resourceGroupName,
1153
- Parameters.clusterName,
1154
- Parameters.databaseName,
1155
- ],
1156
- headerParameters: [Parameters.accept],
1157
- serializer,
1158
- };
1159
- const listByClusterNextOperationSpec = {
1160
- path: "{nextLink}",
1161
- httpMethod: "GET",
1162
- responses: {
1163
- 200: {
1164
- bodyMapper: Mappers.DatabaseList,
1165
- },
1166
- default: {
1167
- bodyMapper: Mappers.ErrorResponse,
1168
- },
1169
- },
1170
- urlParameters: [
1171
- Parameters.$host,
1172
- Parameters.nextLink,
1173
- Parameters.subscriptionId,
1174
- Parameters.resourceGroupName,
1175
- Parameters.clusterName,
1176
- ],
1177
- headerParameters: [Parameters.accept],
1178
- serializer,
1179
- };
1180
- //# sourceMappingURL=databases.js.map