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