@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
@@ -6,3002 +6,2320 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
11
+ export type DatabaseUnion =
12
+ | Database
13
+ | ReadWriteDatabase
14
+ | ReadOnlyFollowingDatabase;
15
+ export type DataConnectionUnion =
16
+ | DataConnection
17
+ | EventHubDataConnection
18
+ | IotHubDataConnection
19
+ | EventGridDataConnection;
13
20
 
14
- /**
15
- * Represents a tenant ID that is trusted by the cluster.
16
- */
17
- export interface TrustedExternalTenant {
18
- /**
19
- * GUID representing an external tenant.
20
- */
21
- value?: string;
21
+ /** Azure SKU definition. */
22
+ export interface AzureSku {
23
+ /** SKU name. */
24
+ name: AzureSkuName;
25
+ /** The number of instances of the cluster. */
26
+ capacity?: number;
27
+ /** SKU tier. */
28
+ tier: AzureSkuTier;
22
29
  }
23
30
 
24
- /**
25
- * A class that contains the optimized auto scale definition.
26
- */
27
- export interface OptimizedAutoscale {
31
+ /** Metadata pertaining to creation and last modification of the resource. */
32
+ export interface SystemData {
33
+ /** The identity that created the resource. */
34
+ createdBy?: string;
35
+ /** The type of identity that created the resource. */
36
+ createdByType?: CreatedByType;
37
+ /** The timestamp of resource creation (UTC). */
38
+ createdAt?: Date;
39
+ /** The identity that last modified the resource. */
40
+ lastModifiedBy?: string;
41
+ /** The type of identity that last modified the resource. */
42
+ lastModifiedByType?: CreatedByType;
43
+ /** The timestamp of resource last modification (UTC) */
44
+ lastModifiedAt?: Date;
45
+ }
46
+
47
+ /** Identity for the resource. */
48
+ export interface Identity {
28
49
  /**
29
- * The version of the template defined, for instance 1.
50
+ * The principal ID of resource identity.
51
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
52
  */
31
- version: number;
53
+ readonly principalId?: string;
32
54
  /**
33
- * A boolean value that indicate if the optimized autoscale feature is enabled or not.
55
+ * The tenant ID of resource.
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
34
57
  */
35
- isEnabled: boolean;
58
+ readonly tenantId?: string;
59
+ /** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. */
60
+ type: IdentityType;
61
+ /** The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
62
+ userAssignedIdentities?: {
63
+ [propertyName: string]: ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties;
64
+ };
65
+ }
66
+
67
+ export interface ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties {
36
68
  /**
37
- * Minimum allowed instances count.
69
+ * The principal id of user assigned identity.
70
+ * NOTE: This property will not be serialized. It can only be populated by the server.
38
71
  */
39
- minimum: number;
72
+ readonly principalId?: string;
40
73
  /**
41
- * Maximum allowed instances count.
74
+ * The client id of user assigned identity.
75
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
76
  */
77
+ readonly clientId?: string;
78
+ }
79
+
80
+ /** Represents a tenant ID that is trusted by the cluster. */
81
+ export interface TrustedExternalTenant {
82
+ /** GUID representing an external tenant. */
83
+ value?: string;
84
+ }
85
+
86
+ /** A class that contains the optimized auto scale definition. */
87
+ export interface OptimizedAutoscale {
88
+ /** The version of the template defined, for instance 1. */
89
+ version: number;
90
+ /** A boolean value that indicate if the optimized autoscale feature is enabled or not. */
91
+ isEnabled: boolean;
92
+ /** Minimum allowed instances count. */
93
+ minimum: number;
94
+ /** Maximum allowed instances count. */
43
95
  maximum: number;
44
96
  }
45
97
 
46
- /**
47
- * A class that contains virtual network definition.
48
- */
98
+ /** A class that contains virtual network definition. */
49
99
  export interface VirtualNetworkConfiguration {
50
- /**
51
- * The subnet resource id.
52
- */
100
+ /** The subnet resource id. */
53
101
  subnetId: string;
54
- /**
55
- * Engine service's public IP address resource id.
56
- */
102
+ /** Engine service's public IP address resource id. */
57
103
  enginePublicIpId: string;
58
- /**
59
- * Data management's service public IP address resource id.
60
- */
104
+ /** Data management's service public IP address resource id. */
61
105
  dataManagementPublicIpId: string;
62
106
  }
63
107
 
64
- /**
65
- * Properties of the key vault.
66
- */
108
+ /** Properties of the key vault. */
67
109
  export interface KeyVaultProperties {
68
- /**
69
- * The name of the key vault key.
70
- */
71
- keyName: string;
72
- /**
73
- * The version of the key vault key.
74
- */
110
+ /** The name of the key vault key. */
111
+ keyName?: string;
112
+ /** The version of the key vault key. */
75
113
  keyVersion?: string;
76
- /**
77
- * The Uri of the key vault.
78
- */
79
- keyVaultUri: string;
80
- /**
81
- * The user assigned identity (ARM resource id) that has access to the key.
82
- */
114
+ /** The Uri of the key vault. */
115
+ keyVaultUri?: string;
116
+ /** The user assigned identity (ARM resource id) that has access to the key. */
83
117
  userIdentity?: string;
84
118
  }
85
119
 
86
- /**
87
- * The language extension object.
88
- */
120
+ /** The list of language extension objects. */
121
+ export interface LanguageExtensionsList {
122
+ /** The list of language extensions. */
123
+ value?: LanguageExtension[];
124
+ }
125
+
126
+ /** The language extension object. */
89
127
  export interface LanguageExtension {
90
- /**
91
- * The language extension name. Possible values include: 'PYTHON', 'R'
92
- */
128
+ /** The language extension name. */
93
129
  languageExtensionName?: LanguageExtensionName;
94
130
  }
95
131
 
96
- /**
97
- * Azure SKU definition.
98
- */
99
- export interface AzureSku {
100
- /**
101
- * SKU name. Possible values include: 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS',
102
- * 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Standard_D13_v2', 'Standard_D14_v2',
103
- * 'Standard_L8s', 'Standard_L16s', 'Standard_L8s_v2', 'Standard_L16s_v2', 'Standard_D11_v2',
104
- * 'Standard_D12_v2', 'Standard_L4s', 'Dev(No SLA)_Standard_D11_v2', 'Standard_E64i_v3',
105
- * 'Standard_E80ids_v4', 'Standard_E2a_v4', 'Standard_E4a_v4', 'Standard_E8a_v4',
106
- * 'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS', 'Standard_E8as_v4+2TB_PS',
107
- * 'Standard_E16as_v4+3TB_PS', 'Standard_E16as_v4+4TB_PS', 'Dev(No SLA)_Standard_E2a_v4'
108
- */
109
- name: AzureSkuName;
110
- /**
111
- * The number of instances of the cluster.
112
- */
113
- capacity?: number;
114
- /**
115
- * SKU tier. Possible values include: 'Basic', 'Standard'
116
- */
117
- tier: AzureSkuTier;
132
+ /** Represents an accepted audience trusted by the cluster. */
133
+ export interface AcceptedAudiences {
134
+ /** GUID or valid URL representing an accepted audience. */
135
+ value?: string;
118
136
  }
119
137
 
120
- /**
121
- * Azure capacity definition.
122
- */
123
- export interface AzureCapacity {
124
- /**
125
- * Scale type. Possible values include: 'automatic', 'manual', 'none'
126
- */
127
- scaleType: AzureScaleType;
138
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
139
+ export interface Resource {
128
140
  /**
129
- * Minimum allowed capacity.
141
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
130
143
  */
131
- minimum: number;
144
+ readonly id?: string;
132
145
  /**
133
- * Maximum allowed capacity.
146
+ * The name of the resource
147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
134
148
  */
135
- maximum: number;
149
+ readonly name?: string;
136
150
  /**
137
- * The default capacity that would be used.
151
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
152
+ * NOTE: This property will not be serialized. It can only be populated by the server.
138
153
  */
139
- default: number;
154
+ readonly type?: string;
140
155
  }
141
156
 
142
- /**
143
- * Azure resource SKU definition.
144
- */
145
- export interface AzureResourceSku {
146
- /**
147
- * Resource Namespace and Type.
148
- */
149
- resourceType?: string;
150
- /**
151
- * The SKU details.
152
- */
153
- sku?: AzureSku;
154
- /**
155
- * The number of instances of the cluster.
156
- */
157
- capacity?: AzureCapacity;
157
+ /** An error response from Kusto. */
158
+ export interface CloudError {
159
+ /** An error response from Kusto. */
160
+ error?: CloudErrorBody;
158
161
  }
159
162
 
160
- /**
161
- * The locations and zones info for SKU.
162
- */
163
- export interface SkuLocationInfoItem {
163
+ /** An error response from Kusto. */
164
+ export interface CloudErrorBody {
165
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
166
+ code?: string;
167
+ /** A message describing the error, intended to be suitable for displaying in a user interface. */
168
+ message?: string;
169
+ /** The target of the particular error. For example, the name of the property in error. */
170
+ target?: string;
171
+ /** A list of additional details about the error. */
172
+ details?: CloudErrorBody[];
173
+ }
174
+
175
+ /** A principal assignment check name availability request. */
176
+ export interface ClusterPrincipalAssignmentCheckNameRequest {
177
+ /** Principal Assignment resource name. */
178
+ name: string;
179
+ /** The type of resource, Microsoft.Kusto/clusters/principalAssignments. */
180
+ type: "Microsoft.Kusto/clusters/principalAssignments";
181
+ }
182
+
183
+ /** The result returned from a check name availability request. */
184
+ export interface CheckNameResult {
185
+ /** Specifies a Boolean value that indicates if the name is available. */
186
+ nameAvailable?: boolean;
187
+ /** The name that was checked. */
188
+ name?: string;
189
+ /** Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated. */
190
+ message?: string;
191
+ /** Message providing the reason why the given name is invalid. */
192
+ reason?: Reason;
193
+ }
194
+
195
+ /** The list Kusto cluster principal assignments operation response. */
196
+ export interface ClusterPrincipalAssignmentListResult {
197
+ /** The list of Kusto cluster principal assignments. */
198
+ value?: ClusterPrincipalAssignment[];
199
+ }
200
+
201
+ /** The list Kusto database principals operation response. */
202
+ export interface FollowerDatabaseListResult {
203
+ /** The list of follower database result. */
204
+ value?: FollowerDatabaseDefinition[];
205
+ }
206
+
207
+ /** A class representing follower database request. */
208
+ export interface FollowerDatabaseDefinition {
209
+ /** Resource id of the cluster that follows a database owned by this cluster. */
210
+ clusterResourceId: string;
211
+ /** Resource name of the attached database configuration in the follower cluster. */
212
+ attachedDatabaseConfigurationName: string;
164
213
  /**
165
- * The available location of the SKU.
214
+ * The database name owned by this cluster that was followed. * in case following all databases.
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
166
216
  */
167
- location: string;
217
+ readonly databaseName?: string;
218
+ }
219
+
220
+ export interface DiagnoseVirtualNetworkResult {
221
+ /** The list of network connectivity diagnostic finding */
222
+ findings?: string[];
223
+ }
224
+
225
+ /** The list Kusto clusters operation response. */
226
+ export interface ClusterListResult {
227
+ /** The list of Kusto clusters. */
228
+ value?: Cluster[];
229
+ }
230
+
231
+ /** The list of the EngagementFabric SKU descriptions */
232
+ export interface SkuDescriptionList {
168
233
  /**
169
- * The available zone of the SKU.
234
+ * SKU descriptions
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
236
  */
171
- zones?: string[];
237
+ readonly value?: SkuDescription[];
172
238
  }
173
239
 
174
- /**
175
- * The Kusto SKU description of given resource type
176
- */
240
+ /** The Kusto SKU description of given resource type */
177
241
  export interface SkuDescription {
178
242
  /**
179
243
  * The resource type
180
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
245
  */
182
246
  readonly resourceType?: string;
183
247
  /**
184
248
  * The name of the SKU
185
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
249
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
250
  */
187
251
  readonly name?: string;
188
252
  /**
189
253
  * The tier of the SKU
190
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
254
+ * NOTE: This property will not be serialized. It can only be populated by the server.
191
255
  */
192
256
  readonly tier?: string;
193
257
  /**
194
258
  * The set of locations that the SKU is available
195
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
259
+ * NOTE: This property will not be serialized. It can only be populated by the server.
196
260
  */
197
261
  readonly locations?: string[];
198
262
  /**
199
263
  * Locations and zones
200
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
264
+ * NOTE: This property will not be serialized. It can only be populated by the server.
201
265
  */
202
266
  readonly locationInfo?: SkuLocationInfoItem[];
203
267
  /**
204
268
  * The restrictions because of which SKU cannot be used
205
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
269
+ * NOTE: This property will not be serialized. It can only be populated by the server.
206
270
  */
207
- readonly restrictions?: any[];
271
+ readonly restrictions?: Record<string, unknown>[];
208
272
  }
209
273
 
210
- /**
211
- * A class that contains database statistics information.
212
- */
213
- export interface DatabaseStatistics {
274
+ /** The locations and zones info for SKU. */
275
+ export interface SkuLocationInfoItem {
276
+ /** The available location of the SKU. */
277
+ location: string;
278
+ /** The available zone of the SKU. */
279
+ zones?: string[];
280
+ }
281
+
282
+ /** The result returned from a cluster check name availability request. */
283
+ export interface ClusterCheckNameRequest {
284
+ /** Cluster name. */
285
+ name: string;
286
+ /** The type of resource, Microsoft.Kusto/clusters. */
287
+ type: "Microsoft.Kusto/clusters";
288
+ }
289
+
290
+ /** The result returned from a database check name availability request. */
291
+ export interface CheckNameRequest {
292
+ /** Resource name. */
293
+ name: string;
294
+ /** The type of resource, for instance Microsoft.Kusto/clusters/databases. */
295
+ type: Type;
296
+ }
297
+
298
+ /** The result returned from a AttachedDatabaseConfigurations check name availability request. */
299
+ export interface AttachedDatabaseConfigurationsCheckNameRequest {
300
+ /** Attached database resource name. */
301
+ name: string;
302
+ /** The type of resource, for instance Microsoft.Kusto/clusters/attachedDatabaseConfigurations. */
303
+ type: "Microsoft.Kusto/clusters/attachedDatabaseConfigurations";
304
+ }
305
+
306
+ /** The result returned from a managedPrivateEndpoints check name availability request. */
307
+ export interface ManagedPrivateEndpointsCheckNameRequest {
308
+ /** Managed private endpoint resource name. */
309
+ name: string;
310
+ /** The type of resource, for instance Microsoft.Kusto/clusters/managedPrivateEndpoints. */
311
+ type: "Microsoft.Kusto/clusters/managedPrivateEndpoints";
312
+ }
313
+
314
+ /** List of available SKUs for a Kusto Cluster. */
315
+ export interface ListResourceSkusResult {
316
+ /** The collection of available SKUs for an existing resource. */
317
+ value?: AzureResourceSku[];
318
+ }
319
+
320
+ /** Azure resource SKU definition. */
321
+ export interface AzureResourceSku {
322
+ /** Resource Namespace and Type. */
323
+ resourceType?: string;
324
+ /** The SKU details. */
325
+ sku?: AzureSku;
326
+ /** The number of instances of the cluster. */
327
+ capacity?: AzureCapacity;
328
+ }
329
+
330
+ /** Azure capacity definition. */
331
+ export interface AzureCapacity {
332
+ /** Scale type. */
333
+ scaleType: AzureScaleType;
334
+ /** Minimum allowed capacity. */
335
+ minimum: number;
336
+ /** Maximum allowed capacity. */
337
+ maximum: number;
338
+ /** The default capacity that would be used. */
339
+ default: number;
340
+ }
341
+
342
+ /** The list Kusto databases operation response. */
343
+ export interface DatabaseListResult {
344
+ /** The list of Kusto databases. */
345
+ value?: DatabaseUnion[];
346
+ }
347
+
348
+ /** A principal assignment check name availability request. */
349
+ export interface DatabasePrincipalAssignmentCheckNameRequest {
350
+ /** Principal Assignment resource name. */
351
+ name: string;
352
+ /** The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments. */
353
+ type: "Microsoft.Kusto/clusters/databases/principalAssignments";
354
+ }
355
+
356
+ /** The list Kusto database principal assignments operation response. */
357
+ export interface DatabasePrincipalAssignmentListResult {
358
+ /** The list of Kusto database principal assignments. */
359
+ value?: DatabasePrincipalAssignment[];
360
+ }
361
+
362
+ /** The list Kusto database principals operation response. */
363
+ export interface DatabasePrincipalListResult {
364
+ /** The list of Kusto database principals. */
365
+ value?: DatabasePrincipal[];
366
+ }
367
+
368
+ /** A class representing database principal entity. */
369
+ export interface DatabasePrincipal {
370
+ /** Database principal role. */
371
+ role: DatabasePrincipalRole;
372
+ /** Database principal name. */
373
+ name: string;
374
+ /** Database principal type. */
375
+ type: DatabasePrincipalType;
376
+ /** Database principal fully qualified name. */
377
+ fqn?: string;
378
+ /** Database principal email if exists. */
379
+ email?: string;
380
+ /** Application id - relevant only for application principal type. */
381
+ appId?: string;
214
382
  /**
215
- * The database size - the total size of compressed data and index in bytes.
383
+ * The tenant name of the principal
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
216
385
  */
217
- size?: number;
386
+ readonly tenantName?: string;
218
387
  }
219
388
 
220
- /**
221
- * Tables that will be included and excluded in the follower database
222
- */
223
- export interface TableLevelSharingProperties {
389
+ /** The list Kusto database principals operation request. */
390
+ export interface DatabasePrincipalListRequest {
391
+ /** The list of Kusto database principals. */
392
+ value?: DatabasePrincipal[];
393
+ }
394
+
395
+ /** The list Kusto database script operation response. */
396
+ export interface ScriptListResult {
397
+ /** The list of Kusto scripts. */
398
+ value?: Script[];
399
+ }
400
+
401
+ /** The list managed private endpoints operation response. */
402
+ export interface ManagedPrivateEndpointListResult {
403
+ /** The list of managed private endpoints. */
404
+ value?: ManagedPrivateEndpoint[];
405
+ }
406
+
407
+ /** A list of private endpoint connections */
408
+ export interface PrivateEndpointConnectionListResult {
409
+ /** Array of private endpoint connections */
410
+ value?: PrivateEndpointConnection[];
411
+ }
412
+
413
+ /** Private endpoint which the connection belongs to. */
414
+ export interface PrivateEndpointProperty {
224
415
  /**
225
- * List of tables to include in the follower database
416
+ * Resource id of the private endpoint.
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
418
  */
227
- tablesToInclude?: string[];
419
+ readonly id?: string;
420
+ }
421
+
422
+ /** Connection State of the Private Endpoint Connection. */
423
+ export interface PrivateLinkServiceConnectionStateProperty {
424
+ /** The private link service connection status. */
425
+ status?: string;
426
+ /** The private link service connection description. */
427
+ description?: string;
228
428
  /**
229
- * List of tables to exclude from the follower database
429
+ * Any action that is required beyond basic workflow (approve/ reject/ disconnect)
430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
431
  */
231
- tablesToExclude?: string[];
432
+ readonly actionsRequired?: string;
433
+ }
434
+
435
+ /** A list of private link resources */
436
+ export interface PrivateLinkResourceListResult {
437
+ /** Array of private link resources */
438
+ value?: PrivateLinkResource[];
439
+ }
440
+
441
+ /** Collection of Outbound Environment Endpoints */
442
+ export interface OutboundNetworkDependenciesEndpointListResult {
443
+ /** Collection of resources. */
444
+ value: OutboundNetworkDependenciesEndpoint[];
232
445
  /**
233
- * List of external tables to include in the follower database
446
+ * Link to next page of resources.
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
234
448
  */
449
+ readonly nextLink?: string;
450
+ }
451
+
452
+ /** A domain name that a service is reached at, including details of the current connection status. */
453
+ export interface EndpointDependency {
454
+ /** The domain name of the dependency. */
455
+ domainName?: string;
456
+ /** The ports used when connecting to DomainName. */
457
+ endpointDetails?: EndpointDetail[];
458
+ }
459
+
460
+ /** Current TCP connectivity information from the Kusto cluster to a single endpoint. */
461
+ export interface EndpointDetail {
462
+ /** The port an endpoint is connected to. */
463
+ port?: number;
464
+ }
465
+
466
+ /** The list attached database configurations operation response. */
467
+ export interface AttachedDatabaseConfigurationListResult {
468
+ /** The list of attached database configurations. */
469
+ value?: AttachedDatabaseConfiguration[];
470
+ }
471
+
472
+ /** Tables that will be included and excluded in the follower database */
473
+ export interface TableLevelSharingProperties {
474
+ /** List of tables to include in the follower database */
475
+ tablesToInclude?: string[];
476
+ /** List of tables to exclude from the follower database */
477
+ tablesToExclude?: string[];
478
+ /** List of external tables to include in the follower database */
235
479
  externalTablesToInclude?: string[];
236
- /**
237
- * List of external tables exclude from the follower database
238
- */
480
+ /** List of external tables exclude from the follower database */
239
481
  externalTablesToExclude?: string[];
240
- /**
241
- * List of materialized views to include in the follower database
242
- */
482
+ /** List of materialized views to include in the follower database */
243
483
  materializedViewsToInclude?: string[];
244
- /**
245
- * List of materialized views exclude from the follower database
246
- */
484
+ /** List of materialized views exclude from the follower database */
247
485
  materializedViewsToExclude?: string[];
248
486
  }
249
487
 
250
- /**
251
- * An interface representing IdentityUserAssignedIdentitiesValue.
252
- */
253
- export interface IdentityUserAssignedIdentitiesValue {
254
- /**
255
- * The principal id of user assigned identity.
256
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
257
- */
258
- readonly principalId?: string;
259
- /**
260
- * The client id of user assigned identity.
261
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
262
- */
263
- readonly clientId?: string;
488
+ /** The list Kusto data connections operation response. */
489
+ export interface DataConnectionListResult {
490
+ /** The list of Kusto data connections. */
491
+ value?: DataConnectionUnion[];
264
492
  }
265
493
 
266
- /**
267
- * Identity for the resource.
268
- */
269
- export interface Identity {
270
- /**
271
- * The principal ID of resource identity.
272
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
273
- */
274
- readonly principalId?: string;
275
- /**
276
- * The tenant ID of resource.
277
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
278
- */
279
- readonly tenantId?: string;
280
- /**
281
- * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an
282
- * implicitly created identity and a set of user-assigned identities. The type 'None' will remove
283
- * all identities. Possible values include: 'None', 'SystemAssigned', 'UserAssigned',
284
- * 'SystemAssigned, UserAssigned'
285
- */
286
- type: IdentityType;
287
- /**
288
- * The list of user identities associated with the Kusto cluster. The user identity dictionary
289
- * key references will be ARM resource ids in the form:
290
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
291
- */
292
- userAssignedIdentities?: { [propertyName: string]: IdentityUserAssignedIdentitiesValue };
494
+ /** Class representing an data connection validation. */
495
+ export interface DataConnectionValidation {
496
+ /** The name of the data connection. */
497
+ dataConnectionName?: string;
498
+ /** The data connection properties to validate. */
499
+ properties?: DataConnectionUnion;
293
500
  }
294
501
 
295
- /**
296
- * Common fields that are returned in the response for all Azure Resource Manager resources
297
- * @summary Resource
298
- */
299
- export interface Resource extends BaseResource {
502
+ /** The list Kusto data connection validation result. */
503
+ export interface DataConnectionValidationListResult {
504
+ /** The list of Kusto data connection validation errors. */
505
+ value?: DataConnectionValidationResult[];
506
+ }
507
+
508
+ /** The result returned from a data connection validation request. */
509
+ export interface DataConnectionValidationResult {
510
+ /** A message which indicates a problem in data connection validation. */
511
+ errorMessage?: string;
512
+ }
513
+
514
+ /** A data connection check name availability request. */
515
+ export interface DataConnectionCheckNameRequest {
516
+ /** Data Connection name. */
517
+ name: string;
518
+ /** The type of resource, Microsoft.Kusto/clusters/databases/dataConnections. */
519
+ type: "Microsoft.Kusto/clusters/databases/dataConnections";
520
+ }
521
+
522
+ /** A script name availability request. */
523
+ export interface ScriptCheckNameRequest {
524
+ /** Script name. */
525
+ name: string;
526
+ /** The type of resource, Microsoft.Kusto/clusters/databases/scripts. */
527
+ type: "Microsoft.Kusto/clusters/databases/scripts";
528
+ }
529
+
530
+ /** Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results. */
531
+ export interface OperationListResult {
532
+ /** The list of operations supported by the resource provider. */
533
+ value?: Operation[];
534
+ /** The URL to get the next set of operation list results if there are any. */
535
+ nextLink?: string;
536
+ }
537
+
538
+ /** A REST API operation */
539
+ export interface Operation {
540
+ /** This is of the format {provider}/{resource}/{operation}. */
541
+ name?: string;
542
+ /** The object that describes the operation. */
543
+ display?: OperationDisplay;
544
+ /** The intended executor of the operation. */
545
+ origin?: string;
546
+ /** Any object */
547
+ properties?: Record<string, unknown>;
548
+ }
549
+
550
+ /** The object that describes the operation. */
551
+ export interface OperationDisplay {
552
+ /** Friendly name of the resource provider. */
553
+ provider?: string;
554
+ /** For example: read, write, delete. */
555
+ operation?: string;
556
+ /** The resource type on which the operation is performed. */
557
+ resource?: string;
558
+ /** The friendly name of the operation. */
559
+ description?: string;
560
+ }
561
+
562
+ /** Operation Result Entity. */
563
+ export interface OperationResult {
300
564
  /**
301
- * Fully qualified resource ID for the resource. Ex -
302
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
303
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
565
+ * ID of the resource.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
304
567
  */
305
568
  readonly id?: string;
306
569
  /**
307
- * The name of the resource
308
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
570
+ * Name of the resource.
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
309
572
  */
310
573
  readonly name?: string;
311
574
  /**
312
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
313
- * "Microsoft.Storage/storageAccounts"
314
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
575
+ * status of the Operation result.
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
577
  */
316
- readonly type?: string;
578
+ readonly status?: Status;
579
+ /** The operation start time */
580
+ startTime?: Date;
581
+ /** The operation end time */
582
+ endTime?: Date;
583
+ /** Percentage completed. */
584
+ percentComplete?: number;
585
+ /** The code of the error. */
586
+ code?: string;
587
+ /** The error message. */
588
+ message?: string;
589
+ /** The kind of the operation. */
590
+ operationKind?: string;
591
+ /** The state of the operation. */
592
+ operationState?: string;
317
593
  }
318
594
 
319
- /**
320
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
321
- * 'tags' and a 'location'
322
- * @summary Tracked Resource
323
- */
324
- export interface TrackedResource extends Resource {
325
- /**
326
- * Resource tags.
327
- */
595
+ /** A class that contains database statistics information. */
596
+ export interface DatabaseStatistics {
597
+ /** The database size - the total size of compressed data and index in bytes. */
598
+ size?: number;
599
+ }
600
+
601
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
602
+ export type TrackedResource = Resource & {
603
+ /** Resource tags. */
328
604
  tags?: { [propertyName: string]: string };
329
- /**
330
- * The geo-location where the resource lives
331
- */
605
+ /** The geo-location where the resource lives */
332
606
  location: string;
333
- }
607
+ };
334
608
 
335
- /**
336
- * Class representing a Kusto cluster.
337
- */
338
- export interface Cluster extends TrackedResource {
339
- /**
340
- * The SKU of the cluster.
341
- */
342
- sku: AzureSku;
343
- /**
344
- * The availability zones of the cluster.
345
- */
346
- zones?: string[];
347
- /**
348
- * The identity of the cluster, if configured.
349
- */
609
+ /** Class representing an update to a Kusto cluster. */
610
+ export type ClusterUpdate = Resource & {
611
+ /** Resource tags. */
612
+ tags?: { [propertyName: string]: string };
613
+ /** Resource location. */
614
+ location?: string;
615
+ /** The SKU of the cluster. */
616
+ sku?: AzureSku;
617
+ /** The identity of the cluster, if configured. */
350
618
  identity?: Identity;
351
619
  /**
352
- * The state of the resource. Possible values include: 'Creating', 'Unavailable', 'Running',
353
- * 'Deleting', 'Deleted', 'Stopping', 'Stopped', 'Starting', 'Updating'
354
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
620
+ * The state of the resource.
621
+ * NOTE: This property will not be serialized. It can only be populated by the server.
355
622
  */
356
623
  readonly state?: State;
357
624
  /**
358
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
359
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
625
+ * The provisioned state of the resource.
626
+ * NOTE: This property will not be serialized. It can only be populated by the server.
360
627
  */
361
- provisioningState?: ProvisioningState;
628
+ readonly provisioningState?: ProvisioningState;
362
629
  /**
363
630
  * The cluster URI.
364
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
631
+ * NOTE: This property will not be serialized. It can only be populated by the server.
365
632
  */
366
633
  readonly uri?: string;
367
634
  /**
368
635
  * The cluster data ingestion URI.
369
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
370
637
  */
371
638
  readonly dataIngestionUri?: string;
372
639
  /**
373
640
  * The reason for the cluster's current state.
374
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
641
+ * NOTE: This property will not be serialized. It can only be populated by the server.
375
642
  */
376
643
  readonly stateReason?: string;
377
- /**
378
- * The cluster's external tenants.
379
- */
644
+ /** The cluster's external tenants. */
380
645
  trustedExternalTenants?: TrustedExternalTenant[];
381
- /**
382
- * Optimized auto scale definition.
383
- */
646
+ /** Optimized auto scale definition. */
384
647
  optimizedAutoscale?: OptimizedAutoscale;
385
- /**
386
- * A boolean value that indicates if the cluster's disks are encrypted. Default value: false.
387
- */
648
+ /** A boolean value that indicates if the cluster's disks are encrypted. */
388
649
  enableDiskEncryption?: boolean;
389
- /**
390
- * A boolean value that indicates if the streaming ingest is enabled. Default value: false.
391
- */
650
+ /** A boolean value that indicates if the streaming ingest is enabled. */
392
651
  enableStreamingIngest?: boolean;
393
- /**
394
- * Virtual network definition.
395
- */
652
+ /** Virtual network definition. */
396
653
  virtualNetworkConfiguration?: VirtualNetworkConfiguration;
397
- /**
398
- * KeyVault properties for the cluster encryption.
399
- */
654
+ /** KeyVault properties for the cluster encryption. */
400
655
  keyVaultProperties?: KeyVaultProperties;
401
- /**
402
- * A boolean value that indicates if the purge operations are enabled. Default value: false.
403
- */
656
+ /** A boolean value that indicates if the purge operations are enabled. */
404
657
  enablePurge?: boolean;
405
658
  /**
406
659
  * List of the cluster's language extensions.
407
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
408
661
  */
409
662
  readonly languageExtensions?: LanguageExtensionsList;
410
- /**
411
- * A boolean value that indicates if double encryption is enabled. Default value: false.
412
- */
663
+ /** A boolean value that indicates if double encryption is enabled. */
413
664
  enableDoubleEncryption?: boolean;
414
- /**
415
- * The engine type. Possible values include: 'V2', 'V3'. Default value: 'V3'.
416
- */
665
+ /** Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed */
666
+ publicNetworkAccess?: PublicNetworkAccess;
667
+ /** The list of ips in the format of CIDR allowed to connect to the cluster. */
668
+ allowedIpRangeList?: string[];
669
+ /** The engine type */
417
670
  engineType?: EngineType;
671
+ /** The cluster's accepted audiences. */
672
+ acceptedAudiences?: AcceptedAudiences[];
673
+ /** A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). */
674
+ enableAutoStop?: boolean;
675
+ /** Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
676
+ restrictOutboundNetworkAccess?: ClusterNetworkAccessFlag;
677
+ /** List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. */
678
+ allowedFqdnList?: string[];
679
+ };
680
+
681
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
682
+ export type ProxyResource = Resource & {};
683
+
684
+ /** A private link resource */
685
+ export type PrivateLinkResource = Resource & {
418
686
  /**
419
- * A unique read-only string that changes whenever the resource is updated.
420
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
687
+ * Metadata pertaining to creation and last modification of the resource.
688
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
689
  */
422
- readonly etag?: string;
423
- }
424
-
425
- /**
426
- * Class representing an update to a Kusto cluster.
427
- */
428
- export interface ClusterUpdate extends Resource {
690
+ readonly systemData?: SystemData;
429
691
  /**
430
- * Resource tags.
692
+ * The private link resource group id.
693
+ * NOTE: This property will not be serialized. It can only be populated by the server.
431
694
  */
432
- tags?: { [propertyName: string]: string };
695
+ readonly groupId?: string;
433
696
  /**
434
- * Resource location.
697
+ * The private link resource required member names.
698
+ * NOTE: This property will not be serialized. It can only be populated by the server.
435
699
  */
436
- location?: string;
700
+ readonly requiredMembers?: string[];
437
701
  /**
438
- * The SKU of the cluster.
702
+ * The private link resource required zone names.
703
+ * NOTE: This property will not be serialized. It can only be populated by the server.
439
704
  */
440
- sku?: AzureSku;
705
+ readonly requiredZoneNames?: string[];
706
+ };
707
+
708
+ /** Class representing a Kusto cluster. */
709
+ export type Cluster = TrackedResource & {
710
+ /** The SKU of the cluster. */
711
+ sku: AzureSku;
441
712
  /**
442
- * The identity of the cluster, if configured.
713
+ * Metadata pertaining to creation and last modification of the resource.
714
+ * NOTE: This property will not be serialized. It can only be populated by the server.
443
715
  */
716
+ readonly systemData?: SystemData;
717
+ /** The availability zones of the cluster. */
718
+ zones?: string[];
719
+ /** The identity of the cluster, if configured. */
444
720
  identity?: Identity;
445
721
  /**
446
- * The state of the resource. Possible values include: 'Creating', 'Unavailable', 'Running',
447
- * 'Deleting', 'Deleted', 'Stopping', 'Stopped', 'Starting', 'Updating'
448
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
722
+ * A unique read-only string that changes whenever the resource is updated.
723
+ * NOTE: This property will not be serialized. It can only be populated by the server.
724
+ */
725
+ readonly etag?: string;
726
+ /**
727
+ * The state of the resource.
728
+ * NOTE: This property will not be serialized. It can only be populated by the server.
449
729
  */
450
730
  readonly state?: State;
451
731
  /**
452
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
453
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
732
+ * The provisioned state of the resource.
733
+ * NOTE: This property will not be serialized. It can only be populated by the server.
454
734
  */
455
- provisioningState?: ProvisioningState;
735
+ readonly provisioningState?: ProvisioningState;
456
736
  /**
457
737
  * The cluster URI.
458
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
738
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
739
  */
460
740
  readonly uri?: string;
461
741
  /**
462
742
  * The cluster data ingestion URI.
463
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
743
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
744
  */
465
745
  readonly dataIngestionUri?: string;
466
746
  /**
467
747
  * The reason for the cluster's current state.
468
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
748
+ * NOTE: This property will not be serialized. It can only be populated by the server.
469
749
  */
470
750
  readonly stateReason?: string;
471
- /**
472
- * The cluster's external tenants.
473
- */
751
+ /** The cluster's external tenants. */
474
752
  trustedExternalTenants?: TrustedExternalTenant[];
475
- /**
476
- * Optimized auto scale definition.
477
- */
753
+ /** Optimized auto scale definition. */
478
754
  optimizedAutoscale?: OptimizedAutoscale;
479
- /**
480
- * A boolean value that indicates if the cluster's disks are encrypted. Default value: false.
481
- */
755
+ /** A boolean value that indicates if the cluster's disks are encrypted. */
482
756
  enableDiskEncryption?: boolean;
483
- /**
484
- * A boolean value that indicates if the streaming ingest is enabled. Default value: false.
485
- */
757
+ /** A boolean value that indicates if the streaming ingest is enabled. */
486
758
  enableStreamingIngest?: boolean;
487
- /**
488
- * Virtual network definition.
489
- */
759
+ /** Virtual network definition. */
490
760
  virtualNetworkConfiguration?: VirtualNetworkConfiguration;
491
- /**
492
- * KeyVault properties for the cluster encryption.
493
- */
761
+ /** KeyVault properties for the cluster encryption. */
494
762
  keyVaultProperties?: KeyVaultProperties;
495
- /**
496
- * A boolean value that indicates if the purge operations are enabled. Default value: false.
497
- */
763
+ /** A boolean value that indicates if the purge operations are enabled. */
498
764
  enablePurge?: boolean;
499
765
  /**
500
766
  * List of the cluster's language extensions.
501
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
767
+ * NOTE: This property will not be serialized. It can only be populated by the server.
502
768
  */
503
769
  readonly languageExtensions?: LanguageExtensionsList;
504
- /**
505
- * A boolean value that indicates if double encryption is enabled. Default value: false.
506
- */
770
+ /** A boolean value that indicates if double encryption is enabled. */
507
771
  enableDoubleEncryption?: boolean;
508
- /**
509
- * The engine type. Possible values include: 'V2', 'V3'. Default value: 'V3'.
510
- */
772
+ /** Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed */
773
+ publicNetworkAccess?: PublicNetworkAccess;
774
+ /** The list of ips in the format of CIDR allowed to connect to the cluster. */
775
+ allowedIpRangeList?: string[];
776
+ /** The engine type */
511
777
  engineType?: EngineType;
512
- }
513
-
514
- /**
515
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
516
- * and a location
517
- * @summary Proxy Resource
518
- */
519
- export interface ProxyResource extends Resource {}
778
+ /** The cluster's accepted audiences. */
779
+ acceptedAudiences?: AcceptedAudiences[];
780
+ /** A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). */
781
+ enableAutoStop?: boolean;
782
+ /** Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
783
+ restrictOutboundNetworkAccess?: ClusterNetworkAccessFlag;
784
+ /** List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. */
785
+ allowedFqdnList?: string[];
786
+ };
520
787
 
521
- /**
522
- * Class representing an attached database configuration.
523
- */
524
- export interface AttachedDatabaseConfiguration extends ProxyResource {
525
- /**
526
- * Resource location.
527
- */
528
- location?: string;
788
+ /** Class representing a cluster principal assignment. */
789
+ export type ClusterPrincipalAssignment = ProxyResource & {
790
+ /** The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. */
791
+ principalId?: string;
792
+ /** Cluster principal role. */
793
+ role?: ClusterPrincipalRole;
794
+ /** The tenant id of the principal */
795
+ tenantId?: string;
796
+ /** Principal type. */
797
+ principalType?: PrincipalType;
529
798
  /**
530
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
531
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
799
+ * The tenant name of the principal
800
+ * NOTE: This property will not be serialized. It can only be populated by the server.
532
801
  */
533
- provisioningState?: ProvisioningState;
802
+ readonly tenantName?: string;
534
803
  /**
535
- * The name of the database which you would like to attach, use * if you want to follow all
536
- * current and future databases.
804
+ * The principal name
805
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
806
  */
538
- databaseName: string;
807
+ readonly principalName?: string;
539
808
  /**
540
- * The resource id of the cluster where the databases you would like to attach reside.
809
+ * The provisioned state of the resource.
810
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
811
  */
542
- clusterResourceId: string;
812
+ readonly provisioningState?: ProvisioningState;
813
+ };
814
+
815
+ /** Class representing a Kusto database. */
816
+ export type Database = ProxyResource & {
817
+ /** Resource location. */
818
+ location?: string;
819
+ /** Kind of the database */
820
+ kind: Kind;
821
+ };
822
+
823
+ /** Class representing a database principal assignment. */
824
+ export type DatabasePrincipalAssignment = ProxyResource & {
825
+ /** The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. */
826
+ principalId?: string;
827
+ /** Database principal role. */
828
+ role?: DatabasePrincipalRole;
829
+ /** The tenant id of the principal */
830
+ tenantId?: string;
831
+ /** Principal type. */
832
+ principalType?: PrincipalType;
543
833
  /**
544
- * The list of databases from the clusterResourceId which are currently attached to the cluster.
545
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
834
+ * The tenant name of the principal
835
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
836
  */
547
- readonly attachedDatabaseNames?: string[];
837
+ readonly tenantName?: string;
548
838
  /**
549
- * The default principals modification kind. Possible values include: 'Union', 'Replace', 'None'
839
+ * The principal name
840
+ * NOTE: This property will not be serialized. It can only be populated by the server.
550
841
  */
551
- defaultPrincipalsModificationKind: DefaultPrincipalsModificationKind;
842
+ readonly principalName?: string;
552
843
  /**
553
- * Table level sharing specifications
844
+ * The provisioned state of the resource.
845
+ * NOTE: This property will not be serialized. It can only be populated by the server.
554
846
  */
555
- tableLevelSharingProperties?: TableLevelSharingProperties;
556
- }
557
-
558
- /**
559
- * Contains the possible cases for Database.
560
- */
561
- export type DatabaseUnion = Database | ReadWriteDatabase | ReadOnlyFollowingDatabase;
847
+ readonly provisioningState?: ProvisioningState;
848
+ };
562
849
 
563
- /**
564
- * Class representing a Kusto database.
565
- */
566
- export interface Database {
567
- /**
568
- * Polymorphic Discriminator
569
- */
570
- kind: "Database";
850
+ /** Class representing a database script. */
851
+ export type Script = ProxyResource & {
571
852
  /**
572
- * Fully qualified resource ID for the resource. Ex -
573
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
574
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
853
+ * Metadata pertaining to creation and last modification of the resource.
854
+ * NOTE: This property will not be serialized. It can only be populated by the server.
575
855
  */
576
- readonly id?: string;
856
+ readonly systemData?: SystemData;
857
+ /** The url to the KQL script blob file. */
858
+ scriptUrl?: string;
859
+ /** The SaS token. */
860
+ scriptUrlSasToken?: string;
861
+ /** A unique string. If changed the script will be applied again. */
862
+ forceUpdateTag?: string;
863
+ /** Flag that indicates whether to continue if one of the command fails. */
864
+ continueOnErrors?: boolean;
577
865
  /**
578
- * The name of the resource
579
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
866
+ * The provisioned state of the resource.
867
+ * NOTE: This property will not be serialized. It can only be populated by the server.
580
868
  */
581
- readonly name?: string;
869
+ readonly provisioningState?: ProvisioningState;
870
+ };
871
+
872
+ /** Class representing a managed private endpoint. */
873
+ export type ManagedPrivateEndpoint = ProxyResource & {
582
874
  /**
583
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
584
- * "Microsoft.Storage/storageAccounts"
585
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
875
+ * Metadata pertaining to creation and last modification of the resource.
876
+ * NOTE: This property will not be serialized. It can only be populated by the server.
586
877
  */
587
- readonly type?: string;
878
+ readonly systemData?: SystemData;
879
+ /** The ARM resource ID of the resource for which the managed private endpoint is created. */
880
+ privateLinkResourceId?: string;
881
+ /** The region of the resource to which the managed private endpoint is created. */
882
+ privateLinkResourceRegion?: string;
883
+ /** The groupId in which the managed private endpoint is created. */
884
+ groupId?: string;
885
+ /** The user request message. */
886
+ requestMessage?: string;
887
+ /**
888
+ * The provisioned state of the resource.
889
+ * NOTE: This property will not be serialized. It can only be populated by the server.
890
+ */
891
+ readonly provisioningState?: ProvisioningState;
892
+ };
893
+
894
+ /** A private endpoint connection */
895
+ export type PrivateEndpointConnection = ProxyResource & {
588
896
  /**
589
- * Resource location.
897
+ * Metadata pertaining to creation and last modification of the resource.
898
+ * NOTE: This property will not be serialized. It can only be populated by the server.
590
899
  */
591
- location?: string;
592
- }
593
-
594
- /**
595
- * Class representing a read write database.
596
- */
597
- export interface ReadWriteDatabase {
900
+ readonly systemData?: SystemData;
598
901
  /**
599
- * Polymorphic Discriminator
902
+ * Private endpoint which the connection belongs to.
903
+ * NOTE: This property will not be serialized. It can only be populated by the server.
600
904
  */
601
- kind: "ReadWrite";
905
+ readonly privateEndpoint?: PrivateEndpointProperty;
906
+ /** Connection State of the Private Endpoint Connection. */
907
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
602
908
  /**
603
- * Fully qualified resource ID for the resource. Ex -
604
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
605
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
909
+ * Group id of the private endpoint.
910
+ * NOTE: This property will not be serialized. It can only be populated by the server.
606
911
  */
607
- readonly id?: string;
912
+ readonly groupId?: string;
608
913
  /**
609
- * The name of the resource
610
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
914
+ * Provisioning state of the private endpoint.
915
+ * NOTE: This property will not be serialized. It can only be populated by the server.
611
916
  */
612
- readonly name?: string;
917
+ readonly provisioningState?: string;
918
+ };
919
+
920
+ /** Endpoints accessed for a common purpose that the Kusto Service Environment requires outbound network access to. */
921
+ export type OutboundNetworkDependenciesEndpoint = ProxyResource & {
613
922
  /**
614
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
615
- * "Microsoft.Storage/storageAccounts"
616
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
923
+ * A unique read-only string that changes whenever the resource is updated.
924
+ * NOTE: This property will not be serialized. It can only be populated by the server.
617
925
  */
618
- readonly type?: string;
926
+ readonly etag?: string;
927
+ /** The type of service accessed by the Kusto Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory. */
928
+ category?: string;
929
+ /** The endpoints that the Kusto Service Environment reaches the service at. */
930
+ endpoints?: EndpointDependency[];
619
931
  /**
620
- * Resource location.
932
+ * The provisioned state of the resource.
933
+ * NOTE: This property will not be serialized. It can only be populated by the server.
621
934
  */
935
+ readonly provisioningState?: ProvisioningState;
936
+ };
937
+
938
+ /** Class representing an attached database configuration. */
939
+ export type AttachedDatabaseConfiguration = ProxyResource & {
940
+ /** Resource location. */
622
941
  location?: string;
623
942
  /**
624
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
625
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
943
+ * The provisioned state of the resource.
944
+ * NOTE: This property will not be serialized. It can only be populated by the server.
626
945
  */
627
- provisioningState?: ProvisioningState;
946
+ readonly provisioningState?: ProvisioningState;
947
+ /** The name of the database which you would like to attach, use * if you want to follow all current and future databases. */
948
+ databaseName?: string;
949
+ /** The resource id of the cluster where the databases you would like to attach reside. */
950
+ clusterResourceId?: string;
628
951
  /**
629
- * The time the data should be kept before it stops being accessible to queries in TimeSpan.
952
+ * The list of databases from the clusterResourceId which are currently attached to the cluster.
953
+ * NOTE: This property will not be serialized. It can only be populated by the server.
630
954
  */
631
- softDeletePeriod?: string;
955
+ readonly attachedDatabaseNames?: string[];
956
+ /** The default principals modification kind */
957
+ defaultPrincipalsModificationKind?: DefaultPrincipalsModificationKind;
958
+ /** Table level sharing specifications */
959
+ tableLevelSharingProperties?: TableLevelSharingProperties;
960
+ };
961
+
962
+ /** Class representing an data connection. */
963
+ export type DataConnection = ProxyResource & {
964
+ /** Resource location. */
965
+ location?: string;
966
+ /** Kind of the endpoint for the data connection */
967
+ kind: DataConnectionKind;
968
+ };
969
+
970
+ /** Class representing a read write database. */
971
+ export type ReadWriteDatabase = Database & {
632
972
  /**
633
- * The time the data should be kept in cache for fast queries in TimeSpan.
973
+ * The provisioned state of the resource.
974
+ * NOTE: This property will not be serialized. It can only be populated by the server.
634
975
  */
976
+ readonly provisioningState?: ProvisioningState;
977
+ /** The time the data should be kept before it stops being accessible to queries in TimeSpan. */
978
+ softDeletePeriod?: string;
979
+ /** The time the data should be kept in cache for fast queries in TimeSpan. */
635
980
  hotCachePeriod?: string;
636
981
  /**
637
982
  * The statistics of the database.
983
+ * NOTE: This property will not be serialized. It can only be populated by the server.
638
984
  */
639
- statistics?: DatabaseStatistics;
985
+ readonly statistics?: DatabaseStatistics;
640
986
  /**
641
987
  * Indicates whether the database is followed.
642
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
988
+ * NOTE: This property will not be serialized. It can only be populated by the server.
643
989
  */
644
990
  readonly isFollowed?: boolean;
645
- }
991
+ };
646
992
 
647
- /**
648
- * Class representing a read only following database.
649
- */
650
- export interface ReadOnlyFollowingDatabase {
651
- /**
652
- * Polymorphic Discriminator
653
- */
654
- kind: "ReadOnlyFollowing";
655
- /**
656
- * Fully qualified resource ID for the resource. Ex -
657
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
658
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
659
- */
660
- readonly id?: string;
661
- /**
662
- * The name of the resource
663
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
664
- */
665
- readonly name?: string;
666
- /**
667
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
668
- * "Microsoft.Storage/storageAccounts"
669
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
670
- */
671
- readonly type?: string;
993
+ /** Class representing a read only following database. */
994
+ export type ReadOnlyFollowingDatabase = Database & {
672
995
  /**
673
- * Resource location.
996
+ * The provisioned state of the resource.
997
+ * NOTE: This property will not be serialized. It can only be populated by the server.
674
998
  */
675
- location?: string;
676
- /**
677
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
678
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
679
- */
680
- provisioningState?: ProvisioningState;
999
+ readonly provisioningState?: ProvisioningState;
681
1000
  /**
682
1001
  * The time the data should be kept before it stops being accessible to queries in TimeSpan.
683
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1002
+ * NOTE: This property will not be serialized. It can only be populated by the server.
684
1003
  */
685
1004
  readonly softDeletePeriod?: string;
686
- /**
687
- * The time the data should be kept in cache for fast queries in TimeSpan.
688
- */
1005
+ /** The time the data should be kept in cache for fast queries in TimeSpan. */
689
1006
  hotCachePeriod?: string;
690
1007
  /**
691
1008
  * The statistics of the database.
1009
+ * NOTE: This property will not be serialized. It can only be populated by the server.
692
1010
  */
693
- statistics?: DatabaseStatistics;
1011
+ readonly statistics?: DatabaseStatistics;
694
1012
  /**
695
1013
  * The name of the leader cluster
696
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1014
+ * NOTE: This property will not be serialized. It can only be populated by the server.
697
1015
  */
698
1016
  readonly leaderClusterResourceId?: string;
699
1017
  /**
700
1018
  * The name of the attached database configuration cluster
701
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1019
+ * NOTE: This property will not be serialized. It can only be populated by the server.
702
1020
  */
703
1021
  readonly attachedDatabaseConfigurationName?: string;
704
1022
  /**
705
- * The principals modification kind of the database. Possible values include: 'Union', 'Replace',
706
- * 'None'
707
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1023
+ * The principals modification kind of the database
1024
+ * NOTE: This property will not be serialized. It can only be populated by the server.
708
1025
  */
709
1026
  readonly principalsModificationKind?: PrincipalsModificationKind;
710
- }
1027
+ };
711
1028
 
712
- /**
713
- * A class representing database principal entity.
714
- */
715
- export interface DatabasePrincipal {
716
- /**
717
- * Database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User',
718
- * 'UnrestrictedViewer', 'Viewer'
719
- */
720
- role: DatabasePrincipalRole;
721
- /**
722
- * Database principal name.
723
- */
724
- name: string;
725
- /**
726
- * Database principal type. Possible values include: 'App', 'Group', 'User'
727
- */
728
- type: DatabasePrincipalType;
729
- /**
730
- * Database principal fully qualified name.
731
- */
732
- fqn?: string;
733
- /**
734
- * Database principal email if exists.
735
- */
736
- email?: string;
737
- /**
738
- * Application id - relevant only for application principal type.
739
- */
740
- appId?: string;
741
- /**
742
- * The tenant name of the principal
743
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
744
- */
745
- readonly tenantName?: string;
746
- }
747
-
748
- /**
749
- * Class representing a database principal assignment.
750
- */
751
- export interface DatabasePrincipalAssignment extends ProxyResource {
752
- /**
753
- * The principal ID assigned to the database principal. It can be a user email, application ID,
754
- * or security group name.
755
- */
756
- principalId: string;
757
- /**
758
- * Database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User',
759
- * 'UnrestrictedViewer', 'Viewer'
760
- */
761
- role: DatabasePrincipalRole;
762
- /**
763
- * The tenant id of the principal
764
- */
765
- tenantId?: string;
766
- /**
767
- * Principal type. Possible values include: 'App', 'Group', 'User'
768
- */
769
- principalType: PrincipalType;
770
- /**
771
- * The tenant name of the principal
772
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
773
- */
774
- readonly tenantName?: string;
775
- /**
776
- * The principal name
777
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
778
- */
779
- readonly principalName?: string;
780
- /**
781
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
782
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
783
- */
784
- provisioningState?: ProvisioningState;
785
- }
786
-
787
- /**
788
- * Class representing a cluster principal assignment.
789
- */
790
- export interface ClusterPrincipalAssignment extends ProxyResource {
791
- /**
792
- * The principal ID assigned to the cluster principal. It can be a user email, application ID, or
793
- * security group name.
794
- */
795
- principalId: string;
796
- /**
797
- * Cluster principal role. Possible values include: 'AllDatabasesAdmin', 'AllDatabasesViewer'
798
- */
799
- role: ClusterPrincipalRole;
800
- /**
801
- * The tenant id of the principal
802
- */
803
- tenantId?: string;
804
- /**
805
- * Principal type. Possible values include: 'App', 'Group', 'User'
806
- */
807
- principalType: PrincipalType;
808
- /**
809
- * The tenant name of the principal
810
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
811
- */
812
- readonly tenantName?: string;
813
- /**
814
- * The principal name
815
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
816
- */
817
- readonly principalName?: string;
818
- /**
819
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
820
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
821
- */
822
- provisioningState?: ProvisioningState;
823
- }
824
-
825
- /**
826
- * Metadata pertaining to creation and last modification of the resource.
827
- */
828
- export interface SystemData {
829
- /**
830
- * The identity that created the resource.
831
- */
832
- createdBy?: string;
833
- /**
834
- * The type of identity that created the resource. Possible values include: 'User',
835
- * 'Application', 'ManagedIdentity', 'Key'
836
- */
837
- createdByType?: CreatedByType;
838
- /**
839
- * The timestamp of resource creation (UTC).
840
- */
841
- createdAt?: Date;
842
- /**
843
- * The identity that last modified the resource.
844
- */
845
- lastModifiedBy?: string;
846
- /**
847
- * The type of identity that last modified the resource. Possible values include: 'User',
848
- * 'Application', 'ManagedIdentity', 'Key'
849
- */
850
- lastModifiedByType?: CreatedByType;
851
- /**
852
- * The timestamp of resource last modification (UTC)
853
- */
854
- lastModifiedAt?: Date;
855
- }
856
-
857
- /**
858
- * Class representing a database script.
859
- */
860
- export interface Script extends ProxyResource {
861
- /**
862
- * The url to the KQL script blob file.
863
- */
864
- scriptUrl: string;
865
- /**
866
- * The SaS token.
867
- */
868
- scriptUrlSasToken: string;
869
- /**
870
- * A unique string. If changed the script will be applied again.
871
- */
872
- forceUpdateTag?: string;
873
- /**
874
- * Flag that indicates whether to continue if one of the command fails. Default value: false.
875
- */
876
- continueOnErrors?: boolean;
877
- /**
878
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
879
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
880
- */
881
- provisioningState?: ProvisioningState;
882
- /**
883
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
884
- */
885
- readonly systemData?: SystemData;
886
- }
887
-
888
- /**
889
- * A class representing follower database request.
890
- */
891
- export interface FollowerDatabaseDefinition {
892
- /**
893
- * Resource id of the cluster that follows a database owned by this cluster.
894
- */
895
- clusterResourceId: string;
896
- /**
897
- * Resource name of the attached database configuration in the follower cluster.
898
- */
899
- attachedDatabaseConfigurationName: string;
900
- /**
901
- * The database name owned by this cluster that was followed. * in case following all databases.
902
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
903
- */
904
- readonly databaseName?: string;
905
- }
906
-
907
- /**
908
- * Contains the possible cases for DataConnection.
909
- */
910
- export type DataConnectionUnion =
911
- | DataConnection
912
- | EventHubDataConnection
913
- | IotHubDataConnection
914
- | EventGridDataConnection;
915
-
916
- /**
917
- * Class representing an data connection.
918
- */
919
- export interface DataConnection {
920
- /**
921
- * Polymorphic Discriminator
922
- */
923
- kind: "DataConnection";
924
- /**
925
- * Fully qualified resource ID for the resource. Ex -
926
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
927
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
928
- */
929
- readonly id?: string;
930
- /**
931
- * The name of the resource
932
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
933
- */
934
- readonly name?: string;
935
- /**
936
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
937
- * "Microsoft.Storage/storageAccounts"
938
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
939
- */
940
- readonly type?: string;
941
- /**
942
- * Resource location.
943
- */
944
- location?: string;
945
- }
946
-
947
- /**
948
- * The result returned from a data connection validation request.
949
- */
950
- export interface DataConnectionValidationResult {
951
- /**
952
- * A message which indicates a problem in data connection validation.
953
- */
954
- errorMessage?: string;
955
- }
956
-
957
- /**
958
- * The list Kusto database principals operation request.
959
- */
960
- export interface DatabasePrincipalListRequest {
961
- /**
962
- * The list of Kusto database principals.
963
- */
964
- value?: DatabasePrincipal[];
965
- }
966
-
967
- /**
968
- * An interface representing DiagnoseVirtualNetworkResult.
969
- */
970
- export interface DiagnoseVirtualNetworkResult {
971
- /**
972
- * The list of network connectivity diagnostic finding
973
- */
974
- findings?: string[];
975
- }
976
-
977
- /**
978
- * Class representing an data connection validation.
979
- */
980
- export interface DataConnectionValidation {
981
- /**
982
- * The name of the data connection.
983
- */
984
- dataConnectionName?: string;
985
- /**
986
- * The data connection properties to validate.
987
- */
988
- properties?: DataConnectionUnion;
989
- }
990
-
991
- /**
992
- * Class representing an event hub data connection.
993
- */
994
- export interface EventHubDataConnection {
995
- /**
996
- * Polymorphic Discriminator
997
- */
998
- kind: "EventHub";
999
- /**
1000
- * Fully qualified resource ID for the resource. Ex -
1001
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1002
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1003
- */
1004
- readonly id?: string;
1005
- /**
1006
- * The name of the resource
1007
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1008
- */
1009
- readonly name?: string;
1010
- /**
1011
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
1012
- * "Microsoft.Storage/storageAccounts"
1013
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1014
- */
1015
- readonly type?: string;
1016
- /**
1017
- * Resource location.
1018
- */
1019
- location?: string;
1020
- /**
1021
- * The resource ID of the event hub to be used to create a data connection.
1022
- */
1023
- eventHubResourceId: string;
1024
- /**
1025
- * The event hub consumer group.
1026
- */
1027
- consumerGroup: string;
1028
- /**
1029
- * The table where the data should be ingested. Optionally the table information can be added to
1030
- * each message.
1031
- */
1032
- tableName?: string;
1033
- /**
1034
- * The mapping rule to be used to ingest the data. Optionally the mapping information can be
1035
- * added to each message.
1036
- */
1037
- mappingRuleName?: string;
1038
- /**
1039
- * The data format of the message. Optionally the data format can be added to each message.
1040
- * Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
1041
- * 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
1042
- */
1043
- dataFormat?: EventHubDataFormat;
1044
- /**
1045
- * System properties of the event hub
1046
- */
1047
- eventSystemProperties?: string[];
1048
- /**
1049
- * The event hub messages compression type. Possible values include: 'None', 'GZip'. Default
1050
- * value: 'None'.
1051
- */
1052
- compression?: Compression;
1053
- /**
1054
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
1055
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
1056
- */
1057
- provisioningState?: ProvisioningState;
1058
- /**
1059
- * The resource ID of a managed identity (system or user assigned) to be used to authenticate
1060
- * with event hub.
1061
- */
1062
- managedIdentityResourceId?: string;
1063
- }
1064
-
1065
- /**
1066
- * Class representing an iot hub data connection.
1067
- */
1068
- export interface IotHubDataConnection {
1069
- /**
1070
- * Polymorphic Discriminator
1071
- */
1072
- kind: "IotHub";
1073
- /**
1074
- * Fully qualified resource ID for the resource. Ex -
1075
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1076
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1077
- */
1078
- readonly id?: string;
1079
- /**
1080
- * The name of the resource
1081
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1082
- */
1083
- readonly name?: string;
1084
- /**
1085
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
1086
- * "Microsoft.Storage/storageAccounts"
1087
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1088
- */
1089
- readonly type?: string;
1090
- /**
1091
- * Resource location.
1092
- */
1093
- location?: string;
1094
- /**
1095
- * The resource ID of the Iot hub to be used to create a data connection.
1096
- */
1097
- iotHubResourceId: string;
1098
- /**
1099
- * The iot hub consumer group.
1100
- */
1101
- consumerGroup: string;
1102
- /**
1103
- * The table where the data should be ingested. Optionally the table information can be added to
1104
- * each message.
1105
- */
1106
- tableName?: string;
1107
- /**
1108
- * The mapping rule to be used to ingest the data. Optionally the mapping information can be
1109
- * added to each message.
1110
- */
1111
- mappingRuleName?: string;
1112
- /**
1113
- * The data format of the message. Optionally the data format can be added to each message.
1114
- * Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
1115
- * 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
1116
- */
1117
- dataFormat?: IotHubDataFormat;
1118
- /**
1119
- * System properties of the iot hub
1120
- */
1121
- eventSystemProperties?: string[];
1122
- /**
1123
- * The name of the share access policy
1124
- */
1125
- sharedAccessPolicyName: string;
1126
- /**
1127
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
1128
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
1129
- */
1130
- provisioningState?: ProvisioningState;
1131
- }
1132
-
1133
- /**
1134
- * Class representing an Event Grid data connection.
1135
- */
1136
- export interface EventGridDataConnection {
1137
- /**
1138
- * Polymorphic Discriminator
1139
- */
1140
- kind: "EventGrid";
1141
- /**
1142
- * Fully qualified resource ID for the resource. Ex -
1143
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1144
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1145
- */
1146
- readonly id?: string;
1147
- /**
1148
- * The name of the resource
1149
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1150
- */
1151
- readonly name?: string;
1152
- /**
1153
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
1154
- * "Microsoft.Storage/storageAccounts"
1155
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1156
- */
1157
- readonly type?: string;
1158
- /**
1159
- * Resource location.
1160
- */
1161
- location?: string;
1162
- /**
1163
- * The resource ID of the storage account where the data resides.
1164
- */
1165
- storageAccountResourceId: string;
1166
- /**
1167
- * The resource ID where the event grid is configured to send events.
1168
- */
1169
- eventHubResourceId: string;
1170
- /**
1171
- * The event hub consumer group.
1172
- */
1173
- consumerGroup: string;
1174
- /**
1175
- * The table where the data should be ingested. Optionally the table information can be added to
1176
- * each message.
1177
- */
1178
- tableName?: string;
1179
- /**
1180
- * The mapping rule to be used to ingest the data. Optionally the mapping information can be
1181
- * added to each message.
1182
- */
1183
- mappingRuleName?: string;
1184
- /**
1185
- * The data format of the message. Optionally the data format can be added to each message.
1186
- * Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
1187
- * 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
1188
- */
1189
- dataFormat?: EventGridDataFormat;
1190
- /**
1191
- * A Boolean value that, if set to true, indicates that ingestion should ignore the first record
1192
- * of every file
1193
- */
1194
- ignoreFirstRecord?: boolean;
1195
- /**
1196
- * The name of blob storage event type to process. Possible values include:
1197
- * 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobRenamed'
1198
- */
1199
- blobStorageEventType?: BlobStorageEventType;
1200
- /**
1201
- * The provisioned state of the resource. Possible values include: 'Running', 'Creating',
1202
- * 'Deleting', 'Succeeded', 'Failed', 'Moving'
1203
- */
1204
- provisioningState?: ProvisioningState;
1205
- }
1206
-
1207
- /**
1208
- * The list Kusto data connection validation result.
1209
- */
1210
- export interface DataConnectionValidationListResult {
1211
- /**
1212
- * The list of Kusto data connection validation errors.
1213
- */
1214
- value?: DataConnectionValidationResult[];
1215
- }
1216
-
1217
- /**
1218
- * The result returned from a cluster check name availability request.
1219
- */
1220
- export interface ClusterCheckNameRequest {
1221
- /**
1222
- * Cluster name.
1223
- */
1224
- name: string;
1225
- }
1226
-
1227
- /**
1228
- * The result returned from a database check name availability request.
1229
- */
1230
- export interface CheckNameRequest {
1231
- /**
1232
- * Resource name.
1233
- */
1234
- name: string;
1235
- /**
1236
- * The type of resource, for instance Microsoft.Kusto/clusters/databases. Possible values
1237
- * include: 'Microsoft.Kusto/clusters/databases',
1238
- * 'Microsoft.Kusto/clusters/attachedDatabaseConfigurations'
1239
- */
1240
- type: Type;
1241
- }
1242
-
1243
- /**
1244
- * A principal assignment check name availability request.
1245
- */
1246
- export interface ClusterPrincipalAssignmentCheckNameRequest {
1247
- /**
1248
- * Principal Assignment resource name.
1249
- */
1250
- name: string;
1251
- }
1252
-
1253
- /**
1254
- * A data connection check name availability request.
1255
- */
1256
- export interface DataConnectionCheckNameRequest {
1257
- /**
1258
- * Data Connection name.
1259
- */
1260
- name: string;
1261
- }
1262
-
1263
- /**
1264
- * A script name availability request.
1265
- */
1266
- export interface ScriptCheckNameRequest {
1267
- /**
1268
- * Script name.
1269
- */
1270
- name: string;
1271
- }
1272
-
1273
- /**
1274
- * A principal assignment check name availability request.
1275
- */
1276
- export interface DatabasePrincipalAssignmentCheckNameRequest {
1277
- /**
1278
- * Principal Assignment resource name.
1279
- */
1280
- name: string;
1281
- }
1282
-
1283
- /**
1284
- * The result returned from a check name availability request.
1285
- */
1286
- export interface CheckNameResult {
1287
- /**
1288
- * Specifies a Boolean value that indicates if the name is available.
1289
- */
1290
- nameAvailable?: boolean;
1291
- /**
1292
- * The name that was checked.
1293
- */
1294
- name?: string;
1295
- /**
1296
- * Message indicating an unavailable name due to a conflict, or a description of the naming rules
1297
- * that are violated.
1298
- */
1299
- message?: string;
1300
- /**
1301
- * Message providing the reason why the given name is invalid. Possible values include:
1302
- * 'Invalid', 'AlreadyExists'
1303
- */
1304
- reason?: Reason;
1305
- }
1306
-
1307
- /**
1308
- * An interface representing OperationDisplay.
1309
- * @summary The object that describes the operation.
1310
- */
1311
- export interface OperationDisplay {
1312
- /**
1313
- * Friendly name of the resource provider.
1314
- */
1315
- provider?: string;
1316
- /**
1317
- * The operation type. For example: read, write, delete.
1318
- */
1319
- operation?: string;
1320
- /**
1321
- * The resource type on which the operation is performed.
1322
- */
1323
- resource?: string;
1324
- /**
1325
- * The friendly name of the operation.
1326
- */
1327
- description?: string;
1328
- }
1329
-
1330
- /**
1331
- * An interface representing Operation.
1332
- * @summary A REST API operation
1333
- */
1334
- export interface Operation {
1335
- /**
1336
- * The operation name. This is of the format {provider}/{resource}/{operation}.
1337
- */
1338
- name?: string;
1339
- /**
1340
- * The object that describes the operation.
1341
- */
1342
- display?: OperationDisplay;
1343
- /**
1344
- * The intended executor of the operation.
1345
- */
1346
- origin?: string;
1347
- /**
1348
- * Properties of the operation.
1349
- */
1350
- properties?: any;
1351
- }
1352
-
1353
- /**
1354
- * Operation Result Entity.
1355
- */
1356
- export interface OperationResult {
1357
- /**
1358
- * ID of the resource.
1359
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1360
- */
1361
- readonly id?: string;
1362
- /**
1363
- * Name of the resource.
1364
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1365
- */
1366
- readonly name?: string;
1367
- /**
1368
- * status of the Operation result. Possible values include: 'Succeeded', 'Canceled', 'Failed',
1369
- * 'Running'
1370
- */
1371
- status?: Status;
1372
- /**
1373
- * The operation start time
1374
- */
1375
- startTime?: Date;
1376
- /**
1377
- * The operation end time
1378
- */
1379
- endTime?: Date;
1380
- /**
1381
- * Percentage completed.
1382
- */
1383
- percentComplete?: number;
1384
- /**
1385
- * The kind of the operation.
1386
- */
1387
- operationKind?: string;
1388
- /**
1389
- * The state of the operation.
1390
- */
1391
- operationState?: string;
1029
+ /** Class representing an event hub data connection. */
1030
+ export type EventHubDataConnection = DataConnection & {
1031
+ /** The resource ID of the event hub to be used to create a data connection. */
1032
+ eventHubResourceId?: string;
1033
+ /** The event hub consumer group. */
1034
+ consumerGroup?: string;
1035
+ /** The table where the data should be ingested. Optionally the table information can be added to each message. */
1036
+ tableName?: string;
1037
+ /** The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */
1038
+ mappingRuleName?: string;
1039
+ /** The data format of the message. Optionally the data format can be added to each message. */
1040
+ dataFormat?: EventHubDataFormat;
1041
+ /** System properties of the event hub */
1042
+ eventSystemProperties?: string[];
1043
+ /** The event hub messages compression type */
1044
+ compression?: Compression;
1392
1045
  /**
1393
- * The code of the error.
1046
+ * The provisioned state of the resource.
1047
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1394
1048
  */
1395
- code?: string;
1049
+ readonly provisioningState?: ProvisioningState;
1050
+ /** The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. */
1051
+ managedIdentityResourceId?: string;
1052
+ };
1053
+
1054
+ /** Class representing an iot hub data connection. */
1055
+ export type IotHubDataConnection = DataConnection & {
1056
+ /** The resource ID of the Iot hub to be used to create a data connection. */
1057
+ iotHubResourceId?: string;
1058
+ /** The iot hub consumer group. */
1059
+ consumerGroup?: string;
1060
+ /** The table where the data should be ingested. Optionally the table information can be added to each message. */
1061
+ tableName?: string;
1062
+ /** The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */
1063
+ mappingRuleName?: string;
1064
+ /** The data format of the message. Optionally the data format can be added to each message. */
1065
+ dataFormat?: IotHubDataFormat;
1066
+ /** System properties of the iot hub */
1067
+ eventSystemProperties?: string[];
1068
+ /** The name of the share access policy */
1069
+ sharedAccessPolicyName?: string;
1396
1070
  /**
1397
- * The error message.
1071
+ * The provisioned state of the resource.
1072
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1398
1073
  */
1399
- message?: string;
1400
- }
1074
+ readonly provisioningState?: ProvisioningState;
1075
+ };
1401
1076
 
1402
- /**
1403
- * The resource model definition for an Azure Resource Manager resource with an etag.
1404
- * @summary Entity Resource
1405
- */
1406
- export interface AzureEntityResource extends Resource {
1077
+ /** Class representing an Event Grid data connection. */
1078
+ export type EventGridDataConnection = DataConnection & {
1079
+ /** The resource ID of the storage account where the data resides. */
1080
+ storageAccountResourceId?: string;
1081
+ /** The resource ID where the event grid is configured to send events. */
1082
+ eventHubResourceId?: string;
1083
+ /** The event hub consumer group. */
1084
+ consumerGroup?: string;
1085
+ /** The table where the data should be ingested. Optionally the table information can be added to each message. */
1086
+ tableName?: string;
1087
+ /** The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */
1088
+ mappingRuleName?: string;
1089
+ /** The data format of the message. Optionally the data format can be added to each message. */
1090
+ dataFormat?: EventGridDataFormat;
1091
+ /** A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file */
1092
+ ignoreFirstRecord?: boolean;
1093
+ /** The name of blob storage event type to process. */
1094
+ blobStorageEventType?: BlobStorageEventType;
1407
1095
  /**
1408
- * Resource Etag.
1409
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1096
+ * The provisioned state of the resource.
1097
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1410
1098
  */
1411
- readonly etag?: string;
1099
+ readonly provisioningState?: ProvisioningState;
1100
+ };
1101
+
1102
+ /** Known values of {@link AzureSkuName} that the service accepts. */
1103
+ export enum KnownAzureSkuName {
1104
+ StandardDS13V21TBPS = "Standard_DS13_v2+1TB_PS",
1105
+ StandardDS13V22TBPS = "Standard_DS13_v2+2TB_PS",
1106
+ StandardDS14V23TBPS = "Standard_DS14_v2+3TB_PS",
1107
+ StandardDS14V24TBPS = "Standard_DS14_v2+4TB_PS",
1108
+ StandardD13V2 = "Standard_D13_v2",
1109
+ StandardD14V2 = "Standard_D14_v2",
1110
+ StandardL8S = "Standard_L8s",
1111
+ StandardL16S = "Standard_L16s",
1112
+ StandardL8SV2 = "Standard_L8s_v2",
1113
+ StandardL16SV2 = "Standard_L16s_v2",
1114
+ StandardD11V2 = "Standard_D11_v2",
1115
+ StandardD12V2 = "Standard_D12_v2",
1116
+ StandardL4S = "Standard_L4s",
1117
+ DevNoSLAStandardD11V2 = "Dev(No SLA)_Standard_D11_v2",
1118
+ StandardE64IV3 = "Standard_E64i_v3",
1119
+ StandardE80IdsV4 = "Standard_E80ids_v4",
1120
+ StandardE2AV4 = "Standard_E2a_v4",
1121
+ StandardE4AV4 = "Standard_E4a_v4",
1122
+ StandardE8AV4 = "Standard_E8a_v4",
1123
+ StandardE16AV4 = "Standard_E16a_v4",
1124
+ StandardE8AsV41TBPS = "Standard_E8as_v4+1TB_PS",
1125
+ StandardE8AsV42TBPS = "Standard_E8as_v4+2TB_PS",
1126
+ StandardE16AsV43TBPS = "Standard_E16as_v4+3TB_PS",
1127
+ StandardE16AsV44TBPS = "Standard_E16as_v4+4TB_PS",
1128
+ DevNoSLAStandardE2AV4 = "Dev(No SLA)_Standard_E2a_v4"
1412
1129
  }
1413
1130
 
1414
1131
  /**
1415
- * Optional Parameters.
1416
- */
1417
- export interface ClustersCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
1418
- /**
1419
- * The ETag of the cluster. Omit this value to always overwrite the current cluster. Specify the
1420
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
1421
- */
1422
- ifMatch?: string;
1423
- /**
1424
- * Set to '*' to allow a new cluster to be created, but to prevent updating an existing cluster.
1425
- * Other values will result in a 412 Pre-condition Failed response.
1426
- */
1427
- ifNoneMatch?: string;
1132
+ * Defines values for AzureSkuName. \
1133
+ * {@link KnownAzureSkuName} can be used interchangeably with AzureSkuName,
1134
+ * this enum contains the known values that the service supports.
1135
+ * ### Known values supported by the service
1136
+ * **Standard_DS13_v2+1TB_PS** \
1137
+ * **Standard_DS13_v2+2TB_PS** \
1138
+ * **Standard_DS14_v2+3TB_PS** \
1139
+ * **Standard_DS14_v2+4TB_PS** \
1140
+ * **Standard_D13_v2** \
1141
+ * **Standard_D14_v2** \
1142
+ * **Standard_L8s** \
1143
+ * **Standard_L16s** \
1144
+ * **Standard_L8s_v2** \
1145
+ * **Standard_L16s_v2** \
1146
+ * **Standard_D11_v2** \
1147
+ * **Standard_D12_v2** \
1148
+ * **Standard_L4s** \
1149
+ * **Dev(No SLA)_Standard_D11_v2** \
1150
+ * **Standard_E64i_v3** \
1151
+ * **Standard_E80ids_v4** \
1152
+ * **Standard_E2a_v4** \
1153
+ * **Standard_E4a_v4** \
1154
+ * **Standard_E8a_v4** \
1155
+ * **Standard_E16a_v4** \
1156
+ * **Standard_E8as_v4+1TB_PS** \
1157
+ * **Standard_E8as_v4+2TB_PS** \
1158
+ * **Standard_E16as_v4+3TB_PS** \
1159
+ * **Standard_E16as_v4+4TB_PS** \
1160
+ * **Dev(No SLA)_Standard_E2a_v4**
1161
+ */
1162
+ export type AzureSkuName = string;
1163
+
1164
+ /** Known values of {@link AzureSkuTier} that the service accepts. */
1165
+ export enum KnownAzureSkuTier {
1166
+ Basic = "Basic",
1167
+ Standard = "Standard"
1428
1168
  }
1429
1169
 
1430
1170
  /**
1431
- * Optional Parameters.
1171
+ * Defines values for AzureSkuTier. \
1172
+ * {@link KnownAzureSkuTier} can be used interchangeably with AzureSkuTier,
1173
+ * this enum contains the known values that the service supports.
1174
+ * ### Known values supported by the service
1175
+ * **Basic** \
1176
+ * **Standard**
1432
1177
  */
1433
- export interface ClustersUpdateOptionalParams extends msRest.RequestOptionsBase {
1434
- /**
1435
- * The ETag of the cluster. Omit this value to always overwrite the current cluster. Specify the
1436
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
1437
- */
1438
- ifMatch?: string;
1178
+ export type AzureSkuTier = string;
1179
+
1180
+ /** Known values of {@link CreatedByType} that the service accepts. */
1181
+ export enum KnownCreatedByType {
1182
+ User = "User",
1183
+ Application = "Application",
1184
+ ManagedIdentity = "ManagedIdentity",
1185
+ Key = "Key"
1439
1186
  }
1440
1187
 
1441
1188
  /**
1442
- * Optional Parameters.
1189
+ * Defines values for CreatedByType. \
1190
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1191
+ * this enum contains the known values that the service supports.
1192
+ * ### Known values supported by the service
1193
+ * **User** \
1194
+ * **Application** \
1195
+ * **ManagedIdentity** \
1196
+ * **Key**
1443
1197
  */
1444
- export interface ClustersBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
1445
- /**
1446
- * The ETag of the cluster. Omit this value to always overwrite the current cluster. Specify the
1447
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
1448
- */
1449
- ifMatch?: string;
1450
- /**
1451
- * Set to '*' to allow a new cluster to be created, but to prevent updating an existing cluster.
1452
- * Other values will result in a 412 Pre-condition Failed response.
1453
- */
1454
- ifNoneMatch?: string;
1198
+ export type CreatedByType = string;
1199
+
1200
+ /** Known values of {@link IdentityType} that the service accepts. */
1201
+ export enum KnownIdentityType {
1202
+ None = "None",
1203
+ SystemAssigned = "SystemAssigned",
1204
+ UserAssigned = "UserAssigned",
1205
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
1455
1206
  }
1456
1207
 
1457
1208
  /**
1458
- * Optional Parameters.
1459
- */
1460
- export interface ClustersBeginUpdateOptionalParams extends msRest.RequestOptionsBase {
1461
- /**
1462
- * The ETag of the cluster. Omit this value to always overwrite the current cluster. Specify the
1463
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
1464
- */
1465
- ifMatch?: string;
1209
+ * Defines values for IdentityType. \
1210
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
1211
+ * this enum contains the known values that the service supports.
1212
+ * ### Known values supported by the service
1213
+ * **None** \
1214
+ * **SystemAssigned** \
1215
+ * **UserAssigned** \
1216
+ * **SystemAssigned, UserAssigned**
1217
+ */
1218
+ export type IdentityType = string;
1219
+
1220
+ /** Known values of {@link State} that the service accepts. */
1221
+ export enum KnownState {
1222
+ Creating = "Creating",
1223
+ Unavailable = "Unavailable",
1224
+ Running = "Running",
1225
+ Deleting = "Deleting",
1226
+ Deleted = "Deleted",
1227
+ Stopping = "Stopping",
1228
+ Stopped = "Stopped",
1229
+ Starting = "Starting",
1230
+ Updating = "Updating"
1466
1231
  }
1467
1232
 
1468
1233
  /**
1469
- * An interface representing KustoManagementClientOptions.
1470
- */
1471
- export interface KustoManagementClientOptions extends AzureServiceClientOptions {
1472
- baseUri?: string;
1234
+ * Defines values for State. \
1235
+ * {@link KnownState} can be used interchangeably with State,
1236
+ * this enum contains the known values that the service supports.
1237
+ * ### Known values supported by the service
1238
+ * **Creating** \
1239
+ * **Unavailable** \
1240
+ * **Running** \
1241
+ * **Deleting** \
1242
+ * **Deleted** \
1243
+ * **Stopping** \
1244
+ * **Stopped** \
1245
+ * **Starting** \
1246
+ * **Updating**
1247
+ */
1248
+ export type State = string;
1249
+
1250
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1251
+ export enum KnownProvisioningState {
1252
+ Running = "Running",
1253
+ Creating = "Creating",
1254
+ Deleting = "Deleting",
1255
+ Succeeded = "Succeeded",
1256
+ Failed = "Failed",
1257
+ Moving = "Moving"
1473
1258
  }
1474
1259
 
1475
1260
  /**
1476
- * @interface
1477
- * The list Kusto database principals operation response.
1478
- * @extends Array<FollowerDatabaseDefinition>
1261
+ * Defines values for ProvisioningState. \
1262
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1263
+ * this enum contains the known values that the service supports.
1264
+ * ### Known values supported by the service
1265
+ * **Running** \
1266
+ * **Creating** \
1267
+ * **Deleting** \
1268
+ * **Succeeded** \
1269
+ * **Failed** \
1270
+ * **Moving**
1479
1271
  */
1480
- export interface FollowerDatabaseListResult extends Array<FollowerDatabaseDefinition> {}
1272
+ export type ProvisioningState = string;
1481
1273
 
1482
- /**
1483
- * @interface
1484
- * The list Kusto clusters operation response.
1485
- * @extends Array<Cluster>
1486
- */
1487
- export interface ClusterListResult extends Array<Cluster> {}
1274
+ /** Known values of {@link LanguageExtensionName} that the service accepts. */
1275
+ export enum KnownLanguageExtensionName {
1276
+ Python = "PYTHON",
1277
+ R = "R"
1278
+ }
1488
1279
 
1489
1280
  /**
1490
- * @interface
1491
- * The list of the EngagementFabric SKU descriptions
1492
- * @extends Array<SkuDescription>
1281
+ * Defines values for LanguageExtensionName. \
1282
+ * {@link KnownLanguageExtensionName} can be used interchangeably with LanguageExtensionName,
1283
+ * this enum contains the known values that the service supports.
1284
+ * ### Known values supported by the service
1285
+ * **PYTHON** \
1286
+ * **R**
1493
1287
  */
1494
- export interface SkuDescriptionList extends Array<SkuDescription> {}
1288
+ export type LanguageExtensionName = string;
1495
1289
 
1496
- /**
1497
- * @interface
1498
- * List of available SKUs for a Kusto Cluster.
1499
- * @extends Array<AzureResourceSku>
1500
- */
1501
- export interface ListResourceSkusResult extends Array<AzureResourceSku> {}
1290
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1291
+ export enum KnownPublicNetworkAccess {
1292
+ Enabled = "Enabled",
1293
+ Disabled = "Disabled"
1294
+ }
1502
1295
 
1503
1296
  /**
1504
- * @interface
1505
- * The list of language extension objects.
1506
- * @extends Array<LanguageExtension>
1297
+ * Defines values for PublicNetworkAccess. \
1298
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1299
+ * this enum contains the known values that the service supports.
1300
+ * ### Known values supported by the service
1301
+ * **Enabled** \
1302
+ * **Disabled**
1507
1303
  */
1508
- export interface LanguageExtensionsList extends Array<LanguageExtension> {}
1304
+ export type PublicNetworkAccess = string;
1509
1305
 
1510
- /**
1511
- * @interface
1512
- * The list Kusto cluster principal assignments operation response.
1513
- * @extends Array<ClusterPrincipalAssignment>
1514
- */
1515
- export interface ClusterPrincipalAssignmentListResult extends Array<ClusterPrincipalAssignment> {}
1306
+ /** Known values of {@link EngineType} that the service accepts. */
1307
+ export enum KnownEngineType {
1308
+ V2 = "V2",
1309
+ V3 = "V3"
1310
+ }
1516
1311
 
1517
1312
  /**
1518
- * @interface
1519
- * The list Kusto databases operation response.
1520
- * @extends Array<DatabaseUnion>
1313
+ * Defines values for EngineType. \
1314
+ * {@link KnownEngineType} can be used interchangeably with EngineType,
1315
+ * this enum contains the known values that the service supports.
1316
+ * ### Known values supported by the service
1317
+ * **V2** \
1318
+ * **V3**
1521
1319
  */
1522
- export interface DatabaseListResult extends Array<DatabaseUnion> {}
1320
+ export type EngineType = string;
1523
1321
 
1524
- /**
1525
- * @interface
1526
- * The list Kusto database principals operation response.
1527
- * @extends Array<DatabasePrincipal>
1528
- */
1529
- export interface DatabasePrincipalListResult extends Array<DatabasePrincipal> {}
1322
+ /** Known values of {@link ClusterNetworkAccessFlag} that the service accepts. */
1323
+ export enum KnownClusterNetworkAccessFlag {
1324
+ Enabled = "Enabled",
1325
+ Disabled = "Disabled"
1326
+ }
1530
1327
 
1531
1328
  /**
1532
- * @interface
1533
- * The list Kusto database principal assignments operation response.
1534
- * @extends Array<DatabasePrincipalAssignment>
1329
+ * Defines values for ClusterNetworkAccessFlag. \
1330
+ * {@link KnownClusterNetworkAccessFlag} can be used interchangeably with ClusterNetworkAccessFlag,
1331
+ * this enum contains the known values that the service supports.
1332
+ * ### Known values supported by the service
1333
+ * **Enabled** \
1334
+ * **Disabled**
1535
1335
  */
1536
- export interface DatabasePrincipalAssignmentListResult extends Array<DatabasePrincipalAssignment> {}
1336
+ export type ClusterNetworkAccessFlag = string;
1537
1337
 
1538
- /**
1539
- * @interface
1540
- * The list Kusto database script operation response.
1541
- * @extends Array<Script>
1542
- */
1543
- export interface ScriptListResult extends Array<Script> {}
1338
+ /** Known values of {@link Reason} that the service accepts. */
1339
+ export enum KnownReason {
1340
+ Invalid = "Invalid",
1341
+ AlreadyExists = "AlreadyExists"
1342
+ }
1544
1343
 
1545
1344
  /**
1546
- * @interface
1547
- * The list attached database configurations operation response.
1548
- * @extends Array<AttachedDatabaseConfiguration>
1345
+ * Defines values for Reason. \
1346
+ * {@link KnownReason} can be used interchangeably with Reason,
1347
+ * this enum contains the known values that the service supports.
1348
+ * ### Known values supported by the service
1349
+ * **Invalid** \
1350
+ * **AlreadyExists**
1549
1351
  */
1550
- export interface AttachedDatabaseConfigurationListResult
1551
- extends Array<AttachedDatabaseConfiguration> {}
1352
+ export type Reason = string;
1552
1353
 
1553
- /**
1554
- * @interface
1555
- * The list Kusto data connections operation response.
1556
- * @extends Array<DataConnectionUnion>
1557
- */
1558
- export interface DataConnectionListResult extends Array<DataConnectionUnion> {}
1354
+ /** Known values of {@link ClusterPrincipalRole} that the service accepts. */
1355
+ export enum KnownClusterPrincipalRole {
1356
+ AllDatabasesAdmin = "AllDatabasesAdmin",
1357
+ AllDatabasesViewer = "AllDatabasesViewer"
1358
+ }
1559
1359
 
1560
1360
  /**
1561
- * @interface
1562
- * An interface representing the OperationListResult.
1563
- * @summary Result of the request to list REST API operations. It contains a list of operations and
1564
- * a URL nextLink to get the next set of results.
1565
- * @extends Array<Operation>
1361
+ * Defines values for ClusterPrincipalRole. \
1362
+ * {@link KnownClusterPrincipalRole} can be used interchangeably with ClusterPrincipalRole,
1363
+ * this enum contains the known values that the service supports.
1364
+ * ### Known values supported by the service
1365
+ * **AllDatabasesAdmin** \
1366
+ * **AllDatabasesViewer**
1566
1367
  */
1567
- export interface OperationListResult extends Array<Operation> {
1568
- nextLink?: string;
1368
+ export type ClusterPrincipalRole = string;
1369
+
1370
+ /** Known values of {@link PrincipalType} that the service accepts. */
1371
+ export enum KnownPrincipalType {
1372
+ App = "App",
1373
+ Group = "Group",
1374
+ User = "User"
1569
1375
  }
1570
1376
 
1571
1377
  /**
1572
- * Defines values for State.
1573
- * Possible values include: 'Creating', 'Unavailable', 'Running', 'Deleting', 'Deleted',
1574
- * 'Stopping', 'Stopped', 'Starting', 'Updating'
1575
- * @readonly
1576
- * @enum {string}
1378
+ * Defines values for PrincipalType. \
1379
+ * {@link KnownPrincipalType} can be used interchangeably with PrincipalType,
1380
+ * this enum contains the known values that the service supports.
1381
+ * ### Known values supported by the service
1382
+ * **App** \
1383
+ * **Group** \
1384
+ * **User**
1577
1385
  */
1578
- export type State =
1579
- | "Creating"
1580
- | "Unavailable"
1581
- | "Running"
1582
- | "Deleting"
1583
- | "Deleted"
1584
- | "Stopping"
1585
- | "Stopped"
1586
- | "Starting"
1587
- | "Updating";
1386
+ export type PrincipalType = string;
1588
1387
 
1589
- /**
1590
- * Defines values for ProvisioningState.
1591
- * Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
1592
- * @readonly
1593
- * @enum {string}
1594
- */
1595
- export type ProvisioningState =
1596
- | "Running"
1597
- | "Creating"
1598
- | "Deleting"
1599
- | "Succeeded"
1600
- | "Failed"
1601
- | "Moving";
1388
+ /** Known values of {@link AzureScaleType} that the service accepts. */
1389
+ export enum KnownAzureScaleType {
1390
+ Automatic = "automatic",
1391
+ Manual = "manual",
1392
+ None = "none"
1393
+ }
1602
1394
 
1603
1395
  /**
1604
- * Defines values for LanguageExtensionName.
1605
- * Possible values include: 'PYTHON', 'R'
1606
- * @readonly
1607
- * @enum {string}
1396
+ * Defines values for AzureScaleType. \
1397
+ * {@link KnownAzureScaleType} can be used interchangeably with AzureScaleType,
1398
+ * this enum contains the known values that the service supports.
1399
+ * ### Known values supported by the service
1400
+ * **automatic** \
1401
+ * **manual** \
1402
+ * **none**
1608
1403
  */
1609
- export type LanguageExtensionName = "PYTHON" | "R";
1404
+ export type AzureScaleType = string;
1610
1405
 
1611
- /**
1612
- * Defines values for EngineType.
1613
- * Possible values include: 'V2', 'V3'
1614
- * @readonly
1615
- * @enum {string}
1616
- */
1617
- export type EngineType = "V2" | "V3";
1406
+ /** Known values of {@link Kind} that the service accepts. */
1407
+ export enum KnownKind {
1408
+ ReadWrite = "ReadWrite",
1409
+ ReadOnlyFollowing = "ReadOnlyFollowing"
1410
+ }
1618
1411
 
1619
1412
  /**
1620
- * Defines values for AzureSkuName.
1621
- * Possible values include: 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS',
1622
- * 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Standard_D13_v2', 'Standard_D14_v2',
1623
- * 'Standard_L8s', 'Standard_L16s', 'Standard_L8s_v2', 'Standard_L16s_v2', 'Standard_D11_v2',
1624
- * 'Standard_D12_v2', 'Standard_L4s', 'Dev(No SLA)_Standard_D11_v2', 'Standard_E64i_v3',
1625
- * 'Standard_E80ids_v4', 'Standard_E2a_v4', 'Standard_E4a_v4', 'Standard_E8a_v4',
1626
- * 'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS', 'Standard_E8as_v4+2TB_PS',
1627
- * 'Standard_E16as_v4+3TB_PS', 'Standard_E16as_v4+4TB_PS', 'Dev(No SLA)_Standard_E2a_v4'
1628
- * @readonly
1629
- * @enum {string}
1413
+ * Defines values for Kind. \
1414
+ * {@link KnownKind} can be used interchangeably with Kind,
1415
+ * this enum contains the known values that the service supports.
1416
+ * ### Known values supported by the service
1417
+ * **ReadWrite** \
1418
+ * **ReadOnlyFollowing**
1630
1419
  */
1631
- export type AzureSkuName =
1632
- | "Standard_DS13_v2+1TB_PS"
1633
- | "Standard_DS13_v2+2TB_PS"
1634
- | "Standard_DS14_v2+3TB_PS"
1635
- | "Standard_DS14_v2+4TB_PS"
1636
- | "Standard_D13_v2"
1637
- | "Standard_D14_v2"
1638
- | "Standard_L8s"
1639
- | "Standard_L16s"
1640
- | "Standard_L8s_v2"
1641
- | "Standard_L16s_v2"
1642
- | "Standard_D11_v2"
1643
- | "Standard_D12_v2"
1644
- | "Standard_L4s"
1645
- | "Dev(No SLA)_Standard_D11_v2"
1646
- | "Standard_E64i_v3"
1647
- | "Standard_E80ids_v4"
1648
- | "Standard_E2a_v4"
1649
- | "Standard_E4a_v4"
1650
- | "Standard_E8a_v4"
1651
- | "Standard_E16a_v4"
1652
- | "Standard_E8as_v4+1TB_PS"
1653
- | "Standard_E8as_v4+2TB_PS"
1654
- | "Standard_E16as_v4+3TB_PS"
1655
- | "Standard_E16as_v4+4TB_PS"
1656
- | "Dev(No SLA)_Standard_E2a_v4";
1420
+ export type Kind = string;
1657
1421
 
1658
- /**
1659
- * Defines values for AzureSkuTier.
1660
- * Possible values include: 'Basic', 'Standard'
1661
- * @readonly
1662
- * @enum {string}
1663
- */
1664
- export type AzureSkuTier = "Basic" | "Standard";
1422
+ /** Known values of {@link DatabasePrincipalRole} that the service accepts. */
1423
+ export enum KnownDatabasePrincipalRole {
1424
+ Admin = "Admin",
1425
+ Ingestor = "Ingestor",
1426
+ Monitor = "Monitor",
1427
+ User = "User",
1428
+ UnrestrictedViewer = "UnrestrictedViewer",
1429
+ Viewer = "Viewer"
1430
+ }
1665
1431
 
1666
1432
  /**
1667
- * Defines values for AzureScaleType.
1668
- * Possible values include: 'automatic', 'manual', 'none'
1669
- * @readonly
1670
- * @enum {string}
1671
- */
1672
- export type AzureScaleType = "automatic" | "manual" | "none";
1433
+ * Defines values for DatabasePrincipalRole. \
1434
+ * {@link KnownDatabasePrincipalRole} can be used interchangeably with DatabasePrincipalRole,
1435
+ * this enum contains the known values that the service supports.
1436
+ * ### Known values supported by the service
1437
+ * **Admin** \
1438
+ * **Ingestor** \
1439
+ * **Monitor** \
1440
+ * **User** \
1441
+ * **UnrestrictedViewer** \
1442
+ * **Viewer**
1443
+ */
1444
+ export type DatabasePrincipalRole = string;
1445
+
1446
+ /** Known values of {@link DatabasePrincipalType} that the service accepts. */
1447
+ export enum KnownDatabasePrincipalType {
1448
+ App = "App",
1449
+ Group = "Group",
1450
+ User = "User"
1451
+ }
1673
1452
 
1674
1453
  /**
1675
- * Defines values for DefaultPrincipalsModificationKind.
1676
- * Possible values include: 'Union', 'Replace', 'None'
1677
- * @readonly
1678
- * @enum {string}
1454
+ * Defines values for DatabasePrincipalType. \
1455
+ * {@link KnownDatabasePrincipalType} can be used interchangeably with DatabasePrincipalType,
1456
+ * this enum contains the known values that the service supports.
1457
+ * ### Known values supported by the service
1458
+ * **App** \
1459
+ * **Group** \
1460
+ * **User**
1679
1461
  */
1680
- export type DefaultPrincipalsModificationKind = "Union" | "Replace" | "None";
1462
+ export type DatabasePrincipalType = string;
1681
1463
 
1682
- /**
1683
- * Defines values for PrincipalsModificationKind.
1684
- * Possible values include: 'Union', 'Replace', 'None'
1685
- * @readonly
1686
- * @enum {string}
1687
- */
1688
- export type PrincipalsModificationKind = "Union" | "Replace" | "None";
1464
+ /** Known values of {@link DefaultPrincipalsModificationKind} that the service accepts. */
1465
+ export enum KnownDefaultPrincipalsModificationKind {
1466
+ Union = "Union",
1467
+ Replace = "Replace",
1468
+ None = "None"
1469
+ }
1689
1470
 
1690
1471
  /**
1691
- * Defines values for EventHubDataFormat.
1692
- * Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
1693
- * 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
1694
- * @readonly
1695
- * @enum {string}
1472
+ * Defines values for DefaultPrincipalsModificationKind. \
1473
+ * {@link KnownDefaultPrincipalsModificationKind} can be used interchangeably with DefaultPrincipalsModificationKind,
1474
+ * this enum contains the known values that the service supports.
1475
+ * ### Known values supported by the service
1476
+ * **Union** \
1477
+ * **Replace** \
1478
+ * **None**
1696
1479
  */
1697
- export type EventHubDataFormat =
1698
- | "MULTIJSON"
1699
- | "JSON"
1700
- | "CSV"
1701
- | "TSV"
1702
- | "SCSV"
1703
- | "SOHSV"
1704
- | "PSV"
1705
- | "TXT"
1706
- | "RAW"
1707
- | "SINGLEJSON"
1708
- | "AVRO"
1709
- | "TSVE"
1710
- | "PARQUET"
1711
- | "ORC"
1712
- | "APACHEAVRO"
1713
- | "W3CLOGFILE";
1480
+ export type DefaultPrincipalsModificationKind = string;
1714
1481
 
1715
- /**
1716
- * Defines values for Compression.
1717
- * Possible values include: 'None', 'GZip'
1718
- * @readonly
1719
- * @enum {string}
1720
- */
1721
- export type Compression = "None" | "GZip";
1482
+ /** Known values of {@link DataConnectionKind} that the service accepts. */
1483
+ export enum KnownDataConnectionKind {
1484
+ EventHub = "EventHub",
1485
+ EventGrid = "EventGrid",
1486
+ IotHub = "IotHub"
1487
+ }
1722
1488
 
1723
1489
  /**
1724
- * Defines values for IotHubDataFormat.
1725
- * Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
1726
- * 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
1727
- * @readonly
1728
- * @enum {string}
1490
+ * Defines values for DataConnectionKind. \
1491
+ * {@link KnownDataConnectionKind} can be used interchangeably with DataConnectionKind,
1492
+ * this enum contains the known values that the service supports.
1493
+ * ### Known values supported by the service
1494
+ * **EventHub** \
1495
+ * **EventGrid** \
1496
+ * **IotHub**
1729
1497
  */
1730
- export type IotHubDataFormat =
1731
- | "MULTIJSON"
1732
- | "JSON"
1733
- | "CSV"
1734
- | "TSV"
1735
- | "SCSV"
1736
- | "SOHSV"
1737
- | "PSV"
1738
- | "TXT"
1739
- | "RAW"
1740
- | "SINGLEJSON"
1741
- | "AVRO"
1742
- | "TSVE"
1743
- | "PARQUET"
1744
- | "ORC"
1745
- | "APACHEAVRO"
1746
- | "W3CLOGFILE";
1498
+ export type DataConnectionKind = string;
1747
1499
 
1748
- /**
1749
- * Defines values for EventGridDataFormat.
1750
- * Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
1751
- * 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
1752
- * @readonly
1753
- * @enum {string}
1754
- */
1755
- export type EventGridDataFormat =
1756
- | "MULTIJSON"
1757
- | "JSON"
1758
- | "CSV"
1759
- | "TSV"
1760
- | "SCSV"
1761
- | "SOHSV"
1762
- | "PSV"
1763
- | "TXT"
1764
- | "RAW"
1765
- | "SINGLEJSON"
1766
- | "AVRO"
1767
- | "TSVE"
1768
- | "PARQUET"
1769
- | "ORC"
1770
- | "APACHEAVRO"
1771
- | "W3CLOGFILE";
1500
+ /** Known values of {@link Status} that the service accepts. */
1501
+ export enum KnownStatus {
1502
+ Succeeded = "Succeeded",
1503
+ Canceled = "Canceled",
1504
+ Failed = "Failed",
1505
+ Running = "Running"
1506
+ }
1772
1507
 
1773
1508
  /**
1774
- * Defines values for BlobStorageEventType.
1775
- * Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobRenamed'
1776
- * @readonly
1777
- * @enum {string}
1509
+ * Defines values for Status. \
1510
+ * {@link KnownStatus} can be used interchangeably with Status,
1511
+ * this enum contains the known values that the service supports.
1512
+ * ### Known values supported by the service
1513
+ * **Succeeded** \
1514
+ * **Canceled** \
1515
+ * **Failed** \
1516
+ * **Running**
1778
1517
  */
1779
- export type BlobStorageEventType =
1780
- | "Microsoft.Storage.BlobCreated"
1781
- | "Microsoft.Storage.BlobRenamed";
1518
+ export type Status = string;
1782
1519
 
1783
- /**
1784
- * Defines values for IdentityType.
1785
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
1786
- * UserAssigned'
1787
- * @readonly
1788
- * @enum {string}
1789
- */
1790
- export type IdentityType =
1791
- | "None"
1792
- | "SystemAssigned"
1793
- | "UserAssigned"
1794
- | "SystemAssigned, UserAssigned";
1520
+ /** Known values of {@link PrincipalsModificationKind} that the service accepts. */
1521
+ export enum KnownPrincipalsModificationKind {
1522
+ Union = "Union",
1523
+ Replace = "Replace",
1524
+ None = "None"
1525
+ }
1795
1526
 
1796
1527
  /**
1797
- * Defines values for DatabasePrincipalRole.
1798
- * Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User', 'UnrestrictedViewer', 'Viewer'
1799
- * @readonly
1800
- * @enum {string}
1801
- */
1802
- export type DatabasePrincipalRole =
1803
- | "Admin"
1804
- | "Ingestor"
1805
- | "Monitor"
1806
- | "User"
1807
- | "UnrestrictedViewer"
1808
- | "Viewer";
1528
+ * Defines values for PrincipalsModificationKind. \
1529
+ * {@link KnownPrincipalsModificationKind} can be used interchangeably with PrincipalsModificationKind,
1530
+ * this enum contains the known values that the service supports.
1531
+ * ### Known values supported by the service
1532
+ * **Union** \
1533
+ * **Replace** \
1534
+ * **None**
1535
+ */
1536
+ export type PrincipalsModificationKind = string;
1537
+
1538
+ /** Known values of {@link EventHubDataFormat} that the service accepts. */
1539
+ export enum KnownEventHubDataFormat {
1540
+ Multijson = "MULTIJSON",
1541
+ Json = "JSON",
1542
+ CSV = "CSV",
1543
+ TSV = "TSV",
1544
+ Scsv = "SCSV",
1545
+ Sohsv = "SOHSV",
1546
+ PSV = "PSV",
1547
+ TXT = "TXT",
1548
+ RAW = "RAW",
1549
+ Singlejson = "SINGLEJSON",
1550
+ Avro = "AVRO",
1551
+ Tsve = "TSVE",
1552
+ Parquet = "PARQUET",
1553
+ ORC = "ORC",
1554
+ Apacheavro = "APACHEAVRO",
1555
+ W3Clogfile = "W3CLOGFILE"
1556
+ }
1809
1557
 
1810
1558
  /**
1811
- * Defines values for DatabasePrincipalType.
1812
- * Possible values include: 'App', 'Group', 'User'
1813
- * @readonly
1814
- * @enum {string}
1815
- */
1816
- export type DatabasePrincipalType = "App" | "Group" | "User";
1559
+ * Defines values for EventHubDataFormat. \
1560
+ * {@link KnownEventHubDataFormat} can be used interchangeably with EventHubDataFormat,
1561
+ * this enum contains the known values that the service supports.
1562
+ * ### Known values supported by the service
1563
+ * **MULTIJSON** \
1564
+ * **JSON** \
1565
+ * **CSV** \
1566
+ * **TSV** \
1567
+ * **SCSV** \
1568
+ * **SOHSV** \
1569
+ * **PSV** \
1570
+ * **TXT** \
1571
+ * **RAW** \
1572
+ * **SINGLEJSON** \
1573
+ * **AVRO** \
1574
+ * **TSVE** \
1575
+ * **PARQUET** \
1576
+ * **ORC** \
1577
+ * **APACHEAVRO** \
1578
+ * **W3CLOGFILE**
1579
+ */
1580
+ export type EventHubDataFormat = string;
1581
+
1582
+ /** Known values of {@link Compression} that the service accepts. */
1583
+ export enum KnownCompression {
1584
+ None = "None",
1585
+ GZip = "GZip"
1586
+ }
1817
1587
 
1818
1588
  /**
1819
- * Defines values for PrincipalType.
1820
- * Possible values include: 'App', 'Group', 'User'
1821
- * @readonly
1822
- * @enum {string}
1823
- */
1824
- export type PrincipalType = "App" | "Group" | "User";
1589
+ * Defines values for Compression. \
1590
+ * {@link KnownCompression} can be used interchangeably with Compression,
1591
+ * this enum contains the known values that the service supports.
1592
+ * ### Known values supported by the service
1593
+ * **None** \
1594
+ * **GZip**
1595
+ */
1596
+ export type Compression = string;
1597
+
1598
+ /** Known values of {@link IotHubDataFormat} that the service accepts. */
1599
+ export enum KnownIotHubDataFormat {
1600
+ Multijson = "MULTIJSON",
1601
+ Json = "JSON",
1602
+ CSV = "CSV",
1603
+ TSV = "TSV",
1604
+ Scsv = "SCSV",
1605
+ Sohsv = "SOHSV",
1606
+ PSV = "PSV",
1607
+ TXT = "TXT",
1608
+ RAW = "RAW",
1609
+ Singlejson = "SINGLEJSON",
1610
+ Avro = "AVRO",
1611
+ Tsve = "TSVE",
1612
+ Parquet = "PARQUET",
1613
+ ORC = "ORC",
1614
+ Apacheavro = "APACHEAVRO",
1615
+ W3Clogfile = "W3CLOGFILE"
1616
+ }
1825
1617
 
1826
1618
  /**
1827
- * Defines values for ClusterPrincipalRole.
1828
- * Possible values include: 'AllDatabasesAdmin', 'AllDatabasesViewer'
1829
- * @readonly
1830
- * @enum {string}
1831
- */
1832
- export type ClusterPrincipalRole = "AllDatabasesAdmin" | "AllDatabasesViewer";
1619
+ * Defines values for IotHubDataFormat. \
1620
+ * {@link KnownIotHubDataFormat} can be used interchangeably with IotHubDataFormat,
1621
+ * this enum contains the known values that the service supports.
1622
+ * ### Known values supported by the service
1623
+ * **MULTIJSON** \
1624
+ * **JSON** \
1625
+ * **CSV** \
1626
+ * **TSV** \
1627
+ * **SCSV** \
1628
+ * **SOHSV** \
1629
+ * **PSV** \
1630
+ * **TXT** \
1631
+ * **RAW** \
1632
+ * **SINGLEJSON** \
1633
+ * **AVRO** \
1634
+ * **TSVE** \
1635
+ * **PARQUET** \
1636
+ * **ORC** \
1637
+ * **APACHEAVRO** \
1638
+ * **W3CLOGFILE**
1639
+ */
1640
+ export type IotHubDataFormat = string;
1641
+
1642
+ /** Known values of {@link EventGridDataFormat} that the service accepts. */
1643
+ export enum KnownEventGridDataFormat {
1644
+ Multijson = "MULTIJSON",
1645
+ Json = "JSON",
1646
+ CSV = "CSV",
1647
+ TSV = "TSV",
1648
+ Scsv = "SCSV",
1649
+ Sohsv = "SOHSV",
1650
+ PSV = "PSV",
1651
+ TXT = "TXT",
1652
+ RAW = "RAW",
1653
+ Singlejson = "SINGLEJSON",
1654
+ Avro = "AVRO",
1655
+ Tsve = "TSVE",
1656
+ Parquet = "PARQUET",
1657
+ ORC = "ORC",
1658
+ Apacheavro = "APACHEAVRO",
1659
+ W3Clogfile = "W3CLOGFILE"
1660
+ }
1833
1661
 
1834
1662
  /**
1835
- * Defines values for CreatedByType.
1836
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1837
- * @readonly
1838
- * @enum {string}
1839
- */
1840
- export type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
1663
+ * Defines values for EventGridDataFormat. \
1664
+ * {@link KnownEventGridDataFormat} can be used interchangeably with EventGridDataFormat,
1665
+ * this enum contains the known values that the service supports.
1666
+ * ### Known values supported by the service
1667
+ * **MULTIJSON** \
1668
+ * **JSON** \
1669
+ * **CSV** \
1670
+ * **TSV** \
1671
+ * **SCSV** \
1672
+ * **SOHSV** \
1673
+ * **PSV** \
1674
+ * **TXT** \
1675
+ * **RAW** \
1676
+ * **SINGLEJSON** \
1677
+ * **AVRO** \
1678
+ * **TSVE** \
1679
+ * **PARQUET** \
1680
+ * **ORC** \
1681
+ * **APACHEAVRO** \
1682
+ * **W3CLOGFILE**
1683
+ */
1684
+ export type EventGridDataFormat = string;
1685
+
1686
+ /** Known values of {@link BlobStorageEventType} that the service accepts. */
1687
+ export enum KnownBlobStorageEventType {
1688
+ MicrosoftStorageBlobCreated = "Microsoft.Storage.BlobCreated",
1689
+ MicrosoftStorageBlobRenamed = "Microsoft.Storage.BlobRenamed"
1690
+ }
1841
1691
 
1842
1692
  /**
1843
- * Defines values for Type.
1844
- * Possible values include: 'Microsoft.Kusto/clusters/databases',
1845
- * 'Microsoft.Kusto/clusters/attachedDatabaseConfigurations'
1846
- * @readonly
1847
- * @enum {string}
1693
+ * Defines values for BlobStorageEventType. \
1694
+ * {@link KnownBlobStorageEventType} can be used interchangeably with BlobStorageEventType,
1695
+ * this enum contains the known values that the service supports.
1696
+ * ### Known values supported by the service
1697
+ * **Microsoft.Storage.BlobCreated** \
1698
+ * **Microsoft.Storage.BlobRenamed**
1848
1699
  */
1700
+ export type BlobStorageEventType = string;
1701
+ /** Defines values for Type. */
1849
1702
  export type Type =
1850
1703
  | "Microsoft.Kusto/clusters/databases"
1851
1704
  | "Microsoft.Kusto/clusters/attachedDatabaseConfigurations";
1852
1705
 
1853
- /**
1854
- * Defines values for Reason.
1855
- * Possible values include: 'Invalid', 'AlreadyExists'
1856
- * @readonly
1857
- * @enum {string}
1858
- */
1859
- export type Reason = "Invalid" | "AlreadyExists";
1706
+ /** Optional parameters. */
1707
+ export interface ClustersGetOptionalParams
1708
+ extends coreClient.OperationOptions {}
1860
1709
 
1861
- /**
1862
- * Defines values for Status.
1863
- * Possible values include: 'Succeeded', 'Canceled', 'Failed', 'Running'
1864
- * @readonly
1865
- * @enum {string}
1866
- */
1867
- export type Status = "Succeeded" | "Canceled" | "Failed" | "Running";
1710
+ /** Contains response data for the get operation. */
1711
+ export type ClustersGetResponse = Cluster;
1868
1712
 
1869
- /**
1870
- * Contains response data for the get operation.
1871
- */
1872
- export type ClustersGetResponse = Cluster & {
1873
- /**
1874
- * The underlying HTTP response.
1875
- */
1876
- _response: msRest.HttpResponse & {
1877
- /**
1878
- * The response body as text (string format)
1879
- */
1880
- bodyAsText: string;
1713
+ /** Optional parameters. */
1714
+ export interface ClustersCreateOrUpdateOptionalParams
1715
+ extends coreClient.OperationOptions {
1716
+ /** The ETag of the cluster. Omit this value to always overwrite the current cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
1717
+ ifMatch?: string;
1718
+ /** Set to '*' to allow a new cluster to be created, but to prevent updating an existing cluster. Other values will result in a 412 Pre-condition Failed response. */
1719
+ ifNoneMatch?: string;
1720
+ /** Delay to wait until next poll, in milliseconds. */
1721
+ updateIntervalInMs?: number;
1722
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1723
+ resumeFrom?: string;
1724
+ }
1881
1725
 
1882
- /**
1883
- * The response body as parsed JSON or XML
1884
- */
1885
- parsedBody: Cluster;
1886
- };
1887
- };
1726
+ /** Contains response data for the createOrUpdate operation. */
1727
+ export type ClustersCreateOrUpdateResponse = Cluster;
1888
1728
 
1889
- /**
1890
- * Contains response data for the createOrUpdate operation.
1891
- */
1892
- export type ClustersCreateOrUpdateResponse = Cluster & {
1893
- /**
1894
- * The underlying HTTP response.
1895
- */
1896
- _response: msRest.HttpResponse & {
1897
- /**
1898
- * The response body as text (string format)
1899
- */
1900
- bodyAsText: string;
1729
+ /** Optional parameters. */
1730
+ export interface ClustersUpdateOptionalParams
1731
+ extends coreClient.OperationOptions {
1732
+ /** The ETag of the cluster. Omit this value to always overwrite the current cluster. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
1733
+ ifMatch?: string;
1734
+ /** Delay to wait until next poll, in milliseconds. */
1735
+ updateIntervalInMs?: number;
1736
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1737
+ resumeFrom?: string;
1738
+ }
1901
1739
 
1902
- /**
1903
- * The response body as parsed JSON or XML
1904
- */
1905
- parsedBody: Cluster;
1906
- };
1907
- };
1740
+ /** Contains response data for the update operation. */
1741
+ export type ClustersUpdateResponse = Cluster;
1908
1742
 
1909
- /**
1910
- * Contains response data for the update operation.
1911
- */
1912
- export type ClustersUpdateResponse = Cluster & {
1913
- /**
1914
- * The underlying HTTP response.
1915
- */
1916
- _response: msRest.HttpResponse & {
1917
- /**
1918
- * The response body as text (string format)
1919
- */
1920
- bodyAsText: string;
1743
+ /** Optional parameters. */
1744
+ export interface ClustersDeleteOptionalParams
1745
+ extends coreClient.OperationOptions {
1746
+ /** Delay to wait until next poll, in milliseconds. */
1747
+ updateIntervalInMs?: number;
1748
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1749
+ resumeFrom?: string;
1750
+ }
1921
1751
 
1922
- /**
1923
- * The response body as parsed JSON or XML
1924
- */
1925
- parsedBody: Cluster;
1926
- };
1927
- };
1752
+ /** Optional parameters. */
1753
+ export interface ClustersStopOptionalParams
1754
+ extends coreClient.OperationOptions {
1755
+ /** Delay to wait until next poll, in milliseconds. */
1756
+ updateIntervalInMs?: number;
1757
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1758
+ resumeFrom?: string;
1759
+ }
1928
1760
 
1929
- /**
1930
- * Contains response data for the listFollowerDatabases operation.
1931
- */
1932
- export type ClustersListFollowerDatabasesResponse = FollowerDatabaseListResult & {
1933
- /**
1934
- * The underlying HTTP response.
1935
- */
1936
- _response: msRest.HttpResponse & {
1937
- /**
1938
- * The response body as text (string format)
1939
- */
1940
- bodyAsText: string;
1761
+ /** Optional parameters. */
1762
+ export interface ClustersStartOptionalParams
1763
+ extends coreClient.OperationOptions {
1764
+ /** Delay to wait until next poll, in milliseconds. */
1765
+ updateIntervalInMs?: number;
1766
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1767
+ resumeFrom?: string;
1768
+ }
1941
1769
 
1942
- /**
1943
- * The response body as parsed JSON or XML
1944
- */
1945
- parsedBody: FollowerDatabaseListResult;
1946
- };
1947
- };
1770
+ /** Optional parameters. */
1771
+ export interface ClustersListFollowerDatabasesOptionalParams
1772
+ extends coreClient.OperationOptions {}
1948
1773
 
1949
- /**
1950
- * Contains response data for the diagnoseVirtualNetwork operation.
1951
- */
1952
- export type ClustersDiagnoseVirtualNetworkResponse = DiagnoseVirtualNetworkResult & {
1953
- /**
1954
- * The underlying HTTP response.
1955
- */
1956
- _response: msRest.HttpResponse & {
1957
- /**
1958
- * The response body as text (string format)
1959
- */
1960
- bodyAsText: string;
1774
+ /** Contains response data for the listFollowerDatabases operation. */
1775
+ export type ClustersListFollowerDatabasesResponse = FollowerDatabaseListResult;
1961
1776
 
1962
- /**
1963
- * The response body as parsed JSON or XML
1964
- */
1965
- parsedBody: DiagnoseVirtualNetworkResult;
1966
- };
1967
- };
1777
+ /** Optional parameters. */
1778
+ export interface ClustersDetachFollowerDatabasesOptionalParams
1779
+ extends coreClient.OperationOptions {
1780
+ /** Delay to wait until next poll, in milliseconds. */
1781
+ updateIntervalInMs?: number;
1782
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1783
+ resumeFrom?: string;
1784
+ }
1968
1785
 
1969
- /**
1970
- * Contains response data for the listByResourceGroup operation.
1971
- */
1972
- export type ClustersListByResourceGroupResponse = ClusterListResult & {
1973
- /**
1974
- * The underlying HTTP response.
1975
- */
1976
- _response: msRest.HttpResponse & {
1977
- /**
1978
- * The response body as text (string format)
1979
- */
1980
- bodyAsText: string;
1786
+ /** Optional parameters. */
1787
+ export interface ClustersDiagnoseVirtualNetworkOptionalParams
1788
+ extends coreClient.OperationOptions {
1789
+ /** Delay to wait until next poll, in milliseconds. */
1790
+ updateIntervalInMs?: number;
1791
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1792
+ resumeFrom?: string;
1793
+ }
1981
1794
 
1982
- /**
1983
- * The response body as parsed JSON or XML
1984
- */
1985
- parsedBody: ClusterListResult;
1986
- };
1987
- };
1795
+ /** Contains response data for the diagnoseVirtualNetwork operation. */
1796
+ export type ClustersDiagnoseVirtualNetworkResponse = DiagnoseVirtualNetworkResult;
1988
1797
 
1989
- /**
1990
- * Contains response data for the list operation.
1991
- */
1992
- export type ClustersListResponse = ClusterListResult & {
1993
- /**
1994
- * The underlying HTTP response.
1995
- */
1996
- _response: msRest.HttpResponse & {
1997
- /**
1998
- * The response body as text (string format)
1999
- */
2000
- bodyAsText: string;
1798
+ /** Optional parameters. */
1799
+ export interface ClustersListByResourceGroupOptionalParams
1800
+ extends coreClient.OperationOptions {}
2001
1801
 
2002
- /**
2003
- * The response body as parsed JSON or XML
2004
- */
2005
- parsedBody: ClusterListResult;
2006
- };
2007
- };
1802
+ /** Contains response data for the listByResourceGroup operation. */
1803
+ export type ClustersListByResourceGroupResponse = ClusterListResult;
2008
1804
 
2009
- /**
2010
- * Contains response data for the listSkus operation.
2011
- */
2012
- export type ClustersListSkusResponse = SkuDescriptionList & {
2013
- /**
2014
- * The underlying HTTP response.
2015
- */
2016
- _response: msRest.HttpResponse & {
2017
- /**
2018
- * The response body as text (string format)
2019
- */
2020
- bodyAsText: string;
1805
+ /** Optional parameters. */
1806
+ export interface ClustersListOptionalParams
1807
+ extends coreClient.OperationOptions {}
2021
1808
 
2022
- /**
2023
- * The response body as parsed JSON or XML
2024
- */
2025
- parsedBody: SkuDescriptionList;
2026
- };
2027
- };
1809
+ /** Contains response data for the list operation. */
1810
+ export type ClustersListResponse = ClusterListResult;
2028
1811
 
2029
- /**
2030
- * Contains response data for the checkNameAvailability operation.
2031
- */
2032
- export type ClustersCheckNameAvailabilityResponse = CheckNameResult & {
2033
- /**
2034
- * The underlying HTTP response.
2035
- */
2036
- _response: msRest.HttpResponse & {
2037
- /**
2038
- * The response body as text (string format)
2039
- */
2040
- bodyAsText: string;
1812
+ /** Optional parameters. */
1813
+ export interface ClustersListSkusOptionalParams
1814
+ extends coreClient.OperationOptions {}
2041
1815
 
2042
- /**
2043
- * The response body as parsed JSON or XML
2044
- */
2045
- parsedBody: CheckNameResult;
2046
- };
2047
- };
1816
+ /** Contains response data for the listSkus operation. */
1817
+ export type ClustersListSkusResponse = SkuDescriptionList;
2048
1818
 
2049
- /**
2050
- * Contains response data for the listSkusByResource operation.
2051
- */
2052
- export type ClustersListSkusByResourceResponse = ListResourceSkusResult & {
2053
- /**
2054
- * The underlying HTTP response.
2055
- */
2056
- _response: msRest.HttpResponse & {
2057
- /**
2058
- * The response body as text (string format)
2059
- */
2060
- bodyAsText: string;
1819
+ /** Optional parameters. */
1820
+ export interface ClustersCheckNameAvailabilityOptionalParams
1821
+ extends coreClient.OperationOptions {}
2061
1822
 
2062
- /**
2063
- * The response body as parsed JSON or XML
2064
- */
2065
- parsedBody: ListResourceSkusResult;
2066
- };
2067
- };
1823
+ /** Contains response data for the checkNameAvailability operation. */
1824
+ export type ClustersCheckNameAvailabilityResponse = CheckNameResult;
2068
1825
 
2069
- /**
2070
- * Contains response data for the listLanguageExtensions operation.
2071
- */
2072
- export type ClustersListLanguageExtensionsResponse = LanguageExtensionsList & {
2073
- /**
2074
- * The underlying HTTP response.
2075
- */
2076
- _response: msRest.HttpResponse & {
2077
- /**
2078
- * The response body as text (string format)
2079
- */
2080
- bodyAsText: string;
1826
+ /** Optional parameters. */
1827
+ export interface ClustersListSkusByResourceOptionalParams
1828
+ extends coreClient.OperationOptions {}
2081
1829
 
2082
- /**
2083
- * The response body as parsed JSON or XML
2084
- */
2085
- parsedBody: LanguageExtensionsList;
2086
- };
2087
- };
1830
+ /** Contains response data for the listSkusByResource operation. */
1831
+ export type ClustersListSkusByResourceResponse = ListResourceSkusResult;
2088
1832
 
2089
- /**
2090
- * Contains response data for the beginCreateOrUpdate operation.
2091
- */
2092
- export type ClustersBeginCreateOrUpdateResponse = Cluster & {
2093
- /**
2094
- * The underlying HTTP response.
2095
- */
2096
- _response: msRest.HttpResponse & {
2097
- /**
2098
- * The response body as text (string format)
2099
- */
2100
- bodyAsText: string;
1833
+ /** Optional parameters. */
1834
+ export interface ClustersListOutboundNetworkDependenciesEndpointsOptionalParams
1835
+ extends coreClient.OperationOptions {}
2101
1836
 
2102
- /**
2103
- * The response body as parsed JSON or XML
2104
- */
2105
- parsedBody: Cluster;
2106
- };
2107
- };
1837
+ /** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */
1838
+ export type ClustersListOutboundNetworkDependenciesEndpointsResponse = OutboundNetworkDependenciesEndpointListResult;
2108
1839
 
2109
- /**
2110
- * Contains response data for the beginUpdate operation.
2111
- */
2112
- export type ClustersBeginUpdateResponse = Cluster & {
2113
- /**
2114
- * The underlying HTTP response.
2115
- */
2116
- _response: msRest.HttpResponse & {
2117
- /**
2118
- * The response body as text (string format)
2119
- */
2120
- bodyAsText: string;
1840
+ /** Optional parameters. */
1841
+ export interface ClustersListLanguageExtensionsOptionalParams
1842
+ extends coreClient.OperationOptions {}
2121
1843
 
2122
- /**
2123
- * The response body as parsed JSON or XML
2124
- */
2125
- parsedBody: Cluster;
2126
- };
2127
- };
1844
+ /** Contains response data for the listLanguageExtensions operation. */
1845
+ export type ClustersListLanguageExtensionsResponse = LanguageExtensionsList;
2128
1846
 
2129
- /**
2130
- * Contains response data for the beginDiagnoseVirtualNetwork operation.
2131
- */
2132
- export type ClustersBeginDiagnoseVirtualNetworkResponse = DiagnoseVirtualNetworkResult & {
2133
- /**
2134
- * The underlying HTTP response.
2135
- */
2136
- _response: msRest.HttpResponse & {
2137
- /**
2138
- * The response body as text (string format)
2139
- */
2140
- bodyAsText: string;
1847
+ /** Optional parameters. */
1848
+ export interface ClustersAddLanguageExtensionsOptionalParams
1849
+ extends coreClient.OperationOptions {
1850
+ /** Delay to wait until next poll, in milliseconds. */
1851
+ updateIntervalInMs?: number;
1852
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1853
+ resumeFrom?: string;
1854
+ }
2141
1855
 
2142
- /**
2143
- * The response body as parsed JSON or XML
2144
- */
2145
- parsedBody: DiagnoseVirtualNetworkResult;
2146
- };
2147
- };
1856
+ /** Optional parameters. */
1857
+ export interface ClustersRemoveLanguageExtensionsOptionalParams
1858
+ extends coreClient.OperationOptions {
1859
+ /** Delay to wait until next poll, in milliseconds. */
1860
+ updateIntervalInMs?: number;
1861
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1862
+ resumeFrom?: string;
1863
+ }
2148
1864
 
2149
- /**
2150
- * Contains response data for the checkNameAvailability operation.
2151
- */
2152
- export type ClusterPrincipalAssignmentsCheckNameAvailabilityResponse = CheckNameResult & {
2153
- /**
2154
- * The underlying HTTP response.
2155
- */
2156
- _response: msRest.HttpResponse & {
2157
- /**
2158
- * The response body as text (string format)
2159
- */
2160
- bodyAsText: string;
1865
+ /** Optional parameters. */
1866
+ export interface ClustersListOutboundNetworkDependenciesEndpointsNextOptionalParams
1867
+ extends coreClient.OperationOptions {}
2161
1868
 
2162
- /**
2163
- * The response body as parsed JSON or XML
2164
- */
2165
- parsedBody: CheckNameResult;
2166
- };
2167
- };
1869
+ /** Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation. */
1870
+ export type ClustersListOutboundNetworkDependenciesEndpointsNextResponse = OutboundNetworkDependenciesEndpointListResult;
2168
1871
 
2169
- /**
2170
- * Contains response data for the get operation.
2171
- */
2172
- export type ClusterPrincipalAssignmentsGetResponse = ClusterPrincipalAssignment & {
2173
- /**
2174
- * The underlying HTTP response.
2175
- */
2176
- _response: msRest.HttpResponse & {
2177
- /**
2178
- * The response body as text (string format)
2179
- */
2180
- bodyAsText: string;
1872
+ /** Optional parameters. */
1873
+ export interface ClusterPrincipalAssignmentsCheckNameAvailabilityOptionalParams
1874
+ extends coreClient.OperationOptions {}
2181
1875
 
2182
- /**
2183
- * The response body as parsed JSON or XML
2184
- */
2185
- parsedBody: ClusterPrincipalAssignment;
2186
- };
2187
- };
1876
+ /** Contains response data for the checkNameAvailability operation. */
1877
+ export type ClusterPrincipalAssignmentsCheckNameAvailabilityResponse = CheckNameResult;
2188
1878
 
2189
- /**
2190
- * Contains response data for the createOrUpdate operation.
2191
- */
2192
- export type ClusterPrincipalAssignmentsCreateOrUpdateResponse = ClusterPrincipalAssignment & {
2193
- /**
2194
- * The underlying HTTP response.
2195
- */
2196
- _response: msRest.HttpResponse & {
2197
- /**
2198
- * The response body as text (string format)
2199
- */
2200
- bodyAsText: string;
1879
+ /** Optional parameters. */
1880
+ export interface ClusterPrincipalAssignmentsGetOptionalParams
1881
+ extends coreClient.OperationOptions {}
2201
1882
 
2202
- /**
2203
- * The response body as parsed JSON or XML
2204
- */
2205
- parsedBody: ClusterPrincipalAssignment;
2206
- };
2207
- };
1883
+ /** Contains response data for the get operation. */
1884
+ export type ClusterPrincipalAssignmentsGetResponse = ClusterPrincipalAssignment;
2208
1885
 
2209
- /**
2210
- * Contains response data for the list operation.
2211
- */
2212
- export type ClusterPrincipalAssignmentsListResponse = ClusterPrincipalAssignmentListResult & {
2213
- /**
2214
- * The underlying HTTP response.
2215
- */
2216
- _response: msRest.HttpResponse & {
2217
- /**
2218
- * The response body as text (string format)
2219
- */
2220
- bodyAsText: string;
1886
+ /** Optional parameters. */
1887
+ export interface ClusterPrincipalAssignmentsCreateOrUpdateOptionalParams
1888
+ extends coreClient.OperationOptions {
1889
+ /** Delay to wait until next poll, in milliseconds. */
1890
+ updateIntervalInMs?: number;
1891
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1892
+ resumeFrom?: string;
1893
+ }
1894
+
1895
+ /** Contains response data for the createOrUpdate operation. */
1896
+ export type ClusterPrincipalAssignmentsCreateOrUpdateResponse = ClusterPrincipalAssignment;
1897
+
1898
+ /** Optional parameters. */
1899
+ export interface ClusterPrincipalAssignmentsDeleteOptionalParams
1900
+ extends coreClient.OperationOptions {
1901
+ /** Delay to wait until next poll, in milliseconds. */
1902
+ updateIntervalInMs?: number;
1903
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1904
+ resumeFrom?: string;
1905
+ }
1906
+
1907
+ /** Optional parameters. */
1908
+ export interface ClusterPrincipalAssignmentsListOptionalParams
1909
+ extends coreClient.OperationOptions {}
1910
+
1911
+ /** Contains response data for the list operation. */
1912
+ export type ClusterPrincipalAssignmentsListResponse = ClusterPrincipalAssignmentListResult;
1913
+
1914
+ /** Optional parameters. */
1915
+ export interface DatabasesCheckNameAvailabilityOptionalParams
1916
+ extends coreClient.OperationOptions {}
1917
+
1918
+ /** Contains response data for the checkNameAvailability operation. */
1919
+ export type DatabasesCheckNameAvailabilityResponse = CheckNameResult;
1920
+
1921
+ /** Optional parameters. */
1922
+ export interface DatabasesListByClusterOptionalParams
1923
+ extends coreClient.OperationOptions {}
1924
+
1925
+ /** Contains response data for the listByCluster operation. */
1926
+ export type DatabasesListByClusterResponse = DatabaseListResult;
1927
+
1928
+ /** Optional parameters. */
1929
+ export interface DatabasesGetOptionalParams
1930
+ extends coreClient.OperationOptions {}
1931
+
1932
+ /** Contains response data for the get operation. */
1933
+ export type DatabasesGetResponse = DatabaseUnion;
1934
+
1935
+ /** Optional parameters. */
1936
+ export interface DatabasesCreateOrUpdateOptionalParams
1937
+ extends coreClient.OperationOptions {
1938
+ /** Delay to wait until next poll, in milliseconds. */
1939
+ updateIntervalInMs?: number;
1940
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1941
+ resumeFrom?: string;
1942
+ }
1943
+
1944
+ /** Contains response data for the createOrUpdate operation. */
1945
+ export type DatabasesCreateOrUpdateResponse = DatabaseUnion;
2221
1946
 
2222
- /**
2223
- * The response body as parsed JSON or XML
2224
- */
2225
- parsedBody: ClusterPrincipalAssignmentListResult;
2226
- };
2227
- };
1947
+ /** Optional parameters. */
1948
+ export interface DatabasesUpdateOptionalParams
1949
+ extends coreClient.OperationOptions {
1950
+ /** Delay to wait until next poll, in milliseconds. */
1951
+ updateIntervalInMs?: number;
1952
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1953
+ resumeFrom?: string;
1954
+ }
2228
1955
 
2229
- /**
2230
- * Contains response data for the beginCreateOrUpdate operation.
2231
- */
2232
- export type ClusterPrincipalAssignmentsBeginCreateOrUpdateResponse = ClusterPrincipalAssignment & {
2233
- /**
2234
- * The underlying HTTP response.
2235
- */
2236
- _response: msRest.HttpResponse & {
2237
- /**
2238
- * The response body as text (string format)
2239
- */
2240
- bodyAsText: string;
1956
+ /** Contains response data for the update operation. */
1957
+ export type DatabasesUpdateResponse = DatabaseUnion;
2241
1958
 
2242
- /**
2243
- * The response body as parsed JSON or XML
2244
- */
2245
- parsedBody: ClusterPrincipalAssignment;
2246
- };
2247
- };
1959
+ /** Optional parameters. */
1960
+ export interface DatabasesDeleteOptionalParams
1961
+ extends coreClient.OperationOptions {
1962
+ /** Delay to wait until next poll, in milliseconds. */
1963
+ updateIntervalInMs?: number;
1964
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1965
+ resumeFrom?: string;
1966
+ }
2248
1967
 
2249
- /**
2250
- * Contains response data for the checkNameAvailability operation.
2251
- */
2252
- export type DatabasesCheckNameAvailabilityResponse = CheckNameResult & {
2253
- /**
2254
- * The underlying HTTP response.
2255
- */
2256
- _response: msRest.HttpResponse & {
2257
- /**
2258
- * The response body as text (string format)
2259
- */
2260
- bodyAsText: string;
1968
+ /** Optional parameters. */
1969
+ export interface DatabasesListPrincipalsOptionalParams
1970
+ extends coreClient.OperationOptions {}
2261
1971
 
2262
- /**
2263
- * The response body as parsed JSON or XML
2264
- */
2265
- parsedBody: CheckNameResult;
2266
- };
2267
- };
1972
+ /** Contains response data for the listPrincipals operation. */
1973
+ export type DatabasesListPrincipalsResponse = DatabasePrincipalListResult;
2268
1974
 
2269
- /**
2270
- * Contains response data for the listByCluster operation.
2271
- */
2272
- export type DatabasesListByClusterResponse = DatabaseListResult & {
2273
- /**
2274
- * The underlying HTTP response.
2275
- */
2276
- _response: msRest.HttpResponse & {
2277
- /**
2278
- * The response body as text (string format)
2279
- */
2280
- bodyAsText: string;
1975
+ /** Optional parameters. */
1976
+ export interface DatabasesAddPrincipalsOptionalParams
1977
+ extends coreClient.OperationOptions {}
2281
1978
 
2282
- /**
2283
- * The response body as parsed JSON or XML
2284
- */
2285
- parsedBody: DatabaseListResult;
2286
- };
2287
- };
1979
+ /** Contains response data for the addPrincipals operation. */
1980
+ export type DatabasesAddPrincipalsResponse = DatabasePrincipalListResult;
2288
1981
 
2289
- /**
2290
- * Contains response data for the get operation.
2291
- */
2292
- export type DatabasesGetResponse = DatabaseUnion & {
2293
- /**
2294
- * The underlying HTTP response.
2295
- */
2296
- _response: msRest.HttpResponse & {
2297
- /**
2298
- * The response body as text (string format)
2299
- */
2300
- bodyAsText: string;
1982
+ /** Optional parameters. */
1983
+ export interface DatabasesRemovePrincipalsOptionalParams
1984
+ extends coreClient.OperationOptions {}
2301
1985
 
2302
- /**
2303
- * The response body as parsed JSON or XML
2304
- */
2305
- parsedBody: DatabaseUnion;
2306
- };
2307
- };
1986
+ /** Contains response data for the removePrincipals operation. */
1987
+ export type DatabasesRemovePrincipalsResponse = DatabasePrincipalListResult;
2308
1988
 
2309
- /**
2310
- * Contains response data for the createOrUpdate operation.
2311
- */
2312
- export type DatabasesCreateOrUpdateResponse = DatabaseUnion & {
2313
- /**
2314
- * The underlying HTTP response.
2315
- */
2316
- _response: msRest.HttpResponse & {
2317
- /**
2318
- * The response body as text (string format)
2319
- */
2320
- bodyAsText: string;
1989
+ /** Optional parameters. */
1990
+ export interface AttachedDatabaseConfigurationsCheckNameAvailabilityOptionalParams
1991
+ extends coreClient.OperationOptions {}
2321
1992
 
2322
- /**
2323
- * The response body as parsed JSON or XML
2324
- */
2325
- parsedBody: DatabaseUnion;
2326
- };
2327
- };
1993
+ /** Contains response data for the checkNameAvailability operation. */
1994
+ export type AttachedDatabaseConfigurationsCheckNameAvailabilityResponse = CheckNameResult;
2328
1995
 
2329
- /**
2330
- * Contains response data for the update operation.
2331
- */
2332
- export type DatabasesUpdateResponse = DatabaseUnion & {
2333
- /**
2334
- * The underlying HTTP response.
2335
- */
2336
- _response: msRest.HttpResponse & {
2337
- /**
2338
- * The response body as text (string format)
2339
- */
2340
- bodyAsText: string;
1996
+ /** Optional parameters. */
1997
+ export interface AttachedDatabaseConfigurationsListByClusterOptionalParams
1998
+ extends coreClient.OperationOptions {}
2341
1999
 
2342
- /**
2343
- * The response body as parsed JSON or XML
2344
- */
2345
- parsedBody: DatabaseUnion;
2346
- };
2347
- };
2000
+ /** Contains response data for the listByCluster operation. */
2001
+ export type AttachedDatabaseConfigurationsListByClusterResponse = AttachedDatabaseConfigurationListResult;
2348
2002
 
2349
- /**
2350
- * Contains response data for the listPrincipals operation.
2351
- */
2352
- export type DatabasesListPrincipalsResponse = DatabasePrincipalListResult & {
2353
- /**
2354
- * The underlying HTTP response.
2355
- */
2356
- _response: msRest.HttpResponse & {
2357
- /**
2358
- * The response body as text (string format)
2359
- */
2360
- bodyAsText: string;
2003
+ /** Optional parameters. */
2004
+ export interface AttachedDatabaseConfigurationsGetOptionalParams
2005
+ extends coreClient.OperationOptions {}
2361
2006
 
2362
- /**
2363
- * The response body as parsed JSON or XML
2364
- */
2365
- parsedBody: DatabasePrincipalListResult;
2366
- };
2367
- };
2007
+ /** Contains response data for the get operation. */
2008
+ export type AttachedDatabaseConfigurationsGetResponse = AttachedDatabaseConfiguration;
2368
2009
 
2369
- /**
2370
- * Contains response data for the addPrincipals operation.
2371
- */
2372
- export type DatabasesAddPrincipalsResponse = DatabasePrincipalListResult & {
2373
- /**
2374
- * The underlying HTTP response.
2375
- */
2376
- _response: msRest.HttpResponse & {
2377
- /**
2378
- * The response body as text (string format)
2379
- */
2380
- bodyAsText: string;
2010
+ /** Optional parameters. */
2011
+ export interface AttachedDatabaseConfigurationsCreateOrUpdateOptionalParams
2012
+ extends coreClient.OperationOptions {
2013
+ /** Delay to wait until next poll, in milliseconds. */
2014
+ updateIntervalInMs?: number;
2015
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2016
+ resumeFrom?: string;
2017
+ }
2381
2018
 
2382
- /**
2383
- * The response body as parsed JSON or XML
2384
- */
2385
- parsedBody: DatabasePrincipalListResult;
2386
- };
2387
- };
2019
+ /** Contains response data for the createOrUpdate operation. */
2020
+ export type AttachedDatabaseConfigurationsCreateOrUpdateResponse = AttachedDatabaseConfiguration;
2388
2021
 
2389
- /**
2390
- * Contains response data for the removePrincipals operation.
2391
- */
2392
- export type DatabasesRemovePrincipalsResponse = DatabasePrincipalListResult & {
2393
- /**
2394
- * The underlying HTTP response.
2395
- */
2396
- _response: msRest.HttpResponse & {
2397
- /**
2398
- * The response body as text (string format)
2399
- */
2400
- bodyAsText: string;
2022
+ /** Optional parameters. */
2023
+ export interface AttachedDatabaseConfigurationsDeleteOptionalParams
2024
+ extends coreClient.OperationOptions {
2025
+ /** Delay to wait until next poll, in milliseconds. */
2026
+ updateIntervalInMs?: number;
2027
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2028
+ resumeFrom?: string;
2029
+ }
2401
2030
 
2402
- /**
2403
- * The response body as parsed JSON or XML
2404
- */
2405
- parsedBody: DatabasePrincipalListResult;
2406
- };
2407
- };
2031
+ /** Optional parameters. */
2032
+ export interface ManagedPrivateEndpointsCheckNameAvailabilityOptionalParams
2033
+ extends coreClient.OperationOptions {}
2408
2034
 
2409
- /**
2410
- * Contains response data for the beginCreateOrUpdate operation.
2411
- */
2412
- export type DatabasesBeginCreateOrUpdateResponse = DatabaseUnion & {
2413
- /**
2414
- * The underlying HTTP response.
2415
- */
2416
- _response: msRest.HttpResponse & {
2417
- /**
2418
- * The response body as text (string format)
2419
- */
2420
- bodyAsText: string;
2035
+ /** Contains response data for the checkNameAvailability operation. */
2036
+ export type ManagedPrivateEndpointsCheckNameAvailabilityResponse = CheckNameResult;
2421
2037
 
2422
- /**
2423
- * The response body as parsed JSON or XML
2424
- */
2425
- parsedBody: DatabaseUnion;
2426
- };
2427
- };
2038
+ /** Optional parameters. */
2039
+ export interface ManagedPrivateEndpointsListOptionalParams
2040
+ extends coreClient.OperationOptions {}
2428
2041
 
2429
- /**
2430
- * Contains response data for the beginUpdate operation.
2431
- */
2432
- export type DatabasesBeginUpdateResponse = DatabaseUnion & {
2433
- /**
2434
- * The underlying HTTP response.
2435
- */
2436
- _response: msRest.HttpResponse & {
2437
- /**
2438
- * The response body as text (string format)
2439
- */
2440
- bodyAsText: string;
2042
+ /** Contains response data for the list operation. */
2043
+ export type ManagedPrivateEndpointsListResponse = ManagedPrivateEndpointListResult;
2441
2044
 
2442
- /**
2443
- * The response body as parsed JSON or XML
2444
- */
2445
- parsedBody: DatabaseUnion;
2446
- };
2447
- };
2045
+ /** Optional parameters. */
2046
+ export interface ManagedPrivateEndpointsGetOptionalParams
2047
+ extends coreClient.OperationOptions {}
2448
2048
 
2449
- /**
2450
- * Contains response data for the checkNameAvailability operation.
2451
- */
2452
- export type DatabasePrincipalAssignmentsCheckNameAvailabilityResponse = CheckNameResult & {
2453
- /**
2454
- * The underlying HTTP response.
2455
- */
2456
- _response: msRest.HttpResponse & {
2457
- /**
2458
- * The response body as text (string format)
2459
- */
2460
- bodyAsText: string;
2049
+ /** Contains response data for the get operation. */
2050
+ export type ManagedPrivateEndpointsGetResponse = ManagedPrivateEndpoint;
2461
2051
 
2462
- /**
2463
- * The response body as parsed JSON or XML
2464
- */
2465
- parsedBody: CheckNameResult;
2466
- };
2467
- };
2052
+ /** Optional parameters. */
2053
+ export interface ManagedPrivateEndpointsCreateOrUpdateOptionalParams
2054
+ extends coreClient.OperationOptions {
2055
+ /** Delay to wait until next poll, in milliseconds. */
2056
+ updateIntervalInMs?: number;
2057
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2058
+ resumeFrom?: string;
2059
+ }
2468
2060
 
2469
- /**
2470
- * Contains response data for the get operation.
2471
- */
2472
- export type DatabasePrincipalAssignmentsGetResponse = DatabasePrincipalAssignment & {
2473
- /**
2474
- * The underlying HTTP response.
2475
- */
2476
- _response: msRest.HttpResponse & {
2477
- /**
2478
- * The response body as text (string format)
2479
- */
2480
- bodyAsText: string;
2061
+ /** Contains response data for the createOrUpdate operation. */
2062
+ export type ManagedPrivateEndpointsCreateOrUpdateResponse = ManagedPrivateEndpoint;
2481
2063
 
2482
- /**
2483
- * The response body as parsed JSON or XML
2484
- */
2485
- parsedBody: DatabasePrincipalAssignment;
2486
- };
2487
- };
2064
+ /** Optional parameters. */
2065
+ export interface ManagedPrivateEndpointsUpdateOptionalParams
2066
+ extends coreClient.OperationOptions {
2067
+ /** Delay to wait until next poll, in milliseconds. */
2068
+ updateIntervalInMs?: number;
2069
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2070
+ resumeFrom?: string;
2071
+ }
2488
2072
 
2489
- /**
2490
- * Contains response data for the createOrUpdate operation.
2491
- */
2492
- export type DatabasePrincipalAssignmentsCreateOrUpdateResponse = DatabasePrincipalAssignment & {
2493
- /**
2494
- * The underlying HTTP response.
2495
- */
2496
- _response: msRest.HttpResponse & {
2497
- /**
2498
- * The response body as text (string format)
2499
- */
2500
- bodyAsText: string;
2073
+ /** Contains response data for the update operation. */
2074
+ export type ManagedPrivateEndpointsUpdateResponse = ManagedPrivateEndpoint;
2501
2075
 
2502
- /**
2503
- * The response body as parsed JSON or XML
2504
- */
2505
- parsedBody: DatabasePrincipalAssignment;
2506
- };
2507
- };
2076
+ /** Optional parameters. */
2077
+ export interface ManagedPrivateEndpointsDeleteOptionalParams
2078
+ extends coreClient.OperationOptions {
2079
+ /** Delay to wait until next poll, in milliseconds. */
2080
+ updateIntervalInMs?: number;
2081
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2082
+ resumeFrom?: string;
2083
+ }
2508
2084
 
2509
- /**
2510
- * Contains response data for the list operation.
2511
- */
2512
- export type DatabasePrincipalAssignmentsListResponse = DatabasePrincipalAssignmentListResult & {
2513
- /**
2514
- * The underlying HTTP response.
2515
- */
2516
- _response: msRest.HttpResponse & {
2517
- /**
2518
- * The response body as text (string format)
2519
- */
2520
- bodyAsText: string;
2085
+ /** Optional parameters. */
2086
+ export interface DatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams
2087
+ extends coreClient.OperationOptions {}
2521
2088
 
2522
- /**
2523
- * The response body as parsed JSON or XML
2524
- */
2525
- parsedBody: DatabasePrincipalAssignmentListResult;
2526
- };
2527
- };
2089
+ /** Contains response data for the checkNameAvailability operation. */
2090
+ export type DatabasePrincipalAssignmentsCheckNameAvailabilityResponse = CheckNameResult;
2528
2091
 
2529
- /**
2530
- * Contains response data for the beginCreateOrUpdate operation.
2531
- */
2532
- export type DatabasePrincipalAssignmentsBeginCreateOrUpdateResponse = DatabasePrincipalAssignment & {
2533
- /**
2534
- * The underlying HTTP response.
2535
- */
2536
- _response: msRest.HttpResponse & {
2537
- /**
2538
- * The response body as text (string format)
2539
- */
2540
- bodyAsText: string;
2092
+ /** Optional parameters. */
2093
+ export interface DatabasePrincipalAssignmentsGetOptionalParams
2094
+ extends coreClient.OperationOptions {}
2541
2095
 
2542
- /**
2543
- * The response body as parsed JSON or XML
2544
- */
2545
- parsedBody: DatabasePrincipalAssignment;
2546
- };
2547
- };
2096
+ /** Contains response data for the get operation. */
2097
+ export type DatabasePrincipalAssignmentsGetResponse = DatabasePrincipalAssignment;
2548
2098
 
2549
- /**
2550
- * Contains response data for the listByDatabase operation.
2551
- */
2552
- export type ScriptsListByDatabaseResponse = ScriptListResult & {
2553
- /**
2554
- * The underlying HTTP response.
2555
- */
2556
- _response: msRest.HttpResponse & {
2557
- /**
2558
- * The response body as text (string format)
2559
- */
2560
- bodyAsText: string;
2099
+ /** Optional parameters. */
2100
+ export interface DatabasePrincipalAssignmentsCreateOrUpdateOptionalParams
2101
+ extends coreClient.OperationOptions {
2102
+ /** Delay to wait until next poll, in milliseconds. */
2103
+ updateIntervalInMs?: number;
2104
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2105
+ resumeFrom?: string;
2106
+ }
2561
2107
 
2562
- /**
2563
- * The response body as parsed JSON or XML
2564
- */
2565
- parsedBody: ScriptListResult;
2566
- };
2567
- };
2108
+ /** Contains response data for the createOrUpdate operation. */
2109
+ export type DatabasePrincipalAssignmentsCreateOrUpdateResponse = DatabasePrincipalAssignment;
2568
2110
 
2569
- /**
2570
- * Contains response data for the get operation.
2571
- */
2572
- export type ScriptsGetResponse = Script & {
2573
- /**
2574
- * The underlying HTTP response.
2575
- */
2576
- _response: msRest.HttpResponse & {
2577
- /**
2578
- * The response body as text (string format)
2579
- */
2580
- bodyAsText: string;
2111
+ /** Optional parameters. */
2112
+ export interface DatabasePrincipalAssignmentsDeleteOptionalParams
2113
+ extends coreClient.OperationOptions {
2114
+ /** Delay to wait until next poll, in milliseconds. */
2115
+ updateIntervalInMs?: number;
2116
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2117
+ resumeFrom?: string;
2118
+ }
2581
2119
 
2582
- /**
2583
- * The response body as parsed JSON or XML
2584
- */
2585
- parsedBody: Script;
2586
- };
2587
- };
2120
+ /** Optional parameters. */
2121
+ export interface DatabasePrincipalAssignmentsListOptionalParams
2122
+ extends coreClient.OperationOptions {}
2588
2123
 
2589
- /**
2590
- * Contains response data for the createOrUpdate operation.
2591
- */
2592
- export type ScriptsCreateOrUpdateResponse = Script & {
2593
- /**
2594
- * The underlying HTTP response.
2595
- */
2596
- _response: msRest.HttpResponse & {
2597
- /**
2598
- * The response body as text (string format)
2599
- */
2600
- bodyAsText: string;
2124
+ /** Contains response data for the list operation. */
2125
+ export type DatabasePrincipalAssignmentsListResponse = DatabasePrincipalAssignmentListResult;
2601
2126
 
2602
- /**
2603
- * The response body as parsed JSON or XML
2604
- */
2605
- parsedBody: Script;
2606
- };
2607
- };
2127
+ /** Optional parameters. */
2128
+ export interface ScriptsListByDatabaseOptionalParams
2129
+ extends coreClient.OperationOptions {}
2608
2130
 
2609
- /**
2610
- * Contains response data for the update operation.
2611
- */
2612
- export type ScriptsUpdateResponse = Script & {
2613
- /**
2614
- * The underlying HTTP response.
2615
- */
2616
- _response: msRest.HttpResponse & {
2617
- /**
2618
- * The response body as text (string format)
2619
- */
2620
- bodyAsText: string;
2131
+ /** Contains response data for the listByDatabase operation. */
2132
+ export type ScriptsListByDatabaseResponse = ScriptListResult;
2621
2133
 
2622
- /**
2623
- * The response body as parsed JSON or XML
2624
- */
2625
- parsedBody: Script;
2626
- };
2627
- };
2134
+ /** Optional parameters. */
2135
+ export interface ScriptsGetOptionalParams extends coreClient.OperationOptions {}
2628
2136
 
2629
- /**
2630
- * Contains response data for the checkNameAvailability operation.
2631
- */
2632
- export type ScriptsCheckNameAvailabilityResponse = CheckNameResult & {
2633
- /**
2634
- * The underlying HTTP response.
2635
- */
2636
- _response: msRest.HttpResponse & {
2637
- /**
2638
- * The response body as text (string format)
2639
- */
2640
- bodyAsText: string;
2137
+ /** Contains response data for the get operation. */
2138
+ export type ScriptsGetResponse = Script;
2641
2139
 
2642
- /**
2643
- * The response body as parsed JSON or XML
2644
- */
2645
- parsedBody: CheckNameResult;
2646
- };
2647
- };
2140
+ /** Optional parameters. */
2141
+ export interface ScriptsCreateOrUpdateOptionalParams
2142
+ extends coreClient.OperationOptions {
2143
+ /** Delay to wait until next poll, in milliseconds. */
2144
+ updateIntervalInMs?: number;
2145
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2146
+ resumeFrom?: string;
2147
+ }
2648
2148
 
2649
- /**
2650
- * Contains response data for the beginCreateOrUpdate operation.
2651
- */
2652
- export type ScriptsBeginCreateOrUpdateResponse = Script & {
2653
- /**
2654
- * The underlying HTTP response.
2655
- */
2656
- _response: msRest.HttpResponse & {
2657
- /**
2658
- * The response body as text (string format)
2659
- */
2660
- bodyAsText: string;
2149
+ /** Contains response data for the createOrUpdate operation. */
2150
+ export type ScriptsCreateOrUpdateResponse = Script;
2661
2151
 
2662
- /**
2663
- * The response body as parsed JSON or XML
2664
- */
2665
- parsedBody: Script;
2666
- };
2667
- };
2152
+ /** Optional parameters. */
2153
+ export interface ScriptsUpdateOptionalParams
2154
+ extends coreClient.OperationOptions {
2155
+ /** Delay to wait until next poll, in milliseconds. */
2156
+ updateIntervalInMs?: number;
2157
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2158
+ resumeFrom?: string;
2159
+ }
2668
2160
 
2669
- /**
2670
- * Contains response data for the beginUpdate operation.
2671
- */
2672
- export type ScriptsBeginUpdateResponse = Script & {
2673
- /**
2674
- * The underlying HTTP response.
2675
- */
2676
- _response: msRest.HttpResponse & {
2677
- /**
2678
- * The response body as text (string format)
2679
- */
2680
- bodyAsText: string;
2161
+ /** Contains response data for the update operation. */
2162
+ export type ScriptsUpdateResponse = Script;
2681
2163
 
2682
- /**
2683
- * The response body as parsed JSON or XML
2684
- */
2685
- parsedBody: Script;
2686
- };
2687
- };
2164
+ /** Optional parameters. */
2165
+ export interface ScriptsDeleteOptionalParams
2166
+ extends coreClient.OperationOptions {
2167
+ /** Delay to wait until next poll, in milliseconds. */
2168
+ updateIntervalInMs?: number;
2169
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2170
+ resumeFrom?: string;
2171
+ }
2688
2172
 
2689
- /**
2690
- * Contains response data for the listByCluster operation.
2691
- */
2692
- export type AttachedDatabaseConfigurationsListByClusterResponse = AttachedDatabaseConfigurationListResult & {
2693
- /**
2694
- * The underlying HTTP response.
2695
- */
2696
- _response: msRest.HttpResponse & {
2697
- /**
2698
- * The response body as text (string format)
2699
- */
2700
- bodyAsText: string;
2173
+ /** Optional parameters. */
2174
+ export interface ScriptsCheckNameAvailabilityOptionalParams
2175
+ extends coreClient.OperationOptions {}
2701
2176
 
2702
- /**
2703
- * The response body as parsed JSON or XML
2704
- */
2705
- parsedBody: AttachedDatabaseConfigurationListResult;
2706
- };
2707
- };
2177
+ /** Contains response data for the checkNameAvailability operation. */
2178
+ export type ScriptsCheckNameAvailabilityResponse = CheckNameResult;
2708
2179
 
2709
- /**
2710
- * Contains response data for the get operation.
2711
- */
2712
- export type AttachedDatabaseConfigurationsGetResponse = AttachedDatabaseConfiguration & {
2713
- /**
2714
- * The underlying HTTP response.
2715
- */
2716
- _response: msRest.HttpResponse & {
2717
- /**
2718
- * The response body as text (string format)
2719
- */
2720
- bodyAsText: string;
2180
+ /** Optional parameters. */
2181
+ export interface PrivateEndpointConnectionsListOptionalParams
2182
+ extends coreClient.OperationOptions {}
2721
2183
 
2722
- /**
2723
- * The response body as parsed JSON or XML
2724
- */
2725
- parsedBody: AttachedDatabaseConfiguration;
2726
- };
2727
- };
2184
+ /** Contains response data for the list operation. */
2185
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
2728
2186
 
2729
- /**
2730
- * Contains response data for the createOrUpdate operation.
2731
- */
2732
- export type AttachedDatabaseConfigurationsCreateOrUpdateResponse = AttachedDatabaseConfiguration & {
2733
- /**
2734
- * The underlying HTTP response.
2735
- */
2736
- _response: msRest.HttpResponse & {
2737
- /**
2738
- * The response body as text (string format)
2739
- */
2740
- bodyAsText: string;
2187
+ /** Optional parameters. */
2188
+ export interface PrivateEndpointConnectionsGetOptionalParams
2189
+ extends coreClient.OperationOptions {}
2741
2190
 
2742
- /**
2743
- * The response body as parsed JSON or XML
2744
- */
2745
- parsedBody: AttachedDatabaseConfiguration;
2746
- };
2747
- };
2191
+ /** Contains response data for the get operation. */
2192
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2748
2193
 
2749
- /**
2750
- * Contains response data for the beginCreateOrUpdate operation.
2751
- */
2752
- export type AttachedDatabaseConfigurationsBeginCreateOrUpdateResponse = AttachedDatabaseConfiguration & {
2753
- /**
2754
- * The underlying HTTP response.
2755
- */
2756
- _response: msRest.HttpResponse & {
2757
- /**
2758
- * The response body as text (string format)
2759
- */
2760
- bodyAsText: string;
2194
+ /** Optional parameters. */
2195
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
2196
+ extends coreClient.OperationOptions {
2197
+ /** Delay to wait until next poll, in milliseconds. */
2198
+ updateIntervalInMs?: number;
2199
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2200
+ resumeFrom?: string;
2201
+ }
2761
2202
 
2762
- /**
2763
- * The response body as parsed JSON or XML
2764
- */
2765
- parsedBody: AttachedDatabaseConfiguration;
2766
- };
2767
- };
2203
+ /** Contains response data for the createOrUpdate operation. */
2204
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
2768
2205
 
2769
- /**
2770
- * Contains response data for the listByDatabase operation.
2771
- */
2772
- export type DataConnectionsListByDatabaseResponse = DataConnectionListResult & {
2773
- /**
2774
- * The underlying HTTP response.
2775
- */
2776
- _response: msRest.HttpResponse & {
2777
- /**
2778
- * The response body as text (string format)
2779
- */
2780
- bodyAsText: string;
2206
+ /** Optional parameters. */
2207
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
2208
+ extends coreClient.OperationOptions {
2209
+ /** Delay to wait until next poll, in milliseconds. */
2210
+ updateIntervalInMs?: number;
2211
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2212
+ resumeFrom?: string;
2213
+ }
2781
2214
 
2782
- /**
2783
- * The response body as parsed JSON or XML
2784
- */
2785
- parsedBody: DataConnectionListResult;
2786
- };
2787
- };
2215
+ /** Optional parameters. */
2216
+ export interface PrivateLinkResourcesListOptionalParams
2217
+ extends coreClient.OperationOptions {}
2788
2218
 
2789
- /**
2790
- * Contains response data for the dataConnectionValidationMethod operation.
2791
- */
2792
- export type DataConnectionsDataConnectionValidationMethodResponse = DataConnectionValidationListResult & {
2793
- /**
2794
- * The underlying HTTP response.
2795
- */
2796
- _response: msRest.HttpResponse & {
2797
- /**
2798
- * The response body as text (string format)
2799
- */
2800
- bodyAsText: string;
2219
+ /** Contains response data for the list operation. */
2220
+ export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult;
2801
2221
 
2802
- /**
2803
- * The response body as parsed JSON or XML
2804
- */
2805
- parsedBody: DataConnectionValidationListResult;
2806
- };
2807
- };
2222
+ /** Optional parameters. */
2223
+ export interface PrivateLinkResourcesGetOptionalParams
2224
+ extends coreClient.OperationOptions {}
2808
2225
 
2809
- /**
2810
- * Contains response data for the checkNameAvailability operation.
2811
- */
2812
- export type DataConnectionsCheckNameAvailabilityResponse = CheckNameResult & {
2813
- /**
2814
- * The underlying HTTP response.
2815
- */
2816
- _response: msRest.HttpResponse & {
2817
- /**
2818
- * The response body as text (string format)
2819
- */
2820
- bodyAsText: string;
2226
+ /** Contains response data for the get operation. */
2227
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
2821
2228
 
2822
- /**
2823
- * The response body as parsed JSON or XML
2824
- */
2825
- parsedBody: CheckNameResult;
2826
- };
2827
- };
2229
+ /** Optional parameters. */
2230
+ export interface DataConnectionsListByDatabaseOptionalParams
2231
+ extends coreClient.OperationOptions {}
2828
2232
 
2829
- /**
2830
- * Contains response data for the get operation.
2831
- */
2832
- export type DataConnectionsGetResponse = DataConnectionUnion & {
2833
- /**
2834
- * The underlying HTTP response.
2835
- */
2836
- _response: msRest.HttpResponse & {
2837
- /**
2838
- * The response body as text (string format)
2839
- */
2840
- bodyAsText: string;
2233
+ /** Contains response data for the listByDatabase operation. */
2234
+ export type DataConnectionsListByDatabaseResponse = DataConnectionListResult;
2841
2235
 
2842
- /**
2843
- * The response body as parsed JSON or XML
2844
- */
2845
- parsedBody: DataConnectionUnion;
2846
- };
2847
- };
2236
+ /** Optional parameters. */
2237
+ export interface DataConnectionsDataConnectionValidationOptionalParams
2238
+ extends coreClient.OperationOptions {
2239
+ /** Delay to wait until next poll, in milliseconds. */
2240
+ updateIntervalInMs?: number;
2241
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2242
+ resumeFrom?: string;
2243
+ }
2848
2244
 
2849
- /**
2850
- * Contains response data for the createOrUpdate operation.
2851
- */
2852
- export type DataConnectionsCreateOrUpdateResponse = DataConnectionUnion & {
2853
- /**
2854
- * The underlying HTTP response.
2855
- */
2856
- _response: msRest.HttpResponse & {
2857
- /**
2858
- * The response body as text (string format)
2859
- */
2860
- bodyAsText: string;
2245
+ /** Contains response data for the dataConnectionValidation operation. */
2246
+ export type DataConnectionsDataConnectionValidationResponse = DataConnectionValidationListResult;
2861
2247
 
2862
- /**
2863
- * The response body as parsed JSON or XML
2864
- */
2865
- parsedBody: DataConnectionUnion;
2866
- };
2867
- };
2248
+ /** Optional parameters. */
2249
+ export interface DataConnectionsCheckNameAvailabilityOptionalParams
2250
+ extends coreClient.OperationOptions {}
2868
2251
 
2869
- /**
2870
- * Contains response data for the update operation.
2871
- */
2872
- export type DataConnectionsUpdateResponse = DataConnectionUnion & {
2873
- /**
2874
- * The underlying HTTP response.
2875
- */
2876
- _response: msRest.HttpResponse & {
2877
- /**
2878
- * The response body as text (string format)
2879
- */
2880
- bodyAsText: string;
2252
+ /** Contains response data for the checkNameAvailability operation. */
2253
+ export type DataConnectionsCheckNameAvailabilityResponse = CheckNameResult;
2881
2254
 
2882
- /**
2883
- * The response body as parsed JSON or XML
2884
- */
2885
- parsedBody: DataConnectionUnion;
2886
- };
2887
- };
2255
+ /** Optional parameters. */
2256
+ export interface DataConnectionsGetOptionalParams
2257
+ extends coreClient.OperationOptions {}
2888
2258
 
2889
- /**
2890
- * Contains response data for the beginDataConnectionValidationMethod operation.
2891
- */
2892
- export type DataConnectionsBeginDataConnectionValidationMethodResponse = DataConnectionValidationListResult & {
2893
- /**
2894
- * The underlying HTTP response.
2895
- */
2896
- _response: msRest.HttpResponse & {
2897
- /**
2898
- * The response body as text (string format)
2899
- */
2900
- bodyAsText: string;
2259
+ /** Contains response data for the get operation. */
2260
+ export type DataConnectionsGetResponse = DataConnectionUnion;
2901
2261
 
2902
- /**
2903
- * The response body as parsed JSON or XML
2904
- */
2905
- parsedBody: DataConnectionValidationListResult;
2906
- };
2907
- };
2262
+ /** Optional parameters. */
2263
+ export interface DataConnectionsCreateOrUpdateOptionalParams
2264
+ extends coreClient.OperationOptions {
2265
+ /** Delay to wait until next poll, in milliseconds. */
2266
+ updateIntervalInMs?: number;
2267
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2268
+ resumeFrom?: string;
2269
+ }
2908
2270
 
2909
- /**
2910
- * Contains response data for the beginCreateOrUpdate operation.
2911
- */
2912
- export type DataConnectionsBeginCreateOrUpdateResponse = DataConnectionUnion & {
2913
- /**
2914
- * The underlying HTTP response.
2915
- */
2916
- _response: msRest.HttpResponse & {
2917
- /**
2918
- * The response body as text (string format)
2919
- */
2920
- bodyAsText: string;
2271
+ /** Contains response data for the createOrUpdate operation. */
2272
+ export type DataConnectionsCreateOrUpdateResponse = DataConnectionUnion;
2921
2273
 
2922
- /**
2923
- * The response body as parsed JSON or XML
2924
- */
2925
- parsedBody: DataConnectionUnion;
2926
- };
2927
- };
2274
+ /** Optional parameters. */
2275
+ export interface DataConnectionsUpdateOptionalParams
2276
+ extends coreClient.OperationOptions {
2277
+ /** Delay to wait until next poll, in milliseconds. */
2278
+ updateIntervalInMs?: number;
2279
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2280
+ resumeFrom?: string;
2281
+ }
2928
2282
 
2929
- /**
2930
- * Contains response data for the beginUpdate operation.
2931
- */
2932
- export type DataConnectionsBeginUpdateResponse = DataConnectionUnion & {
2933
- /**
2934
- * The underlying HTTP response.
2935
- */
2936
- _response: msRest.HttpResponse & {
2937
- /**
2938
- * The response body as text (string format)
2939
- */
2940
- bodyAsText: string;
2283
+ /** Contains response data for the update operation. */
2284
+ export type DataConnectionsUpdateResponse = DataConnectionUnion;
2941
2285
 
2942
- /**
2943
- * The response body as parsed JSON or XML
2944
- */
2945
- parsedBody: DataConnectionUnion;
2946
- };
2947
- };
2286
+ /** Optional parameters. */
2287
+ export interface DataConnectionsDeleteOptionalParams
2288
+ extends coreClient.OperationOptions {
2289
+ /** Delay to wait until next poll, in milliseconds. */
2290
+ updateIntervalInMs?: number;
2291
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2292
+ resumeFrom?: string;
2293
+ }
2948
2294
 
2949
- /**
2950
- * Contains response data for the list operation.
2951
- */
2952
- export type OperationsListResponse = OperationListResult & {
2953
- /**
2954
- * The underlying HTTP response.
2955
- */
2956
- _response: msRest.HttpResponse & {
2957
- /**
2958
- * The response body as text (string format)
2959
- */
2960
- bodyAsText: string;
2295
+ /** Optional parameters. */
2296
+ export interface OperationsListOptionalParams
2297
+ extends coreClient.OperationOptions {}
2961
2298
 
2962
- /**
2963
- * The response body as parsed JSON or XML
2964
- */
2965
- parsedBody: OperationListResult;
2966
- };
2967
- };
2299
+ /** Contains response data for the list operation. */
2300
+ export type OperationsListResponse = OperationListResult;
2968
2301
 
2969
- /**
2970
- * Contains response data for the listNext operation.
2971
- */
2972
- export type OperationsListNextResponse = OperationListResult & {
2973
- /**
2974
- * The underlying HTTP response.
2975
- */
2976
- _response: msRest.HttpResponse & {
2977
- /**
2978
- * The response body as text (string format)
2979
- */
2980
- bodyAsText: string;
2302
+ /** Optional parameters. */
2303
+ export interface OperationsListNextOptionalParams
2304
+ extends coreClient.OperationOptions {}
2981
2305
 
2982
- /**
2983
- * The response body as parsed JSON or XML
2984
- */
2985
- parsedBody: OperationListResult;
2986
- };
2987
- };
2306
+ /** Contains response data for the listNext operation. */
2307
+ export type OperationsListNextResponse = OperationListResult;
2988
2308
 
2989
- /**
2990
- * Contains response data for the get operation.
2991
- */
2992
- export type OperationsResultsGetResponse = OperationResult & {
2993
- /**
2994
- * The underlying HTTP response.
2995
- */
2996
- _response: msRest.HttpResponse & {
2997
- /**
2998
- * The response body as text (string format)
2999
- */
3000
- bodyAsText: string;
2309
+ /** Optional parameters. */
2310
+ export interface OperationsResultsGetOptionalParams
2311
+ extends coreClient.OperationOptions {}
3001
2312
 
3002
- /**
3003
- * The response body as parsed JSON or XML
3004
- */
3005
- parsedBody: OperationResult;
3006
- };
3007
- };
2313
+ /** Contains response data for the get operation. */
2314
+ export type OperationsResultsGetResponse = OperationResult;
2315
+
2316
+ /** Optional parameters. */
2317
+ export interface KustoManagementClientOptionalParams
2318
+ extends coreClient.ServiceClientOptions {
2319
+ /** server parameter */
2320
+ $host?: string;
2321
+ /** Api Version */
2322
+ apiVersion?: string;
2323
+ /** Overrides client endpoint. */
2324
+ endpoint?: string;
2325
+ }