@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
@@ -1,188 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/attachedDatabaseConfigurationsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a AttachedDatabaseConfigurations. */
14
- var AttachedDatabaseConfigurations = /** @class */ (function () {
15
- /**
16
- * Create a AttachedDatabaseConfigurations.
17
- * @param {KustoManagementClientContext} client Reference to the service client.
18
- */
19
- function AttachedDatabaseConfigurations(client) {
20
- this.client = client;
21
- }
22
- AttachedDatabaseConfigurations.prototype.listByCluster = function (resourceGroupName, clusterName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- clusterName: clusterName,
26
- options: options
27
- }, listByClusterOperationSpec, callback);
28
- };
29
- AttachedDatabaseConfigurations.prototype.get = function (resourceGroupName, clusterName, attachedDatabaseConfigurationName, options, callback) {
30
- return this.client.sendOperationRequest({
31
- resourceGroupName: resourceGroupName,
32
- clusterName: clusterName,
33
- attachedDatabaseConfigurationName: attachedDatabaseConfigurationName,
34
- options: options
35
- }, getOperationSpec, callback);
36
- };
37
- /**
38
- * Creates or updates an attached database configuration.
39
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
40
- * @param clusterName The name of the Kusto cluster.
41
- * @param attachedDatabaseConfigurationName The name of the attached database configuration.
42
- * @param parameters The database parameters supplied to the CreateOrUpdate operation.
43
- * @param [options] The optional parameters
44
- * @returns Promise<Models.AttachedDatabaseConfigurationsCreateOrUpdateResponse>
45
- */
46
- AttachedDatabaseConfigurations.prototype.createOrUpdate = function (resourceGroupName, clusterName, attachedDatabaseConfigurationName, parameters, options) {
47
- return this.beginCreateOrUpdate(resourceGroupName, clusterName, attachedDatabaseConfigurationName, parameters, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
48
- };
49
- /**
50
- * Deletes the attached database configuration with the given name.
51
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
52
- * @param clusterName The name of the Kusto cluster.
53
- * @param attachedDatabaseConfigurationName The name of the attached database configuration.
54
- * @param [options] The optional parameters
55
- * @returns Promise<msRest.RestResponse>
56
- */
57
- AttachedDatabaseConfigurations.prototype.deleteMethod = function (resourceGroupName, clusterName, attachedDatabaseConfigurationName, options) {
58
- return this.beginDeleteMethod(resourceGroupName, clusterName, attachedDatabaseConfigurationName, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
59
- };
60
- /**
61
- * Creates or updates an attached database configuration.
62
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
63
- * @param clusterName The name of the Kusto cluster.
64
- * @param attachedDatabaseConfigurationName The name of the attached database configuration.
65
- * @param parameters The database parameters supplied to the CreateOrUpdate operation.
66
- * @param [options] The optional parameters
67
- * @returns Promise<msRestAzure.LROPoller>
68
- */
69
- AttachedDatabaseConfigurations.prototype.beginCreateOrUpdate = function (resourceGroupName, clusterName, attachedDatabaseConfigurationName, parameters, options) {
70
- return this.client.sendLRORequest({
71
- resourceGroupName: resourceGroupName,
72
- clusterName: clusterName,
73
- attachedDatabaseConfigurationName: attachedDatabaseConfigurationName,
74
- parameters: parameters,
75
- options: options
76
- }, beginCreateOrUpdateOperationSpec, options);
77
- };
78
- /**
79
- * Deletes the attached database configuration with the given name.
80
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
81
- * @param clusterName The name of the Kusto cluster.
82
- * @param attachedDatabaseConfigurationName The name of the attached database configuration.
83
- * @param [options] The optional parameters
84
- * @returns Promise<msRestAzure.LROPoller>
85
- */
86
- AttachedDatabaseConfigurations.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, attachedDatabaseConfigurationName, options) {
87
- return this.client.sendLRORequest({
88
- resourceGroupName: resourceGroupName,
89
- clusterName: clusterName,
90
- attachedDatabaseConfigurationName: attachedDatabaseConfigurationName,
91
- options: options
92
- }, beginDeleteMethodOperationSpec, options);
93
- };
94
- return AttachedDatabaseConfigurations;
95
- }());
96
- export { AttachedDatabaseConfigurations };
97
- // Operation Specifications
98
- var serializer = new msRest.Serializer(Mappers);
99
- var listByClusterOperationSpec = {
100
- httpMethod: "GET",
101
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations",
102
- urlParameters: [Parameters.resourceGroupName, Parameters.clusterName, Parameters.subscriptionId],
103
- queryParameters: [Parameters.apiVersion],
104
- headerParameters: [Parameters.acceptLanguage],
105
- responses: {
106
- 200: {
107
- bodyMapper: Mappers.AttachedDatabaseConfigurationListResult
108
- },
109
- default: {
110
- bodyMapper: Mappers.CloudError
111
- }
112
- },
113
- serializer: serializer
114
- };
115
- var getOperationSpec = {
116
- httpMethod: "GET",
117
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
118
- urlParameters: [
119
- Parameters.resourceGroupName,
120
- Parameters.clusterName,
121
- Parameters.attachedDatabaseConfigurationName,
122
- Parameters.subscriptionId
123
- ],
124
- queryParameters: [Parameters.apiVersion],
125
- headerParameters: [Parameters.acceptLanguage],
126
- responses: {
127
- 200: {
128
- bodyMapper: Mappers.AttachedDatabaseConfiguration
129
- },
130
- default: {
131
- bodyMapper: Mappers.CloudError
132
- }
133
- },
134
- serializer: serializer
135
- };
136
- var beginCreateOrUpdateOperationSpec = {
137
- httpMethod: "PUT",
138
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
139
- urlParameters: [
140
- Parameters.resourceGroupName,
141
- Parameters.clusterName,
142
- Parameters.attachedDatabaseConfigurationName,
143
- Parameters.subscriptionId
144
- ],
145
- queryParameters: [Parameters.apiVersion],
146
- headerParameters: [Parameters.acceptLanguage],
147
- requestBody: {
148
- parameterPath: "parameters",
149
- mapper: __assign(__assign({}, Mappers.AttachedDatabaseConfiguration), { required: true })
150
- },
151
- responses: {
152
- 200: {
153
- bodyMapper: Mappers.AttachedDatabaseConfiguration
154
- },
155
- 201: {
156
- bodyMapper: Mappers.AttachedDatabaseConfiguration
157
- },
158
- 202: {
159
- bodyMapper: Mappers.AttachedDatabaseConfiguration
160
- },
161
- default: {
162
- bodyMapper: Mappers.CloudError
163
- }
164
- },
165
- serializer: serializer
166
- };
167
- var beginDeleteMethodOperationSpec = {
168
- httpMethod: "DELETE",
169
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
170
- urlParameters: [
171
- Parameters.resourceGroupName,
172
- Parameters.clusterName,
173
- Parameters.attachedDatabaseConfigurationName,
174
- Parameters.subscriptionId
175
- ],
176
- queryParameters: [Parameters.apiVersion],
177
- headerParameters: [Parameters.acceptLanguage],
178
- responses: {
179
- 200: {},
180
- 202: {},
181
- 204: {},
182
- default: {
183
- bodyMapper: Mappers.CloudError
184
- }
185
- },
186
- serializer: serializer
187
- };
188
- //# sourceMappingURL=attachedDatabaseConfigurations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachedDatabaseConfigurations.js","sourceRoot":"","sources":["../../src/operations/attachedDatabaseConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,iDAAiD,CAAC;AAC3E,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,2DAA2D;AAC3D;IAGE;;;OAGG;IACH,wCAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoCD,sDAAa,GAAb,UACE,iBAAyB,EACzB,WAAmB,EACnB,OAE0E,EAC1E,QAAiF;QAEjF,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,0BAA0B,EAC1B,QAAQ,CAC8D,CAAC;IAC3E,CAAC;IA0CD,4CAAG,GAAH,UACE,iBAAyB,EACzB,WAAmB,EACnB,iCAAyC,EACzC,OAEgE,EAChE,QAAuE;QAEvE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,iCAAiC,mCAAA;YACjC,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CACoD,CAAC;IACjE,CAAC;IAED;;;;;;;;OAQG;IACH,uDAAc,GAAd,UACE,iBAAyB,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,CAAC,cAAc,CAAC;IAC7C,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,6BAA6B,KACxC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,8BAA8B,GAAyB;IAC3D,UAAU,EAAE,QAAQ;IACpB,IAAI,EACF,uLAAuL;IACzL,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,iCAAiC;QAC5C,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7C,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,121 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { KustoManagementClientContext } from "../kustoManagementClientContext";
5
- /** Class representing a ClusterPrincipalAssignments. */
6
- export declare class ClusterPrincipalAssignments {
7
- private readonly client;
8
- /**
9
- * Create a ClusterPrincipalAssignments.
10
- * @param {KustoManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: KustoManagementClientContext);
13
- /**
14
- * Checks that the principal assignment name is valid and is not already in use.
15
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
16
- * @param clusterName The name of the Kusto cluster.
17
- * @param principalAssignmentName The name of the principal assignment.
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.ClusterPrincipalAssignmentsCheckNameAvailabilityResponse>
20
- */
21
- checkNameAvailability(resourceGroupName: string, clusterName: string, principalAssignmentName: Models.ClusterPrincipalAssignmentCheckNameRequest, options?: msRest.RequestOptionsBase): Promise<Models.ClusterPrincipalAssignmentsCheckNameAvailabilityResponse>;
22
- /**
23
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
24
- * @param clusterName The name of the Kusto cluster.
25
- * @param principalAssignmentName The name of the principal assignment.
26
- * @param callback The callback
27
- */
28
- checkNameAvailability(resourceGroupName: string, clusterName: string, principalAssignmentName: Models.ClusterPrincipalAssignmentCheckNameRequest, callback: msRest.ServiceCallback<Models.CheckNameResult>): void;
29
- /**
30
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
31
- * @param clusterName The name of the Kusto cluster.
32
- * @param principalAssignmentName The name of the principal assignment.
33
- * @param options The optional parameters
34
- * @param callback The callback
35
- */
36
- checkNameAvailability(resourceGroupName: string, clusterName: string, principalAssignmentName: Models.ClusterPrincipalAssignmentCheckNameRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameResult>): void;
37
- /**
38
- * Gets a Kusto cluster principalAssignment.
39
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
40
- * @param clusterName The name of the Kusto cluster.
41
- * @param principalAssignmentName The name of the Kusto principalAssignment.
42
- * @param [options] The optional parameters
43
- * @returns Promise<Models.ClusterPrincipalAssignmentsGetResponse>
44
- */
45
- get(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<Models.ClusterPrincipalAssignmentsGetResponse>;
46
- /**
47
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
48
- * @param clusterName The name of the Kusto cluster.
49
- * @param principalAssignmentName The name of the Kusto principalAssignment.
50
- * @param callback The callback
51
- */
52
- get(resourceGroupName: string, clusterName: string, principalAssignmentName: string, callback: msRest.ServiceCallback<Models.ClusterPrincipalAssignment>): void;
53
- /**
54
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
55
- * @param clusterName The name of the Kusto cluster.
56
- * @param principalAssignmentName The name of the Kusto principalAssignment.
57
- * @param options The optional parameters
58
- * @param callback The callback
59
- */
60
- get(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterPrincipalAssignment>): void;
61
- /**
62
- * Create a Kusto cluster principalAssignment.
63
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
64
- * @param clusterName The name of the Kusto cluster.
65
- * @param principalAssignmentName The name of the Kusto principalAssignment.
66
- * @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
67
- * @param [options] The optional parameters
68
- * @returns Promise<Models.ClusterPrincipalAssignmentsCreateOrUpdateResponse>
69
- */
70
- createOrUpdate(resourceGroupName: string, clusterName: string, principalAssignmentName: string, parameters: Models.ClusterPrincipalAssignment, options?: msRest.RequestOptionsBase): Promise<Models.ClusterPrincipalAssignmentsCreateOrUpdateResponse>;
71
- /**
72
- * Deletes a Kusto cluster principalAssignment.
73
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
74
- * @param clusterName The name of the Kusto cluster.
75
- * @param principalAssignmentName The name of the Kusto principalAssignment.
76
- * @param [options] The optional parameters
77
- * @returns Promise<msRest.RestResponse>
78
- */
79
- deleteMethod(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
80
- /**
81
- * Lists all Kusto cluster principalAssignments.
82
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
83
- * @param clusterName The name of the Kusto cluster.
84
- * @param [options] The optional parameters
85
- * @returns Promise<Models.ClusterPrincipalAssignmentsListResponse>
86
- */
87
- list(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise<Models.ClusterPrincipalAssignmentsListResponse>;
88
- /**
89
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
90
- * @param clusterName The name of the Kusto cluster.
91
- * @param callback The callback
92
- */
93
- list(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<Models.ClusterPrincipalAssignmentListResult>): void;
94
- /**
95
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
96
- * @param clusterName The name of the Kusto cluster.
97
- * @param options The optional parameters
98
- * @param callback The callback
99
- */
100
- list(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterPrincipalAssignmentListResult>): void;
101
- /**
102
- * Create a Kusto cluster principalAssignment.
103
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
104
- * @param clusterName The name of the Kusto cluster.
105
- * @param principalAssignmentName The name of the Kusto principalAssignment.
106
- * @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
107
- * @param [options] The optional parameters
108
- * @returns Promise<msRestAzure.LROPoller>
109
- */
110
- beginCreateOrUpdate(resourceGroupName: string, clusterName: string, principalAssignmentName: string, parameters: Models.ClusterPrincipalAssignment, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
111
- /**
112
- * Deletes a Kusto cluster principalAssignment.
113
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
114
- * @param clusterName The name of the Kusto cluster.
115
- * @param principalAssignmentName The name of the Kusto principalAssignment.
116
- * @param [options] The optional parameters
117
- * @returns Promise<msRestAzure.LROPoller>
118
- */
119
- beginDeleteMethod(resourceGroupName: string, clusterName: string, principalAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
120
- }
121
- //# sourceMappingURL=clusterPrincipalAssignments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusterPrincipalAssignments.d.ts","sourceRoot":"","sources":["../../src/operations/clusterPrincipalAssignments.ts"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AkB,EAClC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC5E,IAAI;IAoBP;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,MAAM,CAAC,0BAA0B,EAC7C,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAClC,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAcjC;;;;;;;OAOG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAClC,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;CAYlC"}
@@ -1,213 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/clusterPrincipalAssignmentsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a ClusterPrincipalAssignments. */
14
- var ClusterPrincipalAssignments = /** @class */ (function () {
15
- /**
16
- * Create a ClusterPrincipalAssignments.
17
- * @param {KustoManagementClientContext} client Reference to the service client.
18
- */
19
- function ClusterPrincipalAssignments(client) {
20
- this.client = client;
21
- }
22
- ClusterPrincipalAssignments.prototype.checkNameAvailability = function (resourceGroupName, clusterName, principalAssignmentName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- clusterName: clusterName,
26
- principalAssignmentName: principalAssignmentName,
27
- options: options
28
- }, checkNameAvailabilityOperationSpec, callback);
29
- };
30
- ClusterPrincipalAssignments.prototype.get = function (resourceGroupName, clusterName, principalAssignmentName, options, callback) {
31
- return this.client.sendOperationRequest({
32
- resourceGroupName: resourceGroupName,
33
- clusterName: clusterName,
34
- principalAssignmentName: principalAssignmentName,
35
- options: options
36
- }, getOperationSpec, callback);
37
- };
38
- /**
39
- * Create a Kusto cluster principalAssignment.
40
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
41
- * @param clusterName The name of the Kusto cluster.
42
- * @param principalAssignmentName The name of the Kusto principalAssignment.
43
- * @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
44
- * @param [options] The optional parameters
45
- * @returns Promise<Models.ClusterPrincipalAssignmentsCreateOrUpdateResponse>
46
- */
47
- ClusterPrincipalAssignments.prototype.createOrUpdate = function (resourceGroupName, clusterName, principalAssignmentName, parameters, options) {
48
- return this.beginCreateOrUpdate(resourceGroupName, clusterName, principalAssignmentName, parameters, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
49
- };
50
- /**
51
- * Deletes a Kusto cluster principalAssignment.
52
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
53
- * @param clusterName The name of the Kusto cluster.
54
- * @param principalAssignmentName The name of the Kusto principalAssignment.
55
- * @param [options] The optional parameters
56
- * @returns Promise<msRest.RestResponse>
57
- */
58
- ClusterPrincipalAssignments.prototype.deleteMethod = function (resourceGroupName, clusterName, principalAssignmentName, options) {
59
- return this.beginDeleteMethod(resourceGroupName, clusterName, principalAssignmentName, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
60
- };
61
- ClusterPrincipalAssignments.prototype.list = function (resourceGroupName, clusterName, options, callback) {
62
- return this.client.sendOperationRequest({
63
- resourceGroupName: resourceGroupName,
64
- clusterName: clusterName,
65
- options: options
66
- }, listOperationSpec, callback);
67
- };
68
- /**
69
- * Create a Kusto cluster principalAssignment.
70
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
71
- * @param clusterName The name of the Kusto cluster.
72
- * @param principalAssignmentName The name of the Kusto principalAssignment.
73
- * @param parameters The Kusto cluster principalAssignment's parameters supplied for the operation.
74
- * @param [options] The optional parameters
75
- * @returns Promise<msRestAzure.LROPoller>
76
- */
77
- ClusterPrincipalAssignments.prototype.beginCreateOrUpdate = function (resourceGroupName, clusterName, principalAssignmentName, parameters, options) {
78
- return this.client.sendLRORequest({
79
- resourceGroupName: resourceGroupName,
80
- clusterName: clusterName,
81
- principalAssignmentName: principalAssignmentName,
82
- parameters: parameters,
83
- options: options
84
- }, beginCreateOrUpdateOperationSpec, options);
85
- };
86
- /**
87
- * Deletes a Kusto cluster principalAssignment.
88
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
89
- * @param clusterName The name of the Kusto cluster.
90
- * @param principalAssignmentName The name of the Kusto principalAssignment.
91
- * @param [options] The optional parameters
92
- * @returns Promise<msRestAzure.LROPoller>
93
- */
94
- ClusterPrincipalAssignments.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, principalAssignmentName, options) {
95
- return this.client.sendLRORequest({
96
- resourceGroupName: resourceGroupName,
97
- clusterName: clusterName,
98
- principalAssignmentName: principalAssignmentName,
99
- options: options
100
- }, beginDeleteMethodOperationSpec, options);
101
- };
102
- return ClusterPrincipalAssignments;
103
- }());
104
- export { ClusterPrincipalAssignments };
105
- // Operation Specifications
106
- var serializer = new msRest.Serializer(Mappers);
107
- var checkNameAvailabilityOperationSpec = {
108
- httpMethod: "POST",
109
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkPrincipalAssignmentNameAvailability",
110
- urlParameters: [Parameters.resourceGroupName, Parameters.clusterName, Parameters.subscriptionId],
111
- queryParameters: [Parameters.apiVersion],
112
- headerParameters: [Parameters.acceptLanguage],
113
- requestBody: {
114
- parameterPath: "principalAssignmentName",
115
- mapper: __assign(__assign({}, Mappers.ClusterPrincipalAssignmentCheckNameRequest), { required: true })
116
- },
117
- responses: {
118
- 200: {
119
- bodyMapper: Mappers.CheckNameResult
120
- },
121
- default: {
122
- bodyMapper: Mappers.CloudError
123
- }
124
- },
125
- serializer: serializer
126
- };
127
- var getOperationSpec = {
128
- httpMethod: "GET",
129
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
130
- urlParameters: [
131
- Parameters.subscriptionId,
132
- Parameters.resourceGroupName,
133
- Parameters.clusterName,
134
- Parameters.principalAssignmentName
135
- ],
136
- queryParameters: [Parameters.apiVersion],
137
- headerParameters: [Parameters.acceptLanguage],
138
- responses: {
139
- 200: {
140
- bodyMapper: Mappers.ClusterPrincipalAssignment
141
- },
142
- default: {
143
- bodyMapper: Mappers.CloudError
144
- }
145
- },
146
- serializer: serializer
147
- };
148
- var listOperationSpec = {
149
- httpMethod: "GET",
150
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments",
151
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
152
- queryParameters: [Parameters.apiVersion],
153
- headerParameters: [Parameters.acceptLanguage],
154
- responses: {
155
- 200: {
156
- bodyMapper: Mappers.ClusterPrincipalAssignmentListResult
157
- },
158
- default: {
159
- bodyMapper: Mappers.CloudError
160
- }
161
- },
162
- serializer: serializer
163
- };
164
- var beginCreateOrUpdateOperationSpec = {
165
- httpMethod: "PUT",
166
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
167
- urlParameters: [
168
- Parameters.subscriptionId,
169
- Parameters.resourceGroupName,
170
- Parameters.clusterName,
171
- Parameters.principalAssignmentName
172
- ],
173
- queryParameters: [Parameters.apiVersion],
174
- headerParameters: [Parameters.acceptLanguage],
175
- requestBody: {
176
- parameterPath: "parameters",
177
- mapper: __assign(__assign({}, Mappers.ClusterPrincipalAssignment), { required: true })
178
- },
179
- responses: {
180
- 200: {
181
- bodyMapper: Mappers.ClusterPrincipalAssignment
182
- },
183
- 201: {
184
- bodyMapper: Mappers.ClusterPrincipalAssignment
185
- },
186
- default: {
187
- bodyMapper: Mappers.CloudError
188
- }
189
- },
190
- serializer: serializer
191
- };
192
- var beginDeleteMethodOperationSpec = {
193
- httpMethod: "DELETE",
194
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
195
- urlParameters: [
196
- Parameters.subscriptionId,
197
- Parameters.resourceGroupName,
198
- Parameters.clusterName,
199
- Parameters.principalAssignmentName
200
- ],
201
- queryParameters: [Parameters.apiVersion],
202
- headerParameters: [Parameters.acceptLanguage],
203
- responses: {
204
- 200: {},
205
- 202: {},
206
- 204: {},
207
- default: {
208
- bodyMapper: Mappers.CloudError
209
- }
210
- },
211
- serializer: serializer
212
- };
213
- //# sourceMappingURL=clusterPrincipalAssignments.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusterPrincipalAssignments.js","sourceRoot":"","sources":["../../src/operations/clusterPrincipalAssignments.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,8CAA8C,CAAC;AACxE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,wDAAwD;AACxD;IAGE;;;OAGG;IACH,qCAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA0CD,2DAAqB,GAArB,UACE,iBAAyB,EACzB,WAAmB,EACnB,uBAA0E,EAC1E,OAAoF,EACpF,QAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,uBAAuB,yBAAA;YACvB,OAAO,SAAA;SACR,EACD,kCAAkC,EAClC,QAAQ,CACmE,CAAC;IAChF,CA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