@azure/arm-redisenterprisecache 4.0.0-beta.1 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (806) hide show
  1. package/README.md +12 -11
  2. package/dist/browser/api/accessPolicyAssignment/index.d.ts +3 -0
  3. package/dist/browser/api/accessPolicyAssignment/index.js +4 -0
  4. package/dist/browser/api/accessPolicyAssignment/index.js.map +1 -0
  5. package/dist/browser/api/accessPolicyAssignment/operations.d.ts +23 -0
  6. package/dist/browser/api/accessPolicyAssignment/operations.js +139 -0
  7. package/dist/browser/api/accessPolicyAssignment/operations.js.map +1 -0
  8. package/dist/browser/api/accessPolicyAssignment/options.d.ts +18 -0
  9. package/dist/browser/api/accessPolicyAssignment/options.js +4 -0
  10. package/dist/browser/api/accessPolicyAssignment/options.js.map +1 -0
  11. package/dist/browser/api/databases/index.d.ts +3 -0
  12. package/dist/browser/api/databases/index.js +4 -0
  13. package/dist/browser/api/databases/index.js.map +1 -0
  14. package/dist/browser/api/databases/operations.d.ts +59 -0
  15. package/dist/browser/api/databases/operations.js +444 -0
  16. package/dist/browser/api/databases/operations.js.map +1 -0
  17. package/dist/browser/api/databases/options.d.ts +64 -0
  18. package/dist/browser/api/databases/options.js +4 -0
  19. package/dist/browser/api/databases/options.js.map +1 -0
  20. package/dist/browser/api/index.d.ts +3 -0
  21. package/dist/browser/api/index.js +4 -0
  22. package/dist/browser/api/index.js.map +1 -0
  23. package/dist/browser/api/migration/index.d.ts +3 -0
  24. package/dist/browser/api/migration/index.js +4 -0
  25. package/dist/browser/api/migration/index.js.map +1 -0
  26. package/dist/browser/api/migration/operations.d.ts +23 -0
  27. package/dist/browser/api/migration/operations.js +132 -0
  28. package/dist/browser/api/migration/operations.js.map +1 -0
  29. package/dist/browser/api/migration/options.d.ts +18 -0
  30. package/dist/browser/api/migration/options.js +4 -0
  31. package/dist/browser/api/migration/options.js.map +1 -0
  32. package/dist/browser/api/migrations/index.d.ts +3 -0
  33. package/dist/browser/api/migrations/index.js +4 -0
  34. package/dist/browser/api/migrations/index.js.map +1 -0
  35. package/dist/browser/api/migrations/operations.d.ts +9 -0
  36. package/dist/browser/api/migrations/operations.js +36 -0
  37. package/dist/browser/api/migrations/operations.js.map +1 -0
  38. package/dist/browser/api/migrations/options.d.ts +5 -0
  39. package/dist/browser/api/migrations/options.js +4 -0
  40. package/dist/browser/api/migrations/options.js.map +1 -0
  41. package/dist/browser/api/operations/index.d.ts +3 -0
  42. package/dist/browser/api/operations/index.js +4 -0
  43. package/dist/browser/api/operations/index.js.map +1 -0
  44. package/dist/browser/api/operations/operations.d.ts +10 -0
  45. package/dist/browser/api/operations/operations.js +35 -0
  46. package/dist/browser/api/operations/operations.js.map +1 -0
  47. package/dist/browser/api/operations/options.d.ts +5 -0
  48. package/dist/browser/api/operations/options.js +4 -0
  49. package/dist/browser/api/operations/options.js.map +1 -0
  50. package/dist/browser/api/operationsStatus/index.d.ts +3 -0
  51. package/dist/browser/api/operationsStatus/index.js +4 -0
  52. package/dist/browser/api/operationsStatus/index.js.map +1 -0
  53. package/dist/browser/api/operationsStatus/operations.d.ts +9 -0
  54. package/dist/browser/api/operationsStatus/operations.js +34 -0
  55. package/dist/browser/api/operationsStatus/operations.js.map +1 -0
  56. package/dist/browser/api/operationsStatus/options.d.ts +5 -0
  57. package/dist/browser/api/operationsStatus/options.js +4 -0
  58. package/dist/browser/api/operationsStatus/options.js.map +1 -0
  59. package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
  60. package/dist/browser/api/privateEndpointConnections/index.js +4 -0
  61. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
  62. package/dist/browser/api/privateEndpointConnections/operations.d.ts +23 -0
  63. package/dist/browser/api/privateEndpointConnections/operations.js +135 -0
  64. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
  65. package/dist/browser/api/privateEndpointConnections/options.d.ts +18 -0
  66. package/dist/browser/api/privateEndpointConnections/options.js +4 -0
  67. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
  68. package/dist/browser/api/privateLinkResources/index.d.ts +3 -0
  69. package/dist/browser/api/privateLinkResources/index.js +4 -0
  70. package/dist/browser/api/privateLinkResources/index.js.map +1 -0
  71. package/dist/browser/api/privateLinkResources/operations.d.ts +10 -0
  72. package/dist/browser/api/privateLinkResources/operations.js +38 -0
  73. package/dist/browser/api/privateLinkResources/operations.js.map +1 -0
  74. package/dist/browser/api/privateLinkResources/options.d.ts +5 -0
  75. package/dist/browser/api/privateLinkResources/options.js +4 -0
  76. package/dist/browser/api/privateLinkResources/options.js.map +1 -0
  77. package/dist/browser/api/redisEnterprise/index.d.ts +3 -0
  78. package/dist/browser/api/redisEnterprise/index.js +4 -0
  79. package/dist/browser/api/redisEnterprise/index.js.map +1 -0
  80. package/dist/browser/api/redisEnterprise/operations.d.ts +35 -0
  81. package/dist/browser/api/redisEnterprise/operations.js +223 -0
  82. package/dist/browser/api/redisEnterprise/operations.js.map +1 -0
  83. package/dist/browser/api/redisEnterprise/options.d.ts +29 -0
  84. package/dist/browser/api/redisEnterprise/options.js +4 -0
  85. package/dist/browser/api/redisEnterprise/options.js.map +1 -0
  86. package/dist/browser/api/redisEnterpriseManagementContext.d.ts +22 -0
  87. package/dist/browser/api/redisEnterpriseManagementContext.js +26 -0
  88. package/dist/browser/api/redisEnterpriseManagementContext.js.map +1 -0
  89. package/dist/browser/classic/accessPolicyAssignment/index.d.ts +27 -0
  90. package/dist/browser/classic/accessPolicyAssignment/index.js +34 -0
  91. package/dist/browser/classic/accessPolicyAssignment/index.js.map +1 -0
  92. package/dist/browser/classic/databases/index.d.ts +77 -0
  93. package/dist/browser/classic/databases/index.js +107 -0
  94. package/dist/browser/classic/databases/index.js.map +1 -0
  95. package/dist/browser/classic/index.d.ts +10 -0
  96. package/dist/browser/classic/index.js +4 -0
  97. package/dist/browser/classic/index.js.map +1 -0
  98. package/dist/browser/classic/migration/index.d.ts +27 -0
  99. package/dist/browser/classic/migration/index.js +34 -0
  100. package/dist/browser/classic/migration/index.js.map +1 -0
  101. package/dist/browser/classic/migrations/index.d.ts +10 -0
  102. package/dist/browser/classic/migrations/index.js +14 -0
  103. package/dist/browser/classic/migrations/index.js.map +1 -0
  104. package/dist/browser/classic/operations/index.d.ts +11 -0
  105. package/dist/browser/classic/operations/index.js +14 -0
  106. package/dist/browser/classic/operations/index.js.map +1 -0
  107. package/dist/browser/classic/operationsStatus/index.d.ts +10 -0
  108. package/dist/browser/classic/operationsStatus/index.js +14 -0
  109. package/dist/browser/classic/operationsStatus/index.js.map +1 -0
  110. package/dist/browser/classic/privateEndpointConnections/index.d.ts +27 -0
  111. package/dist/browser/classic/privateEndpointConnections/index.js +34 -0
  112. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
  113. package/dist/browser/classic/privateLinkResources/index.d.ts +11 -0
  114. package/dist/browser/classic/privateLinkResources/index.js +14 -0
  115. package/dist/browser/classic/privateLinkResources/index.js.map +1 -0
  116. package/dist/browser/classic/redisEnterprise/index.d.ts +37 -0
  117. package/dist/browser/classic/redisEnterprise/index.js +45 -0
  118. package/dist/browser/classic/redisEnterprise/index.js.map +1 -0
  119. package/dist/browser/index.d.ts +22 -3
  120. package/dist/browser/index.js +7 -11
  121. package/dist/browser/index.js.map +1 -1
  122. package/dist/browser/logger.d.ts +2 -0
  123. package/dist/browser/logger.js +5 -0
  124. package/dist/browser/logger.js.map +1 -0
  125. package/dist/browser/models/index.d.ts +2 -1623
  126. package/dist/browser/models/index.js +3 -363
  127. package/dist/browser/models/index.js.map +1 -1
  128. package/dist/browser/models/models.d.ts +1573 -0
  129. package/dist/browser/models/models.js +1631 -0
  130. package/dist/browser/models/models.js.map +1 -0
  131. package/dist/browser/redisEnterpriseManagementClient.d.ts +37 -24
  132. package/dist/browser/redisEnterpriseManagementClient.js +54 -101
  133. package/dist/browser/redisEnterpriseManagementClient.js.map +1 -1
  134. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  135. package/dist/browser/restorePollerHelpers.js +122 -0
  136. package/dist/browser/restorePollerHelpers.js.map +1 -0
  137. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  138. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  139. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  140. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  141. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  142. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  143. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  144. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  145. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  146. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  147. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  148. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  149. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  150. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  151. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  152. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  153. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  154. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  155. package/dist/commonjs/api/accessPolicyAssignment/index.d.ts +3 -0
  156. package/dist/commonjs/api/accessPolicyAssignment/index.js +34 -0
  157. package/dist/commonjs/api/accessPolicyAssignment/index.js.map +7 -0
  158. package/dist/commonjs/api/accessPolicyAssignment/operations.d.ts +23 -0
  159. package/dist/commonjs/api/accessPolicyAssignment/operations.js +225 -0
  160. package/dist/commonjs/api/accessPolicyAssignment/operations.js.map +7 -0
  161. package/dist/commonjs/api/accessPolicyAssignment/options.d.ts +18 -0
  162. package/dist/commonjs/api/accessPolicyAssignment/options.js +16 -0
  163. package/dist/commonjs/api/accessPolicyAssignment/options.js.map +7 -0
  164. package/dist/commonjs/api/databases/index.d.ts +3 -0
  165. package/dist/commonjs/api/databases/index.js +52 -0
  166. package/dist/commonjs/api/databases/index.js.map +7 -0
  167. package/dist/commonjs/api/databases/operations.d.ts +59 -0
  168. package/dist/commonjs/api/databases/operations.js +612 -0
  169. package/dist/commonjs/api/databases/operations.js.map +7 -0
  170. package/dist/commonjs/api/databases/options.d.ts +64 -0
  171. package/dist/commonjs/api/databases/options.js +16 -0
  172. package/dist/commonjs/api/databases/options.js.map +7 -0
  173. package/dist/commonjs/api/index.d.ts +3 -0
  174. package/dist/commonjs/api/index.js +28 -0
  175. package/dist/commonjs/api/index.js.map +7 -0
  176. package/dist/commonjs/api/migration/index.d.ts +3 -0
  177. package/dist/commonjs/api/migration/index.js +34 -0
  178. package/dist/commonjs/api/migration/index.js.map +7 -0
  179. package/dist/commonjs/api/migration/operations.d.ts +23 -0
  180. package/dist/commonjs/api/migration/operations.js +196 -0
  181. package/dist/commonjs/api/migration/operations.js.map +7 -0
  182. package/dist/commonjs/api/migration/options.d.ts +18 -0
  183. package/dist/commonjs/api/migration/options.js +16 -0
  184. package/dist/commonjs/api/migration/options.js.map +7 -0
  185. package/dist/commonjs/api/migrations/index.d.ts +3 -0
  186. package/dist/commonjs/api/migrations/index.js +28 -0
  187. package/dist/commonjs/api/migrations/index.js.map +7 -0
  188. package/dist/commonjs/api/migrations/operations.d.ts +9 -0
  189. package/dist/commonjs/api/migrations/operations.js +67 -0
  190. package/dist/commonjs/api/migrations/operations.js.map +7 -0
  191. package/dist/commonjs/api/migrations/options.d.ts +5 -0
  192. package/dist/commonjs/api/migrations/options.js +16 -0
  193. package/dist/commonjs/api/migrations/options.js.map +7 -0
  194. package/dist/commonjs/api/operations/index.d.ts +3 -0
  195. package/dist/commonjs/api/operations/index.js +28 -0
  196. package/dist/commonjs/api/operations/index.js.map +7 -0
  197. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  198. package/dist/commonjs/api/operations/operations.js +72 -0
  199. package/dist/commonjs/api/operations/operations.js.map +7 -0
  200. package/dist/commonjs/api/operations/options.d.ts +5 -0
  201. package/dist/commonjs/api/operations/options.js +16 -0
  202. package/dist/commonjs/api/operations/options.js.map +7 -0
  203. package/dist/commonjs/api/operationsStatus/index.d.ts +3 -0
  204. package/dist/commonjs/api/operationsStatus/index.js +28 -0
  205. package/dist/commonjs/api/operationsStatus/index.js.map +7 -0
  206. package/dist/commonjs/api/operationsStatus/operations.d.ts +9 -0
  207. package/dist/commonjs/api/operationsStatus/operations.js +65 -0
  208. package/dist/commonjs/api/operationsStatus/operations.js.map +7 -0
  209. package/dist/commonjs/api/operationsStatus/options.d.ts +5 -0
  210. package/dist/commonjs/api/operationsStatus/options.js +16 -0
  211. package/dist/commonjs/api/operationsStatus/options.js.map +7 -0
  212. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
  213. package/dist/commonjs/api/privateEndpointConnections/index.js +34 -0
  214. package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -0
  215. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +23 -0
  216. package/dist/commonjs/api/privateEndpointConnections/operations.js +212 -0
  217. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -0
  218. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +18 -0
  219. package/dist/commonjs/api/privateEndpointConnections/options.js +16 -0
  220. package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -0
  221. package/dist/commonjs/api/privateLinkResources/index.d.ts +3 -0
  222. package/dist/commonjs/api/privateLinkResources/index.js +28 -0
  223. package/dist/commonjs/api/privateLinkResources/index.js.map +7 -0
  224. package/dist/commonjs/api/privateLinkResources/operations.d.ts +10 -0
  225. package/dist/commonjs/api/privateLinkResources/operations.js +75 -0
  226. package/dist/commonjs/api/privateLinkResources/operations.js.map +7 -0
  227. package/dist/commonjs/api/privateLinkResources/options.d.ts +5 -0
  228. package/dist/commonjs/api/privateLinkResources/options.js +16 -0
  229. package/dist/commonjs/api/privateLinkResources/options.js.map +7 -0
  230. package/dist/commonjs/api/redisEnterprise/index.d.ts +3 -0
  231. package/dist/commonjs/api/redisEnterprise/index.js +40 -0
  232. package/dist/commonjs/api/redisEnterprise/index.js.map +7 -0
  233. package/dist/commonjs/api/redisEnterprise/operations.d.ts +35 -0
  234. package/dist/commonjs/api/redisEnterprise/operations.js +320 -0
  235. package/dist/commonjs/api/redisEnterprise/operations.js.map +7 -0
  236. package/dist/commonjs/api/redisEnterprise/options.d.ts +29 -0
  237. package/dist/commonjs/api/redisEnterprise/options.js +16 -0
  238. package/dist/commonjs/api/redisEnterprise/options.js.map +7 -0
  239. package/dist/commonjs/api/redisEnterpriseManagementContext.d.ts +22 -0
  240. package/dist/commonjs/api/redisEnterpriseManagementContext.js +47 -0
  241. package/dist/commonjs/api/redisEnterpriseManagementContext.js.map +7 -0
  242. package/dist/commonjs/classic/accessPolicyAssignment/index.d.ts +27 -0
  243. package/dist/commonjs/classic/accessPolicyAssignment/index.js +110 -0
  244. package/dist/commonjs/classic/accessPolicyAssignment/index.js.map +7 -0
  245. package/dist/commonjs/classic/databases/index.d.ts +77 -0
  246. package/dist/commonjs/classic/databases/index.js +248 -0
  247. package/dist/commonjs/classic/databases/index.js.map +7 -0
  248. package/dist/commonjs/classic/index.d.ts +10 -0
  249. package/dist/commonjs/classic/index.js +16 -0
  250. package/dist/commonjs/classic/index.js.map +7 -0
  251. package/dist/commonjs/classic/migration/index.d.ts +27 -0
  252. package/dist/commonjs/classic/migration/index.js +58 -0
  253. package/dist/commonjs/classic/migration/index.js.map +7 -0
  254. package/dist/commonjs/classic/migrations/index.d.ts +10 -0
  255. package/dist/commonjs/classic/migrations/index.js +38 -0
  256. package/dist/commonjs/classic/migrations/index.js.map +7 -0
  257. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  258. package/dist/commonjs/classic/operations/index.js +38 -0
  259. package/dist/commonjs/classic/operations/index.js.map +7 -0
  260. package/dist/commonjs/classic/operationsStatus/index.d.ts +10 -0
  261. package/dist/commonjs/classic/operationsStatus/index.js +38 -0
  262. package/dist/commonjs/classic/operationsStatus/index.js.map +7 -0
  263. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +27 -0
  264. package/dist/commonjs/classic/privateEndpointConnections/index.js +91 -0
  265. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -0
  266. package/dist/commonjs/classic/privateLinkResources/index.d.ts +11 -0
  267. package/dist/commonjs/classic/privateLinkResources/index.js +38 -0
  268. package/dist/commonjs/classic/privateLinkResources/index.js.map +7 -0
  269. package/dist/commonjs/classic/redisEnterprise/index.d.ts +37 -0
  270. package/dist/commonjs/classic/redisEnterprise/index.js +69 -0
  271. package/dist/commonjs/classic/redisEnterprise/index.js.map +7 -0
  272. package/dist/commonjs/index.d.ts +22 -3
  273. package/dist/commonjs/index.js +96 -19
  274. package/dist/commonjs/index.js.map +7 -1
  275. package/dist/commonjs/logger.d.ts +2 -0
  276. package/dist/commonjs/logger.js +29 -0
  277. package/dist/commonjs/logger.js.map +7 -0
  278. package/dist/commonjs/models/index.d.ts +2 -1623
  279. package/dist/commonjs/models/index.js +82 -367
  280. package/dist/commonjs/models/index.js.map +7 -1
  281. package/dist/commonjs/models/models.d.ts +1573 -0
  282. package/dist/commonjs/models/models.js +1626 -0
  283. package/dist/commonjs/models/models.js.map +7 -0
  284. package/dist/commonjs/redisEnterpriseManagementClient.d.ts +37 -24
  285. package/dist/commonjs/redisEnterpriseManagementClient.js +78 -108
  286. package/dist/commonjs/redisEnterpriseManagementClient.js.map +7 -1
  287. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  288. package/dist/commonjs/restorePollerHelpers.js +135 -0
  289. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  290. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  291. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  292. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  293. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  294. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  295. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  296. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  297. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  298. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  299. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  300. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  301. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  302. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  303. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  304. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  305. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  306. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  307. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  308. package/dist/commonjs/tsdoc-metadata.json +11 -11
  309. package/dist/esm/api/accessPolicyAssignment/index.d.ts +3 -0
  310. package/dist/esm/api/accessPolicyAssignment/index.js +4 -0
  311. package/dist/esm/api/accessPolicyAssignment/index.js.map +1 -0
  312. package/dist/esm/api/accessPolicyAssignment/operations.d.ts +23 -0
  313. package/dist/esm/api/accessPolicyAssignment/operations.js +139 -0
  314. package/dist/esm/api/accessPolicyAssignment/operations.js.map +1 -0
  315. package/dist/esm/api/accessPolicyAssignment/options.d.ts +18 -0
  316. package/dist/esm/api/accessPolicyAssignment/options.js +4 -0
  317. package/dist/esm/api/accessPolicyAssignment/options.js.map +1 -0
  318. package/dist/esm/api/databases/index.d.ts +3 -0
  319. package/dist/esm/api/databases/index.js +4 -0
  320. package/dist/esm/api/databases/index.js.map +1 -0
  321. package/dist/esm/api/databases/operations.d.ts +59 -0
  322. package/dist/esm/api/databases/operations.js +444 -0
  323. package/dist/esm/api/databases/operations.js.map +1 -0
  324. package/dist/esm/api/databases/options.d.ts +64 -0
  325. package/dist/esm/api/databases/options.js +4 -0
  326. package/dist/esm/api/databases/options.js.map +1 -0
  327. package/dist/esm/api/index.d.ts +3 -0
  328. package/dist/esm/api/index.js +4 -0
  329. package/dist/esm/api/index.js.map +1 -0
  330. package/dist/esm/api/migration/index.d.ts +3 -0
  331. package/dist/esm/api/migration/index.js +4 -0
  332. package/dist/esm/api/migration/index.js.map +1 -0
  333. package/dist/esm/api/migration/operations.d.ts +23 -0
  334. package/dist/esm/api/migration/operations.js +132 -0
  335. package/dist/esm/api/migration/operations.js.map +1 -0
  336. package/dist/esm/api/migration/options.d.ts +18 -0
  337. package/dist/esm/api/migration/options.js +4 -0
  338. package/dist/esm/api/migration/options.js.map +1 -0
  339. package/dist/esm/api/migrations/index.d.ts +3 -0
  340. package/dist/esm/api/migrations/index.js +4 -0
  341. package/dist/esm/api/migrations/index.js.map +1 -0
  342. package/dist/esm/api/migrations/operations.d.ts +9 -0
  343. package/dist/esm/api/migrations/operations.js +36 -0
  344. package/dist/esm/api/migrations/operations.js.map +1 -0
  345. package/dist/esm/api/migrations/options.d.ts +5 -0
  346. package/dist/esm/api/migrations/options.js +4 -0
  347. package/dist/esm/api/migrations/options.js.map +1 -0
  348. package/dist/esm/api/operations/index.d.ts +3 -0
  349. package/dist/esm/api/operations/index.js +4 -0
  350. package/dist/esm/api/operations/index.js.map +1 -0
  351. package/dist/esm/api/operations/operations.d.ts +10 -0
  352. package/dist/esm/api/operations/operations.js +35 -0
  353. package/dist/esm/api/operations/operations.js.map +1 -0
  354. package/dist/esm/api/operations/options.d.ts +5 -0
  355. package/dist/esm/api/operations/options.js +4 -0
  356. package/dist/esm/api/operations/options.js.map +1 -0
  357. package/dist/esm/api/operationsStatus/index.d.ts +3 -0
  358. package/dist/esm/api/operationsStatus/index.js +4 -0
  359. package/dist/esm/api/operationsStatus/index.js.map +1 -0
  360. package/dist/esm/api/operationsStatus/operations.d.ts +9 -0
  361. package/dist/esm/api/operationsStatus/operations.js +34 -0
  362. package/dist/esm/api/operationsStatus/operations.js.map +1 -0
  363. package/dist/esm/api/operationsStatus/options.d.ts +5 -0
  364. package/dist/esm/api/operationsStatus/options.js +4 -0
  365. package/dist/esm/api/operationsStatus/options.js.map +1 -0
  366. package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
  367. package/dist/esm/api/privateEndpointConnections/index.js +4 -0
  368. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
  369. package/dist/esm/api/privateEndpointConnections/operations.d.ts +23 -0
  370. package/dist/esm/api/privateEndpointConnections/operations.js +135 -0
  371. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
  372. package/dist/esm/api/privateEndpointConnections/options.d.ts +18 -0
  373. package/dist/esm/api/privateEndpointConnections/options.js +4 -0
  374. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
  375. package/dist/esm/api/privateLinkResources/index.d.ts +3 -0
  376. package/dist/esm/api/privateLinkResources/index.js +4 -0
  377. package/dist/esm/api/privateLinkResources/index.js.map +1 -0
  378. package/dist/esm/api/privateLinkResources/operations.d.ts +10 -0
  379. package/dist/esm/api/privateLinkResources/operations.js +38 -0
  380. package/dist/esm/api/privateLinkResources/operations.js.map +1 -0
  381. package/dist/esm/api/privateLinkResources/options.d.ts +5 -0
  382. package/dist/esm/api/privateLinkResources/options.js +4 -0
  383. package/dist/esm/api/privateLinkResources/options.js.map +1 -0
  384. package/dist/esm/api/redisEnterprise/index.d.ts +3 -0
  385. package/dist/esm/api/redisEnterprise/index.js +4 -0
  386. package/dist/esm/api/redisEnterprise/index.js.map +1 -0
  387. package/dist/esm/api/redisEnterprise/operations.d.ts +35 -0
  388. package/dist/esm/api/redisEnterprise/operations.js +223 -0
  389. package/dist/esm/api/redisEnterprise/operations.js.map +1 -0
  390. package/dist/esm/api/redisEnterprise/options.d.ts +29 -0
  391. package/dist/esm/api/redisEnterprise/options.js +4 -0
  392. package/dist/esm/api/redisEnterprise/options.js.map +1 -0
  393. package/dist/esm/api/redisEnterpriseManagementContext.d.ts +22 -0
  394. package/dist/esm/api/redisEnterpriseManagementContext.js +26 -0
  395. package/dist/esm/api/redisEnterpriseManagementContext.js.map +1 -0
  396. package/dist/esm/classic/accessPolicyAssignment/index.d.ts +27 -0
  397. package/dist/esm/classic/accessPolicyAssignment/index.js +34 -0
  398. package/dist/esm/classic/accessPolicyAssignment/index.js.map +1 -0
  399. package/dist/esm/classic/databases/index.d.ts +77 -0
  400. package/dist/esm/classic/databases/index.js +107 -0
  401. package/dist/esm/classic/databases/index.js.map +1 -0
  402. package/dist/esm/classic/index.d.ts +10 -0
  403. package/dist/esm/classic/index.js +4 -0
  404. package/dist/esm/classic/index.js.map +1 -0
  405. package/dist/esm/classic/migration/index.d.ts +27 -0
  406. package/dist/esm/classic/migration/index.js +34 -0
  407. package/dist/esm/classic/migration/index.js.map +1 -0
  408. package/dist/esm/classic/migrations/index.d.ts +10 -0
  409. package/dist/esm/classic/migrations/index.js +14 -0
  410. package/dist/esm/classic/migrations/index.js.map +1 -0
  411. package/dist/esm/classic/operations/index.d.ts +11 -0
  412. package/dist/esm/classic/operations/index.js +14 -0
  413. package/dist/esm/classic/operations/index.js.map +1 -0
  414. package/dist/esm/classic/operationsStatus/index.d.ts +10 -0
  415. package/dist/esm/classic/operationsStatus/index.js +14 -0
  416. package/dist/esm/classic/operationsStatus/index.js.map +1 -0
  417. package/dist/esm/classic/privateEndpointConnections/index.d.ts +27 -0
  418. package/dist/esm/classic/privateEndpointConnections/index.js +34 -0
  419. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
  420. package/dist/esm/classic/privateLinkResources/index.d.ts +11 -0
  421. package/dist/esm/classic/privateLinkResources/index.js +14 -0
  422. package/dist/esm/classic/privateLinkResources/index.js.map +1 -0
  423. package/dist/esm/classic/redisEnterprise/index.d.ts +37 -0
  424. package/dist/esm/classic/redisEnterprise/index.js +45 -0
  425. package/dist/esm/classic/redisEnterprise/index.js.map +1 -0
  426. package/dist/esm/index.d.ts +22 -3
  427. package/dist/esm/index.js +7 -11
  428. package/dist/esm/index.js.map +1 -1
  429. package/dist/esm/logger.d.ts +2 -0
  430. package/dist/esm/logger.js +5 -0
  431. package/dist/esm/logger.js.map +1 -0
  432. package/dist/esm/models/index.d.ts +2 -1623
  433. package/dist/esm/models/index.js +3 -363
  434. package/dist/esm/models/index.js.map +1 -1
  435. package/dist/esm/models/models.d.ts +1573 -0
  436. package/dist/esm/models/models.js +1631 -0
  437. package/dist/esm/models/models.js.map +1 -0
  438. package/dist/esm/redisEnterpriseManagementClient.d.ts +37 -24
  439. package/dist/esm/redisEnterpriseManagementClient.js +54 -101
  440. package/dist/esm/redisEnterpriseManagementClient.js.map +1 -1
  441. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  442. package/dist/esm/restorePollerHelpers.js +122 -0
  443. package/dist/esm/restorePollerHelpers.js.map +1 -0
  444. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  445. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  446. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  447. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  448. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  449. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  450. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  451. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  452. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  453. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  454. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  455. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  456. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  457. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  458. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  459. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  460. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  461. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  462. package/package.json +247 -110
  463. package/CHANGELOG.md +0 -342
  464. package/dist/browser/index.d.ts.map +0 -1
  465. package/dist/browser/lroImpl.d.ts +0 -11
  466. package/dist/browser/lroImpl.d.ts.map +0 -1
  467. package/dist/browser/lroImpl.js +0 -21
  468. package/dist/browser/lroImpl.js.map +0 -1
  469. package/dist/browser/models/index.d.ts.map +0 -1
  470. package/dist/browser/models/mappers.d.ts +0 -65
  471. package/dist/browser/models/mappers.d.ts.map +0 -1
  472. package/dist/browser/models/mappers.js +0 -1784
  473. package/dist/browser/models/mappers.js.map +0 -1
  474. package/dist/browser/models/parameters.d.ts +0 -27
  475. package/dist/browser/models/parameters.d.ts.map +0 -1
  476. package/dist/browser/models/parameters.js +0 -214
  477. package/dist/browser/models/parameters.js.map +0 -1
  478. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  479. package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  480. package/dist/browser/operations/accessPolicyAssignmentOperations.js +0 -411
  481. package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +0 -1
  482. package/dist/browser/operations/databases.d.ts +0 -283
  483. package/dist/browser/operations/databases.d.ts.map +0 -1
  484. package/dist/browser/operations/databases.js +0 -1152
  485. package/dist/browser/operations/databases.js.map +0 -1
  486. package/dist/browser/operations/index.d.ts +0 -8
  487. package/dist/browser/operations/index.d.ts.map +0 -1
  488. package/dist/browser/operations/index.js +0 -15
  489. package/dist/browser/operations/index.js.map +0 -1
  490. package/dist/browser/operations/operations.d.ts +0 -32
  491. package/dist/browser/operations/operations.d.ts.map +0 -1
  492. package/dist/browser/operations/operations.js +0 -133
  493. package/dist/browser/operations/operations.js.map +0 -1
  494. package/dist/browser/operations/operationsStatus.d.ts +0 -20
  495. package/dist/browser/operations/operationsStatus.d.ts.map +0 -1
  496. package/dist/browser/operations/operationsStatus.js +0 -53
  497. package/dist/browser/operations/operationsStatus.js.map +0 -1
  498. package/dist/browser/operations/privateEndpointConnections.d.ts +0 -94
  499. package/dist/browser/operations/privateEndpointConnections.d.ts.map +0 -1
  500. package/dist/browser/operations/privateEndpointConnections.js +0 -341
  501. package/dist/browser/operations/privateEndpointConnections.js.map +0 -1
  502. package/dist/browser/operations/privateLinkResources.d.ts +0 -34
  503. package/dist/browser/operations/privateLinkResources.d.ts.map +0 -1
  504. package/dist/browser/operations/privateLinkResources.js +0 -109
  505. package/dist/browser/operations/privateLinkResources.js.map +0 -1
  506. package/dist/browser/operations/redisEnterprise.d.ts +0 -130
  507. package/dist/browser/operations/redisEnterprise.d.ts.map +0 -1
  508. package/dist/browser/operations/redisEnterprise.js +0 -580
  509. package/dist/browser/operations/redisEnterprise.js.map +0 -1
  510. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  511. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  512. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -9
  513. package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  514. package/dist/browser/operationsInterfaces/databases.d.ts +0 -254
  515. package/dist/browser/operationsInterfaces/databases.d.ts.map +0 -1
  516. package/dist/browser/operationsInterfaces/databases.js +0 -9
  517. package/dist/browser/operationsInterfaces/databases.js.map +0 -1
  518. package/dist/browser/operationsInterfaces/index.d.ts +0 -8
  519. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  520. package/dist/browser/operationsInterfaces/index.js +0 -15
  521. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  522. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  523. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  524. package/dist/browser/operationsInterfaces/operations.js +0 -9
  525. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  526. package/dist/browser/operationsInterfaces/operationsStatus.d.ts +0 -12
  527. package/dist/browser/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  528. package/dist/browser/operationsInterfaces/operationsStatus.js +0 -9
  529. package/dist/browser/operationsInterfaces/operationsStatus.js.map +0 -1
  530. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  531. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  532. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +0 -9
  533. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  534. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +0 -15
  535. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  536. package/dist/browser/operationsInterfaces/privateLinkResources.js +0 -9
  537. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +0 -1
  538. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts +0 -94
  539. package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  540. package/dist/browser/operationsInterfaces/redisEnterprise.js +0 -9
  541. package/dist/browser/operationsInterfaces/redisEnterprise.js.map +0 -1
  542. package/dist/browser/pagingHelper.d.ts +0 -13
  543. package/dist/browser/pagingHelper.d.ts.map +0 -1
  544. package/dist/browser/pagingHelper.js +0 -32
  545. package/dist/browser/pagingHelper.js.map +0 -1
  546. package/dist/browser/redisEnterpriseManagementClient.d.ts.map +0 -1
  547. package/dist/commonjs/index.d.ts.map +0 -1
  548. package/dist/commonjs/lroImpl.d.ts +0 -11
  549. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  550. package/dist/commonjs/lroImpl.js +0 -24
  551. package/dist/commonjs/lroImpl.js.map +0 -1
  552. package/dist/commonjs/models/index.d.ts.map +0 -1
  553. package/dist/commonjs/models/mappers.d.ts +0 -65
  554. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  555. package/dist/commonjs/models/mappers.js +0 -1788
  556. package/dist/commonjs/models/mappers.js.map +0 -1
  557. package/dist/commonjs/models/parameters.d.ts +0 -27
  558. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  559. package/dist/commonjs/models/parameters.js +0 -217
  560. package/dist/commonjs/models/parameters.js.map +0 -1
  561. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  562. package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  563. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +0 -415
  564. package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +0 -1
  565. package/dist/commonjs/operations/databases.d.ts +0 -283
  566. package/dist/commonjs/operations/databases.d.ts.map +0 -1
  567. package/dist/commonjs/operations/databases.js +0 -1156
  568. package/dist/commonjs/operations/databases.js.map +0 -1
  569. package/dist/commonjs/operations/index.d.ts +0 -8
  570. package/dist/commonjs/operations/index.d.ts.map +0 -1
  571. package/dist/commonjs/operations/index.js +0 -18
  572. package/dist/commonjs/operations/index.js.map +0 -1
  573. package/dist/commonjs/operations/operations.d.ts +0 -32
  574. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  575. package/dist/commonjs/operations/operations.js +0 -137
  576. package/dist/commonjs/operations/operations.js.map +0 -1
  577. package/dist/commonjs/operations/operationsStatus.d.ts +0 -20
  578. package/dist/commonjs/operations/operationsStatus.d.ts.map +0 -1
  579. package/dist/commonjs/operations/operationsStatus.js +0 -58
  580. package/dist/commonjs/operations/operationsStatus.js.map +0 -1
  581. package/dist/commonjs/operations/privateEndpointConnections.d.ts +0 -94
  582. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +0 -1
  583. package/dist/commonjs/operations/privateEndpointConnections.js +0 -345
  584. package/dist/commonjs/operations/privateEndpointConnections.js.map +0 -1
  585. package/dist/commonjs/operations/privateLinkResources.d.ts +0 -34
  586. package/dist/commonjs/operations/privateLinkResources.d.ts.map +0 -1
  587. package/dist/commonjs/operations/privateLinkResources.js +0 -113
  588. package/dist/commonjs/operations/privateLinkResources.js.map +0 -1
  589. package/dist/commonjs/operations/redisEnterprise.d.ts +0 -130
  590. package/dist/commonjs/operations/redisEnterprise.d.ts.map +0 -1
  591. package/dist/commonjs/operations/redisEnterprise.js +0 -584
  592. package/dist/commonjs/operations/redisEnterprise.js.map +0 -1
  593. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  594. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  595. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -10
  596. package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  597. package/dist/commonjs/operationsInterfaces/databases.d.ts +0 -254
  598. package/dist/commonjs/operationsInterfaces/databases.d.ts.map +0 -1
  599. package/dist/commonjs/operationsInterfaces/databases.js +0 -10
  600. package/dist/commonjs/operationsInterfaces/databases.js.map +0 -1
  601. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
  602. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  603. package/dist/commonjs/operationsInterfaces/index.js +0 -18
  604. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  605. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  606. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  607. package/dist/commonjs/operationsInterfaces/operations.js +0 -10
  608. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  609. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +0 -12
  610. package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  611. package/dist/commonjs/operationsInterfaces/operationsStatus.js +0 -10
  612. package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +0 -1
  613. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  614. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  615. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +0 -10
  616. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  617. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +0 -15
  618. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  619. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +0 -10
  620. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +0 -1
  621. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +0 -94
  622. package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  623. package/dist/commonjs/operationsInterfaces/redisEnterprise.js +0 -10
  624. package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +0 -1
  625. package/dist/commonjs/pagingHelper.d.ts +0 -13
  626. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  627. package/dist/commonjs/pagingHelper.js +0 -36
  628. package/dist/commonjs/pagingHelper.js.map +0 -1
  629. package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +0 -1
  630. package/dist/esm/index.d.ts.map +0 -1
  631. package/dist/esm/lroImpl.d.ts +0 -11
  632. package/dist/esm/lroImpl.d.ts.map +0 -1
  633. package/dist/esm/lroImpl.js +0 -21
  634. package/dist/esm/lroImpl.js.map +0 -1
  635. package/dist/esm/models/index.d.ts.map +0 -1
  636. package/dist/esm/models/mappers.d.ts +0 -65
  637. package/dist/esm/models/mappers.d.ts.map +0 -1
  638. package/dist/esm/models/mappers.js +0 -1784
  639. package/dist/esm/models/mappers.js.map +0 -1
  640. package/dist/esm/models/parameters.d.ts +0 -27
  641. package/dist/esm/models/parameters.d.ts.map +0 -1
  642. package/dist/esm/models/parameters.js +0 -214
  643. package/dist/esm/models/parameters.js.map +0 -1
  644. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  645. package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  646. package/dist/esm/operations/accessPolicyAssignmentOperations.js +0 -411
  647. package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +0 -1
  648. package/dist/esm/operations/databases.d.ts +0 -283
  649. package/dist/esm/operations/databases.d.ts.map +0 -1
  650. package/dist/esm/operations/databases.js +0 -1152
  651. package/dist/esm/operations/databases.js.map +0 -1
  652. package/dist/esm/operations/index.d.ts +0 -8
  653. package/dist/esm/operations/index.d.ts.map +0 -1
  654. package/dist/esm/operations/index.js +0 -15
  655. package/dist/esm/operations/index.js.map +0 -1
  656. package/dist/esm/operations/operations.d.ts +0 -32
  657. package/dist/esm/operations/operations.d.ts.map +0 -1
  658. package/dist/esm/operations/operations.js +0 -133
  659. package/dist/esm/operations/operations.js.map +0 -1
  660. package/dist/esm/operations/operationsStatus.d.ts +0 -20
  661. package/dist/esm/operations/operationsStatus.d.ts.map +0 -1
  662. package/dist/esm/operations/operationsStatus.js +0 -53
  663. package/dist/esm/operations/operationsStatus.js.map +0 -1
  664. package/dist/esm/operations/privateEndpointConnections.d.ts +0 -94
  665. package/dist/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  666. package/dist/esm/operations/privateEndpointConnections.js +0 -341
  667. package/dist/esm/operations/privateEndpointConnections.js.map +0 -1
  668. package/dist/esm/operations/privateLinkResources.d.ts +0 -34
  669. package/dist/esm/operations/privateLinkResources.d.ts.map +0 -1
  670. package/dist/esm/operations/privateLinkResources.js +0 -109
  671. package/dist/esm/operations/privateLinkResources.js.map +0 -1
  672. package/dist/esm/operations/redisEnterprise.d.ts +0 -130
  673. package/dist/esm/operations/redisEnterprise.d.ts.map +0 -1
  674. package/dist/esm/operations/redisEnterprise.js +0 -580
  675. package/dist/esm/operations/redisEnterprise.js.map +0 -1
  676. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  677. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  678. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -9
  679. package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  680. package/dist/esm/operationsInterfaces/databases.d.ts +0 -254
  681. package/dist/esm/operationsInterfaces/databases.d.ts.map +0 -1
  682. package/dist/esm/operationsInterfaces/databases.js +0 -9
  683. package/dist/esm/operationsInterfaces/databases.js.map +0 -1
  684. package/dist/esm/operationsInterfaces/index.d.ts +0 -8
  685. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  686. package/dist/esm/operationsInterfaces/index.js +0 -15
  687. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  688. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  689. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  690. package/dist/esm/operationsInterfaces/operations.js +0 -9
  691. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  692. package/dist/esm/operationsInterfaces/operationsStatus.d.ts +0 -12
  693. package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  694. package/dist/esm/operationsInterfaces/operationsStatus.js +0 -9
  695. package/dist/esm/operationsInterfaces/operationsStatus.js.map +0 -1
  696. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  697. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  698. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +0 -9
  699. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  700. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +0 -15
  701. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  702. package/dist/esm/operationsInterfaces/privateLinkResources.js +0 -9
  703. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +0 -1
  704. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +0 -94
  705. package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  706. package/dist/esm/operationsInterfaces/redisEnterprise.js +0 -9
  707. package/dist/esm/operationsInterfaces/redisEnterprise.js.map +0 -1
  708. package/dist/esm/pagingHelper.d.ts +0 -13
  709. package/dist/esm/pagingHelper.d.ts.map +0 -1
  710. package/dist/esm/pagingHelper.js +0 -32
  711. package/dist/esm/pagingHelper.js.map +0 -1
  712. package/dist/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
  713. package/dist/react-native/index.d.ts +0 -5
  714. package/dist/react-native/index.d.ts.map +0 -1
  715. package/dist/react-native/index.js +0 -13
  716. package/dist/react-native/index.js.map +0 -1
  717. package/dist/react-native/lroImpl.d.ts +0 -11
  718. package/dist/react-native/lroImpl.d.ts.map +0 -1
  719. package/dist/react-native/lroImpl.js +0 -21
  720. package/dist/react-native/lroImpl.js.map +0 -1
  721. package/dist/react-native/models/index.d.ts +0 -1624
  722. package/dist/react-native/models/index.d.ts.map +0 -1
  723. package/dist/react-native/models/index.js +0 -364
  724. package/dist/react-native/models/index.js.map +0 -1
  725. package/dist/react-native/models/mappers.d.ts +0 -65
  726. package/dist/react-native/models/mappers.d.ts.map +0 -1
  727. package/dist/react-native/models/mappers.js +0 -1784
  728. package/dist/react-native/models/mappers.js.map +0 -1
  729. package/dist/react-native/models/parameters.d.ts +0 -27
  730. package/dist/react-native/models/parameters.d.ts.map +0 -1
  731. package/dist/react-native/models/parameters.js +0 -214
  732. package/dist/react-native/models/parameters.js.map +0 -1
  733. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +0 -110
  734. package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
  735. package/dist/react-native/operations/accessPolicyAssignmentOperations.js +0 -411
  736. package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +0 -1
  737. package/dist/react-native/operations/databases.d.ts +0 -283
  738. package/dist/react-native/operations/databases.d.ts.map +0 -1
  739. package/dist/react-native/operations/databases.js +0 -1152
  740. package/dist/react-native/operations/databases.js.map +0 -1
  741. package/dist/react-native/operations/index.d.ts +0 -8
  742. package/dist/react-native/operations/index.d.ts.map +0 -1
  743. package/dist/react-native/operations/index.js +0 -15
  744. package/dist/react-native/operations/index.js.map +0 -1
  745. package/dist/react-native/operations/operations.d.ts +0 -32
  746. package/dist/react-native/operations/operations.d.ts.map +0 -1
  747. package/dist/react-native/operations/operations.js +0 -133
  748. package/dist/react-native/operations/operations.js.map +0 -1
  749. package/dist/react-native/operations/operationsStatus.d.ts +0 -20
  750. package/dist/react-native/operations/operationsStatus.d.ts.map +0 -1
  751. package/dist/react-native/operations/operationsStatus.js +0 -53
  752. package/dist/react-native/operations/operationsStatus.js.map +0 -1
  753. package/dist/react-native/operations/privateEndpointConnections.d.ts +0 -94
  754. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +0 -1
  755. package/dist/react-native/operations/privateEndpointConnections.js +0 -341
  756. package/dist/react-native/operations/privateEndpointConnections.js.map +0 -1
  757. package/dist/react-native/operations/privateLinkResources.d.ts +0 -34
  758. package/dist/react-native/operations/privateLinkResources.d.ts.map +0 -1
  759. package/dist/react-native/operations/privateLinkResources.js +0 -109
  760. package/dist/react-native/operations/privateLinkResources.js.map +0 -1
  761. package/dist/react-native/operations/redisEnterprise.d.ts +0 -130
  762. package/dist/react-native/operations/redisEnterprise.d.ts.map +0 -1
  763. package/dist/react-native/operations/redisEnterprise.js +0 -580
  764. package/dist/react-native/operations/redisEnterprise.js.map +0 -1
  765. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
  766. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
  767. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -9
  768. package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
  769. package/dist/react-native/operationsInterfaces/databases.d.ts +0 -254
  770. package/dist/react-native/operationsInterfaces/databases.d.ts.map +0 -1
  771. package/dist/react-native/operationsInterfaces/databases.js +0 -9
  772. package/dist/react-native/operationsInterfaces/databases.js.map +0 -1
  773. package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
  774. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  775. package/dist/react-native/operationsInterfaces/index.js +0 -15
  776. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  777. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  778. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  779. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  780. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  781. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +0 -12
  782. package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +0 -1
  783. package/dist/react-native/operationsInterfaces/operationsStatus.js +0 -9
  784. package/dist/react-native/operationsInterfaces/operationsStatus.js.map +0 -1
  785. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
  786. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  787. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +0 -9
  788. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  789. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +0 -15
  790. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  791. package/dist/react-native/operationsInterfaces/privateLinkResources.js +0 -9
  792. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +0 -1
  793. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +0 -94
  794. package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
  795. package/dist/react-native/operationsInterfaces/redisEnterprise.js +0 -9
  796. package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +0 -1
  797. package/dist/react-native/package.json +0 -3
  798. package/dist/react-native/pagingHelper.d.ts +0 -13
  799. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  800. package/dist/react-native/pagingHelper.js +0 -32
  801. package/dist/react-native/pagingHelper.js.map +0 -1
  802. package/dist/react-native/redisEnterpriseManagementClient.d.ts +0 -26
  803. package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +0 -1
  804. package/dist/react-native/redisEnterpriseManagementClient.js +0 -104
  805. package/dist/react-native/redisEnterpriseManagementClient.js.map +0 -1
  806. package/review/arm-redisenterprisecache.api.md +0 -1121
@@ -1,341 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
12
- import { createHttpPoller, } from "@azure/core-lro";
13
- import { createLroSpec } from "../lroImpl.js";
14
- /// <reference lib="esnext.asynciterable" />
15
- /** Class containing PrivateEndpointConnections operations. */
16
- export class PrivateEndpointConnectionsImpl {
17
- /**
18
- * Initialize a new instance of the class PrivateEndpointConnections class.
19
- * @param client Reference to the service client
20
- */
21
- constructor(client) {
22
- this.client = client;
23
- }
24
- /**
25
- * Lists all the private endpoint connections associated with the Redis Enterprise cluster.
26
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
28
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
29
- * consecutive hyphens
30
- * @param options The options parameters.
31
- */
32
- list(resourceGroupName, clusterName, options) {
33
- const iter = this.listPagingAll(resourceGroupName, clusterName, options);
34
- return {
35
- next() {
36
- return iter.next();
37
- },
38
- [Symbol.asyncIterator]() {
39
- return this;
40
- },
41
- byPage: (settings) => {
42
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
- throw new Error("maxPageSize is not supported by this operation.");
44
- }
45
- return this.listPagingPage(resourceGroupName, clusterName, options, settings);
46
- },
47
- };
48
- }
49
- listPagingPage(resourceGroupName, clusterName, options, _settings) {
50
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
51
- let result;
52
- result = yield __await(this._list(resourceGroupName, clusterName, options));
53
- yield yield __await(result.value || []);
54
- });
55
- }
56
- listPagingAll(resourceGroupName, clusterName, options) {
57
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
58
- var _a, e_1, _b, _c;
59
- try {
60
- for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
61
- _c = _f.value;
62
- _d = false;
63
- const page = _c;
64
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
65
- }
66
- }
67
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
68
- finally {
69
- try {
70
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
71
- }
72
- finally { if (e_1) throw e_1.error; }
73
- }
74
- });
75
- }
76
- /**
77
- * Lists all the private endpoint connections associated with the Redis Enterprise cluster.
78
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
79
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
80
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
81
- * consecutive hyphens
82
- * @param options The options parameters.
83
- */
84
- _list(resourceGroupName, clusterName, options) {
85
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec);
86
- }
87
- /**
88
- * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.
89
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
91
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
92
- * consecutive hyphens
93
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
94
- * Azure resource
95
- * @param options The options parameters.
96
- */
97
- get(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
98
- return this.client.sendOperationRequest({
99
- resourceGroupName,
100
- clusterName,
101
- privateEndpointConnectionName,
102
- options,
103
- }, getOperationSpec);
104
- }
105
- /**
106
- * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
107
- * cluster.
108
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
110
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
111
- * consecutive hyphens
112
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
113
- * Azure resource
114
- * @param properties The private endpoint connection properties.
115
- * @param options The options parameters.
116
- */
117
- async beginPut(resourceGroupName, clusterName, privateEndpointConnectionName, properties, options) {
118
- const directSendOperation = async (args, spec) => {
119
- return this.client.sendOperationRequest(args, spec);
120
- };
121
- const sendOperationFn = async (args, spec) => {
122
- var _a;
123
- let currentRawResponse = undefined;
124
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
125
- const callback = (rawResponse, flatResponse) => {
126
- currentRawResponse = rawResponse;
127
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
128
- };
129
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
130
- const flatResponse = await directSendOperation(updatedArgs, spec);
131
- return {
132
- flatResponse,
133
- rawResponse: {
134
- statusCode: currentRawResponse.status,
135
- body: currentRawResponse.parsedBody,
136
- headers: currentRawResponse.headers.toJSON(),
137
- },
138
- };
139
- };
140
- const lro = createLroSpec({
141
- sendOperationFn,
142
- args: {
143
- resourceGroupName,
144
- clusterName,
145
- privateEndpointConnectionName,
146
- properties,
147
- options,
148
- },
149
- spec: putOperationSpec,
150
- });
151
- const poller = await createHttpPoller(lro, {
152
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
153
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
154
- });
155
- await poller.poll();
156
- return poller;
157
- }
158
- /**
159
- * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
160
- * cluster.
161
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
162
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
163
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
164
- * consecutive hyphens
165
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
166
- * Azure resource
167
- * @param properties The private endpoint connection properties.
168
- * @param options The options parameters.
169
- */
170
- async beginPutAndWait(resourceGroupName, clusterName, privateEndpointConnectionName, properties, options) {
171
- const poller = await this.beginPut(resourceGroupName, clusterName, privateEndpointConnectionName, properties, options);
172
- return poller.pollUntilDone();
173
- }
174
- /**
175
- * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
176
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
177
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
178
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
179
- * consecutive hyphens
180
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
181
- * Azure resource
182
- * @param options The options parameters.
183
- */
184
- async beginDelete(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
185
- const directSendOperation = async (args, spec) => {
186
- return this.client.sendOperationRequest(args, spec);
187
- };
188
- const sendOperationFn = async (args, spec) => {
189
- var _a;
190
- let currentRawResponse = undefined;
191
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
192
- const callback = (rawResponse, flatResponse) => {
193
- currentRawResponse = rawResponse;
194
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
195
- };
196
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
197
- const flatResponse = await directSendOperation(updatedArgs, spec);
198
- return {
199
- flatResponse,
200
- rawResponse: {
201
- statusCode: currentRawResponse.status,
202
- body: currentRawResponse.parsedBody,
203
- headers: currentRawResponse.headers.toJSON(),
204
- },
205
- };
206
- };
207
- const lro = createLroSpec({
208
- sendOperationFn,
209
- args: {
210
- resourceGroupName,
211
- clusterName,
212
- privateEndpointConnectionName,
213
- options,
214
- },
215
- spec: deleteOperationSpec,
216
- });
217
- const poller = await createHttpPoller(lro, {
218
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
219
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
220
- resourceLocationConfig: "location",
221
- });
222
- await poller.poll();
223
- return poller;
224
- }
225
- /**
226
- * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
227
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
228
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
229
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
230
- * consecutive hyphens
231
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
232
- * Azure resource
233
- * @param options The options parameters.
234
- */
235
- async beginDeleteAndWait(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
236
- const poller = await this.beginDelete(resourceGroupName, clusterName, privateEndpointConnectionName, options);
237
- return poller.pollUntilDone();
238
- }
239
- }
240
- // Operation Specifications
241
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
242
- const listOperationSpec = {
243
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections",
244
- httpMethod: "GET",
245
- responses: {
246
- 200: {
247
- bodyMapper: Mappers.PrivateEndpointConnectionListResult,
248
- },
249
- default: {
250
- bodyMapper: Mappers.ErrorResponse,
251
- },
252
- },
253
- queryParameters: [Parameters.apiVersion],
254
- urlParameters: [
255
- Parameters.$host,
256
- Parameters.subscriptionId,
257
- Parameters.resourceGroupName,
258
- Parameters.clusterName,
259
- ],
260
- headerParameters: [Parameters.accept],
261
- serializer,
262
- };
263
- const getOperationSpec = {
264
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
265
- httpMethod: "GET",
266
- responses: {
267
- 200: {
268
- bodyMapper: Mappers.PrivateEndpointConnection,
269
- },
270
- default: {
271
- bodyMapper: Mappers.ErrorResponse,
272
- },
273
- },
274
- queryParameters: [Parameters.apiVersion],
275
- urlParameters: [
276
- Parameters.$host,
277
- Parameters.subscriptionId,
278
- Parameters.resourceGroupName,
279
- Parameters.clusterName,
280
- Parameters.privateEndpointConnectionName,
281
- ],
282
- headerParameters: [Parameters.accept],
283
- serializer,
284
- };
285
- const putOperationSpec = {
286
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
287
- httpMethod: "PUT",
288
- responses: {
289
- 200: {
290
- bodyMapper: Mappers.PrivateEndpointConnection,
291
- },
292
- 201: {
293
- bodyMapper: Mappers.PrivateEndpointConnection,
294
- },
295
- 202: {
296
- bodyMapper: Mappers.PrivateEndpointConnection,
297
- },
298
- 204: {
299
- bodyMapper: Mappers.PrivateEndpointConnection,
300
- },
301
- default: {
302
- bodyMapper: Mappers.ErrorResponse,
303
- },
304
- },
305
- requestBody: Parameters.properties,
306
- queryParameters: [Parameters.apiVersion],
307
- urlParameters: [
308
- Parameters.$host,
309
- Parameters.subscriptionId,
310
- Parameters.resourceGroupName,
311
- Parameters.clusterName,
312
- Parameters.privateEndpointConnectionName,
313
- ],
314
- headerParameters: [Parameters.accept, Parameters.contentType],
315
- mediaType: "json",
316
- serializer,
317
- };
318
- const deleteOperationSpec = {
319
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
320
- httpMethod: "DELETE",
321
- responses: {
322
- 200: {},
323
- 201: {},
324
- 202: {},
325
- 204: {},
326
- default: {
327
- bodyMapper: Mappers.ErrorResponse,
328
- },
329
- },
330
- queryParameters: [Parameters.apiVersion],
331
- urlParameters: [
332
- Parameters.$host,
333
- Parameters.subscriptionId,
334
- Parameters.resourceGroupName,
335
- Parameters.clusterName,
336
- Parameters.privateEndpointConnectionName,
337
- ],
338
- headerParameters: [Parameters.accept],
339
- serializer,
340
- };
341
- //# sourceMappingURL=privateEndpointConnections.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,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;AAY9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAKzC;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,WAAW,EACX,OAA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a;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,UAAU;IAClC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,uLAAuL;IAC7L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;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 { PrivateEndpointConnections } 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 PrivateEndpointConnection,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsPutOptionalParams,\n PrivateEndpointConnectionsPutResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 public list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, clusterName, 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(\n resourceGroupName,\n clusterName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n result = await this._list(resourceGroupName, clusterName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n clusterName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 private _list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginPut(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsPutResponse>,\n PrivateEndpointConnectionsPutResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsPutResponse> => {\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: {\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n properties,\n options,\n },\n spec: putOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsPutResponse,\n OperationState<PrivateEndpointConnectionsPutResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginPutAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<PrivateEndpointConnectionsPutResponse> {\n const poller = await this.beginPut(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n properties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\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: {\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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 getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\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 Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.privateEndpointConnectionName,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\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 Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,34 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateLinkResources } from "../operationsInterfaces/index.js";
3
- import { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient.js";
4
- import { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models/index.js";
5
- /** Class containing PrivateLinkResources operations. */
6
- export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class PrivateLinkResources class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: RedisEnterpriseManagementClient);
13
- /**
14
- * Gets the private link resources that need to be created for a Redis Enterprise cluster.
15
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
17
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
18
- * consecutive hyphens
19
- * @param options The options parameters.
20
- */
21
- listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
22
- private listByClusterPagingPage;
23
- private listByClusterPagingAll;
24
- /**
25
- * Gets the private link resources that need to be created for a Redis Enterprise cluster.
26
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
28
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
29
- * consecutive hyphens
30
- * @param options The options parameters.
31
- */
32
- private _listByCluster;
33
- }
34
- //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAEhD,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC;YA2BnC,uBAAuB;YAWvB,sBAAsB;IAcrC;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;CAUvB"}
@@ -1,109 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
12
- /// <reference lib="esnext.asynciterable" />
13
- /** Class containing PrivateLinkResources operations. */
14
- export class PrivateLinkResourcesImpl {
15
- /**
16
- * Initialize a new instance of the class PrivateLinkResources class.
17
- * @param client Reference to the service client
18
- */
19
- constructor(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Gets the private link resources that need to be created for a Redis Enterprise cluster.
24
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
26
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
27
- * consecutive hyphens
28
- * @param options The options parameters.
29
- */
30
- listByCluster(resourceGroupName, clusterName, options) {
31
- const iter = this.listByClusterPagingAll(resourceGroupName, clusterName, options);
32
- return {
33
- next() {
34
- return iter.next();
35
- },
36
- [Symbol.asyncIterator]() {
37
- return this;
38
- },
39
- byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
- throw new Error("maxPageSize is not supported by this operation.");
42
- }
43
- return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
44
- },
45
- };
46
- }
47
- listByClusterPagingPage(resourceGroupName, clusterName, options, _settings) {
48
- return __asyncGenerator(this, arguments, function* listByClusterPagingPage_1() {
49
- let result;
50
- result = yield __await(this._listByCluster(resourceGroupName, clusterName, options));
51
- yield yield __await(result.value || []);
52
- });
53
- }
54
- listByClusterPagingAll(resourceGroupName, clusterName, options) {
55
- return __asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
56
- var _a, e_1, _b, _c;
57
- try {
58
- for (var _d = true, _e = __asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
59
- _c = _f.value;
60
- _d = false;
61
- const page = _c;
62
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
- }
64
- }
65
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
- finally {
67
- try {
68
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
69
- }
70
- finally { if (e_1) throw e_1.error; }
71
- }
72
- });
73
- }
74
- /**
75
- * Gets the private link resources that need to be created for a Redis Enterprise cluster.
76
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
- * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
78
- * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
79
- * consecutive hyphens
80
- * @param options The options parameters.
81
- */
82
- _listByCluster(resourceGroupName, clusterName, options) {
83
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listByClusterOperationSpec);
84
- }
85
- }
86
- // Operation Specifications
87
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
- const listByClusterOperationSpec = {
89
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources",
90
- httpMethod: "GET",
91
- responses: {
92
- 200: {
93
- bodyMapper: Mappers.PrivateLinkResourceListResult,
94
- },
95
- default: {
96
- bodyMapper: Mappers.ErrorResponse,
97
- },
98
- },
99
- queryParameters: [Parameters.apiVersion],
100
- urlParameters: [
101
- Parameters.$host,
102
- Parameters.subscriptionId,
103
- Parameters.resourceGroupName,
104
- Parameters.clusterName,
105
- ],
106
- headerParameters: [Parameters.accept],
107
- serializer,
108
- };
109
- //# sourceMappingURL=privateLinkResources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,C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2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,iJAAiJ;IACvJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;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 { PrivateLinkResources } 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 PrivateLinkResource,\n PrivateLinkResourcesListByClusterOptionalParams,\n PrivateLinkResourcesListByClusterResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources that need to be created for a Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 public listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listByClusterPagingAll(\n resourceGroupName,\n clusterName,\n options,\n );\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.listByClusterPagingPage(\n resourceGroupName,\n clusterName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByClusterPagingPage(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateLinkResourcesListByClusterResponse;\n result = await this._listByCluster(resourceGroupName, clusterName, options);\n yield result.value || [];\n }\n\n private async *listByClusterPagingAll(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listByClusterPagingPage(\n resourceGroupName,\n clusterName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the private link resources that need to be created for a Redis Enterprise cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. 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 private _listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): Promise<PrivateLinkResourcesListByClusterResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listByClusterOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByClusterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\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};\n"]}