@azure/arm-redisenterprisecache 1.0.0 → 2.0.0-alpha.20220316.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 +70 -70
  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 +82 -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 -36
  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 -2644
  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 -23
  265. package/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
  266. package/esm/redisEnterpriseManagementClient.js +0 -37
  267. package/esm/redisEnterpriseManagementClient.js.map +0 -1
  268. package/esm/redisEnterpriseManagementClientContext.d.ts +0 -16
  269. package/esm/redisEnterpriseManagementClientContext.d.ts.map +0 -1
  270. package/esm/redisEnterpriseManagementClientContext.js +0 -55
  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 -61
@@ -0,0 +1,503 @@
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, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing RedisEnterprise operations. */
16
+ export class RedisEnterpriseImpl {
17
+ /**
18
+ * Initialize a new instance of the class RedisEnterprise class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Lists all RedisEnterprise clusters in a resource group.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param options The options parameters.
28
+ */
29
+ listByResourceGroup(resourceGroupName, options) {
30
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
40
+ }
41
+ };
42
+ }
43
+ listByResourceGroupPagingPage(resourceGroupName, options) {
44
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
45
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listByResourceGroupPagingAll(resourceGroupName, options) {
56
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
60
+ const page = _c.value;
61
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
62
+ }
63
+ }
64
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
+ finally {
66
+ try {
67
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
68
+ }
69
+ finally { if (e_1) throw e_1.error; }
70
+ }
71
+ });
72
+ }
73
+ /**
74
+ * Gets all RedisEnterprise clusters in the specified subscription.
75
+ * @param options The options parameters.
76
+ */
77
+ list(options) {
78
+ const iter = this.listPagingAll(options);
79
+ return {
80
+ next() {
81
+ return iter.next();
82
+ },
83
+ [Symbol.asyncIterator]() {
84
+ return this;
85
+ },
86
+ byPage: () => {
87
+ return this.listPagingPage(options);
88
+ }
89
+ };
90
+ }
91
+ listPagingPage(options) {
92
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
93
+ let result = yield __await(this._list(options));
94
+ yield yield __await(result.value || []);
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = yield __await(this._listNext(continuationToken, options));
98
+ continuationToken = result.nextLink;
99
+ yield yield __await(result.value || []);
100
+ }
101
+ });
102
+ }
103
+ listPagingAll(options) {
104
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
105
+ var e_2, _a;
106
+ try {
107
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
108
+ const page = _c.value;
109
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
110
+ }
111
+ }
112
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
113
+ finally {
114
+ try {
115
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
116
+ }
117
+ finally { if (e_2) throw e_2.error; }
118
+ }
119
+ });
120
+ }
121
+ /**
122
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
+ * @param clusterName The name of the RedisEnterprise cluster.
125
+ * @param parameters Parameters supplied to the Create RedisEnterprise operation.
126
+ * @param options The options parameters.
127
+ */
128
+ beginCreate(resourceGroupName, clusterName, parameters, options) {
129
+ return __awaiter(this, void 0, void 0, function* () {
130
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
131
+ return this.client.sendOperationRequest(args, spec);
132
+ });
133
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
134
+ var _a;
135
+ let currentRawResponse = undefined;
136
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
137
+ const callback = (rawResponse, flatResponse) => {
138
+ currentRawResponse = rawResponse;
139
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
140
+ };
141
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
142
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
143
+ return {
144
+ flatResponse,
145
+ rawResponse: {
146
+ statusCode: currentRawResponse.status,
147
+ body: currentRawResponse.parsedBody,
148
+ headers: currentRawResponse.headers.toJSON()
149
+ }
150
+ };
151
+ });
152
+ const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOperationSpec);
153
+ return new LroEngine(lro, {
154
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
155
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
156
+ lroResourceLocationConfig: "original-uri"
157
+ });
158
+ });
159
+ }
160
+ /**
161
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
162
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
163
+ * @param clusterName The name of the RedisEnterprise cluster.
164
+ * @param parameters Parameters supplied to the Create RedisEnterprise operation.
165
+ * @param options The options parameters.
166
+ */
167
+ beginCreateAndWait(resourceGroupName, clusterName, parameters, options) {
168
+ return __awaiter(this, void 0, void 0, function* () {
169
+ const poller = yield this.beginCreate(resourceGroupName, clusterName, parameters, options);
170
+ return poller.pollUntilDone();
171
+ });
172
+ }
173
+ /**
174
+ * Updates an existing RedisEnterprise cluster
175
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
176
+ * @param clusterName The name of the RedisEnterprise cluster.
177
+ * @param parameters Parameters supplied to the Update RedisEnterprise operation.
178
+ * @param options The options parameters.
179
+ */
180
+ beginUpdate(resourceGroupName, clusterName, parameters, options) {
181
+ return __awaiter(this, void 0, void 0, function* () {
182
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
183
+ return this.client.sendOperationRequest(args, spec);
184
+ });
185
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
186
+ var _a;
187
+ let currentRawResponse = undefined;
188
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
189
+ const callback = (rawResponse, flatResponse) => {
190
+ currentRawResponse = rawResponse;
191
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
192
+ };
193
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
194
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
195
+ return {
196
+ flatResponse,
197
+ rawResponse: {
198
+ statusCode: currentRawResponse.status,
199
+ body: currentRawResponse.parsedBody,
200
+ headers: currentRawResponse.headers.toJSON()
201
+ }
202
+ };
203
+ });
204
+ const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, updateOperationSpec);
205
+ return new LroEngine(lro, {
206
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
207
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
208
+ lroResourceLocationConfig: "azure-async-operation"
209
+ });
210
+ });
211
+ }
212
+ /**
213
+ * Updates an existing RedisEnterprise cluster
214
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
215
+ * @param clusterName The name of the RedisEnterprise cluster.
216
+ * @param parameters Parameters supplied to the Update RedisEnterprise operation.
217
+ * @param options The options parameters.
218
+ */
219
+ beginUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
220
+ return __awaiter(this, void 0, void 0, function* () {
221
+ const poller = yield this.beginUpdate(resourceGroupName, clusterName, parameters, options);
222
+ return poller.pollUntilDone();
223
+ });
224
+ }
225
+ /**
226
+ * Deletes a RedisEnterprise cache cluster.
227
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
228
+ * @param clusterName The name of the RedisEnterprise cluster.
229
+ * @param options The options parameters.
230
+ */
231
+ beginDelete(resourceGroupName, clusterName, options) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
234
+ return this.client.sendOperationRequest(args, spec);
235
+ });
236
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
237
+ var _a;
238
+ let currentRawResponse = undefined;
239
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
240
+ const callback = (rawResponse, flatResponse) => {
241
+ currentRawResponse = rawResponse;
242
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
243
+ };
244
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
245
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
246
+ return {
247
+ flatResponse,
248
+ rawResponse: {
249
+ statusCode: currentRawResponse.status,
250
+ body: currentRawResponse.parsedBody,
251
+ headers: currentRawResponse.headers.toJSON()
252
+ }
253
+ };
254
+ });
255
+ const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, options }, deleteOperationSpec);
256
+ return new LroEngine(lro, {
257
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
258
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
259
+ lroResourceLocationConfig: "azure-async-operation"
260
+ });
261
+ });
262
+ }
263
+ /**
264
+ * Deletes a RedisEnterprise cache cluster.
265
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
266
+ * @param clusterName The name of the RedisEnterprise cluster.
267
+ * @param options The options parameters.
268
+ */
269
+ beginDeleteAndWait(resourceGroupName, clusterName, options) {
270
+ return __awaiter(this, void 0, void 0, function* () {
271
+ const poller = yield this.beginDelete(resourceGroupName, clusterName, options);
272
+ return poller.pollUntilDone();
273
+ });
274
+ }
275
+ /**
276
+ * Gets information about a RedisEnterprise cluster
277
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
278
+ * @param clusterName The name of the RedisEnterprise cluster.
279
+ * @param options The options parameters.
280
+ */
281
+ get(resourceGroupName, clusterName, options) {
282
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
283
+ }
284
+ /**
285
+ * Lists all RedisEnterprise clusters in a resource group.
286
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
287
+ * @param options The options parameters.
288
+ */
289
+ _listByResourceGroup(resourceGroupName, options) {
290
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
291
+ }
292
+ /**
293
+ * Gets all RedisEnterprise clusters in the specified subscription.
294
+ * @param options The options parameters.
295
+ */
296
+ _list(options) {
297
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
298
+ }
299
+ /**
300
+ * ListByResourceGroupNext
301
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
302
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
303
+ * @param options The options parameters.
304
+ */
305
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
306
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
307
+ }
308
+ /**
309
+ * ListNext
310
+ * @param nextLink The nextLink from the previous successful call to the List method.
311
+ * @param options The options parameters.
312
+ */
313
+ _listNext(nextLink, options) {
314
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
315
+ }
316
+ }
317
+ // Operation Specifications
318
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
319
+ const createOperationSpec = {
320
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
321
+ httpMethod: "PUT",
322
+ responses: {
323
+ 200: {
324
+ bodyMapper: Mappers.Cluster
325
+ },
326
+ 201: {
327
+ bodyMapper: Mappers.Cluster
328
+ },
329
+ 202: {
330
+ bodyMapper: Mappers.Cluster
331
+ },
332
+ 204: {
333
+ bodyMapper: Mappers.Cluster
334
+ },
335
+ default: {
336
+ bodyMapper: Mappers.ErrorResponse
337
+ }
338
+ },
339
+ requestBody: Parameters.parameters,
340
+ queryParameters: [Parameters.apiVersion],
341
+ urlParameters: [
342
+ Parameters.$host,
343
+ Parameters.subscriptionId,
344
+ Parameters.resourceGroupName,
345
+ Parameters.clusterName
346
+ ],
347
+ headerParameters: [Parameters.accept, Parameters.contentType],
348
+ mediaType: "json",
349
+ serializer
350
+ };
351
+ const updateOperationSpec = {
352
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
353
+ httpMethod: "PATCH",
354
+ responses: {
355
+ 200: {
356
+ bodyMapper: Mappers.Cluster
357
+ },
358
+ 201: {
359
+ bodyMapper: Mappers.Cluster
360
+ },
361
+ 202: {
362
+ bodyMapper: Mappers.Cluster
363
+ },
364
+ 204: {
365
+ bodyMapper: Mappers.Cluster
366
+ },
367
+ default: {
368
+ bodyMapper: Mappers.ErrorResponse
369
+ }
370
+ },
371
+ requestBody: Parameters.parameters1,
372
+ queryParameters: [Parameters.apiVersion],
373
+ urlParameters: [
374
+ Parameters.$host,
375
+ Parameters.subscriptionId,
376
+ Parameters.resourceGroupName,
377
+ Parameters.clusterName
378
+ ],
379
+ headerParameters: [Parameters.accept, Parameters.contentType],
380
+ mediaType: "json",
381
+ serializer
382
+ };
383
+ const deleteOperationSpec = {
384
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
385
+ httpMethod: "DELETE",
386
+ responses: {
387
+ 200: {},
388
+ 201: {},
389
+ 202: {},
390
+ 204: {},
391
+ default: {
392
+ bodyMapper: Mappers.ErrorResponse
393
+ }
394
+ },
395
+ queryParameters: [Parameters.apiVersion],
396
+ urlParameters: [
397
+ Parameters.$host,
398
+ Parameters.subscriptionId,
399
+ Parameters.resourceGroupName,
400
+ Parameters.clusterName
401
+ ],
402
+ headerParameters: [Parameters.accept],
403
+ serializer
404
+ };
405
+ const getOperationSpec = {
406
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
407
+ httpMethod: "GET",
408
+ responses: {
409
+ 200: {
410
+ bodyMapper: Mappers.Cluster
411
+ },
412
+ default: {
413
+ bodyMapper: Mappers.ErrorResponse
414
+ }
415
+ },
416
+ queryParameters: [Parameters.apiVersion],
417
+ urlParameters: [
418
+ Parameters.$host,
419
+ Parameters.subscriptionId,
420
+ Parameters.resourceGroupName,
421
+ Parameters.clusterName
422
+ ],
423
+ headerParameters: [Parameters.accept],
424
+ serializer
425
+ };
426
+ const listByResourceGroupOperationSpec = {
427
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise",
428
+ httpMethod: "GET",
429
+ responses: {
430
+ 200: {
431
+ bodyMapper: Mappers.ClusterList
432
+ },
433
+ default: {
434
+ bodyMapper: Mappers.ErrorResponse
435
+ }
436
+ },
437
+ queryParameters: [Parameters.apiVersion],
438
+ urlParameters: [
439
+ Parameters.$host,
440
+ Parameters.subscriptionId,
441
+ Parameters.resourceGroupName
442
+ ],
443
+ headerParameters: [Parameters.accept],
444
+ serializer
445
+ };
446
+ const listOperationSpec = {
447
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise",
448
+ httpMethod: "GET",
449
+ responses: {
450
+ 200: {
451
+ bodyMapper: Mappers.ClusterList
452
+ },
453
+ default: {
454
+ bodyMapper: Mappers.ErrorResponse
455
+ }
456
+ },
457
+ queryParameters: [Parameters.apiVersion],
458
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
459
+ headerParameters: [Parameters.accept],
460
+ serializer
461
+ };
462
+ const listByResourceGroupNextOperationSpec = {
463
+ path: "{nextLink}",
464
+ httpMethod: "GET",
465
+ responses: {
466
+ 200: {
467
+ bodyMapper: Mappers.ClusterList
468
+ },
469
+ default: {
470
+ bodyMapper: Mappers.ErrorResponse
471
+ }
472
+ },
473
+ queryParameters: [Parameters.apiVersion],
474
+ urlParameters: [
475
+ Parameters.$host,
476
+ Parameters.nextLink,
477
+ Parameters.subscriptionId,
478
+ Parameters.resourceGroupName
479
+ ],
480
+ headerParameters: [Parameters.accept],
481
+ serializer
482
+ };
483
+ const listNextOperationSpec = {
484
+ path: "{nextLink}",
485
+ httpMethod: "GET",
486
+ responses: {
487
+ 200: {
488
+ bodyMapper: Mappers.ClusterList
489
+ },
490
+ default: {
491
+ bodyMapper: Mappers.ErrorResponse
492
+ }
493
+ },
494
+ queryParameters: [Parameters.apiVersion],
495
+ urlParameters: [
496
+ Parameters.$host,
497
+ Parameters.nextLink,
498
+ Parameters.subscriptionId
499
+ ],
500
+ headerParameters: [Parameters.accept],
501
+ serializer
502
+ };
503
+ //# sourceMappingURL=redisEnterprise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OAA0D;;YAE1D,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;YACzE,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO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;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,136 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { Database, DatabasesListByClusterOptionalParams, DatabasesCreateOptionalParams, DatabasesCreateResponse, DatabaseUpdate, DatabasesUpdateOptionalParams, DatabasesUpdateResponse, DatabasesGetOptionalParams, DatabasesGetResponse, DatabasesDeleteOptionalParams, DatabasesListKeysOptionalParams, DatabasesListKeysResponse, RegenerateKeyParameters, DatabasesRegenerateKeyOptionalParams, DatabasesRegenerateKeyResponse, ImportClusterParameters, DatabasesImportOptionalParams, ExportClusterParameters, DatabasesExportOptionalParams } from "../models";
4
+ /** Interface representing a Databases. */
5
+ export interface Databases {
6
+ /**
7
+ * Gets all databases in the specified RedisEnterprise cluster.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param clusterName The name of the RedisEnterprise cluster.
10
+ * @param options The options parameters.
11
+ */
12
+ listByCluster(resourceGroupName: string, clusterName: string, options?: DatabasesListByClusterOptionalParams): PagedAsyncIterableIterator<Database>;
13
+ /**
14
+ * Creates a database
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param clusterName The name of the RedisEnterprise cluster.
17
+ * @param databaseName The name of the database.
18
+ * @param parameters Parameters supplied to the create or update database operation.
19
+ * @param options The options parameters.
20
+ */
21
+ beginCreate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateResponse>, DatabasesCreateResponse>>;
22
+ /**
23
+ * Creates a database
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param clusterName The name of the RedisEnterprise cluster.
26
+ * @param databaseName The name of the database.
27
+ * @param parameters Parameters supplied to the create or update database operation.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOptionalParams): Promise<DatabasesCreateResponse>;
31
+ /**
32
+ * Updates a database
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param clusterName The name of the RedisEnterprise cluster.
35
+ * @param databaseName The name of the database.
36
+ * @param parameters Parameters supplied to the create or update database operation.
37
+ * @param options The options parameters.
38
+ */
39
+ beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesUpdateResponse>, DatabasesUpdateResponse>>;
40
+ /**
41
+ * Updates a database
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param clusterName The name of the RedisEnterprise cluster.
44
+ * @param databaseName The name of the database.
45
+ * @param parameters Parameters supplied to the create or update database operation.
46
+ * @param options The options parameters.
47
+ */
48
+ beginUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<DatabasesUpdateResponse>;
49
+ /**
50
+ * Gets information about a database in a RedisEnterprise cluster.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param clusterName The name of the RedisEnterprise cluster.
53
+ * @param databaseName The name of the database.
54
+ * @param options The options parameters.
55
+ */
56
+ get(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
57
+ /**
58
+ * Deletes a single database
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param clusterName The name of the RedisEnterprise cluster.
61
+ * @param databaseName The name of the database.
62
+ * @param options The options parameters.
63
+ */
64
+ beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
65
+ /**
66
+ * Deletes a single database
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param clusterName The name of the RedisEnterprise cluster.
69
+ * @param databaseName The name of the database.
70
+ * @param options The options parameters.
71
+ */
72
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
73
+ /**
74
+ * Retrieves the access keys for the RedisEnterprise database.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param clusterName The name of the RedisEnterprise cluster.
77
+ * @param databaseName The name of the database.
78
+ * @param options The options parameters.
79
+ */
80
+ listKeys(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesListKeysOptionalParams): Promise<DatabasesListKeysResponse>;
81
+ /**
82
+ * Regenerates the RedisEnterprise database's access keys.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param clusterName The name of the RedisEnterprise cluster.
85
+ * @param databaseName The name of the database.
86
+ * @param parameters Specifies which key to regenerate.
87
+ * @param options The options parameters.
88
+ */
89
+ beginRegenerateKey(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<PollerLike<PollOperationState<DatabasesRegenerateKeyResponse>, DatabasesRegenerateKeyResponse>>;
90
+ /**
91
+ * Regenerates the RedisEnterprise database's access keys.
92
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
+ * @param clusterName The name of the RedisEnterprise cluster.
94
+ * @param databaseName The name of the database.
95
+ * @param parameters Specifies which key to regenerate.
96
+ * @param options The options parameters.
97
+ */
98
+ beginRegenerateKeyAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<DatabasesRegenerateKeyResponse>;
99
+ /**
100
+ * Imports database files to target database.
101
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
102
+ * @param clusterName The name of the RedisEnterprise cluster.
103
+ * @param databaseName The name of the database.
104
+ * @param parameters Storage information for importing into the cluster
105
+ * @param options The options parameters.
106
+ */
107
+ beginImport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
108
+ /**
109
+ * Imports database files to target database.
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param clusterName The name of the RedisEnterprise cluster.
112
+ * @param databaseName The name of the database.
113
+ * @param parameters Storage information for importing into the cluster
114
+ * @param options The options parameters.
115
+ */
116
+ beginImportAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<void>;
117
+ /**
118
+ * Exports a database file from target database.
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 parameters Storage information for exporting into the cluster
123
+ * @param options The options parameters.
124
+ */
125
+ beginExport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
126
+ /**
127
+ * Exports a database file from target database.
128
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
+ * @param clusterName The name of the RedisEnterprise cluster.
130
+ * @param databaseName The name of the database.
131
+ * @param parameters Storage information for exporting into the cluster
132
+ * @param options The options parameters.
133
+ */
134
+ beginExportAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<void>;
135
+ }
136
+ //# sourceMappingURL=databases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databases.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databases.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,oCAAoC,EACpC,6BAA6B,EAC7B,uBAAuB,EACvB,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,EACvB,oCAAoC,EACpC,8BAA8B,EAC9B,uBAAuB,EACvB,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uBAAuB,CAAC,EAC3C,uBAAuB,CACxB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,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