@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
@@ -3,26 +3,42 @@
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
  */
9
8
 
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as msRestAzure from "@azure/ms-rest-azure-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/attachedDatabaseConfigurationsMappers";
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { AttachedDatabaseConfigurations } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { KustoManagementClientContext } from "../kustoManagementClientContext";
14
+ import { KustoManagementClient } from "../kustoManagementClient";
15
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
+ import { LroImpl } from "../lroImpl";
17
+ import {
18
+ AttachedDatabaseConfiguration,
19
+ AttachedDatabaseConfigurationsListByClusterOptionalParams,
20
+ AttachedDatabaseConfigurationsCheckNameRequest,
21
+ AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams,
22
+ AttachedDatabaseConfigurationsCheckNameAvailabilityResponse,
23
+ AttachedDatabaseConfigurationsListByClusterResponse,
24
+ AttachedDatabaseConfigurationsGetOptionalParams,
25
+ AttachedDatabaseConfigurationsGetResponse,
26
+ AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams,
27
+ AttachedDatabaseConfigurationsCreateOrUpdateResponse,
28
+ AttachedDatabaseConfigurationsDeleteOptionalParams
29
+ } from "../models";
16
30
 
17
- /** Class representing a AttachedDatabaseConfigurations. */
18
- export class AttachedDatabaseConfigurations {
19
- private readonly client: KustoManagementClientContext;
31
+ /// <reference lib="esnext.asynciterable" />
32
+ /** Class containing AttachedDatabaseConfigurations operations. */
33
+ export class AttachedDatabaseConfigurationsImpl
34
+ implements AttachedDatabaseConfigurations {
35
+ private readonly client: KustoManagementClient;
20
36
 
21
37
  /**
22
- * Create a AttachedDatabaseConfigurations.
23
- * @param {KustoManagementClientContext} client Reference to the service client.
38
+ * Initialize a new instance of the class AttachedDatabaseConfigurations class.
39
+ * @param client Reference to the service client
24
40
  */
25
- constructor(client: KustoManagementClientContext) {
41
+ constructor(client: KustoManagementClient) {
26
42
  this.client = client;
27
43
  }
28
44
 
@@ -30,104 +46,111 @@ export class AttachedDatabaseConfigurations {
30
46
  * Returns the list of attached database configurations of the given Kusto cluster.
31
47
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
32
48
  * @param clusterName The name of the Kusto cluster.
33
- * @param [options] The optional parameters
34
- * @returns Promise<Models.AttachedDatabaseConfigurationsListByClusterResponse>
49
+ * @param options The options parameters.
35
50
  */
36
- listByCluster(
51
+ public listByCluster(
37
52
  resourceGroupName: string,
38
53
  clusterName: string,
39
- options?: msRest.RequestOptionsBase
40
- ): Promise<Models.AttachedDatabaseConfigurationsListByClusterResponse>;
41
- /**
42
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
43
- * @param clusterName The name of the Kusto cluster.
44
- * @param callback The callback
45
- */
46
- listByCluster(
47
- resourceGroupName: string,
48
- clusterName: string,
49
- callback: msRest.ServiceCallback<Models.AttachedDatabaseConfigurationListResult>
50
- ): void;
51
- /**
52
- * @param resourceGroupName The name of the resource group containing the Kusto cluster.
53
- * @param clusterName The name of the Kusto cluster.
54
- * @param options The optional parameters
55
- * @param callback The callback
56
- */
57
- listByCluster(
54
+ options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
55
+ ): PagedAsyncIterableIterator<AttachedDatabaseConfiguration> {
56
+ const iter = this.listByClusterPagingAll(
57
+ resourceGroupName,
58
+ clusterName,
59
+ options
60
+ );
61
+ return {
62
+ next() {
63
+ return iter.next();
64
+ },
65
+ [Symbol.asyncIterator]() {
66
+ return this;
67
+ },
68
+ byPage: () => {
69
+ return this.listByClusterPagingPage(
70
+ resourceGroupName,
71
+ clusterName,
72
+ options
73
+ );
74
+ }
75
+ };
76
+ }
77
+
78
+ private async *listByClusterPagingPage(
58
79
  resourceGroupName: string,
59
80
  clusterName: string,
60
- options: msRest.RequestOptionsBase,
61
- callback: msRest.ServiceCallback<Models.AttachedDatabaseConfigurationListResult>
62
- ): void;
63
- listByCluster(
81
+ options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
82
+ ): AsyncIterableIterator<AttachedDatabaseConfiguration[]> {
83
+ let result = await this._listByCluster(
84
+ resourceGroupName,
85
+ clusterName,
86
+ options
87
+ );
88
+ yield result.value || [];
89
+ }
90
+
91
+ private async *listByClusterPagingAll(
64
92
  resourceGroupName: string,
65
93
  clusterName: string,
66
- options?:
67
- | msRest.RequestOptionsBase
68
- | msRest.ServiceCallback<Models.AttachedDatabaseConfigurationListResult>,
69
- callback?: msRest.ServiceCallback<Models.AttachedDatabaseConfigurationListResult>
70
- ): Promise<Models.AttachedDatabaseConfigurationsListByClusterResponse> {
71
- return this.client.sendOperationRequest(
72
- {
73
- resourceGroupName,
74
- clusterName,
75
- options
76
- },
77
- listByClusterOperationSpec,
78
- callback
79
- ) as Promise<Models.AttachedDatabaseConfigurationsListByClusterResponse>;
94
+ options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
95
+ ): AsyncIterableIterator<AttachedDatabaseConfiguration> {
96
+ for await (const page of this.listByClusterPagingPage(
97
+ resourceGroupName,
98
+ clusterName,
99
+ options
100
+ )) {
101
+ yield* page;
102
+ }
80
103
  }
81
104
 
82
105
  /**
83
- * Returns an attached database configuration.
106
+ * Checks that the attached database configuration resource name is valid and is not already in use.
84
107
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
85
108
  * @param clusterName The name of the Kusto cluster.
86
- * @param attachedDatabaseConfigurationName The name of the attached database configuration.
87
- * @param [options] The optional parameters
88
- * @returns Promise<Models.AttachedDatabaseConfigurationsGetResponse>
109
+ * @param resourceName The name of the resource.
110
+ * @param options The options parameters.
89
111
  */
90
- get(
112
+ checkNameAvailability(
91
113
  resourceGroupName: string,
92
114
  clusterName: string,
93
- attachedDatabaseConfigurationName: string,
94
- options?: msRest.RequestOptionsBase
95
- ): Promise<Models.AttachedDatabaseConfigurationsGetResponse>;
115
+ resourceName: AttachedDatabaseConfigurationsCheckNameRequest,
116
+ options?: AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams
117
+ ): Promise<AttachedDatabaseConfigurationsCheckNameAvailabilityResponse> {
118
+ return this.client.sendOperationRequest(
119
+ { resourceGroupName, clusterName, resourceName, options },
120
+ checkNameAvailabilityOperationSpec
121
+ );
122
+ }
123
+
96
124
  /**
125
+ * Returns the list of attached database configurations of the given Kusto cluster.
97
126
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
98
127
  * @param clusterName The name of the Kusto cluster.
99
- * @param attachedDatabaseConfigurationName The name of the attached database configuration.
100
- * @param callback The callback
128
+ * @param options The options parameters.
101
129
  */
102
- get(
130
+ private _listByCluster(
103
131
  resourceGroupName: string,
104
132
  clusterName: string,
105
- attachedDatabaseConfigurationName: string,
106
- callback: msRest.ServiceCallback<Models.AttachedDatabaseConfiguration>
107
- ): void;
133
+ options?: AttachedDatabaseConfigurationsListByClusterOptionalParams
134
+ ): Promise<AttachedDatabaseConfigurationsListByClusterResponse> {
135
+ return this.client.sendOperationRequest(
136
+ { resourceGroupName, clusterName, options },
137
+ listByClusterOperationSpec
138
+ );
139
+ }
140
+
108
141
  /**
142
+ * Returns an attached database configuration.
109
143
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
110
144
  * @param clusterName The name of the Kusto cluster.
111
145
  * @param attachedDatabaseConfigurationName The name of the attached database configuration.
112
- * @param options The optional parameters
113
- * @param callback The callback
146
+ * @param options The options parameters.
114
147
  */
115
148
  get(
116
149
  resourceGroupName: string,
117
150
  clusterName: string,
118
151
  attachedDatabaseConfigurationName: string,
119
- options: msRest.RequestOptionsBase,
120
- callback: msRest.ServiceCallback<Models.AttachedDatabaseConfiguration>
121
- ): void;
122
- get(
123
- resourceGroupName: string,
124
- clusterName: string,
125
- attachedDatabaseConfigurationName: string,
126
- options?:
127
- | msRest.RequestOptionsBase
128
- | msRest.ServiceCallback<Models.AttachedDatabaseConfiguration>,
129
- callback?: msRest.ServiceCallback<Models.AttachedDatabaseConfiguration>
130
- ): Promise<Models.AttachedDatabaseConfigurationsGetResponse> {
152
+ options?: AttachedDatabaseConfigurationsGetOptionalParams
153
+ ): Promise<AttachedDatabaseConfigurationsGetResponse> {
131
154
  return this.client.sendOperationRequest(
132
155
  {
133
156
  resourceGroupName,
@@ -135,9 +158,8 @@ export class AttachedDatabaseConfigurations {
135
158
  attachedDatabaseConfigurationName,
136
159
  options
137
160
  },
138
- getOperationSpec,
139
- callback
140
- ) as Promise<Models.AttachedDatabaseConfigurationsGetResponse>;
161
+ getOperationSpec
162
+ );
141
163
  }
142
164
 
143
165
  /**
@@ -146,76 +168,167 @@ export class AttachedDatabaseConfigurations {
146
168
  * @param clusterName The name of the Kusto cluster.
147
169
  * @param attachedDatabaseConfigurationName The name of the attached database configuration.
148
170
  * @param parameters The database parameters supplied to the CreateOrUpdate operation.
149
- * @param [options] The optional parameters
150
- * @returns Promise<Models.AttachedDatabaseConfigurationsCreateOrUpdateResponse>
171
+ * @param options The options parameters.
151
172
  */
152
- createOrUpdate(
173
+ async beginCreateOrUpdate(
153
174
  resourceGroupName: string,
154
175
  clusterName: string,
155
176
  attachedDatabaseConfigurationName: string,
156
- parameters: Models.AttachedDatabaseConfiguration,
157
- options?: msRest.RequestOptionsBase
158
- ): Promise<Models.AttachedDatabaseConfigurationsCreateOrUpdateResponse> {
159
- return this.beginCreateOrUpdate(
160
- resourceGroupName,
161
- clusterName,
162
- attachedDatabaseConfigurationName,
163
- parameters,
164
- options
165
- ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise<
166
- Models.AttachedDatabaseConfigurationsCreateOrUpdateResponse
167
- >;
177
+ parameters: AttachedDatabaseConfiguration,
178
+ options?: AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams
179
+ ): Promise<
180
+ PollerLike<
181
+ PollOperationState<AttachedDatabaseConfigurationsCreateOrUpdateResponse>,
182
+ AttachedDatabaseConfigurationsCreateOrUpdateResponse
183
+ >
184
+ > {
185
+ const directSendOperation = async (
186
+ args: coreClient.OperationArguments,
187
+ spec: coreClient.OperationSpec
188
+ ): Promise<AttachedDatabaseConfigurationsCreateOrUpdateResponse> => {
189
+ return this.client.sendOperationRequest(args, spec);
190
+ };
191
+ const sendOperation = async (
192
+ args: coreClient.OperationArguments,
193
+ spec: coreClient.OperationSpec
194
+ ) => {
195
+ let currentRawResponse:
196
+ | coreClient.FullOperationResponse
197
+ | undefined = undefined;
198
+ const providedCallback = args.options?.onResponse;
199
+ const callback: coreClient.RawResponseCallback = (
200
+ rawResponse: coreClient.FullOperationResponse,
201
+ flatResponse: unknown
202
+ ) => {
203
+ currentRawResponse = rawResponse;
204
+ providedCallback?.(rawResponse, flatResponse);
205
+ };
206
+ const updatedArgs = {
207
+ ...args,
208
+ options: {
209
+ ...args.options,
210
+ onResponse: callback
211
+ }
212
+ };
213
+ const flatResponse = await directSendOperation(updatedArgs, spec);
214
+ return {
215
+ flatResponse,
216
+ rawResponse: {
217
+ statusCode: currentRawResponse!.status,
218
+ body: currentRawResponse!.parsedBody,
219
+ headers: currentRawResponse!.headers.toJSON()
220
+ }
221
+ };
222
+ };
223
+
224
+ const lro = new LroImpl(
225
+ sendOperation,
226
+ {
227
+ resourceGroupName,
228
+ clusterName,
229
+ attachedDatabaseConfigurationName,
230
+ parameters,
231
+ options
232
+ },
233
+ createOrUpdateOperationSpec
234
+ );
235
+ return new LroEngine(lro, {
236
+ resumeFrom: options?.resumeFrom,
237
+ intervalInMs: options?.updateIntervalInMs
238
+ });
168
239
  }
169
240
 
170
241
  /**
171
- * Deletes the attached database configuration with the given name.
242
+ * Creates or updates an attached database configuration.
172
243
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
173
244
  * @param clusterName The name of the Kusto cluster.
174
245
  * @param attachedDatabaseConfigurationName The name of the attached database configuration.
175
- * @param [options] The optional parameters
176
- * @returns Promise<msRest.RestResponse>
246
+ * @param parameters The database parameters supplied to the CreateOrUpdate operation.
247
+ * @param options The options parameters.
177
248
  */
178
- deleteMethod(
249
+ async beginCreateOrUpdateAndWait(
179
250
  resourceGroupName: string,
180
251
  clusterName: string,
181
252
  attachedDatabaseConfigurationName: string,
182
- options?: msRest.RequestOptionsBase
183
- ): Promise<msRest.RestResponse> {
184
- return this.beginDeleteMethod(
253
+ parameters: AttachedDatabaseConfiguration,
254
+ options?: AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams
255
+ ): Promise<AttachedDatabaseConfigurationsCreateOrUpdateResponse> {
256
+ const poller = await this.beginCreateOrUpdate(
185
257
  resourceGroupName,
186
258
  clusterName,
187
259
  attachedDatabaseConfigurationName,
260
+ parameters,
188
261
  options
189
- ).then((lroPoller) => lroPoller.pollUntilFinished());
262
+ );
263
+ return poller.pollUntilDone();
190
264
  }
191
265
 
192
266
  /**
193
- * Creates or updates an attached database configuration.
267
+ * Deletes the attached database configuration with the given name.
194
268
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
195
269
  * @param clusterName The name of the Kusto cluster.
196
270
  * @param attachedDatabaseConfigurationName The name of the attached database configuration.
197
- * @param parameters The database parameters supplied to the CreateOrUpdate operation.
198
- * @param [options] The optional parameters
199
- * @returns Promise<msRestAzure.LROPoller>
271
+ * @param options The options parameters.
200
272
  */
201
- beginCreateOrUpdate(
273
+ async beginDelete(
202
274
  resourceGroupName: string,
203
275
  clusterName: string,
204
276
  attachedDatabaseConfigurationName: string,
205
- parameters: Models.AttachedDatabaseConfiguration,
206
- options?: msRest.RequestOptionsBase
207
- ): Promise<msRestAzure.LROPoller> {
208
- return this.client.sendLRORequest(
277
+ options?: AttachedDatabaseConfigurationsDeleteOptionalParams
278
+ ): Promise<PollerLike<PollOperationState<void>, void>> {
279
+ const directSendOperation = async (
280
+ args: coreClient.OperationArguments,
281
+ spec: coreClient.OperationSpec
282
+ ): Promise<void> => {
283
+ return this.client.sendOperationRequest(args, spec);
284
+ };
285
+ const sendOperation = async (
286
+ args: coreClient.OperationArguments,
287
+ spec: coreClient.OperationSpec
288
+ ) => {
289
+ let currentRawResponse:
290
+ | coreClient.FullOperationResponse
291
+ | undefined = undefined;
292
+ const providedCallback = args.options?.onResponse;
293
+ const callback: coreClient.RawResponseCallback = (
294
+ rawResponse: coreClient.FullOperationResponse,
295
+ flatResponse: unknown
296
+ ) => {
297
+ currentRawResponse = rawResponse;
298
+ providedCallback?.(rawResponse, flatResponse);
299
+ };
300
+ const updatedArgs = {
301
+ ...args,
302
+ options: {
303
+ ...args.options,
304
+ onResponse: callback
305
+ }
306
+ };
307
+ const flatResponse = await directSendOperation(updatedArgs, spec);
308
+ return {
309
+ flatResponse,
310
+ rawResponse: {
311
+ statusCode: currentRawResponse!.status,
312
+ body: currentRawResponse!.parsedBody,
313
+ headers: currentRawResponse!.headers.toJSON()
314
+ }
315
+ };
316
+ };
317
+
318
+ const lro = new LroImpl(
319
+ sendOperation,
209
320
  {
210
321
  resourceGroupName,
211
322
  clusterName,
212
323
  attachedDatabaseConfigurationName,
213
- parameters,
214
324
  options
215
325
  },
216
- beginCreateOrUpdateOperationSpec,
217
- options
326
+ deleteOperationSpec
218
327
  );
328
+ return new LroEngine(lro, {
329
+ resumeFrom: options?.resumeFrom,
330
+ intervalInMs: options?.updateIntervalInMs
331
+ });
219
332
  }
220
333
 
221
334
  /**
@@ -223,60 +336,76 @@ export class AttachedDatabaseConfigurations {
223
336
  * @param resourceGroupName The name of the resource group containing the Kusto cluster.
224
337
  * @param clusterName The name of the Kusto cluster.
225
338
  * @param attachedDatabaseConfigurationName The name of the attached database configuration.
226
- * @param [options] The optional parameters
227
- * @returns Promise<msRestAzure.LROPoller>
339
+ * @param options The options parameters.
228
340
  */
229
- beginDeleteMethod(
341
+ async beginDeleteAndWait(
230
342
  resourceGroupName: string,
231
343
  clusterName: string,
232
344
  attachedDatabaseConfigurationName: string,
233
- options?: msRest.RequestOptionsBase
234
- ): Promise<msRestAzure.LROPoller> {
235
- return this.client.sendLRORequest(
236
- {
237
- resourceGroupName,
238
- clusterName,
239
- attachedDatabaseConfigurationName,
240
- options
241
- },
242
- beginDeleteMethodOperationSpec,
345
+ options?: AttachedDatabaseConfigurationsDeleteOptionalParams
346
+ ): Promise<void> {
347
+ const poller = await this.beginDelete(
348
+ resourceGroupName,
349
+ clusterName,
350
+ attachedDatabaseConfigurationName,
243
351
  options
244
352
  );
353
+ return poller.pollUntilDone();
245
354
  }
246
355
  }
247
-
248
356
  // Operation Specifications
249
- const serializer = new msRest.Serializer(Mappers);
250
- const listByClusterOperationSpec: msRest.OperationSpec = {
251
- httpMethod: "GET",
357
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
358
+
359
+ const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
252
360
  path:
253
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations",
254
- urlParameters: [Parameters.resourceGroupName, Parameters.clusterName, Parameters.subscriptionId],
255
- queryParameters: [Parameters.apiVersion],
256
- headerParameters: [Parameters.acceptLanguage],
361
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurationCheckNameAvailability",
362
+ httpMethod: "POST",
257
363
  responses: {
258
364
  200: {
259
- bodyMapper: Mappers.AttachedDatabaseConfigurationListResult
365
+ bodyMapper: Mappers.CheckNameResult
260
366
  },
261
367
  default: {
262
368
  bodyMapper: Mappers.CloudError
263
369
  }
264
370
  },
371
+ requestBody: Parameters.resourceName1,
372
+ queryParameters: [Parameters.apiVersion],
373
+ urlParameters: [
374
+ Parameters.$host,
375
+ Parameters.resourceGroupName,
376
+ Parameters.clusterName,
377
+ Parameters.subscriptionId
378
+ ],
379
+ headerParameters: [Parameters.accept, Parameters.contentType],
380
+ mediaType: "json",
265
381
  serializer
266
382
  };
267
-
268
- const getOperationSpec: msRest.OperationSpec = {
269
- httpMethod: "GET",
383
+ const listByClusterOperationSpec: coreClient.OperationSpec = {
270
384
  path:
271
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
385
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations",
386
+ httpMethod: "GET",
387
+ responses: {
388
+ 200: {
389
+ bodyMapper: Mappers.AttachedDatabaseConfigurationListResult
390
+ },
391
+ default: {
392
+ bodyMapper: Mappers.CloudError
393
+ }
394
+ },
395
+ queryParameters: [Parameters.apiVersion],
272
396
  urlParameters: [
397
+ Parameters.$host,
273
398
  Parameters.resourceGroupName,
274
399
  Parameters.clusterName,
275
- Parameters.attachedDatabaseConfigurationName,
276
400
  Parameters.subscriptionId
277
401
  ],
278
- queryParameters: [Parameters.apiVersion],
279
- headerParameters: [Parameters.acceptLanguage],
402
+ headerParameters: [Parameters.accept],
403
+ serializer
404
+ };
405
+ const getOperationSpec: coreClient.OperationSpec = {
406
+ path:
407
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
408
+ httpMethod: "GET",
280
409
  responses: {
281
410
  200: {
282
411
  bodyMapper: Mappers.AttachedDatabaseConfiguration
@@ -285,28 +414,21 @@ const getOperationSpec: msRest.OperationSpec = {
285
414
  bodyMapper: Mappers.CloudError
286
415
  }
287
416
  },
288
- serializer
289
- };
290
-
291
- const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
292
- httpMethod: "PUT",
293
- path:
294
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
417
+ queryParameters: [Parameters.apiVersion],
295
418
  urlParameters: [
419
+ Parameters.$host,
296
420
  Parameters.resourceGroupName,
297
421
  Parameters.clusterName,
298
- Parameters.attachedDatabaseConfigurationName,
299
- Parameters.subscriptionId
422
+ Parameters.subscriptionId,
423
+ Parameters.attachedDatabaseConfigurationName
300
424
  ],
301
- queryParameters: [Parameters.apiVersion],
302
- headerParameters: [Parameters.acceptLanguage],
303
- requestBody: {
304
- parameterPath: "parameters",
305
- mapper: {
306
- ...Mappers.AttachedDatabaseConfiguration,
307
- required: true
308
- }
309
- },
425
+ headerParameters: [Parameters.accept],
426
+ serializer
427
+ };
428
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
429
+ path:
430
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
431
+ httpMethod: "PUT",
310
432
  responses: {
311
433
  200: {
312
434
  bodyMapper: Mappers.AttachedDatabaseConfiguration
@@ -317,32 +439,47 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
317
439
  202: {
318
440
  bodyMapper: Mappers.AttachedDatabaseConfiguration
319
441
  },
442
+ 204: {
443
+ bodyMapper: Mappers.AttachedDatabaseConfiguration
444
+ },
320
445
  default: {
321
446
  bodyMapper: Mappers.CloudError
322
447
  }
323
448
  },
324
- serializer
325
- };
326
-
327
- const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
328
- httpMethod: "DELETE",
329
- path:
330
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
449
+ requestBody: Parameters.parameters4,
450
+ queryParameters: [Parameters.apiVersion],
331
451
  urlParameters: [
452
+ Parameters.$host,
332
453
  Parameters.resourceGroupName,
333
454
  Parameters.clusterName,
334
- Parameters.attachedDatabaseConfigurationName,
335
- Parameters.subscriptionId
455
+ Parameters.subscriptionId,
456
+ Parameters.attachedDatabaseConfigurationName
336
457
  ],
337
- queryParameters: [Parameters.apiVersion],
338
- headerParameters: [Parameters.acceptLanguage],
458
+ headerParameters: [Parameters.accept, Parameters.contentType],
459
+ mediaType: "json",
460
+ serializer
461
+ };
462
+ const deleteOperationSpec: coreClient.OperationSpec = {
463
+ path:
464
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}",
465
+ httpMethod: "DELETE",
339
466
  responses: {
340
467
  200: {},
468
+ 201: {},
341
469
  202: {},
342
470
  204: {},
343
471
  default: {
344
472
  bodyMapper: Mappers.CloudError
345
473
  }
346
474
  },
475
+ queryParameters: [Parameters.apiVersion],
476
+ urlParameters: [
477
+ Parameters.$host,
478
+ Parameters.resourceGroupName,
479
+ Parameters.clusterName,
480
+ Parameters.subscriptionId,
481
+ Parameters.attachedDatabaseConfigurationName
482
+ ],
483
+ headerParameters: [Parameters.accept],
347
484
  serializer
348
485
  };