@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 +0,0 @@
1
- {"version":3,"file":"redisEnterprise.d.ts","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"AAMA,OAAO,KAA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OAAO,CAAC,SAAS;CAMlB"}
@@ -1,548 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { setContinuationToken } from "../pagingHelper.js";
4
- import * as coreClient from "@azure/core-client";
5
- import * as Mappers from "../models/mappers.js";
6
- import * as Parameters from "../models/parameters.js";
7
- import { createHttpPoller } from "@azure/core-lro";
8
- import { createLroSpec } from "../lroImpl.js";
9
- /// <reference lib="esnext.asynciterable" />
10
- /** Class containing RedisEnterprise operations. */
11
- export class RedisEnterpriseImpl {
12
- client;
13
- /**
14
- * Initialize a new instance of the class RedisEnterprise class.
15
- * @param client Reference to the service client
16
- */
17
- constructor(client) {
18
- this.client = client;
19
- }
20
- /**
21
- * Lists all Redis Enterprise clusters in a resource group.
22
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
- * @param options The options parameters.
24
- */
25
- listByResourceGroup(resourceGroupName, options) {
26
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
27
- return {
28
- next() {
29
- return iter.next();
30
- },
31
- [Symbol.asyncIterator]() {
32
- return this;
33
- },
34
- byPage: (settings) => {
35
- if (settings?.maxPageSize) {
36
- throw new Error("maxPageSize is not supported by this operation.");
37
- }
38
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
39
- },
40
- };
41
- }
42
- async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
43
- let result;
44
- let continuationToken = settings?.continuationToken;
45
- if (!continuationToken) {
46
- result = await this._listByResourceGroup(resourceGroupName, options);
47
- const page = result.value || [];
48
- continuationToken = result.nextLink;
49
- setContinuationToken(page, continuationToken);
50
- yield page;
51
- }
52
- while (continuationToken) {
53
- result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
54
- continuationToken = result.nextLink;
55
- const page = result.value || [];
56
- setContinuationToken(page, continuationToken);
57
- yield page;
58
- }
59
- }
60
- async *listByResourceGroupPagingAll(resourceGroupName, options) {
61
- for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
62
- yield* page;
63
- }
64
- }
65
- /**
66
- * Lists all Redis Enterprise clusters in the specified subscription.
67
- * @param options The options parameters.
68
- */
69
- list(options) {
70
- const iter = this.listPagingAll(options);
71
- return {
72
- next() {
73
- return iter.next();
74
- },
75
- [Symbol.asyncIterator]() {
76
- return this;
77
- },
78
- byPage: (settings) => {
79
- if (settings?.maxPageSize) {
80
- throw new Error("maxPageSize is not supported by this operation.");
81
- }
82
- return this.listPagingPage(options, settings);
83
- },
84
- };
85
- }
86
- async *listPagingPage(options, settings) {
87
- let result;
88
- let continuationToken = settings?.continuationToken;
89
- if (!continuationToken) {
90
- result = await this._list(options);
91
- const page = result.value || [];
92
- continuationToken = result.nextLink;
93
- setContinuationToken(page, continuationToken);
94
- yield page;
95
- }
96
- while (continuationToken) {
97
- result = await this._listNext(continuationToken, options);
98
- continuationToken = result.nextLink;
99
- const page = result.value || [];
100
- setContinuationToken(page, continuationToken);
101
- yield page;
102
- }
103
- }
104
- async *listPagingAll(options) {
105
- for await (const page of this.listPagingPage(options)) {
106
- yield* page;
107
- }
108
- }
109
- /**
110
- * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
111
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
112
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
113
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
114
- * consecutive hyphens
115
- * @param parameters Parameters supplied to the Create Redis Enterprise operation.
116
- * @param options The options parameters.
117
- */
118
- async beginCreate(resourceGroupName, clusterName, parameters, options) {
119
- const directSendOperation = async (args, spec) => {
120
- return this.client.sendOperationRequest(args, spec);
121
- };
122
- const sendOperationFn = async (args, spec) => {
123
- let currentRawResponse = undefined;
124
- const providedCallback = args.options?.onResponse;
125
- const callback = (rawResponse, flatResponse) => {
126
- currentRawResponse = rawResponse;
127
- providedCallback?.(rawResponse, flatResponse);
128
- };
129
- const updatedArgs = {
130
- ...args,
131
- options: {
132
- ...args.options,
133
- onResponse: callback,
134
- },
135
- };
136
- const flatResponse = await directSendOperation(updatedArgs, spec);
137
- return {
138
- flatResponse,
139
- rawResponse: {
140
- statusCode: currentRawResponse.status,
141
- body: currentRawResponse.parsedBody,
142
- headers: currentRawResponse.headers.toJSON(),
143
- },
144
- };
145
- };
146
- const lro = createLroSpec({
147
- sendOperationFn,
148
- args: { resourceGroupName, clusterName, parameters, options },
149
- spec: createOperationSpec,
150
- });
151
- const poller = await createHttpPoller(lro, {
152
- restoreFrom: options?.resumeFrom,
153
- intervalInMs: options?.updateIntervalInMs,
154
- resourceLocationConfig: "original-uri",
155
- });
156
- await poller.poll();
157
- return poller;
158
- }
159
- /**
160
- * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
161
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
162
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
163
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
164
- * consecutive hyphens
165
- * @param parameters Parameters supplied to the Create Redis Enterprise operation.
166
- * @param options The options parameters.
167
- */
168
- async beginCreateAndWait(resourceGroupName, clusterName, parameters, options) {
169
- const poller = await this.beginCreate(resourceGroupName, clusterName, parameters, options);
170
- return poller.pollUntilDone();
171
- }
172
- /**
173
- * Updates an existing Redis Enterprise cluster
174
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
176
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
177
- * consecutive hyphens
178
- * @param parameters Parameters supplied to the Update Redis Enterprise operation.
179
- * @param options The options parameters.
180
- */
181
- async beginUpdate(resourceGroupName, clusterName, parameters, options) {
182
- const directSendOperation = async (args, spec) => {
183
- return this.client.sendOperationRequest(args, spec);
184
- };
185
- const sendOperationFn = async (args, spec) => {
186
- let currentRawResponse = undefined;
187
- const providedCallback = args.options?.onResponse;
188
- const callback = (rawResponse, flatResponse) => {
189
- currentRawResponse = rawResponse;
190
- providedCallback?.(rawResponse, flatResponse);
191
- };
192
- const updatedArgs = {
193
- ...args,
194
- options: {
195
- ...args.options,
196
- onResponse: callback,
197
- },
198
- };
199
- const flatResponse = await directSendOperation(updatedArgs, spec);
200
- return {
201
- flatResponse,
202
- rawResponse: {
203
- statusCode: currentRawResponse.status,
204
- body: currentRawResponse.parsedBody,
205
- headers: currentRawResponse.headers.toJSON(),
206
- },
207
- };
208
- };
209
- const lro = createLroSpec({
210
- sendOperationFn,
211
- args: { resourceGroupName, clusterName, parameters, options },
212
- spec: updateOperationSpec,
213
- });
214
- const poller = await createHttpPoller(lro, {
215
- restoreFrom: options?.resumeFrom,
216
- intervalInMs: options?.updateIntervalInMs,
217
- resourceLocationConfig: "azure-async-operation",
218
- });
219
- await poller.poll();
220
- return poller;
221
- }
222
- /**
223
- * Updates an existing Redis Enterprise cluster
224
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
225
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
226
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
227
- * consecutive hyphens
228
- * @param parameters Parameters supplied to the Update Redis Enterprise operation.
229
- * @param options The options parameters.
230
- */
231
- async beginUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
232
- const poller = await this.beginUpdate(resourceGroupName, clusterName, parameters, options);
233
- return poller.pollUntilDone();
234
- }
235
- /**
236
- * Deletes a Redis Enterprise cache cluster.
237
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
238
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
239
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
240
- * consecutive hyphens
241
- * @param options The options parameters.
242
- */
243
- async beginDelete(resourceGroupName, clusterName, options) {
244
- const directSendOperation = async (args, spec) => {
245
- return this.client.sendOperationRequest(args, spec);
246
- };
247
- const sendOperationFn = async (args, spec) => {
248
- let currentRawResponse = undefined;
249
- const providedCallback = args.options?.onResponse;
250
- const callback = (rawResponse, flatResponse) => {
251
- currentRawResponse = rawResponse;
252
- providedCallback?.(rawResponse, flatResponse);
253
- };
254
- const updatedArgs = {
255
- ...args,
256
- options: {
257
- ...args.options,
258
- onResponse: callback,
259
- },
260
- };
261
- const flatResponse = await directSendOperation(updatedArgs, spec);
262
- return {
263
- flatResponse,
264
- rawResponse: {
265
- statusCode: currentRawResponse.status,
266
- body: currentRawResponse.parsedBody,
267
- headers: currentRawResponse.headers.toJSON(),
268
- },
269
- };
270
- };
271
- const lro = createLroSpec({
272
- sendOperationFn,
273
- args: { resourceGroupName, clusterName, options },
274
- spec: deleteOperationSpec,
275
- });
276
- const poller = await createHttpPoller(lro, {
277
- restoreFrom: options?.resumeFrom,
278
- intervalInMs: options?.updateIntervalInMs,
279
- resourceLocationConfig: "azure-async-operation",
280
- });
281
- await poller.poll();
282
- return poller;
283
- }
284
- /**
285
- * Deletes a Redis Enterprise cache cluster.
286
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
287
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
288
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
289
- * consecutive hyphens
290
- * @param options The options parameters.
291
- */
292
- async beginDeleteAndWait(resourceGroupName, clusterName, options) {
293
- const poller = await this.beginDelete(resourceGroupName, clusterName, options);
294
- return poller.pollUntilDone();
295
- }
296
- /**
297
- * Gets information about a Redis Enterprise cluster
298
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
299
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
300
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
301
- * consecutive hyphens
302
- * @param options The options parameters.
303
- */
304
- get(resourceGroupName, clusterName, options) {
305
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
306
- }
307
- /**
308
- * Lists all Redis Enterprise clusters in a resource group.
309
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
310
- * @param options The options parameters.
311
- */
312
- _listByResourceGroup(resourceGroupName, options) {
313
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
314
- }
315
- /**
316
- * Lists all Redis Enterprise clusters in the specified subscription.
317
- * @param options The options parameters.
318
- */
319
- _list(options) {
320
- return this.client.sendOperationRequest({ options }, listOperationSpec);
321
- }
322
- /**
323
- * Lists the available SKUs for scaling the Redis Enterprise cluster.
324
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
325
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
326
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
327
- * consecutive hyphens
328
- * @param options The options parameters.
329
- */
330
- listSkusForScaling(resourceGroupName, clusterName, options) {
331
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listSkusForScalingOperationSpec);
332
- }
333
- /**
334
- * ListByResourceGroupNext
335
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
336
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
337
- * @param options The options parameters.
338
- */
339
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
340
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
341
- }
342
- /**
343
- * ListNext
344
- * @param nextLink The nextLink from the previous successful call to the List method.
345
- * @param options The options parameters.
346
- */
347
- _listNext(nextLink, options) {
348
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
349
- }
350
- }
351
- // Operation Specifications
352
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
353
- const createOperationSpec = {
354
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
355
- httpMethod: "PUT",
356
- responses: {
357
- 200: {
358
- bodyMapper: Mappers.Cluster,
359
- },
360
- 201: {
361
- bodyMapper: Mappers.Cluster,
362
- },
363
- 202: {
364
- bodyMapper: Mappers.Cluster,
365
- },
366
- 204: {
367
- bodyMapper: Mappers.Cluster,
368
- },
369
- default: {
370
- bodyMapper: Mappers.ErrorResponse,
371
- },
372
- },
373
- requestBody: Parameters.parameters,
374
- queryParameters: [Parameters.apiVersion],
375
- urlParameters: [
376
- Parameters.$host,
377
- Parameters.subscriptionId,
378
- Parameters.resourceGroupName,
379
- Parameters.clusterName,
380
- ],
381
- headerParameters: [Parameters.accept, Parameters.contentType],
382
- mediaType: "json",
383
- serializer,
384
- };
385
- const updateOperationSpec = {
386
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
387
- httpMethod: "PATCH",
388
- responses: {
389
- 200: {
390
- bodyMapper: Mappers.Cluster,
391
- },
392
- 201: {
393
- bodyMapper: Mappers.Cluster,
394
- },
395
- 202: {
396
- bodyMapper: Mappers.Cluster,
397
- },
398
- 204: {
399
- bodyMapper: Mappers.Cluster,
400
- },
401
- default: {
402
- bodyMapper: Mappers.ErrorResponse,
403
- },
404
- },
405
- requestBody: Parameters.parameters1,
406
- queryParameters: [Parameters.apiVersion],
407
- urlParameters: [
408
- Parameters.$host,
409
- Parameters.subscriptionId,
410
- Parameters.resourceGroupName,
411
- Parameters.clusterName,
412
- ],
413
- headerParameters: [Parameters.accept, Parameters.contentType],
414
- mediaType: "json",
415
- serializer,
416
- };
417
- const deleteOperationSpec = {
418
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
419
- httpMethod: "DELETE",
420
- responses: {
421
- 200: {},
422
- 201: {},
423
- 202: {},
424
- 204: {},
425
- default: {
426
- bodyMapper: Mappers.ErrorResponse,
427
- },
428
- },
429
- queryParameters: [Parameters.apiVersion],
430
- urlParameters: [
431
- Parameters.$host,
432
- Parameters.subscriptionId,
433
- Parameters.resourceGroupName,
434
- Parameters.clusterName,
435
- ],
436
- headerParameters: [Parameters.accept],
437
- serializer,
438
- };
439
- const getOperationSpec = {
440
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
441
- httpMethod: "GET",
442
- responses: {
443
- 200: {
444
- bodyMapper: Mappers.Cluster,
445
- },
446
- default: {
447
- bodyMapper: Mappers.ErrorResponse,
448
- },
449
- },
450
- queryParameters: [Parameters.apiVersion],
451
- urlParameters: [
452
- Parameters.$host,
453
- Parameters.subscriptionId,
454
- Parameters.resourceGroupName,
455
- Parameters.clusterName,
456
- ],
457
- headerParameters: [Parameters.accept],
458
- serializer,
459
- };
460
- const listByResourceGroupOperationSpec = {
461
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise",
462
- httpMethod: "GET",
463
- responses: {
464
- 200: {
465
- bodyMapper: Mappers.ClusterList,
466
- },
467
- default: {
468
- bodyMapper: Mappers.ErrorResponse,
469
- },
470
- },
471
- queryParameters: [Parameters.apiVersion],
472
- urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
473
- headerParameters: [Parameters.accept],
474
- serializer,
475
- };
476
- const listOperationSpec = {
477
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise",
478
- httpMethod: "GET",
479
- responses: {
480
- 200: {
481
- bodyMapper: Mappers.ClusterList,
482
- },
483
- default: {
484
- bodyMapper: Mappers.ErrorResponse,
485
- },
486
- },
487
- queryParameters: [Parameters.apiVersion],
488
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
489
- headerParameters: [Parameters.accept],
490
- serializer,
491
- };
492
- const listSkusForScalingOperationSpec = {
493
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/listSkusForScaling",
494
- httpMethod: "POST",
495
- responses: {
496
- 200: {
497
- bodyMapper: Mappers.SkuDetailsList,
498
- },
499
- default: {
500
- bodyMapper: Mappers.ErrorResponse,
501
- },
502
- },
503
- queryParameters: [Parameters.apiVersion],
504
- urlParameters: [
505
- Parameters.$host,
506
- Parameters.subscriptionId,
507
- Parameters.resourceGroupName,
508
- Parameters.clusterName,
509
- ],
510
- headerParameters: [Parameters.accept],
511
- serializer,
512
- };
513
- const listByResourceGroupNextOperationSpec = {
514
- path: "{nextLink}",
515
- httpMethod: "GET",
516
- responses: {
517
- 200: {
518
- bodyMapper: Mappers.ClusterList,
519
- },
520
- default: {
521
- bodyMapper: Mappers.ErrorResponse,
522
- },
523
- },
524
- urlParameters: [
525
- Parameters.$host,
526
- Parameters.nextLink,
527
- Parameters.subscriptionId,
528
- Parameters.resourceGroupName,
529
- ],
530
- headerParameters: [Parameters.accept],
531
- serializer,
532
- };
533
- const listNextOperationSpec = {
534
- path: "{nextLink}",
535
- httpMethod: "GET",
536
- responses: {
537
- 200: {
538
- bodyMapper: Mappers.ClusterList,
539
- },
540
- default: {
541
- bodyMapper: Mappers.ErrorResponse,
542
- },
543
- },
544
- urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
545
- headerParameters: [Parameters.accept],
546
- serializer,
547
- };
548
- //# sourceMappingURL=redisEnterprise.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAuB9C,4CAA4C;AAC5C,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U,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { RedisEnterprise } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { RedisEnterpriseManagementClient } from \"../redisEnterpriseManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n Cluster,\n RedisEnterpriseListByResourceGroupNextOptionalParams,\n RedisEnterpriseListByResourceGroupOptionalParams,\n RedisEnterpriseListByResourceGroupResponse,\n RedisEnterpriseListNextOptionalParams,\n RedisEnterpriseListOptionalParams,\n RedisEnterpriseListResponse,\n RedisEnterpriseCreateOptionalParams,\n RedisEnterpriseCreateResponse,\n ClusterUpdate,\n RedisEnterpriseUpdateOptionalParams,\n RedisEnterpriseUpdateResponse,\n RedisEnterpriseDeleteOptionalParams,\n RedisEnterpriseGetOptionalParams,\n RedisEnterpriseGetResponse,\n RedisEnterpriseListSkusForScalingOptionalParams,\n RedisEnterpriseListSkusForScalingResponse,\n RedisEnterpriseListByResourceGroupNextResponse,\n RedisEnterpriseListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RedisEnterprise operations. */\nexport class RedisEnterpriseImpl implements RedisEnterprise {\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class RedisEnterprise class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Cluster> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Cluster[]> {\n let result: RedisEnterpriseListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Cluster> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n public list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: RedisEnterpriseListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Cluster[]> {\n let result: RedisEnterpriseListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: RedisEnterpriseListOptionalParams,\n ): AsyncIterableIterator<Cluster> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RedisEnterpriseCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n RedisEnterpriseCreateResponse,\n OperationState<RedisEnterpriseCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"original-uri\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<RedisEnterpriseCreateResponse> {\n const poller = await this.beginCreate(resourceGroupName, clusterName, parameters, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing Redis Enterprise cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RedisEnterpriseUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n RedisEnterpriseUpdateResponse,\n OperationState<RedisEnterpriseUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates an existing Redis Enterprise cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<RedisEnterpriseUpdateResponse> {\n const poller = await this.beginUpdate(resourceGroupName, clusterName, parameters, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a Redis Enterprise cache cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, clusterName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Redis Enterprise cache cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, clusterName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about a Redis Enterprise cluster\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseGetOptionalParams,\n ): Promise<RedisEnterpriseGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): Promise<RedisEnterpriseListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n private _list(options?: RedisEnterpriseListOptionalParams): Promise<RedisEnterpriseListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists the available SKUs for scaling the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param options The options parameters.\n */\n listSkusForScaling(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseListSkusForScalingOptionalParams,\n ): Promise<RedisEnterpriseListSkusForScalingResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listSkusForScalingOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: RedisEnterpriseListByResourceGroupNextOptionalParams,\n ): Promise<RedisEnterpriseListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: RedisEnterpriseListNextOptionalParams,\n ): Promise<RedisEnterpriseListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n 201: {\n bodyMapper: Mappers.Cluster,\n },\n 202: {\n bodyMapper: Mappers.Cluster,\n },\n 204: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n 201: {\n bodyMapper: Mappers.Cluster,\n },\n 202: {\n bodyMapper: Mappers.Cluster,\n },\n 204: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusForScalingOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/listSkusForScaling\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuDetailsList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}