@azure/arm-kusto 6.2.0 → 7.0.0

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 (279) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +8198 -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/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/kustoManagementClient.d.ts +30 -0
  13. package/dist-esm/src/kustoManagementClient.d.ts.map +1 -0
  14. package/dist-esm/src/kustoManagementClient.js +63 -0
  15. package/dist-esm/src/kustoManagementClient.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +2023 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +256 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +89 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1710 -1269
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +46 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +308 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/attachedDatabaseConfigurations.d.ts +81 -0
  33. package/dist-esm/src/operations/attachedDatabaseConfigurations.d.ts.map +1 -0
  34. package/dist-esm/src/operations/attachedDatabaseConfigurations.js +342 -0
  35. package/dist-esm/src/operations/attachedDatabaseConfigurations.js.map +1 -0
  36. package/dist-esm/src/operations/clusterPrincipalAssignments.d.ts +81 -0
  37. package/dist-esm/src/operations/clusterPrincipalAssignments.d.ts.map +1 -0
  38. package/dist-esm/src/operations/clusterPrincipalAssignments.js +332 -0
  39. package/dist-esm/src/operations/clusterPrincipalAssignments.js.map +1 -0
  40. package/dist-esm/src/operations/clusters.d.ts +276 -0
  41. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  42. package/dist-esm/src/operations/clusters.js +1317 -0
  43. package/dist-esm/src/operations/clusters.js.map +1 -0
  44. package/dist-esm/src/operations/dataConnections.d.ts +127 -0
  45. package/dist-esm/src/operations/dataConnections.d.ts.map +1 -0
  46. package/dist-esm/src/operations/dataConnections.js +547 -0
  47. package/dist-esm/src/operations/dataConnections.js.map +1 -0
  48. package/dist-esm/src/operations/databasePrincipalAssignments.d.ts +89 -0
  49. package/dist-esm/src/operations/databasePrincipalAssignments.d.ts.map +1 -0
  50. package/dist-esm/src/operations/databasePrincipalAssignments.js +364 -0
  51. package/dist-esm/src/operations/databasePrincipalAssignments.js.map +1 -0
  52. package/dist-esm/src/operations/databases.d.ts +135 -0
  53. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  54. package/dist-esm/src/operations/databases.js +571 -0
  55. package/dist-esm/src/operations/databases.js.map +1 -0
  56. package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
  57. package/dist-esm/src/operations/index.d.ts.map +1 -0
  58. package/dist-esm/src/operations/index.js +20 -0
  59. package/dist-esm/src/operations/index.js.map +1 -0
  60. package/dist-esm/src/operations/managedPrivateEndpoints.d.ts +99 -0
  61. package/dist-esm/src/operations/managedPrivateEndpoints.d.ts.map +1 -0
  62. package/dist-esm/src/operations/managedPrivateEndpoints.js +424 -0
  63. package/dist-esm/src/operations/managedPrivateEndpoints.js.map +1 -0
  64. package/dist-esm/src/operations/operations.d.ts +32 -0
  65. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/operations.js +120 -0
  67. package/dist-esm/src/operations/operations.js.map +1 -0
  68. package/dist-esm/src/operations/operationsResults.d.ts +20 -0
  69. package/dist-esm/src/operations/operationsResults.d.ts.map +1 -0
  70. package/dist-esm/src/operations/operationsResults.js +53 -0
  71. package/dist-esm/src/operations/operationsResults.js.map +1 -0
  72. package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
  73. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operations/privateEndpointConnections.js +309 -0
  75. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operations/privateLinkResources.d.ts +38 -0
  77. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operations/privateLinkResources.js +131 -0
  79. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  80. package/dist-esm/src/operations/scripts.d.ts +109 -0
  81. package/dist-esm/src/operations/scripts.d.ts.map +1 -0
  82. package/dist-esm/src/operations/scripts.js +442 -0
  83. package/dist-esm/src/operations/scripts.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.d.ts +64 -0
  85. package/dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.d.ts.map +1 -0
  86. package/{src/models/operationsResultsMappers.ts → dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.js} +2 -2
  87. package/dist-esm/src/operationsInterfaces/attachedDatabaseConfigurations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.d.ts +64 -0
  89. package/dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.d.ts.map +1 -0
  90. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.js} +2 -8
  91. package/dist-esm/src/operationsInterfaces/clusterPrincipalAssignments.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/clusters.d.ts +201 -0
  93. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  94. package/{esm/models/operationsResultsMappers.js → dist-esm/src/operationsInterfaces/clusters.js} +2 -2
  95. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/dataConnections.d.ts +109 -0
  97. package/dist-esm/src/operationsInterfaces/dataConnections.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/dataConnections.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/dataConnections.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.d.ts +71 -0
  101. package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/databasePrincipalAssignments.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/databases.d.ts +108 -0
  105. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/databases.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
  109. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/index.js +20 -0
  111. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.d.ts +82 -0
  113. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/managedPrivateEndpoints.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  117. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/operationsResults.d.ts +12 -0
  121. package/dist-esm/src/operationsInterfaces/operationsResults.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/operationsResults.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/operationsResults.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  125. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  129. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/scripts.d.ts +91 -0
  133. package/dist-esm/src/operationsInterfaces/scripts.d.ts.map +1 -0
  134. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/scripts.js} +2 -1
  135. package/dist-esm/src/operationsInterfaces/scripts.js.map +1 -0
  136. package/dist-esm/test/kusto-client-test.d.ts +4 -0
  137. package/dist-esm/test/kusto-client-test.d.ts.map +1 -0
  138. package/dist-esm/test/kusto-client-test.js +117 -0
  139. package/dist-esm/test/kusto-client-test.js.map +1 -0
  140. package/package.json +65 -22
  141. package/review/arm-kusto.api.md +1798 -0
  142. package/rollup.config.js +181 -24
  143. package/{esm/models/operationsMappers.js → src/index.ts} +5 -2
  144. package/src/kustoManagementClient.ts +112 -49
  145. package/src/lroImpl.ts +34 -0
  146. package/src/models/index.ts +1853 -2535
  147. package/src/models/mappers.ts +1798 -1302
  148. package/src/models/parameters.ts +264 -44
  149. package/src/operations/attachedDatabaseConfigurations.ts +314 -177
  150. package/src/operations/clusterPrincipalAssignments.ts +300 -264
  151. package/src/operations/clusters.ts +1396 -724
  152. package/src/operations/dataConnections.ts +499 -363
  153. package/src/operations/databasePrincipalAssignments.ts +326 -281
  154. package/src/operations/databases.ts +538 -517
  155. package/src/operations/index.ts +5 -3
  156. package/src/operations/managedPrivateEndpoints.ts +599 -0
  157. package/src/operations/operations.ts +85 -85
  158. package/src/operations/operationsResults.ts +34 -60
  159. package/src/operations/privateEndpointConnections.ts +427 -0
  160. package/src/operations/privateLinkResources.ts +167 -0
  161. package/src/operations/scripts.ts +408 -334
  162. package/src/operationsInterfaces/attachedDatabaseConfigurations.ts +125 -0
  163. package/src/operationsInterfaces/clusterPrincipalAssignments.ts +125 -0
  164. package/src/operationsInterfaces/clusters.ts +371 -0
  165. package/src/operationsInterfaces/dataConnections.ts +218 -0
  166. package/src/operationsInterfaces/databasePrincipalAssignments.ts +139 -0
  167. package/src/operationsInterfaces/databases.ts +212 -0
  168. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +6 -4
  169. package/src/operationsInterfaces/managedPrivateEndpoints.ts +162 -0
  170. package/src/operationsInterfaces/operations.ts +22 -0
  171. package/src/operationsInterfaces/operationsResults.ts +27 -0
  172. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  173. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  174. package/src/operationsInterfaces/scripts.ts +177 -0
  175. package/tsconfig.json +14 -6
  176. package/types/arm-kusto.d.ts +3174 -0
  177. package/types/tsdoc-metadata.json +11 -0
  178. package/dist/arm-kusto.js +0 -5320
  179. package/dist/arm-kusto.js.map +0 -1
  180. package/dist/arm-kusto.min.js +0 -1
  181. package/dist/arm-kusto.min.js.map +0 -1
  182. package/esm/kustoManagementClient.d.ts +0 -33
  183. package/esm/kustoManagementClient.d.ts.map +0 -1
  184. package/esm/kustoManagementClient.js +0 -46
  185. package/esm/kustoManagementClient.js.map +0 -1
  186. package/esm/kustoManagementClientContext.d.ts +0 -23
  187. package/esm/kustoManagementClientContext.d.ts.map +0 -1
  188. package/esm/kustoManagementClientContext.js +0 -62
  189. package/esm/kustoManagementClientContext.js.map +0 -1
  190. package/esm/models/attachedDatabaseConfigurationsMappers.d.ts +0 -2
  191. package/esm/models/attachedDatabaseConfigurationsMappers.d.ts.map +0 -1
  192. package/esm/models/attachedDatabaseConfigurationsMappers.js +0 -9
  193. package/esm/models/attachedDatabaseConfigurationsMappers.js.map +0 -1
  194. package/esm/models/clusterPrincipalAssignmentsMappers.d.ts +0 -2
  195. package/esm/models/clusterPrincipalAssignmentsMappers.d.ts.map +0 -1
  196. package/esm/models/clusterPrincipalAssignmentsMappers.js +0 -9
  197. package/esm/models/clusterPrincipalAssignmentsMappers.js.map +0 -1
  198. package/esm/models/clustersMappers.d.ts +0 -2
  199. package/esm/models/clustersMappers.d.ts.map +0 -1
  200. package/esm/models/clustersMappers.js +0 -9
  201. package/esm/models/clustersMappers.js.map +0 -1
  202. package/esm/models/dataConnectionsMappers.d.ts +0 -2
  203. package/esm/models/dataConnectionsMappers.d.ts.map +0 -1
  204. package/esm/models/dataConnectionsMappers.js +0 -9
  205. package/esm/models/dataConnectionsMappers.js.map +0 -1
  206. package/esm/models/databasePrincipalAssignmentsMappers.d.ts +0 -2
  207. package/esm/models/databasePrincipalAssignmentsMappers.d.ts.map +0 -1
  208. package/esm/models/databasePrincipalAssignmentsMappers.js +0 -9
  209. package/esm/models/databasePrincipalAssignmentsMappers.js.map +0 -1
  210. package/esm/models/databasesMappers.d.ts +0 -2
  211. package/esm/models/databasesMappers.d.ts.map +0 -1
  212. package/esm/models/databasesMappers.js +0 -9
  213. package/esm/models/databasesMappers.js.map +0 -1
  214. package/esm/models/index.d.ts +0 -2705
  215. package/esm/models/index.d.ts.map +0 -1
  216. package/esm/models/index.js.map +0 -1
  217. package/esm/models/mappers.d.ts +0 -75
  218. package/esm/models/mappers.d.ts.map +0 -1
  219. package/esm/models/mappers.js.map +0 -1
  220. package/esm/models/operationsMappers.d.ts +0 -2
  221. package/esm/models/operationsMappers.d.ts.map +0 -1
  222. package/esm/models/operationsMappers.js.map +0 -1
  223. package/esm/models/operationsResultsMappers.d.ts +0 -2
  224. package/esm/models/operationsResultsMappers.d.ts.map +0 -1
  225. package/esm/models/operationsResultsMappers.js.map +0 -1
  226. package/esm/models/parameters.d.ts +0 -17
  227. package/esm/models/parameters.d.ts.map +0 -1
  228. package/esm/models/parameters.js +0 -158
  229. package/esm/models/parameters.js.map +0 -1
  230. package/esm/models/scriptsMappers.d.ts +0 -2
  231. package/esm/models/scriptsMappers.d.ts.map +0 -1
  232. package/esm/models/scriptsMappers.js +0 -9
  233. package/esm/models/scriptsMappers.js.map +0 -1
  234. package/esm/operations/attachedDatabaseConfigurations.d.ts +0 -97
  235. package/esm/operations/attachedDatabaseConfigurations.d.ts.map +0 -1
  236. package/esm/operations/attachedDatabaseConfigurations.js +0 -188
  237. package/esm/operations/attachedDatabaseConfigurations.js.map +0 -1
  238. package/esm/operations/clusterPrincipalAssignments.d.ts +0 -121
  239. package/esm/operations/clusterPrincipalAssignments.d.ts.map +0 -1
  240. package/esm/operations/clusterPrincipalAssignments.js +0 -213
  241. package/esm/operations/clusterPrincipalAssignments.js.map +0 -1
  242. package/esm/operations/clusters.d.ts +0 -323
  243. package/esm/operations/clusters.d.ts.map +0 -1
  244. package/esm/operations/clusters.js +0 -620
  245. package/esm/operations/clusters.js.map +0 -1
  246. package/esm/operations/dataConnections.d.ts +0 -176
  247. package/esm/operations/dataConnections.d.ts.map +0 -1
  248. package/esm/operations/dataConnections.js +0 -359
  249. package/esm/operations/dataConnections.js.map +0 -1
  250. package/esm/operations/databasePrincipalAssignments.d.ts +0 -134
  251. package/esm/operations/databasePrincipalAssignments.d.ts.map +0 -1
  252. package/esm/operations/databasePrincipalAssignments.js +0 -235
  253. package/esm/operations/databasePrincipalAssignments.js.map +0 -1
  254. package/esm/operations/databases.d.ts +0 -219
  255. package/esm/operations/databases.d.ts.map +0 -1
  256. package/esm/operations/databases.js +0 -374
  257. package/esm/operations/databases.js.map +0 -1
  258. package/esm/operations/index.d.ts.map +0 -1
  259. package/esm/operations/index.js.map +0 -1
  260. package/esm/operations/operations.d.ts +0 -46
  261. package/esm/operations/operations.d.ts.map +0 -1
  262. package/esm/operations/operations.js +0 -69
  263. package/esm/operations/operations.js.map +0 -1
  264. package/esm/operations/operationsResults.d.ts +0 -34
  265. package/esm/operations/operationsResults.d.ts.map +0 -1
  266. package/esm/operations/operationsResults.js +0 -49
  267. package/esm/operations/operationsResults.js.map +0 -1
  268. package/esm/operations/scripts.d.ts +0 -156
  269. package/esm/operations/scripts.d.ts.map +0 -1
  270. package/esm/operations/scripts.js +0 -300
  271. package/esm/operations/scripts.js.map +0 -1
  272. package/src/kustoManagementClientContext.ts +0 -75
  273. package/src/models/attachedDatabaseConfigurationsMappers.ts +0 -43
  274. package/src/models/clusterPrincipalAssignmentsMappers.ts +0 -45
  275. package/src/models/clustersMappers.ts +0 -54
  276. package/src/models/dataConnectionsMappers.ts +0 -48
  277. package/src/models/databasePrincipalAssignmentsMappers.ts +0 -45
  278. package/src/models/databasesMappers.ts +0 -48
  279. package/src/models/scriptsMappers.ts +0 -45
@@ -0,0 +1,218 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ DataConnectionUnion,
13
+ DataConnectionsListByDatabaseOptionalParams,
14
+ DataConnectionValidation,
15
+ DataConnectionsDataConnectionValidationOptionalParams,
16
+ DataConnectionsDataConnectionValidationResponse,
17
+ DataConnectionCheckNameRequest,
18
+ DataConnectionsCheckNameAvailabilityOptionalParams,
19
+ DataConnectionsCheckNameAvailabilityResponse,
20
+ DataConnectionsGetOptionalParams,
21
+ DataConnectionsGetResponse,
22
+ DataConnectionsCreateOrUpdateOptionalParams,
23
+ DataConnectionsCreateOrUpdateResponse,
24
+ DataConnectionsUpdateOptionalParams,
25
+ DataConnectionsUpdateResponse,
26
+ DataConnectionsDeleteOptionalParams
27
+ } from "../models";
28
+
29
+ /// <reference lib="esnext.asynciterable" />
30
+ /** Interface representing a DataConnections. */
31
+ export interface DataConnections {
32
+ /**
33
+ * Returns the list of data connections of the given Kusto database.
34
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
35
+ * @param clusterName The name of the Kusto cluster.
36
+ * @param databaseName The name of the database in the Kusto cluster.
37
+ * @param options The options parameters.
38
+ */
39
+ listByDatabase(
40
+ resourceGroupName: string,
41
+ clusterName: string,
42
+ databaseName: string,
43
+ options?: DataConnectionsListByDatabaseOptionalParams
44
+ ): PagedAsyncIterableIterator<DataConnectionUnion>;
45
+ /**
46
+ * Checks that the data connection parameters are valid.
47
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
48
+ * @param clusterName The name of the Kusto cluster.
49
+ * @param databaseName The name of the database in the Kusto cluster.
50
+ * @param parameters The data connection parameters supplied to the CreateOrUpdate operation.
51
+ * @param options The options parameters.
52
+ */
53
+ beginDataConnectionValidation(
54
+ resourceGroupName: string,
55
+ clusterName: string,
56
+ databaseName: string,
57
+ parameters: DataConnectionValidation,
58
+ options?: DataConnectionsDataConnectionValidationOptionalParams
59
+ ): Promise<
60
+ PollerLike<
61
+ PollOperationState<DataConnectionsDataConnectionValidationResponse>,
62
+ DataConnectionsDataConnectionValidationResponse
63
+ >
64
+ >;
65
+ /**
66
+ * Checks that the data connection parameters are valid.
67
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
68
+ * @param clusterName The name of the Kusto cluster.
69
+ * @param databaseName The name of the database in the Kusto cluster.
70
+ * @param parameters The data connection parameters supplied to the CreateOrUpdate operation.
71
+ * @param options The options parameters.
72
+ */
73
+ beginDataConnectionValidationAndWait(
74
+ resourceGroupName: string,
75
+ clusterName: string,
76
+ databaseName: string,
77
+ parameters: DataConnectionValidation,
78
+ options?: DataConnectionsDataConnectionValidationOptionalParams
79
+ ): Promise<DataConnectionsDataConnectionValidationResponse>;
80
+ /**
81
+ * Checks that the data connection name is valid and is not already in use.
82
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
83
+ * @param clusterName The name of the Kusto cluster.
84
+ * @param databaseName The name of the database in the Kusto cluster.
85
+ * @param dataConnectionName The name of the data connection.
86
+ * @param options The options parameters.
87
+ */
88
+ checkNameAvailability(
89
+ resourceGroupName: string,
90
+ clusterName: string,
91
+ databaseName: string,
92
+ dataConnectionName: DataConnectionCheckNameRequest,
93
+ options?: DataConnectionsCheckNameAvailabilityOptionalParams
94
+ ): Promise<DataConnectionsCheckNameAvailabilityResponse>;
95
+ /**
96
+ * Returns a data connection.
97
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
98
+ * @param clusterName The name of the Kusto cluster.
99
+ * @param databaseName The name of the database in the Kusto cluster.
100
+ * @param dataConnectionName The name of the data connection.
101
+ * @param options The options parameters.
102
+ */
103
+ get(
104
+ resourceGroupName: string,
105
+ clusterName: string,
106
+ databaseName: string,
107
+ dataConnectionName: string,
108
+ options?: DataConnectionsGetOptionalParams
109
+ ): Promise<DataConnectionsGetResponse>;
110
+ /**
111
+ * Creates or updates a data connection.
112
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
113
+ * @param clusterName The name of the Kusto cluster.
114
+ * @param databaseName The name of the database in the Kusto cluster.
115
+ * @param dataConnectionName The name of the data connection.
116
+ * @param parameters The data connection parameters supplied to the CreateOrUpdate operation.
117
+ * @param options The options parameters.
118
+ */
119
+ beginCreateOrUpdate(
120
+ resourceGroupName: string,
121
+ clusterName: string,
122
+ databaseName: string,
123
+ dataConnectionName: string,
124
+ parameters: DataConnectionUnion,
125
+ options?: DataConnectionsCreateOrUpdateOptionalParams
126
+ ): Promise<
127
+ PollerLike<
128
+ PollOperationState<DataConnectionsCreateOrUpdateResponse>,
129
+ DataConnectionsCreateOrUpdateResponse
130
+ >
131
+ >;
132
+ /**
133
+ * Creates or updates a data connection.
134
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
135
+ * @param clusterName The name of the Kusto cluster.
136
+ * @param databaseName The name of the database in the Kusto cluster.
137
+ * @param dataConnectionName The name of the data connection.
138
+ * @param parameters The data connection parameters supplied to the CreateOrUpdate operation.
139
+ * @param options The options parameters.
140
+ */
141
+ beginCreateOrUpdateAndWait(
142
+ resourceGroupName: string,
143
+ clusterName: string,
144
+ databaseName: string,
145
+ dataConnectionName: string,
146
+ parameters: DataConnectionUnion,
147
+ options?: DataConnectionsCreateOrUpdateOptionalParams
148
+ ): Promise<DataConnectionsCreateOrUpdateResponse>;
149
+ /**
150
+ * Updates a data connection.
151
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
152
+ * @param clusterName The name of the Kusto cluster.
153
+ * @param databaseName The name of the database in the Kusto cluster.
154
+ * @param dataConnectionName The name of the data connection.
155
+ * @param parameters The data connection parameters supplied to the Update operation.
156
+ * @param options The options parameters.
157
+ */
158
+ beginUpdate(
159
+ resourceGroupName: string,
160
+ clusterName: string,
161
+ databaseName: string,
162
+ dataConnectionName: string,
163
+ parameters: DataConnectionUnion,
164
+ options?: DataConnectionsUpdateOptionalParams
165
+ ): Promise<
166
+ PollerLike<
167
+ PollOperationState<DataConnectionsUpdateResponse>,
168
+ DataConnectionsUpdateResponse
169
+ >
170
+ >;
171
+ /**
172
+ * Updates a data connection.
173
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
174
+ * @param clusterName The name of the Kusto cluster.
175
+ * @param databaseName The name of the database in the Kusto cluster.
176
+ * @param dataConnectionName The name of the data connection.
177
+ * @param parameters The data connection parameters supplied to the Update operation.
178
+ * @param options The options parameters.
179
+ */
180
+ beginUpdateAndWait(
181
+ resourceGroupName: string,
182
+ clusterName: string,
183
+ databaseName: string,
184
+ dataConnectionName: string,
185
+ parameters: DataConnectionUnion,
186
+ options?: DataConnectionsUpdateOptionalParams
187
+ ): Promise<DataConnectionsUpdateResponse>;
188
+ /**
189
+ * Deletes the data connection with the given name.
190
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
191
+ * @param clusterName The name of the Kusto cluster.
192
+ * @param databaseName The name of the database in the Kusto cluster.
193
+ * @param dataConnectionName The name of the data connection.
194
+ * @param options The options parameters.
195
+ */
196
+ beginDelete(
197
+ resourceGroupName: string,
198
+ clusterName: string,
199
+ databaseName: string,
200
+ dataConnectionName: string,
201
+ options?: DataConnectionsDeleteOptionalParams
202
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
203
+ /**
204
+ * Deletes the data connection with the given name.
205
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
206
+ * @param clusterName The name of the Kusto cluster.
207
+ * @param databaseName The name of the database in the Kusto cluster.
208
+ * @param dataConnectionName The name of the data connection.
209
+ * @param options The options parameters.
210
+ */
211
+ beginDeleteAndWait(
212
+ resourceGroupName: string,
213
+ clusterName: string,
214
+ databaseName: string,
215
+ dataConnectionName: string,
216
+ options?: DataConnectionsDeleteOptionalParams
217
+ ): Promise<void>;
218
+ }
@@ -0,0 +1,139 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ DatabasePrincipalAssignment,
13
+ DatabasePrincipalAssignmentsListOptionalParams,
14
+ DatabasePrincipalAssignmentCheckNameRequest,
15
+ DatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams,
16
+ DatabasePrincipalAssignmentsCheckNameAvailabilityResponse,
17
+ DatabasePrincipalAssignmentsGetOptionalParams,
18
+ DatabasePrincipalAssignmentsGetResponse,
19
+ DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams,
20
+ DatabasePrincipalAssignmentsCreateOrUpdateResponse,
21
+ DatabasePrincipalAssignmentsDeleteOptionalParams
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a DatabasePrincipalAssignments. */
26
+ export interface DatabasePrincipalAssignments {
27
+ /**
28
+ * Lists all Kusto cluster database principalAssignments.
29
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
30
+ * @param clusterName The name of the Kusto cluster.
31
+ * @param databaseName The name of the database in the Kusto cluster.
32
+ * @param options The options parameters.
33
+ */
34
+ list(
35
+ resourceGroupName: string,
36
+ clusterName: string,
37
+ databaseName: string,
38
+ options?: DatabasePrincipalAssignmentsListOptionalParams
39
+ ): PagedAsyncIterableIterator<DatabasePrincipalAssignment>;
40
+ /**
41
+ * Checks that the database principal assignment is valid and is not already in use.
42
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
43
+ * @param clusterName The name of the Kusto cluster.
44
+ * @param databaseName The name of the database in the Kusto cluster.
45
+ * @param principalAssignmentName The name of the resource.
46
+ * @param options The options parameters.
47
+ */
48
+ checkNameAvailability(
49
+ resourceGroupName: string,
50
+ clusterName: string,
51
+ databaseName: string,
52
+ principalAssignmentName: DatabasePrincipalAssignmentCheckNameRequest,
53
+ options?: DatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams
54
+ ): Promise<DatabasePrincipalAssignmentsCheckNameAvailabilityResponse>;
55
+ /**
56
+ * Gets a Kusto cluster database principalAssignment.
57
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
58
+ * @param clusterName The name of the Kusto cluster.
59
+ * @param databaseName The name of the database in the Kusto cluster.
60
+ * @param principalAssignmentName The name of the Kusto principalAssignment.
61
+ * @param options The options parameters.
62
+ */
63
+ get(
64
+ resourceGroupName: string,
65
+ clusterName: string,
66
+ databaseName: string,
67
+ principalAssignmentName: string,
68
+ options?: DatabasePrincipalAssignmentsGetOptionalParams
69
+ ): Promise<DatabasePrincipalAssignmentsGetResponse>;
70
+ /**
71
+ * Creates a Kusto cluster database principalAssignment.
72
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
73
+ * @param clusterName The name of the Kusto cluster.
74
+ * @param databaseName The name of the database in the Kusto cluster.
75
+ * @param principalAssignmentName The name of the Kusto principalAssignment.
76
+ * @param parameters The Kusto principalAssignments parameters supplied for the operation.
77
+ * @param options The options parameters.
78
+ */
79
+ beginCreateOrUpdate(
80
+ resourceGroupName: string,
81
+ clusterName: string,
82
+ databaseName: string,
83
+ principalAssignmentName: string,
84
+ parameters: DatabasePrincipalAssignment,
85
+ options?: DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams
86
+ ): Promise<
87
+ PollerLike<
88
+ PollOperationState<DatabasePrincipalAssignmentsCreateOrUpdateResponse>,
89
+ DatabasePrincipalAssignmentsCreateOrUpdateResponse
90
+ >
91
+ >;
92
+ /**
93
+ * Creates a Kusto cluster database principalAssignment.
94
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
95
+ * @param clusterName The name of the Kusto cluster.
96
+ * @param databaseName The name of the database in the Kusto cluster.
97
+ * @param principalAssignmentName The name of the Kusto principalAssignment.
98
+ * @param parameters The Kusto principalAssignments parameters supplied for the operation.
99
+ * @param options The options parameters.
100
+ */
101
+ beginCreateOrUpdateAndWait(
102
+ resourceGroupName: string,
103
+ clusterName: string,
104
+ databaseName: string,
105
+ principalAssignmentName: string,
106
+ parameters: DatabasePrincipalAssignment,
107
+ options?: DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams
108
+ ): Promise<DatabasePrincipalAssignmentsCreateOrUpdateResponse>;
109
+ /**
110
+ * Deletes a Kusto principalAssignment.
111
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
112
+ * @param clusterName The name of the Kusto cluster.
113
+ * @param databaseName The name of the database in the Kusto cluster.
114
+ * @param principalAssignmentName The name of the Kusto principalAssignment.
115
+ * @param options The options parameters.
116
+ */
117
+ beginDelete(
118
+ resourceGroupName: string,
119
+ clusterName: string,
120
+ databaseName: string,
121
+ principalAssignmentName: string,
122
+ options?: DatabasePrincipalAssignmentsDeleteOptionalParams
123
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
124
+ /**
125
+ * Deletes a Kusto principalAssignment.
126
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
127
+ * @param clusterName The name of the Kusto cluster.
128
+ * @param databaseName The name of the database in the Kusto cluster.
129
+ * @param principalAssignmentName The name of the Kusto principalAssignment.
130
+ * @param options The options parameters.
131
+ */
132
+ beginDeleteAndWait(
133
+ resourceGroupName: string,
134
+ clusterName: string,
135
+ databaseName: string,
136
+ principalAssignmentName: string,
137
+ options?: DatabasePrincipalAssignmentsDeleteOptionalParams
138
+ ): Promise<void>;
139
+ }
@@ -0,0 +1,212 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ DatabaseUnion,
13
+ DatabasesListByClusterOptionalParams,
14
+ DatabasePrincipal,
15
+ DatabasesListPrincipalsOptionalParams,
16
+ CheckNameRequest,
17
+ DatabasesCheckNameAvailabilityOptionalParams,
18
+ DatabasesCheckNameAvailabilityResponse,
19
+ DatabasesGetOptionalParams,
20
+ DatabasesGetResponse,
21
+ DatabasesCreateOrUpdateOptionalParams,
22
+ DatabasesCreateOrUpdateResponse,
23
+ DatabasesUpdateOptionalParams,
24
+ DatabasesUpdateResponse,
25
+ DatabasesDeleteOptionalParams,
26
+ DatabasePrincipalListRequest,
27
+ DatabasesAddPrincipalsOptionalParams,
28
+ DatabasesAddPrincipalsResponse,
29
+ DatabasesRemovePrincipalsOptionalParams,
30
+ DatabasesRemovePrincipalsResponse
31
+ } from "../models";
32
+
33
+ /// <reference lib="esnext.asynciterable" />
34
+ /** Interface representing a Databases. */
35
+ export interface Databases {
36
+ /**
37
+ * Returns the list of databases of the given Kusto cluster.
38
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
39
+ * @param clusterName The name of the Kusto cluster.
40
+ * @param options The options parameters.
41
+ */
42
+ listByCluster(
43
+ resourceGroupName: string,
44
+ clusterName: string,
45
+ options?: DatabasesListByClusterOptionalParams
46
+ ): PagedAsyncIterableIterator<DatabaseUnion>;
47
+ /**
48
+ * Returns a list of database principals of the given Kusto cluster and database.
49
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
50
+ * @param clusterName The name of the Kusto cluster.
51
+ * @param databaseName The name of the database in the Kusto cluster.
52
+ * @param options The options parameters.
53
+ */
54
+ listPrincipals(
55
+ resourceGroupName: string,
56
+ clusterName: string,
57
+ databaseName: string,
58
+ options?: DatabasesListPrincipalsOptionalParams
59
+ ): PagedAsyncIterableIterator<DatabasePrincipal>;
60
+ /**
61
+ * Checks that the databases resource name is valid and is not already in use.
62
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
63
+ * @param clusterName The name of the Kusto cluster.
64
+ * @param resourceName The name of the resource.
65
+ * @param options The options parameters.
66
+ */
67
+ checkNameAvailability(
68
+ resourceGroupName: string,
69
+ clusterName: string,
70
+ resourceName: CheckNameRequest,
71
+ options?: DatabasesCheckNameAvailabilityOptionalParams
72
+ ): Promise<DatabasesCheckNameAvailabilityResponse>;
73
+ /**
74
+ * Returns a database.
75
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
76
+ * @param clusterName The name of the Kusto cluster.
77
+ * @param databaseName The name of the database in the Kusto cluster.
78
+ * @param options The options parameters.
79
+ */
80
+ get(
81
+ resourceGroupName: string,
82
+ clusterName: string,
83
+ databaseName: string,
84
+ options?: DatabasesGetOptionalParams
85
+ ): Promise<DatabasesGetResponse>;
86
+ /**
87
+ * Creates or updates a database.
88
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
89
+ * @param clusterName The name of the Kusto cluster.
90
+ * @param databaseName The name of the database in the Kusto cluster.
91
+ * @param parameters The database parameters supplied to the CreateOrUpdate operation.
92
+ * @param options The options parameters.
93
+ */
94
+ beginCreateOrUpdate(
95
+ resourceGroupName: string,
96
+ clusterName: string,
97
+ databaseName: string,
98
+ parameters: DatabaseUnion,
99
+ options?: DatabasesCreateOrUpdateOptionalParams
100
+ ): Promise<
101
+ PollerLike<
102
+ PollOperationState<DatabasesCreateOrUpdateResponse>,
103
+ DatabasesCreateOrUpdateResponse
104
+ >
105
+ >;
106
+ /**
107
+ * Creates or updates a database.
108
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
109
+ * @param clusterName The name of the Kusto cluster.
110
+ * @param databaseName The name of the database in the Kusto cluster.
111
+ * @param parameters The database parameters supplied to the CreateOrUpdate operation.
112
+ * @param options The options parameters.
113
+ */
114
+ beginCreateOrUpdateAndWait(
115
+ resourceGroupName: string,
116
+ clusterName: string,
117
+ databaseName: string,
118
+ parameters: DatabaseUnion,
119
+ options?: DatabasesCreateOrUpdateOptionalParams
120
+ ): Promise<DatabasesCreateOrUpdateResponse>;
121
+ /**
122
+ * Updates a database.
123
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
124
+ * @param clusterName The name of the Kusto cluster.
125
+ * @param databaseName The name of the database in the Kusto cluster.
126
+ * @param parameters The database parameters supplied to the Update operation.
127
+ * @param options The options parameters.
128
+ */
129
+ beginUpdate(
130
+ resourceGroupName: string,
131
+ clusterName: string,
132
+ databaseName: string,
133
+ parameters: DatabaseUnion,
134
+ options?: DatabasesUpdateOptionalParams
135
+ ): Promise<
136
+ PollerLike<
137
+ PollOperationState<DatabasesUpdateResponse>,
138
+ DatabasesUpdateResponse
139
+ >
140
+ >;
141
+ /**
142
+ * Updates a database.
143
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
144
+ * @param clusterName The name of the Kusto cluster.
145
+ * @param databaseName The name of the database in the Kusto cluster.
146
+ * @param parameters The database parameters supplied to the Update operation.
147
+ * @param options The options parameters.
148
+ */
149
+ beginUpdateAndWait(
150
+ resourceGroupName: string,
151
+ clusterName: string,
152
+ databaseName: string,
153
+ parameters: DatabaseUnion,
154
+ options?: DatabasesUpdateOptionalParams
155
+ ): Promise<DatabasesUpdateResponse>;
156
+ /**
157
+ * Deletes the database with the given name.
158
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
159
+ * @param clusterName The name of the Kusto cluster.
160
+ * @param databaseName The name of the database in the Kusto cluster.
161
+ * @param options The options parameters.
162
+ */
163
+ beginDelete(
164
+ resourceGroupName: string,
165
+ clusterName: string,
166
+ databaseName: string,
167
+ options?: DatabasesDeleteOptionalParams
168
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
169
+ /**
170
+ * Deletes the database with the given name.
171
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
172
+ * @param clusterName The name of the Kusto cluster.
173
+ * @param databaseName The name of the database in the Kusto cluster.
174
+ * @param options The options parameters.
175
+ */
176
+ beginDeleteAndWait(
177
+ resourceGroupName: string,
178
+ clusterName: string,
179
+ databaseName: string,
180
+ options?: DatabasesDeleteOptionalParams
181
+ ): Promise<void>;
182
+ /**
183
+ * Add Database principals permissions.
184
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
185
+ * @param clusterName The name of the Kusto cluster.
186
+ * @param databaseName The name of the database in the Kusto cluster.
187
+ * @param databasePrincipalsToAdd List of database principals to add.
188
+ * @param options The options parameters.
189
+ */
190
+ addPrincipals(
191
+ resourceGroupName: string,
192
+ clusterName: string,
193
+ databaseName: string,
194
+ databasePrincipalsToAdd: DatabasePrincipalListRequest,
195
+ options?: DatabasesAddPrincipalsOptionalParams
196
+ ): Promise<DatabasesAddPrincipalsResponse>;
197
+ /**
198
+ * Remove Database principals permissions.
199
+ * @param resourceGroupName The name of the resource group containing the Kusto cluster.
200
+ * @param clusterName The name of the Kusto cluster.
201
+ * @param databaseName The name of the database in the Kusto cluster.
202
+ * @param databasePrincipalsToRemove List of database principals to remove.
203
+ * @param options The options parameters.
204
+ */
205
+ removePrincipals(
206
+ resourceGroupName: string,
207
+ clusterName: string,
208
+ databaseName: string,
209
+ databasePrincipalsToRemove: DatabasePrincipalListRequest,
210
+ options?: DatabasesRemovePrincipalsOptionalParams
211
+ ): Promise<DatabasesRemovePrincipalsResponse>;
212
+ }
@@ -3,16 +3,18 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
8
+
9
9
  export * from "./clusters";
10
10
  export * from "./clusterPrincipalAssignments";
11
11
  export * from "./databases";
12
+ export * from "./attachedDatabaseConfigurations";
13
+ export * from "./managedPrivateEndpoints";
12
14
  export * from "./databasePrincipalAssignments";
13
15
  export * from "./scripts";
14
- export * from "./attachedDatabaseConfigurations";
16
+ export * from "./privateEndpointConnections";
17
+ export * from "./privateLinkResources";
15
18
  export * from "./dataConnections";
16
19
  export * from "./operations";
17
20
  export * from "./operationsResults";
18
- //# sourceMappingURL=index.js.map