@azure/arm-redisenterprisecache 1.1.1 → 2.0.0-alpha.20220325.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 +82 -23
  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
@@ -5,4 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- //# sourceMappingURL=index.js.map
8
+ export {};
9
+ //# sourceMappingURL=databases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databases.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databases.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,7 @@
1
+ export * from "./operations";
2
+ export * from "./operationsStatus";
3
+ export * from "./redisEnterprise";
4
+ export * from "./databases";
5
+ export * from "./privateEndpointConnections";
6
+ export * from "./privateLinkResources";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
@@ -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
+ export * from "./operations";
9
+ export * from "./operationsStatus";
10
+ export * from "./redisEnterprise";
11
+ export * from "./databases";
12
+ export * from "./privateEndpointConnections";
13
+ export * from "./privateLinkResources";
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists all of the available REST API operations of the Microsoft.Cache provider.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -5,10 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
-
9
- export {
10
- ErrorAdditionalInfo,
11
- ErrorDetail,
12
- ErrorResponse,
13
- OperationStatus
14
- } from "../models/mappers";
8
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,12 @@
1
+ import { OperationsStatusGetOptionalParams, OperationsStatusGetResponse } from "../models";
2
+ /** Interface representing a OperationsStatus. */
3
+ export interface OperationsStatus {
4
+ /**
5
+ * Gets the status of operation.
6
+ * @param location The region the operation is in.
7
+ * @param operationId The operation's unique identifier.
8
+ * @param options The options parameters.
9
+ */
10
+ get(location: string, operationId: string, options?: OperationsStatusGetOptionalParams): Promise<OperationsStatusGetResponse>;
11
+ }
12
+ //# sourceMappingURL=operationsStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsStatus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationsStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,WAAW,CAAC;AAEnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -5,12 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
-
9
- export {
10
- ErrorAdditionalInfo,
11
- ErrorDetail,
12
- ErrorResponse,
13
- Operation,
14
- OperationDisplay,
15
- OperationListResult
16
- } from "../models/mappers";
8
+ export {};
9
+ //# sourceMappingURL=operationsStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsStatus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationsStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,54 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsPutOptionalParams, PrivateEndpointConnectionsPutResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
4
+ /** Interface representing a PrivateEndpointConnections. */
5
+ export interface PrivateEndpointConnections {
6
+ /**
7
+ * Lists all the private endpoint connections associated with the 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
+ list(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
13
+ /**
14
+ * Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
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 privateEndpointConnectionName The name of the private endpoint connection associated with the
18
+ * Azure resource
19
+ * @param options The options parameters.
20
+ */
21
+ get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
22
+ /**
23
+ * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
24
+ * cluster.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param clusterName The name of the RedisEnterprise cluster.
27
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
28
+ * Azure resource
29
+ * @param properties The private endpoint connection properties.
30
+ * @param options The options parameters.
31
+ */
32
+ beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
33
+ /**
34
+ * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
35
+ * cluster.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param clusterName The name of the RedisEnterprise cluster.
38
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
39
+ * Azure resource
40
+ * @param properties The private endpoint connection properties.
41
+ * @param options The options parameters.
42
+ */
43
+ beginPutAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
44
+ /**
45
+ * Deletes the specified private endpoint connection associated with the RedisEnterprise 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 privateEndpointConnectionName The name of the private endpoint connection associated with the
49
+ * Azure resource
50
+ * @param options The options parameters.
51
+ */
52
+ delete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
53
+ }
54
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,yBAAyB,EACzB,4CAA4C,EAC5C,2CAA2C,EAC3C,qCAAqC,EACrC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAGnB,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,qCAAqC,CAAC,EACzD,qCAAqC,CACtC,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -5,5 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export { ErrorAdditionalInfo, ErrorDetail, ErrorResponse, OperationStatus } from "../models/mappers";
9
- //# sourceMappingURL=operationsStatusMappers.js.map
8
+ export {};
9
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,13 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models";
3
+ /** Interface representing a PrivateLinkResources. */
4
+ export interface PrivateLinkResources {
5
+ /**
6
+ * Gets the private link resources that need to be created for a RedisEnterprise cluster.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param clusterName The name of the RedisEnterprise cluster.
9
+ * @param options The options parameters.
10
+ */
11
+ listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
12
+ }
13
+ //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAChD,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,71 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { Cluster, RedisEnterpriseListByResourceGroupOptionalParams, RedisEnterpriseListOptionalParams, RedisEnterpriseCreateOptionalParams, RedisEnterpriseCreateResponse, ClusterUpdate, RedisEnterpriseUpdateOptionalParams, RedisEnterpriseUpdateResponse, RedisEnterpriseDeleteOptionalParams, RedisEnterpriseGetOptionalParams, RedisEnterpriseGetResponse } from "../models";
4
+ /** Interface representing a RedisEnterprise. */
5
+ export interface RedisEnterprise {
6
+ /**
7
+ * Lists all RedisEnterprise clusters in a resource group.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: RedisEnterpriseListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
12
+ /**
13
+ * Gets all RedisEnterprise clusters in the specified subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster>;
17
+ /**
18
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param clusterName The name of the RedisEnterprise cluster.
21
+ * @param parameters Parameters supplied to the Create RedisEnterprise operation.
22
+ * @param options The options parameters.
23
+ */
24
+ beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<PollerLike<PollOperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>>;
25
+ /**
26
+ * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param clusterName The name of the RedisEnterprise cluster.
29
+ * @param parameters Parameters supplied to the Create RedisEnterprise operation.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<RedisEnterpriseCreateResponse>;
33
+ /**
34
+ * Updates an existing RedisEnterprise cluster
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param clusterName The name of the RedisEnterprise cluster.
37
+ * @param parameters Parameters supplied to the Update RedisEnterprise operation.
38
+ * @param options The options parameters.
39
+ */
40
+ beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<PollerLike<PollOperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>>;
41
+ /**
42
+ * Updates an existing RedisEnterprise cluster
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param clusterName The name of the RedisEnterprise cluster.
45
+ * @param parameters Parameters supplied to the Update RedisEnterprise operation.
46
+ * @param options The options parameters.
47
+ */
48
+ beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<RedisEnterpriseUpdateResponse>;
49
+ /**
50
+ * Deletes a RedisEnterprise cache 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 options The options parameters.
54
+ */
55
+ beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
56
+ /**
57
+ * Deletes a RedisEnterprise cache cluster.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param clusterName The name of the RedisEnterprise cluster.
60
+ * @param options The options parameters.
61
+ */
62
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<void>;
63
+ /**
64
+ * Gets information about a RedisEnterprise cluster
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param clusterName The name of the RedisEnterprise cluster.
67
+ * @param options The options parameters.
68
+ */
69
+ get(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseGetOptionalParams): Promise<RedisEnterpriseGetResponse>;
70
+ }
71
+ //# sourceMappingURL=redisEnterprise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterprise.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/redisEnterprise.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,OAAO,EACP,gDAAgD,EAChD,iCAAiC,EACjC,mCAAmC,EACnC,6BAA6B,EAC7B,aAAa,EACb,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACnC,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAGnB,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,6BAA6B,CAAC,EACjD,6BAA6B,CAC9B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,6BAA6B,CAAC,EACjD,6BAA6B,CAC9B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=redisEnterprise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/redisEnterprise.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,23 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, OperationsStatus, RedisEnterprise, Databases, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces";
4
+ import { RedisEnterpriseManagementClientOptionalParams } from "./models";
5
+ export declare class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the RedisEnterpriseManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The ID of the target subscription.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: RedisEnterpriseManagementClientOptionalParams);
16
+ operations: Operations;
17
+ operationsStatus: OperationsStatus;
18
+ redisEnterprise: RedisEnterprise;
19
+ databases: Databases;
20
+ privateEndpointConnections: PrivateEndpointConnections;
21
+ privateLinkResources: PrivateLinkResources;
22
+ }
23
+ //# sourceMappingURL=redisEnterpriseManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterpriseManagementClient.d.ts","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,6CAA6C,EAAE,MAAM,UAAU,CAAC;AAEzE,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;IAkDzD,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
@@ -0,0 +1,56 @@
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 * as coreClient from "@azure/core-client";
9
+ import { OperationsImpl, OperationsStatusImpl, RedisEnterpriseImpl, DatabasesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl } from "./operations";
10
+ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
11
+ /**
12
+ * Initializes a new instance of the RedisEnterpriseManagementClient class.
13
+ * @param credentials Subscription credentials which uniquely identify client subscription.
14
+ * @param subscriptionId The ID of the target subscription.
15
+ * @param options The parameter options
16
+ */
17
+ constructor(credentials, subscriptionId, options) {
18
+ if (credentials === undefined) {
19
+ throw new Error("'credentials' cannot be null");
20
+ }
21
+ if (subscriptionId === undefined) {
22
+ throw new Error("'subscriptionId' cannot be null");
23
+ }
24
+ // Initializing default values for options
25
+ if (!options) {
26
+ options = {};
27
+ }
28
+ const defaults = {
29
+ requestContentType: "application/json; charset=utf-8",
30
+ credential: credentials
31
+ };
32
+ const packageDetails = `azsdk-js-arm-redisenterprisecache/2.0.0`;
33
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
+ : `${packageDetails}`;
36
+ if (!options.credentialScopes) {
37
+ options.credentialScopes = ["https://management.azure.com/.default"];
38
+ }
39
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ userAgentPrefix
41
+ }, baseUri: options.endpoint || "https://management.azure.com" });
42
+ super(optionsWithDefaults);
43
+ // Parameter assignments
44
+ this.subscriptionId = subscriptionId;
45
+ // Assigning values to Constant parameters
46
+ this.$host = options.$host || "https://management.azure.com";
47
+ this.apiVersion = options.apiVersion || "2021-08-01";
48
+ this.operations = new OperationsImpl(this);
49
+ this.operationsStatus = new OperationsStatusImpl(this);
50
+ this.redisEnterprise = new RedisEnterpriseImpl(this);
51
+ this.databases = new DatabasesImpl(this);
52
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
53
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
54
+ }
55
+ }
56
+ //# sourceMappingURL=redisEnterpriseManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redisEnterpriseManagementClient.js","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,cAAc,CAAC;AAWtB,MAAM,OAAO,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAK3E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuD;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAkD;YAC9D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACjE,CAAC;CAQF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sampleTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
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 { __awaiter } from "tslib";
9
+ import { record } from "@azure-tools/test-recorder";
10
+ const recorderEnvSetup = {
11
+ replaceableVariables: {
12
+ AZURE_CLIENT_ID: "azure_client_id",
13
+ AZURE_CLIENT_SECRET: "azure_client_secret",
14
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
15
+ SUBSCRIPTION_ID: "azure_subscription_id"
16
+ },
17
+ customizationsOnRecordings: [
18
+ (recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
19
+ ],
20
+ queryParametersToSkip: []
21
+ };
22
+ describe("My test", () => {
23
+ let recorder;
24
+ beforeEach(function () {
25
+ return __awaiter(this, void 0, void 0, function* () {
26
+ recorder = record(this, recorderEnvSetup);
27
+ });
28
+ });
29
+ afterEach(function () {
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ yield recorder.stop();
32
+ });
33
+ });
34
+ it("sample test", function () {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ console.log("Hi, I'm a test!");
37
+ });
38
+ });
39
+ });
40
+ //# sourceMappingURL=sampleTest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "@azure/arm-redisenterprisecache",
3
+ "sdk-type": "mgmt",
3
4
  "author": "Microsoft Corporation",
4
- "description": "RedisEnterpriseManagementClient Library with typescript type definitions for node.js and browser.",
5
- "version": "1.1.1",
5
+ "description": "A generated SDK for RedisEnterpriseManagementClient.",
6
+ "version": "2.0.0-alpha.20220325.1",
7
+ "engines": {
8
+ "node": ">=12.0.0"
9
+ },
6
10
  "dependencies": {
7
- "@azure/ms-rest-azure-js": "^2.1.0",
8
- "@azure/ms-rest-js": "^2.2.0",
9
- "@azure/core-auth": "^1.1.4",
10
- "tslib": "^1.10.0"
11
+ "@azure/core-lro": "^2.2.0",
12
+ "@azure/abort-controller": "^1.0.0",
13
+ "@azure/core-paging": "^1.2.0",
14
+ "@azure/core-client": "^1.0.0",
15
+ "@azure/core-auth": "^1.3.0",
16
+ "@azure/core-rest-pipeline": "^1.1.0",
17
+ "tslib": "^2.2.0"
11
18
  },
12
19
  "keywords": [
13
20
  "node",
@@ -17,17 +24,27 @@
17
24
  "isomorphic"
18
25
  ],
19
26
  "license": "MIT",
20
- "main": "./dist/arm-redisenterprisecache.js",
21
- "module": "./esm/redisEnterpriseManagementClient.js",
22
- "types": "./esm/redisEnterpriseManagementClient.d.ts",
27
+ "main": "./dist/index.js",
28
+ "module": "./dist-esm/src/index.js",
29
+ "types": "./types/arm-redisenterprisecache.d.ts",
23
30
  "devDependencies": {
24
- "typescript": "^3.6.0",
25
- "rollup": "^1.18.0",
26
- "rollup-plugin-node-resolve": "^5.2.0",
31
+ "@microsoft/api-extractor": "^7.18.11",
32
+ "@rollup/plugin-commonjs": "11.0.2",
33
+ "@rollup/plugin-json": "^4.0.0",
34
+ "@rollup/plugin-multi-entry": "^3.0.0",
35
+ "@rollup/plugin-node-resolve": "^8.0.0",
36
+ "mkdirp": "^1.0.4",
37
+ "rollup": "^1.16.3",
27
38
  "rollup-plugin-sourcemaps": "^0.4.2",
28
- "uglify-js": "^3.6.0"
39
+ "typescript": "~4.2.0",
40
+ "uglify-js": "^3.4.9",
41
+ "rimraf": "^3.0.0",
42
+ "@azure/identity": "^2.0.1",
43
+ "@azure-tools/test-recorder": "^1.0.0",
44
+ "mocha": "^7.1.1",
45
+ "cross-env": "^7.0.2"
29
46
  },
30
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/redisenterprise/arm-redisenterprisecache",
47
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redisenterprise/arm-redisenterprisecache",
31
48
  "repository": {
32
49
  "type": "git",
33
50
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
@@ -40,20 +57,62 @@
40
57
  "dist/**/*.js.map",
41
58
  "dist/**/*.d.ts",
42
59
  "dist/**/*.d.ts.map",
43
- "esm/**/*.js",
44
- "esm/**/*.js.map",
45
- "esm/**/*.d.ts",
46
- "esm/**/*.d.ts.map",
60
+ "dist-esm/**/*.js",
61
+ "dist-esm/**/*.js.map",
62
+ "dist-esm/**/*.d.ts",
63
+ "dist-esm/**/*.d.ts.map",
47
64
  "src/**/*.ts",
48
65
  "README.md",
66
+ "LICENSE",
49
67
  "rollup.config.js",
50
- "tsconfig.json"
68
+ "tsconfig.json",
69
+ "review/*",
70
+ "CHANGELOG.md",
71
+ "types/*"
51
72
  ],
52
73
  "scripts": {
53
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
54
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-redisenterprisecache.js.map'\" -o ./dist/arm-redisenterprisecache.min.js ./dist/arm-redisenterprisecache.js",
55
- "prepack": "npm install && npm run build"
74
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
75
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
76
+ "prepack": "npm run build",
77
+ "pack": "npm pack 2>&1",
78
+ "extract-api": "api-extractor run --local",
79
+ "lint": "echo skipped",
80
+ "audit": "echo skipped",
81
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
82
+ "build:node": "echo skipped",
83
+ "build:browser": "echo skipped",
84
+ "build:test": "echo skipped",
85
+ "build:samples": "echo skipped.",
86
+ "check-format": "echo skipped",
87
+ "execute:samples": "echo skipped",
88
+ "format": "echo skipped",
89
+ "test": "npm run integration-test",
90
+ "test:node": "echo skipped",
91
+ "test:browser": "echo skipped",
92
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
93
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
94
+ "unit-test:browser": "echo skipped",
95
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
96
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
97
+ "integration-test:browser": "echo skipped",
98
+ "docs": "echo skipped"
56
99
  },
57
100
  "sideEffects": false,
58
- "autoPublish": true
101
+ "//metadata": {
102
+ "constantPaths": [
103
+ {
104
+ "path": "src/RedisEnterpriseManagementClient.ts",
105
+ "prefix": "packageDetails"
106
+ }
107
+ ]
108
+ },
109
+ "autoPublish": true,
110
+ "//sampleConfiguration": {
111
+ "productName": "",
112
+ "productSlugs": [
113
+ "azure"
114
+ ],
115
+ "disableDocsMs": true,
116
+ "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-redisenterprisecache?view=azure-node-preview"
117
+ }
59
118
  }