@azure/arm-redisenterprisecache 3.1.0-beta.2 → 4.0.0-alpha.20250423.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 (575) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/LICENSE +3 -3
  3. package/README.md +24 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/dist/browser/lroImpl.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/index.d.ts +99 -9
  10. package/dist/browser/models/index.d.ts.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/index.js +12 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +5 -0
  14. package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +1 -1
  15. package/{dist-esm/src → dist/browser}/models/mappers.js +134 -3
  16. package/dist/browser/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.js +5 -5
  18. package/dist/browser/models/parameters.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/accessPolicyAssignmentOperations.d.ts +27 -11
  20. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/accessPolicyAssignmentOperations.js +114 -106
  22. package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +1 -0
  23. package/dist/browser/operations/databases.d.ts +283 -0
  24. package/dist/browser/operations/databases.d.ts.map +1 -0
  25. package/dist/browser/operations/databases.js +1152 -0
  26. package/dist/browser/operations/databases.js.map +1 -0
  27. package/dist/browser/operations/index.d.ts +8 -0
  28. package/dist/browser/operations/index.d.ts.map +1 -0
  29. package/dist/browser/operations/index.js +15 -0
  30. package/dist/browser/operations/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  32. package/dist/browser/operations/operations.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  34. package/dist/browser/operations/operations.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operationsStatus.d.ts +3 -3
  36. package/dist/browser/operations/operationsStatus.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/operationsStatus.js +2 -2
  38. package/dist/browser/operations/operationsStatus.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +24 -10
  40. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +107 -101
  42. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +9 -5
  44. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +8 -4
  46. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/redisEnterprise.d.ts +33 -10
  48. package/dist/browser/operations/redisEnterprise.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/redisEnterprise.js +169 -135
  50. package/dist/browser/operations/redisEnterprise.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +19 -7
  52. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.d.ts +72 -28
  55. package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/databases.js.map +1 -0
  57. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  58. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/index.js +15 -0
  60. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  63. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts +1 -1
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts.map +1 -1
  66. package/dist/browser/operationsInterfaces/operationsStatus.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +19 -7
  68. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +4 -2
  71. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.d.ts +31 -8
  74. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/redisEnterprise.js.map +1 -0
  76. package/dist/browser/package.json +3 -0
  77. package/dist/browser/pagingHelper.js.map +1 -0
  78. package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.d.ts +2 -2
  79. package/dist/browser/redisEnterpriseManagementClient.d.ts.map +1 -0
  80. package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.js +17 -20
  81. package/dist/browser/redisEnterpriseManagementClient.js.map +1 -0
  82. package/dist/commonjs/index.d.ts +5 -0
  83. package/dist/commonjs/index.d.ts.map +1 -0
  84. package/dist/commonjs/index.js +19 -0
  85. package/dist/commonjs/index.js.map +1 -0
  86. package/dist/commonjs/lroImpl.d.ts +11 -0
  87. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  88. package/dist/commonjs/lroImpl.js +24 -0
  89. package/dist/commonjs/lroImpl.js.map +1 -0
  90. package/{types/arm-redisenterprisecache.d.ts → dist/commonjs/models/index.d.ts} +1624 -2165
  91. package/dist/commonjs/models/index.d.ts.map +1 -0
  92. package/dist/commonjs/models/index.js +367 -0
  93. package/dist/commonjs/models/index.js.map +1 -0
  94. package/dist/commonjs/models/mappers.d.ts +65 -0
  95. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  96. package/dist/commonjs/models/mappers.js +1788 -0
  97. package/dist/commonjs/models/mappers.js.map +1 -0
  98. package/dist/commonjs/models/parameters.d.ts +27 -0
  99. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  100. package/dist/commonjs/models/parameters.js +217 -0
  101. package/dist/commonjs/models/parameters.js.map +1 -0
  102. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  103. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  104. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +415 -0
  105. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +1 -0
  106. package/dist/commonjs/operations/databases.d.ts +283 -0
  107. package/dist/commonjs/operations/databases.d.ts.map +1 -0
  108. package/dist/commonjs/operations/databases.js +1156 -0
  109. package/dist/commonjs/operations/databases.js.map +1 -0
  110. package/dist/commonjs/operations/index.d.ts +8 -0
  111. package/dist/commonjs/operations/index.d.ts.map +1 -0
  112. package/dist/commonjs/operations/index.js +18 -0
  113. package/dist/commonjs/operations/index.js.map +1 -0
  114. package/dist/commonjs/operations/operations.d.ts +32 -0
  115. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  116. package/dist/commonjs/operations/operations.js +137 -0
  117. package/dist/commonjs/operations/operations.js.map +1 -0
  118. package/dist/commonjs/operations/operationsStatus.d.ts +20 -0
  119. package/dist/commonjs/operations/operationsStatus.d.ts.map +1 -0
  120. package/dist/commonjs/operations/operationsStatus.js +58 -0
  121. package/dist/commonjs/operations/operationsStatus.js.map +1 -0
  122. package/dist/commonjs/operations/privateEndpointConnections.d.ts +94 -0
  123. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  124. package/dist/commonjs/operations/privateEndpointConnections.js +345 -0
  125. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  126. package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
  127. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  128. package/dist/commonjs/operations/privateLinkResources.js +113 -0
  129. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  130. package/dist/commonjs/operations/redisEnterprise.d.ts +130 -0
  131. package/dist/commonjs/operations/redisEnterprise.d.ts.map +1 -0
  132. package/dist/commonjs/operations/redisEnterprise.js +584 -0
  133. package/dist/commonjs/operations/redisEnterprise.js.map +1 -0
  134. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  135. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +10 -0
  137. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  138. package/{dist-esm/src/operations → dist/commonjs/operationsInterfaces}/databases.d.ts +74 -55
  139. package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/databases.js +10 -0
  141. package/dist/commonjs/operationsInterfaces/databases.js.map +1 -0
  142. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  143. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  144. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  145. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  146. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  147. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  148. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  149. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  150. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +12 -0
  151. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  152. package/dist/commonjs/operationsInterfaces/operationsStatus.js +10 -0
  153. package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +1 -0
  154. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
  155. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  156. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  157. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  158. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
  159. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  161. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +94 -0
  163. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/redisEnterprise.js +10 -0
  165. package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +1 -0
  166. package/dist/commonjs/package.json +3 -0
  167. package/dist/commonjs/pagingHelper.d.ts +13 -0
  168. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  169. package/dist/commonjs/pagingHelper.js +36 -0
  170. package/dist/commonjs/pagingHelper.js.map +1 -0
  171. package/dist/commonjs/redisEnterpriseManagementClient.d.ts +26 -0
  172. package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +1 -0
  173. package/dist/commonjs/redisEnterpriseManagementClient.js +109 -0
  174. package/dist/commonjs/redisEnterpriseManagementClient.js.map +1 -0
  175. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  176. package/dist/esm/index.d.ts +5 -0
  177. package/dist/esm/index.d.ts.map +1 -0
  178. package/{src/index.ts → dist/esm/index.js} +5 -5
  179. package/dist/esm/index.js.map +1 -0
  180. package/dist/esm/lroImpl.d.ts +11 -0
  181. package/dist/esm/lroImpl.d.ts.map +1 -0
  182. package/dist/esm/lroImpl.js +21 -0
  183. package/dist/esm/lroImpl.js.map +1 -0
  184. package/dist/esm/models/index.d.ts +1624 -0
  185. package/dist/esm/models/index.d.ts.map +1 -0
  186. package/dist/esm/models/index.js +364 -0
  187. package/dist/esm/models/index.js.map +1 -0
  188. package/dist/esm/models/mappers.d.ts +65 -0
  189. package/dist/esm/models/mappers.d.ts.map +1 -0
  190. package/dist/esm/models/mappers.js +1784 -0
  191. package/dist/esm/models/mappers.js.map +1 -0
  192. package/dist/esm/models/parameters.d.ts +27 -0
  193. package/dist/esm/models/parameters.d.ts.map +1 -0
  194. package/dist/esm/models/parameters.js +214 -0
  195. package/dist/esm/models/parameters.js.map +1 -0
  196. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  197. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  198. package/dist/esm/operations/accessPolicyAssignmentOperations.js +411 -0
  199. package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +1 -0
  200. package/dist/esm/operations/databases.d.ts +283 -0
  201. package/dist/esm/operations/databases.d.ts.map +1 -0
  202. package/dist/esm/operations/databases.js +1152 -0
  203. package/dist/esm/operations/databases.js.map +1 -0
  204. package/dist/esm/operations/index.d.ts +8 -0
  205. package/dist/esm/operations/index.d.ts.map +1 -0
  206. package/dist/esm/operations/index.js +15 -0
  207. package/dist/esm/operations/index.js.map +1 -0
  208. package/dist/esm/operations/operations.d.ts +32 -0
  209. package/dist/esm/operations/operations.d.ts.map +1 -0
  210. package/dist/esm/operations/operations.js +133 -0
  211. package/dist/esm/operations/operations.js.map +1 -0
  212. package/dist/esm/operations/operationsStatus.d.ts +20 -0
  213. package/dist/esm/operations/operationsStatus.d.ts.map +1 -0
  214. package/dist/esm/operations/operationsStatus.js +53 -0
  215. package/dist/esm/operations/operationsStatus.js.map +1 -0
  216. package/dist/esm/operations/privateEndpointConnections.d.ts +94 -0
  217. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  218. package/dist/esm/operations/privateEndpointConnections.js +341 -0
  219. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  220. package/dist/esm/operations/privateLinkResources.d.ts +34 -0
  221. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  222. package/dist/esm/operations/privateLinkResources.js +109 -0
  223. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  224. package/dist/esm/operations/redisEnterprise.d.ts +130 -0
  225. package/dist/esm/operations/redisEnterprise.d.ts.map +1 -0
  226. package/dist/esm/operations/redisEnterprise.js +580 -0
  227. package/dist/esm/operations/redisEnterprise.js.map +1 -0
  228. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  229. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  230. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  231. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  232. package/dist/esm/operationsInterfaces/databases.d.ts +254 -0
  233. package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -0
  234. package/dist/esm/operationsInterfaces/databases.js +9 -0
  235. package/dist/esm/operationsInterfaces/databases.js.map +1 -0
  236. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  237. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  238. package/dist/esm/operationsInterfaces/index.js +15 -0
  239. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  240. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  241. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  242. package/dist/esm/operationsInterfaces/operations.js +9 -0
  243. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  244. package/dist/esm/operationsInterfaces/operationsStatus.d.ts +12 -0
  245. package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  246. package/dist/esm/operationsInterfaces/operationsStatus.js +9 -0
  247. package/dist/esm/operationsInterfaces/operationsStatus.js.map +1 -0
  248. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
  249. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  250. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  251. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  252. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  253. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  254. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  255. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  256. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +94 -0
  257. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  258. package/dist/esm/operationsInterfaces/redisEnterprise.js +9 -0
  259. package/dist/esm/operationsInterfaces/redisEnterprise.js.map +1 -0
  260. package/dist/esm/package.json +3 -0
  261. package/dist/esm/pagingHelper.d.ts +13 -0
  262. package/dist/esm/pagingHelper.d.ts.map +1 -0
  263. package/dist/esm/pagingHelper.js +32 -0
  264. package/dist/esm/pagingHelper.js.map +1 -0
  265. package/dist/esm/redisEnterpriseManagementClient.d.ts +26 -0
  266. package/dist/esm/redisEnterpriseManagementClient.d.ts.map +1 -0
  267. package/dist/esm/redisEnterpriseManagementClient.js +104 -0
  268. package/dist/esm/redisEnterpriseManagementClient.js.map +1 -0
  269. package/dist/react-native/index.d.ts +5 -0
  270. package/dist/react-native/index.d.ts.map +1 -0
  271. package/dist/react-native/index.js +13 -0
  272. package/dist/react-native/index.js.map +1 -0
  273. package/dist/react-native/lroImpl.d.ts +11 -0
  274. package/dist/react-native/lroImpl.d.ts.map +1 -0
  275. package/dist/react-native/lroImpl.js +21 -0
  276. package/dist/react-native/lroImpl.js.map +1 -0
  277. package/dist/react-native/models/index.d.ts +1624 -0
  278. package/dist/react-native/models/index.d.ts.map +1 -0
  279. package/dist/react-native/models/index.js +364 -0
  280. package/dist/react-native/models/index.js.map +1 -0
  281. package/dist/react-native/models/mappers.d.ts +65 -0
  282. package/dist/react-native/models/mappers.d.ts.map +1 -0
  283. package/dist/react-native/models/mappers.js +1784 -0
  284. package/dist/react-native/models/mappers.js.map +1 -0
  285. package/dist/react-native/models/parameters.d.ts +27 -0
  286. package/dist/react-native/models/parameters.d.ts.map +1 -0
  287. package/dist/react-native/models/parameters.js +214 -0
  288. package/dist/react-native/models/parameters.js.map +1 -0
  289. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +110 -0
  290. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  291. package/dist/react-native/operations/accessPolicyAssignmentOperations.js +411 -0
  292. package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +1 -0
  293. package/dist/react-native/operations/databases.d.ts +283 -0
  294. package/dist/react-native/operations/databases.d.ts.map +1 -0
  295. package/dist/react-native/operations/databases.js +1152 -0
  296. package/dist/react-native/operations/databases.js.map +1 -0
  297. package/dist/react-native/operations/index.d.ts +8 -0
  298. package/dist/react-native/operations/index.d.ts.map +1 -0
  299. package/dist/react-native/operations/index.js +15 -0
  300. package/dist/react-native/operations/index.js.map +1 -0
  301. package/dist/react-native/operations/operations.d.ts +32 -0
  302. package/dist/react-native/operations/operations.d.ts.map +1 -0
  303. package/dist/react-native/operations/operations.js +133 -0
  304. package/dist/react-native/operations/operations.js.map +1 -0
  305. package/dist/react-native/operations/operationsStatus.d.ts +20 -0
  306. package/dist/react-native/operations/operationsStatus.d.ts.map +1 -0
  307. package/dist/react-native/operations/operationsStatus.js +53 -0
  308. package/dist/react-native/operations/operationsStatus.js.map +1 -0
  309. package/dist/react-native/operations/privateEndpointConnections.d.ts +94 -0
  310. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  311. package/dist/react-native/operations/privateEndpointConnections.js +341 -0
  312. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  313. package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
  314. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  315. package/dist/react-native/operations/privateLinkResources.js +109 -0
  316. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  317. package/dist/react-native/operations/redisEnterprise.d.ts +130 -0
  318. package/dist/react-native/operations/redisEnterprise.d.ts.map +1 -0
  319. package/dist/react-native/operations/redisEnterprise.js +580 -0
  320. package/dist/react-native/operations/redisEnterprise.js.map +1 -0
  321. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
  322. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  323. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  324. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  325. package/dist/react-native/operationsInterfaces/databases.d.ts +254 -0
  326. package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -0
  327. package/dist/react-native/operationsInterfaces/databases.js +9 -0
  328. package/dist/react-native/operationsInterfaces/databases.js.map +1 -0
  329. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  330. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  331. package/dist/react-native/operationsInterfaces/index.js +15 -0
  332. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  333. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  334. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  335. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  336. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  337. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +12 -0
  338. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  339. package/dist/react-native/operationsInterfaces/operationsStatus.js +9 -0
  340. package/dist/react-native/operationsInterfaces/operationsStatus.js.map +1 -0
  341. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
  342. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  343. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  344. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  345. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
  346. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  347. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  348. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  349. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +94 -0
  350. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  351. package/dist/react-native/operationsInterfaces/redisEnterprise.js +9 -0
  352. package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +1 -0
  353. package/dist/react-native/package.json +3 -0
  354. package/dist/react-native/pagingHelper.d.ts +13 -0
  355. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  356. package/dist/react-native/pagingHelper.js +32 -0
  357. package/dist/react-native/pagingHelper.js.map +1 -0
  358. package/dist/react-native/redisEnterpriseManagementClient.d.ts +26 -0
  359. package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +1 -0
  360. package/dist/react-native/redisEnterpriseManagementClient.js +104 -0
  361. package/dist/react-native/redisEnterpriseManagementClient.js.map +1 -0
  362. package/package.json +71 -46
  363. package/review/arm-redisenterprisecache.api.md +55 -4
  364. package/LICENSE.txt +0 -21
  365. package/dist/index.js +0 -5153
  366. package/dist/index.js.map +0 -1
  367. package/dist/index.min.js +0 -1
  368. package/dist/index.min.js.map +0 -1
  369. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +0 -45
  372. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +0 -1
  373. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +0 -41
  376. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +0 -1
  377. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +0 -41
  380. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +0 -1
  381. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +0 -2
  382. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +0 -56
  384. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +0 -1
  385. package/dist-esm/samples-dev/databasesCreateSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/databasesCreateSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/databasesCreateSample.js +0 -92
  388. package/dist-esm/samples-dev/databasesCreateSample.js.map +0 -1
  389. package/dist-esm/samples-dev/databasesDeleteSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/databasesDeleteSample.js +0 -40
  392. package/dist-esm/samples-dev/databasesDeleteSample.js.map +0 -1
  393. package/dist-esm/samples-dev/databasesExportSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/databasesExportSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/databasesExportSample.js +0 -43
  396. package/dist-esm/samples-dev/databasesExportSample.js.map +0 -1
  397. package/dist-esm/samples-dev/databasesFlushSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/databasesFlushSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/databasesFlushSample.js +0 -45
  400. package/dist-esm/samples-dev/databasesFlushSample.js.map +0 -1
  401. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +0 -51
  404. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js.map +0 -1
  405. package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +0 -45
  408. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +0 -1
  409. package/dist-esm/samples-dev/databasesGetSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/databasesGetSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/databasesGetSample.js +0 -40
  412. package/dist-esm/samples-dev/databasesGetSample.js.map +0 -1
  413. package/dist-esm/samples-dev/databasesImportSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/databasesImportSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/databasesImportSample.js +0 -46
  416. package/dist-esm/samples-dev/databasesImportSample.js.map +0 -1
  417. package/dist-esm/samples-dev/databasesListByClusterSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/databasesListByClusterSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/databasesListByClusterSample.js +0 -55
  420. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +0 -1
  421. package/dist-esm/samples-dev/databasesListKeysSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/databasesListKeysSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/databasesListKeysSample.js +0 -40
  424. package/dist-esm/samples-dev/databasesListKeysSample.js.map +0 -1
  425. package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts +0 -2
  426. package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +0 -41
  428. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +0 -1
  429. package/dist-esm/samples-dev/databasesUpdateSample.d.ts +0 -2
  430. package/dist-esm/samples-dev/databasesUpdateSample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/databasesUpdateSample.js +0 -46
  432. package/dist-esm/samples-dev/databasesUpdateSample.js.map +0 -1
  433. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts +0 -2
  434. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts.map +0 -1
  435. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +0 -40
  436. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +0 -1
  437. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  440. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  441. package/dist-esm/samples-dev/operationsStatusGetSample.d.ts +0 -2
  442. package/dist-esm/samples-dev/operationsStatusGetSample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/operationsStatusGetSample.js +0 -39
  444. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +0 -1
  445. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -40
  448. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  449. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -40
  452. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  453. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -55
  456. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  457. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -46
  460. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
  461. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +0 -55
  464. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +0 -1
  465. package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +0 -61
  468. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +0 -1
  469. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +0 -39
  472. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +0 -1
  473. package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +0 -39
  476. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +0 -1
  477. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +0 -54
  480. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +0 -1
  481. package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/redisEnterpriseListSample.js +0 -53
  484. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +0 -1
  485. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +0 -44
  488. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +0 -1
  489. package/dist-esm/src/index.d.ts +0 -5
  490. package/dist-esm/src/index.js.map +0 -1
  491. package/dist-esm/src/lroImpl.js.map +0 -1
  492. package/dist-esm/src/models/index.d.ts.map +0 -1
  493. package/dist-esm/src/models/index.js.map +0 -1
  494. package/dist-esm/src/models/mappers.js.map +0 -1
  495. package/dist-esm/src/models/parameters.js.map +0 -1
  496. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  497. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js.map +0 -1
  498. package/dist-esm/src/operations/databases.d.ts.map +0 -1
  499. package/dist-esm/src/operations/databases.js +0 -1150
  500. package/dist-esm/src/operations/databases.js.map +0 -1
  501. package/dist-esm/src/operations/index.d.ts +0 -8
  502. package/dist-esm/src/operations/index.d.ts.map +0 -1
  503. package/dist-esm/src/operations/index.js +0 -15
  504. package/dist-esm/src/operations/index.js.map +0 -1
  505. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  506. package/dist-esm/src/operations/operations.js.map +0 -1
  507. package/dist-esm/src/operations/operationsStatus.d.ts.map +0 -1
  508. package/dist-esm/src/operations/operationsStatus.js.map +0 -1
  509. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  510. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  511. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  512. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  513. package/dist-esm/src/operations/redisEnterprise.d.ts.map +0 -1
  514. package/dist-esm/src/operations/redisEnterprise.js.map +0 -1
  515. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  516. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  517. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +0 -1
  518. package/dist-esm/src/operationsInterfaces/databases.js.map +0 -1
  519. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  520. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  521. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  522. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  523. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  524. package/dist-esm/src/operationsInterfaces/operationsStatus.js.map +0 -1
  525. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  526. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  527. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  528. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  529. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  530. package/dist-esm/src/operationsInterfaces/redisEnterprise.js.map +0 -1
  531. package/dist-esm/src/pagingHelper.js.map +0 -1
  532. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +0 -1
  533. package/dist-esm/src/redisEnterpriseManagementClient.js.map +0 -1
  534. package/dist-esm/test/redisenterprisecache_test.spec.d.ts +0 -4
  535. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +0 -1
  536. package/dist-esm/test/redisenterprisecache_test.spec.js +0 -74
  537. package/dist-esm/test/redisenterprisecache_test.spec.js.map +0 -1
  538. package/src/lroImpl.ts +0 -42
  539. package/src/models/index.ts +0 -1720
  540. package/src/models/mappers.ts +0 -1773
  541. package/src/models/parameters.ts +0 -257
  542. package/src/operations/accessPolicyAssignmentOperations.ts +0 -569
  543. package/src/operations/databases.ts +0 -1603
  544. package/src/operations/index.ts +0 -15
  545. package/src/operations/operations.ts +0 -149
  546. package/src/operations/operationsStatus.ts +0 -71
  547. package/src/operations/privateEndpointConnections.ts +0 -451
  548. package/src/operations/privateLinkResources.ts +0 -136
  549. package/src/operations/redisEnterprise.ts +0 -708
  550. package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +0 -132
  551. package/src/operationsInterfaces/databases.ts +0 -403
  552. package/src/operationsInterfaces/index.ts +0 -15
  553. package/src/operationsInterfaces/operations.ts +0 -22
  554. package/src/operationsInterfaces/operationsStatus.ts +0 -27
  555. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -116
  556. package/src/operationsInterfaces/privateLinkResources.ts +0 -29
  557. package/src/operationsInterfaces/redisEnterprise.ts +0 -139
  558. package/src/pagingHelper.ts +0 -39
  559. package/src/redisEnterpriseManagementClient.ts +0 -170
  560. package/tsconfig.json +0 -33
  561. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  562. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  563. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  564. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  565. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  566. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -0
  567. /package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.js +0 -0
  568. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  569. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.js +0 -0
  570. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  571. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  572. /package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.js +0 -0
  573. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  574. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  575. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing RedisEnterprise operations. */
17
17
  export class RedisEnterpriseImpl {
@@ -148,179 +148,181 @@ export class RedisEnterpriseImpl {
148
148
  /**
149
149
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
150
150
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
151
- * @param clusterName The name of the Redis Enterprise cluster.
151
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
152
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
153
+ * consecutive hyphens
152
154
  * @param parameters Parameters supplied to the Create Redis Enterprise operation.
153
155
  * @param options The options parameters.
154
156
  */
155
- beginCreate(resourceGroupName, clusterName, parameters, options) {
156
- return __awaiter(this, void 0, void 0, function* () {
157
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
158
- return this.client.sendOperationRequest(args, spec);
159
- });
160
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
161
- var _a;
162
- let currentRawResponse = undefined;
163
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
164
- const callback = (rawResponse, flatResponse) => {
165
- currentRawResponse = rawResponse;
166
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
167
- };
168
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
169
- const flatResponse = yield directSendOperation(updatedArgs, spec);
170
- return {
171
- flatResponse,
172
- rawResponse: {
173
- statusCode: currentRawResponse.status,
174
- body: currentRawResponse.parsedBody,
175
- headers: currentRawResponse.headers.toJSON(),
176
- },
177
- };
178
- });
179
- const lro = createLroSpec({
180
- sendOperationFn,
181
- args: { resourceGroupName, clusterName, parameters, options },
182
- spec: createOperationSpec,
183
- });
184
- const poller = yield createHttpPoller(lro, {
185
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
186
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
187
- resourceLocationConfig: "original-uri",
188
- });
189
- yield poller.poll();
190
- return poller;
157
+ async beginCreate(resourceGroupName, clusterName, parameters, options) {
158
+ const directSendOperation = async (args, spec) => {
159
+ return this.client.sendOperationRequest(args, spec);
160
+ };
161
+ const sendOperationFn = async (args, spec) => {
162
+ var _a;
163
+ let currentRawResponse = undefined;
164
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
165
+ const callback = (rawResponse, flatResponse) => {
166
+ currentRawResponse = rawResponse;
167
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
168
+ };
169
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
170
+ const flatResponse = await directSendOperation(updatedArgs, spec);
171
+ return {
172
+ flatResponse,
173
+ rawResponse: {
174
+ statusCode: currentRawResponse.status,
175
+ body: currentRawResponse.parsedBody,
176
+ headers: currentRawResponse.headers.toJSON(),
177
+ },
178
+ };
179
+ };
180
+ const lro = createLroSpec({
181
+ sendOperationFn,
182
+ args: { resourceGroupName, clusterName, parameters, options },
183
+ spec: createOperationSpec,
184
+ });
185
+ const poller = await createHttpPoller(lro, {
186
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
187
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
188
+ resourceLocationConfig: "original-uri",
191
189
  });
190
+ await poller.poll();
191
+ return poller;
192
192
  }
193
193
  /**
194
194
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
195
195
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
196
- * @param clusterName The name of the Redis Enterprise cluster.
196
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
197
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
198
+ * consecutive hyphens
197
199
  * @param parameters Parameters supplied to the Create Redis Enterprise operation.
198
200
  * @param options The options parameters.
199
201
  */
200
- beginCreateAndWait(resourceGroupName, clusterName, parameters, options) {
201
- return __awaiter(this, void 0, void 0, function* () {
202
- const poller = yield this.beginCreate(resourceGroupName, clusterName, parameters, options);
203
- return poller.pollUntilDone();
204
- });
202
+ async beginCreateAndWait(resourceGroupName, clusterName, parameters, options) {
203
+ const poller = await this.beginCreate(resourceGroupName, clusterName, parameters, options);
204
+ return poller.pollUntilDone();
205
205
  }
206
206
  /**
207
207
  * Updates an existing Redis Enterprise cluster
208
208
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
209
- * @param clusterName The name of the Redis Enterprise cluster.
209
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
210
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
211
+ * consecutive hyphens
210
212
  * @param parameters Parameters supplied to the Update Redis Enterprise operation.
211
213
  * @param options The options parameters.
212
214
  */
213
- beginUpdate(resourceGroupName, clusterName, parameters, options) {
214
- return __awaiter(this, void 0, void 0, function* () {
215
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
216
- return this.client.sendOperationRequest(args, spec);
217
- });
218
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
219
- var _a;
220
- let currentRawResponse = undefined;
221
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
222
- const callback = (rawResponse, flatResponse) => {
223
- currentRawResponse = rawResponse;
224
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
225
- };
226
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
227
- const flatResponse = yield directSendOperation(updatedArgs, spec);
228
- return {
229
- flatResponse,
230
- rawResponse: {
231
- statusCode: currentRawResponse.status,
232
- body: currentRawResponse.parsedBody,
233
- headers: currentRawResponse.headers.toJSON(),
234
- },
235
- };
236
- });
237
- const lro = createLroSpec({
238
- sendOperationFn,
239
- args: { resourceGroupName, clusterName, parameters, options },
240
- spec: updateOperationSpec,
241
- });
242
- const poller = yield createHttpPoller(lro, {
243
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
244
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
245
- resourceLocationConfig: "azure-async-operation",
246
- });
247
- yield poller.poll();
248
- return poller;
215
+ async beginUpdate(resourceGroupName, clusterName, parameters, options) {
216
+ const directSendOperation = async (args, spec) => {
217
+ return this.client.sendOperationRequest(args, spec);
218
+ };
219
+ const sendOperationFn = async (args, spec) => {
220
+ var _a;
221
+ let currentRawResponse = undefined;
222
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
223
+ const callback = (rawResponse, flatResponse) => {
224
+ currentRawResponse = rawResponse;
225
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
226
+ };
227
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
228
+ const flatResponse = await directSendOperation(updatedArgs, spec);
229
+ return {
230
+ flatResponse,
231
+ rawResponse: {
232
+ statusCode: currentRawResponse.status,
233
+ body: currentRawResponse.parsedBody,
234
+ headers: currentRawResponse.headers.toJSON(),
235
+ },
236
+ };
237
+ };
238
+ const lro = createLroSpec({
239
+ sendOperationFn,
240
+ args: { resourceGroupName, clusterName, parameters, options },
241
+ spec: updateOperationSpec,
242
+ });
243
+ const poller = await createHttpPoller(lro, {
244
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
245
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
246
+ resourceLocationConfig: "azure-async-operation",
249
247
  });
248
+ await poller.poll();
249
+ return poller;
250
250
  }
251
251
  /**
252
252
  * Updates an existing Redis Enterprise cluster
253
253
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
254
- * @param clusterName The name of the Redis Enterprise cluster.
254
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
255
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
256
+ * consecutive hyphens
255
257
  * @param parameters Parameters supplied to the Update Redis Enterprise operation.
256
258
  * @param options The options parameters.
257
259
  */
258
- beginUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
259
- return __awaiter(this, void 0, void 0, function* () {
260
- const poller = yield this.beginUpdate(resourceGroupName, clusterName, parameters, options);
261
- return poller.pollUntilDone();
262
- });
260
+ async beginUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
261
+ const poller = await this.beginUpdate(resourceGroupName, clusterName, parameters, options);
262
+ return poller.pollUntilDone();
263
263
  }
264
264
  /**
265
265
  * Deletes a Redis Enterprise cache cluster.
266
266
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
267
- * @param clusterName The name of the Redis Enterprise cluster.
267
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
268
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
269
+ * consecutive hyphens
268
270
  * @param options The options parameters.
269
271
  */
270
- beginDelete(resourceGroupName, clusterName, options) {
271
- return __awaiter(this, void 0, void 0, function* () {
272
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
273
- return this.client.sendOperationRequest(args, spec);
274
- });
275
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
276
- var _a;
277
- let currentRawResponse = undefined;
278
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
279
- const callback = (rawResponse, flatResponse) => {
280
- currentRawResponse = rawResponse;
281
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
282
- };
283
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
284
- const flatResponse = yield directSendOperation(updatedArgs, spec);
285
- return {
286
- flatResponse,
287
- rawResponse: {
288
- statusCode: currentRawResponse.status,
289
- body: currentRawResponse.parsedBody,
290
- headers: currentRawResponse.headers.toJSON(),
291
- },
292
- };
293
- });
294
- const lro = createLroSpec({
295
- sendOperationFn,
296
- args: { resourceGroupName, clusterName, options },
297
- spec: deleteOperationSpec,
298
- });
299
- const poller = yield createHttpPoller(lro, {
300
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
301
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
302
- resourceLocationConfig: "azure-async-operation",
303
- });
304
- yield poller.poll();
305
- return poller;
272
+ async beginDelete(resourceGroupName, clusterName, options) {
273
+ const directSendOperation = async (args, spec) => {
274
+ return this.client.sendOperationRequest(args, spec);
275
+ };
276
+ const sendOperationFn = async (args, spec) => {
277
+ var _a;
278
+ let currentRawResponse = undefined;
279
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
280
+ const callback = (rawResponse, flatResponse) => {
281
+ currentRawResponse = rawResponse;
282
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
283
+ };
284
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
285
+ const flatResponse = await directSendOperation(updatedArgs, spec);
286
+ return {
287
+ flatResponse,
288
+ rawResponse: {
289
+ statusCode: currentRawResponse.status,
290
+ body: currentRawResponse.parsedBody,
291
+ headers: currentRawResponse.headers.toJSON(),
292
+ },
293
+ };
294
+ };
295
+ const lro = createLroSpec({
296
+ sendOperationFn,
297
+ args: { resourceGroupName, clusterName, options },
298
+ spec: deleteOperationSpec,
299
+ });
300
+ const poller = await createHttpPoller(lro, {
301
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
302
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
303
+ resourceLocationConfig: "azure-async-operation",
306
304
  });
305
+ await poller.poll();
306
+ return poller;
307
307
  }
308
308
  /**
309
309
  * Deletes a Redis Enterprise cache cluster.
310
310
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
311
- * @param clusterName The name of the Redis Enterprise cluster.
311
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
312
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
313
+ * consecutive hyphens
312
314
  * @param options The options parameters.
313
315
  */
314
- beginDeleteAndWait(resourceGroupName, clusterName, options) {
315
- return __awaiter(this, void 0, void 0, function* () {
316
- const poller = yield this.beginDelete(resourceGroupName, clusterName, options);
317
- return poller.pollUntilDone();
318
- });
316
+ async beginDeleteAndWait(resourceGroupName, clusterName, options) {
317
+ const poller = await this.beginDelete(resourceGroupName, clusterName, options);
318
+ return poller.pollUntilDone();
319
319
  }
320
320
  /**
321
321
  * Gets information about a Redis Enterprise cluster
322
322
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
323
- * @param clusterName The name of the Redis Enterprise cluster.
323
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
324
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
325
+ * consecutive hyphens
324
326
  * @param options The options parameters.
325
327
  */
326
328
  get(resourceGroupName, clusterName, options) {
@@ -341,6 +343,17 @@ export class RedisEnterpriseImpl {
341
343
  _list(options) {
342
344
  return this.client.sendOperationRequest({ options }, listOperationSpec);
343
345
  }
346
+ /**
347
+ * Lists the available SKUs for scaling the Redis Enterprise cluster.
348
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
349
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
350
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
351
+ * consecutive hyphens
352
+ * @param options The options parameters.
353
+ */
354
+ listSkusForScaling(resourceGroupName, clusterName, options) {
355
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listSkusForScalingOperationSpec);
356
+ }
344
357
  /**
345
358
  * ListByResourceGroupNext
346
359
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -504,6 +517,27 @@ const listOperationSpec = {
504
517
  headerParameters: [Parameters.accept],
505
518
  serializer,
506
519
  };
520
+ const listSkusForScalingOperationSpec = {
521
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/listSkusForScaling",
522
+ httpMethod: "POST",
523
+ responses: {
524
+ 200: {
525
+ bodyMapper: Mappers.SkuDetailsList,
526
+ },
527
+ default: {
528
+ bodyMapper: Mappers.ErrorResponse,
529
+ },
530
+ },
531
+ queryParameters: [Parameters.apiVersion],
532
+ urlParameters: [
533
+ Parameters.$host,
534
+ Parameters.subscriptionId,
535
+ Parameters.resourceGroupName,
536
+ Parameters.clusterName,
537
+ ],
538
+ headerParameters: [Parameters.accept],
539
+ serializer,
540
+ };
507
541
  const listByResourceGroupNextOperationSpec = {
508
542
  path: "{nextLink}",
509
543
  httpMethod: "GET",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,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;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAuB9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,M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AAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,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;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { 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 { RedisEnterpriseManagementClient } from \"../redisEnterpriseManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\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(\n resourceGroupName,\n options,\n settings,\n );\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 let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let 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(\n resourceGroupName,\n options,\n )) {\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(\n options?: RedisEnterpriseListOptionalParams,\n ): 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 let 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 let 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<\n OperationState<RedisEnterpriseCreateResponse>,\n RedisEnterpriseCreateResponse\n >\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 =\n 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(\n resourceGroupName,\n clusterName,\n parameters,\n options,\n );\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<\n OperationState<RedisEnterpriseUpdateResponse>,\n RedisEnterpriseUpdateResponse\n >\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 =\n 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(\n resourceGroupName,\n clusterName,\n parameters,\n options,\n );\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 =\n 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(\n resourceGroupName,\n clusterName,\n options,\n );\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(\n options?: RedisEnterpriseListOptionalParams,\n ): 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(\n { nextLink, options },\n listNextOperationSpec,\n );\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: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\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: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,12 +1,14 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models";
3
+ import { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models/index.js";
4
4
  /** Interface representing a AccessPolicyAssignmentOperations. */
5
5
  export interface AccessPolicyAssignmentOperations {
6
6
  /**
7
7
  * Gets all access policy assignments..
8
8
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
- * @param clusterName The name of the Redis Enterprise cluster.
9
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
10
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
11
+ * consecutive hyphens
10
12
  * @param databaseName The name of the Redis Enterprise database.
11
13
  * @param options The options parameters.
12
14
  */
@@ -14,7 +16,9 @@ export interface AccessPolicyAssignmentOperations {
14
16
  /**
15
17
  * Creates/Updates a particular access policy assignment for a database
16
18
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
- * @param clusterName The name of the Redis Enterprise cluster.
19
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
20
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
21
+ * consecutive hyphens
18
22
  * @param databaseName The name of the Redis Enterprise database.
19
23
  * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
20
24
  * assignment.
@@ -25,7 +29,9 @@ export interface AccessPolicyAssignmentOperations {
25
29
  /**
26
30
  * Creates/Updates a particular access policy assignment for a database
27
31
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
- * @param clusterName The name of the Redis Enterprise cluster.
32
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
33
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
34
+ * consecutive hyphens
29
35
  * @param databaseName The name of the Redis Enterprise database.
30
36
  * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
31
37
  * assignment.
@@ -36,7 +42,9 @@ export interface AccessPolicyAssignmentOperations {
36
42
  /**
37
43
  * Gets information about access policy assignment for database.
38
44
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
- * @param clusterName The name of the Redis Enterprise cluster.
45
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
46
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
47
+ * consecutive hyphens
40
48
  * @param databaseName The name of the Redis Enterprise database.
41
49
  * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
42
50
  * assignment.
@@ -46,7 +54,9 @@ export interface AccessPolicyAssignmentOperations {
46
54
  /**
47
55
  * Deletes a single access policy assignment.
48
56
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
- * @param clusterName The name of the Redis Enterprise cluster.
57
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
58
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
59
+ * consecutive hyphens
50
60
  * @param databaseName The name of the Redis Enterprise database.
51
61
  * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
52
62
  * assignment.
@@ -56,7 +66,9 @@ export interface AccessPolicyAssignmentOperations {
56
66
  /**
57
67
  * Deletes a single access policy assignment.
58
68
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
- * @param clusterName The name of the Redis Enterprise cluster.
69
+ * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
70
+ * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
71
+ * consecutive hyphens
60
72
  * @param databaseName The name of the Redis Enterprise database.
61
73
  * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
62
74
  * assignment.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPolicyAssignmentOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAA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,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPolicyAssignmentOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AccessPolicyAssignment,\n AccessPolicyAssignmentListOptionalParams,\n AccessPolicyAssignmentCreateUpdateOptionalParams,\n AccessPolicyAssignmentCreateUpdateResponse,\n AccessPolicyAssignmentGetOptionalParams,\n AccessPolicyAssignmentGetResponse,\n AccessPolicyAssignmentDeleteOptionalParams,\n AccessPolicyAssignmentDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AccessPolicyAssignmentOperations. */\nexport interface AccessPolicyAssignmentOperations {\n /**\n * Gets all access policy assignments..\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 databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: AccessPolicyAssignmentListOptionalParams,\n ): PagedAsyncIterableIterator<AccessPolicyAssignment>;\n /**\n * Creates/Updates a particular access policy assignment for a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param parameters Parameters supplied to the create access policy assignment for database.\n * @param options The options parameters.\n */\n beginCreateUpdate(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n parameters: AccessPolicyAssignment,\n options?: AccessPolicyAssignmentCreateUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AccessPolicyAssignmentCreateUpdateResponse>,\n AccessPolicyAssignmentCreateUpdateResponse\n >\n >;\n /**\n * Creates/Updates a particular access policy assignment for a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param parameters Parameters supplied to the create access policy assignment for database.\n * @param options The options parameters.\n */\n beginCreateUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n parameters: AccessPolicyAssignment,\n options?: AccessPolicyAssignmentCreateUpdateOptionalParams,\n ): Promise<AccessPolicyAssignmentCreateUpdateResponse>;\n /**\n * Gets information about access policy assignment for database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentGetOptionalParams,\n ): Promise<AccessPolicyAssignmentGetResponse>;\n /**\n * Deletes a single access policy assignment.\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 databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AccessPolicyAssignmentDeleteResponse>,\n AccessPolicyAssignmentDeleteResponse\n >\n >;\n /**\n * Deletes a single access policy assignment.\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 databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentDeleteOptionalParams,\n ): Promise<AccessPolicyAssignmentDeleteResponse>;\n}\n"]}