@azure/arm-redisenterprisecache 1.1.0 → 2.0.0-alpha.20220321.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 (276) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +3012 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/operationsStatusGet.d.ts +2 -0
  9. package/dist-esm/samples-dev/operationsStatusGet.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/operationsStatusGet.js +31 -0
  11. package/dist-esm/samples-dev/operationsStatusGet.js.map +1 -0
  12. package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts +2 -0
  13. package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/redisEnterpriseCreate.js +38 -0
  15. package/dist-esm/samples-dev/redisEnterpriseCreate.js.map +1 -0
  16. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts +2 -0
  17. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js +44 -0
  19. package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js.map +1 -0
  20. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts +2 -0
  21. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js +32 -0
  23. package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js.map +1 -0
  24. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts +2 -0
  25. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js +35 -0
  27. package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js.map +1 -0
  28. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts +2 -0
  29. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js +32 -0
  31. package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js.map +1 -0
  32. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts +2 -0
  33. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js +38 -0
  35. package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js.map +1 -0
  36. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts +2 -0
  37. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js +45 -0
  39. package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js.map +1 -0
  40. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts +2 -0
  41. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js +32 -0
  43. package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js.map +1 -0
  44. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts +2 -0
  45. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js +33 -0
  47. package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js.map +1 -0
  48. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js +37 -0
  51. package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts +2 -0
  53. package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/redisEnterpriseDelete.js +31 -0
  55. package/dist-esm/samples-dev/redisEnterpriseDelete.js.map +1 -0
  56. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts +2 -0
  57. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js +32 -0
  59. package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js.map +1 -0
  60. package/dist-esm/samples-dev/redisEnterpriseGet.d.ts +2 -0
  61. package/dist-esm/samples-dev/redisEnterpriseGet.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/redisEnterpriseGet.js +31 -0
  63. package/dist-esm/samples-dev/redisEnterpriseGet.js.map +1 -0
  64. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts +2 -0
  65. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js +32 -0
  67. package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js.map +1 -0
  68. package/dist-esm/samples-dev/redisEnterpriseList.d.ts +2 -0
  69. package/dist-esm/samples-dev/redisEnterpriseList.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/redisEnterpriseList.js +43 -0
  71. package/dist-esm/samples-dev/redisEnterpriseList.js.map +1 -0
  72. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts +2 -0
  73. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js +44 -0
  75. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js.map +1 -0
  76. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts +2 -0
  77. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js +45 -0
  79. package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js.map +1 -0
  80. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts +2 -0
  81. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js +45 -0
  83. package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js.map +1 -0
  84. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts +2 -0
  85. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js +38 -0
  87. package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js.map +1 -0
  88. package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts +2 -0
  89. package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/redisEnterpriseUpdate.js +36 -0
  91. package/dist-esm/samples-dev/redisEnterpriseUpdate.js.map +1 -0
  92. package/dist-esm/src/index.d.ts +5 -0
  93. package/dist-esm/src/index.d.ts.map +1 -0
  94. package/dist-esm/src/index.js +12 -0
  95. package/dist-esm/src/index.js.map +1 -0
  96. package/dist-esm/src/lroImpl.d.ts +16 -0
  97. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  98. package/dist-esm/src/lroImpl.js +29 -0
  99. package/dist-esm/src/lroImpl.js.map +1 -0
  100. package/dist-esm/src/models/index.d.ts +818 -0
  101. package/dist-esm/src/models/index.d.ts.map +1 -0
  102. package/dist-esm/src/models/index.js +116 -0
  103. package/dist-esm/src/models/index.js.map +1 -0
  104. package/dist-esm/src/models/mappers.d.ts +31 -0
  105. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  106. package/{esm → dist-esm/src}/models/mappers.js +455 -508
  107. package/dist-esm/src/models/mappers.js.map +1 -0
  108. package/dist-esm/src/models/parameters.d.ts +22 -0
  109. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  110. package/dist-esm/src/models/parameters.js +173 -0
  111. package/dist-esm/src/models/parameters.js.map +1 -0
  112. package/dist-esm/src/operations/databases.d.ts +161 -0
  113. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  114. package/dist-esm/src/operations/databases.js +697 -0
  115. package/dist-esm/src/operations/databases.js.map +1 -0
  116. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  117. package/dist-esm/src/operations/index.d.ts.map +1 -0
  118. package/{esm → dist-esm/src}/operations/index.js +1 -2
  119. package/dist-esm/src/operations/index.js.map +1 -0
  120. package/dist-esm/src/operations/operations.d.ts +32 -0
  121. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operations/operations.js +120 -0
  123. package/dist-esm/src/operations/operations.js.map +1 -0
  124. package/dist-esm/src/operations/operationsStatus.d.ts +20 -0
  125. package/dist-esm/src/operations/operationsStatus.d.ts.map +1 -0
  126. package/dist-esm/src/operations/operationsStatus.js +53 -0
  127. package/dist-esm/src/operations/operationsStatus.js.map +1 -0
  128. package/dist-esm/src/operations/privateEndpointConnections.d.ts +71 -0
  129. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  130. package/dist-esm/src/operations/privateEndpointConnections.js +272 -0
  131. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  132. package/dist-esm/src/operations/privateLinkResources.d.ts +30 -0
  133. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  134. package/dist-esm/src/operations/privateLinkResources.js +99 -0
  135. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  136. package/dist-esm/src/operations/redisEnterprise.d.ts +107 -0
  137. package/dist-esm/src/operations/redisEnterprise.d.ts.map +1 -0
  138. package/dist-esm/src/operations/redisEnterprise.js +503 -0
  139. package/dist-esm/src/operations/redisEnterprise.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/databases.d.ts +136 -0
  141. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  142. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/databases.js} +2 -1
  143. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  145. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  147. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  149. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  150. package/{src/models/operationsStatusMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -7
  151. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/operationsStatus.d.ts +12 -0
  153. package/dist-esm/src/operationsInterfaces/operationsStatus.d.ts.map +1 -0
  154. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/operationsStatus.js} +2 -9
  155. package/dist-esm/src/operationsInterfaces/operationsStatus.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
  157. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  158. package/{esm/models/operationsStatusMappers.js → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -2
  159. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
  161. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +71 -0
  165. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/redisEnterprise.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/redisEnterprise.js.map +1 -0
  168. package/dist-esm/src/redisEnterpriseManagementClient.d.ts +23 -0
  169. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -0
  170. package/dist-esm/src/redisEnterpriseManagementClient.js +56 -0
  171. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -0
  172. package/dist-esm/test/sampleTest.d.ts +2 -0
  173. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  174. package/dist-esm/test/sampleTest.js +40 -0
  175. package/dist-esm/test/sampleTest.js.map +1 -0
  176. package/package.json +81 -22
  177. package/review/arm-redisenterprisecache.api.md +705 -0
  178. package/rollup.config.js +181 -30
  179. package/{esm/models/operationsMappers.js → src/index.ts} +5 -2
  180. package/src/lroImpl.ts +34 -0
  181. package/src/models/index.ts +694 -1077
  182. package/src/models/mappers.ts +447 -504
  183. package/src/models/parameters.ts +131 -47
  184. package/src/operations/databases.ts +779 -429
  185. package/src/operations/index.ts +1 -2
  186. package/src/operations/operations.ts +85 -73
  187. package/src/operations/operationsStatus.ts +37 -51
  188. package/src/operations/privateEndpointConnections.ts +252 -176
  189. package/src/operations/privateLinkResources.ts +96 -47
  190. package/src/operations/redisEnterprise.ts +517 -322
  191. package/src/operationsInterfaces/databases.ts +264 -0
  192. package/src/operationsInterfaces/index.ts +14 -0
  193. package/src/operationsInterfaces/operations.ts +22 -0
  194. package/src/operationsInterfaces/operationsStatus.ts +27 -0
  195. package/src/operationsInterfaces/privateEndpointConnections.ts +102 -0
  196. package/src/operationsInterfaces/privateLinkResources.ts +29 -0
  197. package/src/operationsInterfaces/redisEnterprise.ts +139 -0
  198. package/src/redisEnterpriseManagementClient.ts +84 -42
  199. package/tsconfig.json +5 -4
  200. package/types/arm-redisenterprisecache.d.ts +1229 -0
  201. package/types/tsdoc-metadata.json +11 -0
  202. package/dist/arm-redisenterprisecache.js +0 -2654
  203. package/dist/arm-redisenterprisecache.js.map +0 -1
  204. package/dist/arm-redisenterprisecache.min.js +0 -1
  205. package/dist/arm-redisenterprisecache.min.js.map +0 -1
  206. package/esm/models/databasesMappers.d.ts +0 -2
  207. package/esm/models/databasesMappers.d.ts.map +0 -1
  208. package/esm/models/databasesMappers.js +0 -9
  209. package/esm/models/databasesMappers.js.map +0 -1
  210. package/esm/models/index.d.ts +0 -1215
  211. package/esm/models/index.d.ts.map +0 -1
  212. package/esm/models/index.js.map +0 -1
  213. package/esm/models/mappers.d.ts +0 -34
  214. package/esm/models/mappers.d.ts.map +0 -1
  215. package/esm/models/mappers.js.map +0 -1
  216. package/esm/models/operationsMappers.d.ts +0 -2
  217. package/esm/models/operationsMappers.d.ts.map +0 -1
  218. package/esm/models/operationsMappers.js.map +0 -1
  219. package/esm/models/operationsStatusMappers.d.ts +0 -2
  220. package/esm/models/operationsStatusMappers.d.ts.map +0 -1
  221. package/esm/models/operationsStatusMappers.js.map +0 -1
  222. package/esm/models/parameters.d.ts +0 -12
  223. package/esm/models/parameters.d.ts.map +0 -1
  224. package/esm/models/parameters.js +0 -121
  225. package/esm/models/parameters.js.map +0 -1
  226. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  227. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  228. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  229. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  230. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  231. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  232. package/esm/models/privateLinkResourcesMappers.js +0 -9
  233. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  234. package/esm/models/redisEnterpriseMappers.d.ts +0 -2
  235. package/esm/models/redisEnterpriseMappers.d.ts.map +0 -1
  236. package/esm/models/redisEnterpriseMappers.js +0 -9
  237. package/esm/models/redisEnterpriseMappers.js.map +0 -1
  238. package/esm/operations/databases.d.ts +0 -219
  239. package/esm/operations/databases.d.ts.map +0 -1
  240. package/esm/operations/databases.js +0 -515
  241. package/esm/operations/databases.js.map +0 -1
  242. package/esm/operations/index.d.ts.map +0 -1
  243. package/esm/operations/index.js.map +0 -1
  244. package/esm/operations/operations.d.ts +0 -46
  245. package/esm/operations/operations.d.ts.map +0 -1
  246. package/esm/operations/operations.js +0 -79
  247. package/esm/operations/operations.js.map +0 -1
  248. package/esm/operations/operationsStatus.d.ts +0 -34
  249. package/esm/operations/operationsStatus.d.ts.map +0 -1
  250. package/esm/operations/operationsStatus.js +0 -57
  251. package/esm/operations/operationsStatus.js.map +0 -1
  252. package/esm/operations/privateEndpointConnections.d.ts +0 -113
  253. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  254. package/esm/operations/privateEndpointConnections.js +0 -187
  255. package/esm/operations/privateEndpointConnections.js.map +0 -1
  256. package/esm/operations/privateLinkResources.d.ts +0 -34
  257. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  258. package/esm/operations/privateLinkResources.js +0 -57
  259. package/esm/operations/privateLinkResources.js.map +0 -1
  260. package/esm/operations/redisEnterprise.d.ts +0 -156
  261. package/esm/operations/redisEnterprise.d.ts.map +0 -1
  262. package/esm/operations/redisEnterprise.js +0 -337
  263. package/esm/operations/redisEnterprise.js.map +0 -1
  264. package/esm/redisEnterpriseManagementClient.d.ts +0 -29
  265. package/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
  266. package/esm/redisEnterpriseManagementClient.js +0 -42
  267. package/esm/redisEnterpriseManagementClient.js.map +0 -1
  268. package/esm/redisEnterpriseManagementClientContext.d.ts +0 -22
  269. package/esm/redisEnterpriseManagementClientContext.d.ts.map +0 -1
  270. package/esm/redisEnterpriseManagementClientContext.js +0 -60
  271. package/esm/redisEnterpriseManagementClientContext.js.map +0 -1
  272. package/src/models/databasesMappers.ts +0 -33
  273. package/src/models/privateEndpointConnectionsMappers.ts +0 -28
  274. package/src/models/privateLinkResourcesMappers.ts +0 -28
  275. package/src/models/redisEnterpriseMappers.ts +0 -29
  276. package/src/redisEnterpriseManagementClientContext.ts +0 -67
@@ -0,0 +1,264 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Database,
13
+ DatabasesListByClusterOptionalParams,
14
+ DatabasesCreateOptionalParams,
15
+ DatabasesCreateResponse,
16
+ DatabaseUpdate,
17
+ DatabasesUpdateOptionalParams,
18
+ DatabasesUpdateResponse,
19
+ DatabasesGetOptionalParams,
20
+ DatabasesGetResponse,
21
+ DatabasesDeleteOptionalParams,
22
+ DatabasesListKeysOptionalParams,
23
+ DatabasesListKeysResponse,
24
+ RegenerateKeyParameters,
25
+ DatabasesRegenerateKeyOptionalParams,
26
+ DatabasesRegenerateKeyResponse,
27
+ ImportClusterParameters,
28
+ DatabasesImportOptionalParams,
29
+ ExportClusterParameters,
30
+ DatabasesExportOptionalParams
31
+ } from "../models";
32
+
33
+ /// <reference lib="esnext.asynciterable" />
34
+ /** Interface representing a Databases. */
35
+ export interface Databases {
36
+ /**
37
+ * Gets all databases in the specified RedisEnterprise cluster.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param clusterName The name of the RedisEnterprise cluster.
40
+ * @param options The options parameters.
41
+ */
42
+ listByCluster(
43
+ resourceGroupName: string,
44
+ clusterName: string,
45
+ options?: DatabasesListByClusterOptionalParams
46
+ ): PagedAsyncIterableIterator<Database>;
47
+ /**
48
+ * Creates a database
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param clusterName The name of the RedisEnterprise cluster.
51
+ * @param databaseName The name of the database.
52
+ * @param parameters Parameters supplied to the create or update database operation.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreate(
56
+ resourceGroupName: string,
57
+ clusterName: string,
58
+ databaseName: string,
59
+ parameters: Database,
60
+ options?: DatabasesCreateOptionalParams
61
+ ): Promise<
62
+ PollerLike<
63
+ PollOperationState<DatabasesCreateResponse>,
64
+ DatabasesCreateResponse
65
+ >
66
+ >;
67
+ /**
68
+ * Creates a database
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
+ * @param clusterName The name of the RedisEnterprise cluster.
71
+ * @param databaseName The name of the database.
72
+ * @param parameters Parameters supplied to the create or update database operation.
73
+ * @param options The options parameters.
74
+ */
75
+ beginCreateAndWait(
76
+ resourceGroupName: string,
77
+ clusterName: string,
78
+ databaseName: string,
79
+ parameters: Database,
80
+ options?: DatabasesCreateOptionalParams
81
+ ): Promise<DatabasesCreateResponse>;
82
+ /**
83
+ * Updates a database
84
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
+ * @param clusterName The name of the RedisEnterprise cluster.
86
+ * @param databaseName The name of the database.
87
+ * @param parameters Parameters supplied to the create or update database operation.
88
+ * @param options The options parameters.
89
+ */
90
+ beginUpdate(
91
+ resourceGroupName: string,
92
+ clusterName: string,
93
+ databaseName: string,
94
+ parameters: DatabaseUpdate,
95
+ options?: DatabasesUpdateOptionalParams
96
+ ): Promise<
97
+ PollerLike<
98
+ PollOperationState<DatabasesUpdateResponse>,
99
+ DatabasesUpdateResponse
100
+ >
101
+ >;
102
+ /**
103
+ * Updates a database
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param clusterName The name of the RedisEnterprise cluster.
106
+ * @param databaseName The name of the database.
107
+ * @param parameters Parameters supplied to the create or update database operation.
108
+ * @param options The options parameters.
109
+ */
110
+ beginUpdateAndWait(
111
+ resourceGroupName: string,
112
+ clusterName: string,
113
+ databaseName: string,
114
+ parameters: DatabaseUpdate,
115
+ options?: DatabasesUpdateOptionalParams
116
+ ): Promise<DatabasesUpdateResponse>;
117
+ /**
118
+ * Gets information about a database in a RedisEnterprise cluster.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param clusterName The name of the RedisEnterprise cluster.
121
+ * @param databaseName The name of the database.
122
+ * @param options The options parameters.
123
+ */
124
+ get(
125
+ resourceGroupName: string,
126
+ clusterName: string,
127
+ databaseName: string,
128
+ options?: DatabasesGetOptionalParams
129
+ ): Promise<DatabasesGetResponse>;
130
+ /**
131
+ * Deletes a single database
132
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
133
+ * @param clusterName The name of the RedisEnterprise cluster.
134
+ * @param databaseName The name of the database.
135
+ * @param options The options parameters.
136
+ */
137
+ beginDelete(
138
+ resourceGroupName: string,
139
+ clusterName: string,
140
+ databaseName: string,
141
+ options?: DatabasesDeleteOptionalParams
142
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
143
+ /**
144
+ * Deletes a single database
145
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
146
+ * @param clusterName The name of the RedisEnterprise cluster.
147
+ * @param databaseName The name of the database.
148
+ * @param options The options parameters.
149
+ */
150
+ beginDeleteAndWait(
151
+ resourceGroupName: string,
152
+ clusterName: string,
153
+ databaseName: string,
154
+ options?: DatabasesDeleteOptionalParams
155
+ ): Promise<void>;
156
+ /**
157
+ * Retrieves the access keys for the RedisEnterprise database.
158
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
159
+ * @param clusterName The name of the RedisEnterprise cluster.
160
+ * @param databaseName The name of the database.
161
+ * @param options The options parameters.
162
+ */
163
+ listKeys(
164
+ resourceGroupName: string,
165
+ clusterName: string,
166
+ databaseName: string,
167
+ options?: DatabasesListKeysOptionalParams
168
+ ): Promise<DatabasesListKeysResponse>;
169
+ /**
170
+ * Regenerates the RedisEnterprise database's access keys.
171
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
172
+ * @param clusterName The name of the RedisEnterprise cluster.
173
+ * @param databaseName The name of the database.
174
+ * @param parameters Specifies which key to regenerate.
175
+ * @param options The options parameters.
176
+ */
177
+ beginRegenerateKey(
178
+ resourceGroupName: string,
179
+ clusterName: string,
180
+ databaseName: string,
181
+ parameters: RegenerateKeyParameters,
182
+ options?: DatabasesRegenerateKeyOptionalParams
183
+ ): Promise<
184
+ PollerLike<
185
+ PollOperationState<DatabasesRegenerateKeyResponse>,
186
+ DatabasesRegenerateKeyResponse
187
+ >
188
+ >;
189
+ /**
190
+ * Regenerates the RedisEnterprise database's access keys.
191
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
192
+ * @param clusterName The name of the RedisEnterprise cluster.
193
+ * @param databaseName The name of the database.
194
+ * @param parameters Specifies which key to regenerate.
195
+ * @param options The options parameters.
196
+ */
197
+ beginRegenerateKeyAndWait(
198
+ resourceGroupName: string,
199
+ clusterName: string,
200
+ databaseName: string,
201
+ parameters: RegenerateKeyParameters,
202
+ options?: DatabasesRegenerateKeyOptionalParams
203
+ ): Promise<DatabasesRegenerateKeyResponse>;
204
+ /**
205
+ * Imports database files to target database.
206
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
207
+ * @param clusterName The name of the RedisEnterprise cluster.
208
+ * @param databaseName The name of the database.
209
+ * @param parameters Storage information for importing into the cluster
210
+ * @param options The options parameters.
211
+ */
212
+ beginImport(
213
+ resourceGroupName: string,
214
+ clusterName: string,
215
+ databaseName: string,
216
+ parameters: ImportClusterParameters,
217
+ options?: DatabasesImportOptionalParams
218
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
219
+ /**
220
+ * Imports database files to target database.
221
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
222
+ * @param clusterName The name of the RedisEnterprise cluster.
223
+ * @param databaseName The name of the database.
224
+ * @param parameters Storage information for importing into the cluster
225
+ * @param options The options parameters.
226
+ */
227
+ beginImportAndWait(
228
+ resourceGroupName: string,
229
+ clusterName: string,
230
+ databaseName: string,
231
+ parameters: ImportClusterParameters,
232
+ options?: DatabasesImportOptionalParams
233
+ ): Promise<void>;
234
+ /**
235
+ * Exports a database file from target database.
236
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
237
+ * @param clusterName The name of the RedisEnterprise cluster.
238
+ * @param databaseName The name of the database.
239
+ * @param parameters Storage information for exporting into the cluster
240
+ * @param options The options parameters.
241
+ */
242
+ beginExport(
243
+ resourceGroupName: string,
244
+ clusterName: string,
245
+ databaseName: string,
246
+ parameters: ExportClusterParameters,
247
+ options?: DatabasesExportOptionalParams
248
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
249
+ /**
250
+ * Exports a database file from target database.
251
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
252
+ * @param clusterName The name of the RedisEnterprise cluster.
253
+ * @param databaseName The name of the database.
254
+ * @param parameters Storage information for exporting into the cluster
255
+ * @param options The options parameters.
256
+ */
257
+ beginExportAndWait(
258
+ resourceGroupName: string,
259
+ clusterName: string,
260
+ databaseName: string,
261
+ parameters: ExportClusterParameters,
262
+ options?: DatabasesExportOptionalParams
263
+ ): Promise<void>;
264
+ }
@@ -0,0 +1,14 @@
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
+
9
+ export * from "./operations";
10
+ export * from "./operationsStatus";
11
+ export * from "./redisEnterprise";
12
+ export * from "./databases";
13
+ export * from "./privateEndpointConnections";
14
+ export * from "./privateLinkResources";
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Lists all of the available REST API operations of the Microsoft.Cache provider.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,27 @@
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
+
9
+ import {
10
+ OperationsStatusGetOptionalParams,
11
+ OperationsStatusGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a OperationsStatus. */
15
+ export interface OperationsStatus {
16
+ /**
17
+ * Gets the status of operation.
18
+ * @param location The region the operation is in.
19
+ * @param operationId The operation's unique identifier.
20
+ * @param options The options parameters.
21
+ */
22
+ get(
23
+ location: string,
24
+ operationId: string,
25
+ options?: OperationsStatusGetOptionalParams
26
+ ): Promise<OperationsStatusGetResponse>;
27
+ }
@@ -0,0 +1,102 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ PrivateEndpointConnection,
13
+ PrivateEndpointConnectionsListOptionalParams,
14
+ PrivateEndpointConnectionsGetOptionalParams,
15
+ PrivateEndpointConnectionsGetResponse,
16
+ PrivateEndpointConnectionsPutOptionalParams,
17
+ PrivateEndpointConnectionsPutResponse,
18
+ PrivateEndpointConnectionsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a PrivateEndpointConnections. */
23
+ export interface PrivateEndpointConnections {
24
+ /**
25
+ * Lists all the private endpoint connections associated with the RedisEnterprise cluster.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param clusterName The name of the RedisEnterprise cluster.
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ resourceGroupName: string,
32
+ clusterName: string,
33
+ options?: PrivateEndpointConnectionsListOptionalParams
34
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
+ /**
36
+ * Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param clusterName The name of the RedisEnterprise cluster.
39
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
40
+ * Azure resource
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ resourceGroupName: string,
45
+ clusterName: string,
46
+ privateEndpointConnectionName: string,
47
+ options?: PrivateEndpointConnectionsGetOptionalParams
48
+ ): Promise<PrivateEndpointConnectionsGetResponse>;
49
+ /**
50
+ * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
51
+ * cluster.
52
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
+ * @param clusterName The name of the RedisEnterprise cluster.
54
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
55
+ * Azure resource
56
+ * @param properties The private endpoint connection properties.
57
+ * @param options The options parameters.
58
+ */
59
+ beginPut(
60
+ resourceGroupName: string,
61
+ clusterName: string,
62
+ privateEndpointConnectionName: string,
63
+ properties: PrivateEndpointConnection,
64
+ options?: PrivateEndpointConnectionsPutOptionalParams
65
+ ): Promise<
66
+ PollerLike<
67
+ PollOperationState<PrivateEndpointConnectionsPutResponse>,
68
+ PrivateEndpointConnectionsPutResponse
69
+ >
70
+ >;
71
+ /**
72
+ * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
73
+ * cluster.
74
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
+ * @param clusterName The name of the RedisEnterprise cluster.
76
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
77
+ * Azure resource
78
+ * @param properties The private endpoint connection properties.
79
+ * @param options The options parameters.
80
+ */
81
+ beginPutAndWait(
82
+ resourceGroupName: string,
83
+ clusterName: string,
84
+ privateEndpointConnectionName: string,
85
+ properties: PrivateEndpointConnection,
86
+ options?: PrivateEndpointConnectionsPutOptionalParams
87
+ ): Promise<PrivateEndpointConnectionsPutResponse>;
88
+ /**
89
+ * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
90
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
+ * @param clusterName The name of the RedisEnterprise cluster.
92
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
93
+ * Azure resource
94
+ * @param options The options parameters.
95
+ */
96
+ delete(
97
+ resourceGroupName: string,
98
+ clusterName: string,
99
+ privateEndpointConnectionName: string,
100
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
101
+ ): Promise<void>;
102
+ }
@@ -0,0 +1,29 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ PrivateLinkResource,
12
+ PrivateLinkResourcesListByClusterOptionalParams
13
+ } from "../models";
14
+
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Interface representing a PrivateLinkResources. */
17
+ export interface PrivateLinkResources {
18
+ /**
19
+ * Gets the private link resources that need to be created for a RedisEnterprise cluster.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
+ * @param clusterName The name of the RedisEnterprise cluster.
22
+ * @param options The options parameters.
23
+ */
24
+ listByCluster(
25
+ resourceGroupName: string,
26
+ clusterName: string,
27
+ options?: PrivateLinkResourcesListByClusterOptionalParams
28
+ ): PagedAsyncIterableIterator<PrivateLinkResource>;
29
+ }
@@ -0,0 +1,139 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Cluster,
13
+ RedisEnterpriseListByResourceGroupOptionalParams,
14
+ RedisEnterpriseListOptionalParams,
15
+ RedisEnterpriseCreateOptionalParams,
16
+ RedisEnterpriseCreateResponse,
17
+ ClusterUpdate,
18
+ RedisEnterpriseUpdateOptionalParams,
19
+ RedisEnterpriseUpdateResponse,
20
+ RedisEnterpriseDeleteOptionalParams,
21
+ RedisEnterpriseGetOptionalParams,
22
+ RedisEnterpriseGetResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a RedisEnterprise. */
27
+ export interface RedisEnterprise {
28
+ /**
29
+ * Lists all RedisEnterprise clusters in a resource group.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param options The options parameters.
32
+ */
33
+ listByResourceGroup(
34
+ resourceGroupName: string,
35
+ options?: RedisEnterpriseListByResourceGroupOptionalParams
36
+ ): PagedAsyncIterableIterator<Cluster>;
37
+ /**
38
+ * Gets all RedisEnterprise clusters in the specified subscription.
39
+ * @param options The options parameters.
40
+ */
41
+ list(
42
+ options?: RedisEnterpriseListOptionalParams
43
+ ): PagedAsyncIterableIterator<Cluster>;
44
+ /**
45
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param clusterName The name of the RedisEnterprise cluster.
48
+ * @param parameters Parameters supplied to the Create RedisEnterprise operation.
49
+ * @param options The options parameters.
50
+ */
51
+ beginCreate(
52
+ resourceGroupName: string,
53
+ clusterName: string,
54
+ parameters: Cluster,
55
+ options?: RedisEnterpriseCreateOptionalParams
56
+ ): Promise<
57
+ PollerLike<
58
+ PollOperationState<RedisEnterpriseCreateResponse>,
59
+ RedisEnterpriseCreateResponse
60
+ >
61
+ >;
62
+ /**
63
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param clusterName The name of the RedisEnterprise cluster.
66
+ * @param parameters Parameters supplied to the Create RedisEnterprise operation.
67
+ * @param options The options parameters.
68
+ */
69
+ beginCreateAndWait(
70
+ resourceGroupName: string,
71
+ clusterName: string,
72
+ parameters: Cluster,
73
+ options?: RedisEnterpriseCreateOptionalParams
74
+ ): Promise<RedisEnterpriseCreateResponse>;
75
+ /**
76
+ * Updates an existing RedisEnterprise cluster
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param clusterName The name of the RedisEnterprise cluster.
79
+ * @param parameters Parameters supplied to the Update RedisEnterprise operation.
80
+ * @param options The options parameters.
81
+ */
82
+ beginUpdate(
83
+ resourceGroupName: string,
84
+ clusterName: string,
85
+ parameters: ClusterUpdate,
86
+ options?: RedisEnterpriseUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<RedisEnterpriseUpdateResponse>,
90
+ RedisEnterpriseUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * Updates an existing RedisEnterprise cluster
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param clusterName The name of the RedisEnterprise cluster.
97
+ * @param parameters Parameters supplied to the Update RedisEnterprise operation.
98
+ * @param options The options parameters.
99
+ */
100
+ beginUpdateAndWait(
101
+ resourceGroupName: string,
102
+ clusterName: string,
103
+ parameters: ClusterUpdate,
104
+ options?: RedisEnterpriseUpdateOptionalParams
105
+ ): Promise<RedisEnterpriseUpdateResponse>;
106
+ /**
107
+ * Deletes a RedisEnterprise cache cluster.
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param clusterName The name of the RedisEnterprise cluster.
110
+ * @param options The options parameters.
111
+ */
112
+ beginDelete(
113
+ resourceGroupName: string,
114
+ clusterName: string,
115
+ options?: RedisEnterpriseDeleteOptionalParams
116
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
117
+ /**
118
+ * Deletes a RedisEnterprise cache cluster.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param clusterName The name of the RedisEnterprise cluster.
121
+ * @param options The options parameters.
122
+ */
123
+ beginDeleteAndWait(
124
+ resourceGroupName: string,
125
+ clusterName: string,
126
+ options?: RedisEnterpriseDeleteOptionalParams
127
+ ): Promise<void>;
128
+ /**
129
+ * Gets information about a RedisEnterprise cluster
130
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
131
+ * @param clusterName The name of the RedisEnterprise cluster.
132
+ * @param options The options parameters.
133
+ */
134
+ get(
135
+ resourceGroupName: string,
136
+ clusterName: string,
137
+ options?: RedisEnterpriseGetOptionalParams
138
+ ): Promise<RedisEnterpriseGetResponse>;
139
+ }