@azure/arm-operationalinsights 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +21 -0
  3. package/README.md +94 -0
  4. package/dist/index.js +5674 -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 +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +1418 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +157 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +64 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +2023 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +40 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +351 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operationalInsightsManagementClient.d.ts +33 -0
  29. package/dist-esm/src/operationalInsightsManagementClient.d.ts.map +1 -0
  30. package/dist-esm/src/operationalInsightsManagementClient.js +40 -0
  31. package/dist-esm/src/operationalInsightsManagementClient.js.map +1 -0
  32. package/dist-esm/src/operationalInsightsManagementClientContext.d.ts +15 -0
  33. package/dist-esm/src/operationalInsightsManagementClientContext.d.ts.map +1 -0
  34. package/dist-esm/src/operationalInsightsManagementClientContext.js +48 -0
  35. package/dist-esm/src/operationalInsightsManagementClientContext.js.map +1 -0
  36. package/dist-esm/src/operations/availableServiceTiers.d.ts +20 -0
  37. package/dist-esm/src/operations/availableServiceTiers.d.ts.map +1 -0
  38. package/dist-esm/src/operations/availableServiceTiers.js +57 -0
  39. package/dist-esm/src/operations/availableServiceTiers.js.map +1 -0
  40. package/dist-esm/src/operations/clusters.d.ts +99 -0
  41. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  42. package/dist-esm/src/operations/clusters.js +450 -0
  43. package/dist-esm/src/operations/clusters.js.map +1 -0
  44. package/dist-esm/src/operations/dataExports.d.ts +55 -0
  45. package/dist-esm/src/operations/dataExports.d.ts.map +1 -0
  46. package/dist-esm/src/operations/dataExports.js +200 -0
  47. package/dist-esm/src/operations/dataExports.js.map +1 -0
  48. package/dist-esm/src/operations/dataSources.d.ts +66 -0
  49. package/dist-esm/src/operations/dataSources.d.ts.map +1 -0
  50. package/dist-esm/src/operations/dataSources.js +230 -0
  51. package/dist-esm/src/operations/dataSources.js.map +1 -0
  52. package/dist-esm/src/operations/deletedWorkspaces.d.ts +40 -0
  53. package/dist-esm/src/operations/deletedWorkspaces.d.ts.map +1 -0
  54. package/dist-esm/src/operations/deletedWorkspaces.js +161 -0
  55. package/dist-esm/src/operations/deletedWorkspaces.js.map +1 -0
  56. package/dist-esm/src/operations/gateways.d.ts +21 -0
  57. package/dist-esm/src/operations/gateways.d.ts.map +1 -0
  58. package/dist-esm/src/operations/gateways.js +47 -0
  59. package/dist-esm/src/operations/gateways.js.map +1 -0
  60. package/dist-esm/src/operations/index.d.ts +20 -0
  61. package/dist-esm/src/operations/index.d.ts.map +1 -0
  62. package/dist-esm/src/operations/index.js +27 -0
  63. package/dist-esm/src/operations/index.js.map +1 -0
  64. package/dist-esm/src/operations/intelligencePacks.d.ts +37 -0
  65. package/dist-esm/src/operations/intelligencePacks.d.ts.map +1 -0
  66. package/dist-esm/src/operations/intelligencePacks.js +106 -0
  67. package/dist-esm/src/operations/intelligencePacks.js.map +1 -0
  68. package/dist-esm/src/operations/linkedServices.d.ts +73 -0
  69. package/dist-esm/src/operations/linkedServices.d.ts.map +1 -0
  70. package/dist-esm/src/operations/linkedServices.js +295 -0
  71. package/dist-esm/src/operations/linkedServices.js.map +1 -0
  72. package/dist-esm/src/operations/linkedStorageAccounts.d.ts +60 -0
  73. package/dist-esm/src/operations/linkedStorageAccounts.d.ts.map +1 -0
  74. package/dist-esm/src/operations/linkedStorageAccounts.js +186 -0
  75. package/dist-esm/src/operations/linkedStorageAccounts.js.map +1 -0
  76. package/dist-esm/src/operations/managementGroups.d.ts +30 -0
  77. package/dist-esm/src/operations/managementGroups.d.ts.map +1 -0
  78. package/dist-esm/src/operations/managementGroups.js +96 -0
  79. package/dist-esm/src/operations/managementGroups.js.map +1 -0
  80. package/dist-esm/src/operations/operationStatuses.d.ts +20 -0
  81. package/dist-esm/src/operations/operationStatuses.d.ts.map +1 -0
  82. package/dist-esm/src/operations/operationStatuses.js +50 -0
  83. package/dist-esm/src/operations/operationStatuses.js.map +1 -0
  84. package/dist-esm/src/operations/operations.d.ts +32 -0
  85. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/operations.js +120 -0
  87. package/dist-esm/src/operations/operations.js.map +1 -0
  88. package/dist-esm/src/operations/savedSearches.d.ts +45 -0
  89. package/dist-esm/src/operations/savedSearches.d.ts.map +1 -0
  90. package/dist-esm/src/operations/savedSearches.js +135 -0
  91. package/dist-esm/src/operations/savedSearches.js.map +1 -0
  92. package/dist-esm/src/operations/schema.d.ts +20 -0
  93. package/dist-esm/src/operations/schema.d.ts.map +1 -0
  94. package/dist-esm/src/operations/schema.js +50 -0
  95. package/dist-esm/src/operations/schema.js.map +1 -0
  96. package/dist-esm/src/operations/sharedKeysOperations.d.ts +28 -0
  97. package/dist-esm/src/operations/sharedKeysOperations.d.ts.map +1 -0
  98. package/dist-esm/src/operations/sharedKeysOperations.js +78 -0
  99. package/dist-esm/src/operations/sharedKeysOperations.js.map +1 -0
  100. package/dist-esm/src/operations/storageInsightConfigs.d.ts +63 -0
  101. package/dist-esm/src/operations/storageInsightConfigs.d.ts.map +1 -0
  102. package/dist-esm/src/operations/storageInsightConfigs.js +225 -0
  103. package/dist-esm/src/operations/storageInsightConfigs.js.map +1 -0
  104. package/dist-esm/src/operations/usages.d.ts +30 -0
  105. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  106. package/dist-esm/src/operations/usages.js +96 -0
  107. package/dist-esm/src/operations/usages.js.map +1 -0
  108. package/dist-esm/src/operations/workspacePurge.d.ts +36 -0
  109. package/dist-esm/src/operations/workspacePurge.d.ts.map +1 -0
  110. package/dist-esm/src/operations/workspacePurge.js +90 -0
  111. package/dist-esm/src/operations/workspacePurge.js.map +1 -0
  112. package/dist-esm/src/operations/workspaces.d.ts +90 -0
  113. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  114. package/dist-esm/src/operations/workspaces.js +384 -0
  115. package/dist-esm/src/operations/workspaces.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/availableServiceTiers.d.ts +12 -0
  117. package/dist-esm/src/operationsInterfaces/availableServiceTiers.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/availableServiceTiers.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/availableServiceTiers.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/clusters.d.ts +63 -0
  121. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/dataExports.d.ts +38 -0
  125. package/dist-esm/src/operationsInterfaces/dataExports.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/dataExports.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/dataExports.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/dataSources.d.ts +39 -0
  129. package/dist-esm/src/operationsInterfaces/dataSources.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/dataSources.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/dataSources.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/deletedWorkspaces.d.ts +17 -0
  133. package/dist-esm/src/operationsInterfaces/deletedWorkspaces.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/deletedWorkspaces.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/deletedWorkspaces.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/gateways.d.ts +13 -0
  137. package/dist-esm/src/operationsInterfaces/gateways.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/gateways.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/gateways.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
  141. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/index.js +27 -0
  143. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/intelligencePacks.d.ts +29 -0
  145. package/dist-esm/src/operationsInterfaces/intelligencePacks.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/intelligencePacks.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/intelligencePacks.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/linkedServices.d.ts +56 -0
  149. package/dist-esm/src/operationsInterfaces/linkedServices.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/linkedServices.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/linkedServices.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.d.ts +42 -0
  153. package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/managementGroups.d.ts +13 -0
  157. package/dist-esm/src/operationsInterfaces/managementGroups.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/managementGroups.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/managementGroups.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/operationStatuses.d.ts +12 -0
  161. package/dist-esm/src/operationsInterfaces/operationStatuses.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/operationStatuses.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/operationStatuses.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  165. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/savedSearches.d.ts +37 -0
  169. package/dist-esm/src/operationsInterfaces/savedSearches.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/savedSearches.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/savedSearches.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/schema.d.ts +12 -0
  173. package/dist-esm/src/operationsInterfaces/schema.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/schema.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/schema.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/sharedKeysOperations.d.ts +20 -0
  177. package/dist-esm/src/operationsInterfaces/sharedKeysOperations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/sharedKeysOperations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/sharedKeysOperations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/storageInsightConfigs.d.ts +38 -0
  181. package/dist-esm/src/operationsInterfaces/storageInsightConfigs.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/storageInsightConfigs.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/storageInsightConfigs.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
  185. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/workspacePurge.d.ts +28 -0
  189. package/dist-esm/src/operationsInterfaces/workspacePurge.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/workspacePurge.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/workspacePurge.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +67 -0
  193. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  196. package/dist-esm/test/sampleTest.d.ts +2 -0
  197. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  198. package/dist-esm/test/sampleTest.js +40 -0
  199. package/dist-esm/test/sampleTest.js.map +1 -0
  200. package/package.json +92 -0
  201. package/review/arm-operationalinsights.api.md +1349 -0
  202. package/rollup.config.js +188 -0
  203. package/src/index.ts +13 -0
  204. package/src/lroImpl.ts +34 -0
  205. package/src/models/index.ts +1622 -0
  206. package/src/models/mappers.ts +2183 -0
  207. package/src/models/parameters.ts +406 -0
  208. package/src/operationalInsightsManagementClient.ts +108 -0
  209. package/src/operationalInsightsManagementClientContext.ts +68 -0
  210. package/src/operations/availableServiceTiers.ts +76 -0
  211. package/src/operations/clusters.ts +591 -0
  212. package/src/operations/dataExports.ts +272 -0
  213. package/src/operations/dataSources.ts +328 -0
  214. package/src/operations/deletedWorkspaces.ts +180 -0
  215. package/src/operations/gateways.ts +64 -0
  216. package/src/operations/index.ts +27 -0
  217. package/src/operations/intelligencePacks.ts +147 -0
  218. package/src/operations/linkedServices.ts +430 -0
  219. package/src/operations/linkedStorageAccounts.ts +259 -0
  220. package/src/operations/managementGroups.ts +120 -0
  221. package/src/operations/operationStatuses.ts +69 -0
  222. package/src/operations/operations.ts +137 -0
  223. package/src/operations/savedSearches.ts +191 -0
  224. package/src/operations/schema.ts +66 -0
  225. package/src/operations/sharedKeysOperations.ts +108 -0
  226. package/src/operations/storageInsightConfigs.ts +313 -0
  227. package/src/operations/usages.ts +120 -0
  228. package/src/operations/workspacePurge.ts +123 -0
  229. package/src/operations/workspaces.ts +502 -0
  230. package/src/operationsInterfaces/availableServiceTiers.ts +27 -0
  231. package/src/operationsInterfaces/clusters.ts +121 -0
  232. package/src/operationsInterfaces/dataExports.ts +75 -0
  233. package/src/operationsInterfaces/dataSources.ts +77 -0
  234. package/src/operationsInterfaces/deletedWorkspaces.ts +35 -0
  235. package/src/operationsInterfaces/gateways.ts +26 -0
  236. package/src/operationsInterfaces/index.ts +27 -0
  237. package/src/operationsInterfaces/intelligencePacks.ts +56 -0
  238. package/src/operationsInterfaces/linkedServices.ts +115 -0
  239. package/src/operationsInterfaces/linkedStorageAccounts.ts +80 -0
  240. package/src/operationsInterfaces/managementGroups.ts +26 -0
  241. package/src/operationsInterfaces/operationStatuses.ts +27 -0
  242. package/src/operationsInterfaces/operations.ts +22 -0
  243. package/src/operationsInterfaces/savedSearches.ts +74 -0
  244. package/src/operationsInterfaces/schema.ts +24 -0
  245. package/src/operationsInterfaces/sharedKeysOperations.ts +41 -0
  246. package/src/operationsInterfaces/storageInsightConfigs.ts +75 -0
  247. package/src/operationsInterfaces/usages.ts +26 -0
  248. package/src/operationsInterfaces/workspacePurge.ts +52 -0
  249. package/src/operationsInterfaces/workspaces.ts +125 -0
  250. package/tsconfig.json +19 -0
  251. package/types/arm-operationalinsights.d.ts +2190 -0
  252. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ DataExport,
12
+ DataExportsListByWorkspaceOptionalParams,
13
+ DataExportsCreateOrUpdateOptionalParams,
14
+ DataExportsCreateOrUpdateResponse,
15
+ DataExportsGetOptionalParams,
16
+ DataExportsGetResponse,
17
+ DataExportsDeleteOptionalParams
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a DataExports. */
22
+ export interface DataExports {
23
+ /**
24
+ * Lists the data export instances within a workspace.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the workspace.
27
+ * @param options The options parameters.
28
+ */
29
+ listByWorkspace(
30
+ resourceGroupName: string,
31
+ workspaceName: string,
32
+ options?: DataExportsListByWorkspaceOptionalParams
33
+ ): PagedAsyncIterableIterator<DataExport>;
34
+ /**
35
+ * Create or update a data export.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param workspaceName The name of the workspace.
38
+ * @param dataExportName The data export rule name.
39
+ * @param parameters The parameters required to create or update a data export.
40
+ * @param options The options parameters.
41
+ */
42
+ createOrUpdate(
43
+ resourceGroupName: string,
44
+ workspaceName: string,
45
+ dataExportName: string,
46
+ parameters: DataExport,
47
+ options?: DataExportsCreateOrUpdateOptionalParams
48
+ ): Promise<DataExportsCreateOrUpdateResponse>;
49
+ /**
50
+ * Gets a data export instance.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param workspaceName The name of the workspace.
53
+ * @param dataExportName The data export rule name.
54
+ * @param options The options parameters.
55
+ */
56
+ get(
57
+ resourceGroupName: string,
58
+ workspaceName: string,
59
+ dataExportName: string,
60
+ options?: DataExportsGetOptionalParams
61
+ ): Promise<DataExportsGetResponse>;
62
+ /**
63
+ * Deletes the specified data export in a given workspace..
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param workspaceName The name of the workspace.
66
+ * @param dataExportName The data export rule name.
67
+ * @param options The options parameters.
68
+ */
69
+ delete(
70
+ resourceGroupName: string,
71
+ workspaceName: string,
72
+ dataExportName: string,
73
+ options?: DataExportsDeleteOptionalParams
74
+ ): Promise<void>;
75
+ }
@@ -0,0 +1,77 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ DataSource,
12
+ DataSourcesListByWorkspaceOptionalParams,
13
+ DataSourcesCreateOrUpdateOptionalParams,
14
+ DataSourcesCreateOrUpdateResponse,
15
+ DataSourcesDeleteOptionalParams,
16
+ DataSourcesGetOptionalParams,
17
+ DataSourcesGetResponse
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a DataSources. */
22
+ export interface DataSources {
23
+ /**
24
+ * Gets the first page of data source instances in a workspace with the link to the next page.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the workspace.
27
+ * @param filter The filter to apply on the operation.
28
+ * @param options The options parameters.
29
+ */
30
+ listByWorkspace(
31
+ resourceGroupName: string,
32
+ workspaceName: string,
33
+ filter: string,
34
+ options?: DataSourcesListByWorkspaceOptionalParams
35
+ ): PagedAsyncIterableIterator<DataSource>;
36
+ /**
37
+ * Create or update a data source.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param workspaceName The name of the workspace.
40
+ * @param dataSourceName The name of the datasource resource.
41
+ * @param parameters The parameters required to create or update a datasource.
42
+ * @param options The options parameters.
43
+ */
44
+ createOrUpdate(
45
+ resourceGroupName: string,
46
+ workspaceName: string,
47
+ dataSourceName: string,
48
+ parameters: DataSource,
49
+ options?: DataSourcesCreateOrUpdateOptionalParams
50
+ ): Promise<DataSourcesCreateOrUpdateResponse>;
51
+ /**
52
+ * Deletes a data source instance.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param workspaceName The name of the workspace.
55
+ * @param dataSourceName Name of the datasource.
56
+ * @param options The options parameters.
57
+ */
58
+ delete(
59
+ resourceGroupName: string,
60
+ workspaceName: string,
61
+ dataSourceName: string,
62
+ options?: DataSourcesDeleteOptionalParams
63
+ ): Promise<void>;
64
+ /**
65
+ * Gets a datasource instance.
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param workspaceName The name of the workspace.
68
+ * @param dataSourceName Name of the datasource
69
+ * @param options The options parameters.
70
+ */
71
+ get(
72
+ resourceGroupName: string,
73
+ workspaceName: string,
74
+ dataSourceName: string,
75
+ options?: DataSourcesGetOptionalParams
76
+ ): Promise<DataSourcesGetResponse>;
77
+ }
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Workspace,
12
+ DeletedWorkspacesListOptionalParams,
13
+ DeletedWorkspacesListByResourceGroupOptionalParams
14
+ } from "../models";
15
+
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Interface representing a DeletedWorkspaces. */
18
+ export interface DeletedWorkspaces {
19
+ /**
20
+ * Gets recently deleted workspaces in a subscription, available for recovery.
21
+ * @param options The options parameters.
22
+ */
23
+ list(
24
+ options?: DeletedWorkspacesListOptionalParams
25
+ ): PagedAsyncIterableIterator<Workspace>;
26
+ /**
27
+ * Gets recently deleted workspaces in a resource group, available for recovery.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param options The options parameters.
30
+ */
31
+ listByResourceGroup(
32
+ resourceGroupName: string,
33
+ options?: DeletedWorkspacesListByResourceGroupOptionalParams
34
+ ): PagedAsyncIterableIterator<Workspace>;
35
+ }
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { GatewaysDeleteOptionalParams } from "../models";
10
+
11
+ /** Interface representing a Gateways. */
12
+ export interface Gateways {
13
+ /**
14
+ * Delete a Log Analytics gateway.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param workspaceName The name of the workspace.
17
+ * @param gatewayId The Log Analytics gateway Id.
18
+ * @param options The options parameters.
19
+ */
20
+ delete(
21
+ resourceGroupName: string,
22
+ workspaceName: string,
23
+ gatewayId: string,
24
+ options?: GatewaysDeleteOptionalParams
25
+ ): Promise<void>;
26
+ }
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./dataExports";
10
+ export * from "./dataSources";
11
+ export * from "./intelligencePacks";
12
+ export * from "./linkedServices";
13
+ export * from "./linkedStorageAccounts";
14
+ export * from "./managementGroups";
15
+ export * from "./operationStatuses";
16
+ export * from "./sharedKeysOperations";
17
+ export * from "./usages";
18
+ export * from "./storageInsightConfigs";
19
+ export * from "./savedSearches";
20
+ export * from "./availableServiceTiers";
21
+ export * from "./gateways";
22
+ export * from "./schema";
23
+ export * from "./workspacePurge";
24
+ export * from "./operations";
25
+ export * from "./clusters";
26
+ export * from "./workspaces";
27
+ export * from "./deletedWorkspaces";
@@ -0,0 +1,56 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ IntelligencePacksDisableOptionalParams,
11
+ IntelligencePacksEnableOptionalParams,
12
+ IntelligencePacksListOptionalParams,
13
+ IntelligencePacksListResponse
14
+ } from "../models";
15
+
16
+ /** Interface representing a IntelligencePacks. */
17
+ export interface IntelligencePacks {
18
+ /**
19
+ * Disables an intelligence pack for a given workspace.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
+ * @param workspaceName The name of the workspace.
22
+ * @param intelligencePackName The name of the intelligence pack to be disabled.
23
+ * @param options The options parameters.
24
+ */
25
+ disable(
26
+ resourceGroupName: string,
27
+ workspaceName: string,
28
+ intelligencePackName: string,
29
+ options?: IntelligencePacksDisableOptionalParams
30
+ ): Promise<void>;
31
+ /**
32
+ * Enables an intelligence pack for a given workspace.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param workspaceName The name of the workspace.
35
+ * @param intelligencePackName The name of the intelligence pack to be enabled.
36
+ * @param options The options parameters.
37
+ */
38
+ enable(
39
+ resourceGroupName: string,
40
+ workspaceName: string,
41
+ intelligencePackName: string,
42
+ options?: IntelligencePacksEnableOptionalParams
43
+ ): Promise<void>;
44
+ /**
45
+ * Lists all the intelligence packs possible and whether they are enabled or disabled for a given
46
+ * workspace.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param workspaceName The name of the workspace.
49
+ * @param options The options parameters.
50
+ */
51
+ list(
52
+ resourceGroupName: string,
53
+ workspaceName: string,
54
+ options?: IntelligencePacksListOptionalParams
55
+ ): Promise<IntelligencePacksListResponse>;
56
+ }
@@ -0,0 +1,115 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ LinkedService,
13
+ LinkedServicesListByWorkspaceOptionalParams,
14
+ LinkedServicesCreateOrUpdateOptionalParams,
15
+ LinkedServicesCreateOrUpdateResponse,
16
+ LinkedServicesDeleteOptionalParams,
17
+ LinkedServicesDeleteResponse,
18
+ LinkedServicesGetOptionalParams,
19
+ LinkedServicesGetResponse
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a LinkedServices. */
24
+ export interface LinkedServices {
25
+ /**
26
+ * Gets the linked services instances in a workspace.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param workspaceName The name of the workspace.
29
+ * @param options The options parameters.
30
+ */
31
+ listByWorkspace(
32
+ resourceGroupName: string,
33
+ workspaceName: string,
34
+ options?: LinkedServicesListByWorkspaceOptionalParams
35
+ ): PagedAsyncIterableIterator<LinkedService>;
36
+ /**
37
+ * Create or update a linked service.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param workspaceName The name of the workspace.
40
+ * @param linkedServiceName Name of the linkedServices resource
41
+ * @param parameters The parameters required to create or update a linked service.
42
+ * @param options The options parameters.
43
+ */
44
+ beginCreateOrUpdate(
45
+ resourceGroupName: string,
46
+ workspaceName: string,
47
+ linkedServiceName: string,
48
+ parameters: LinkedService,
49
+ options?: LinkedServicesCreateOrUpdateOptionalParams
50
+ ): Promise<
51
+ PollerLike<
52
+ PollOperationState<LinkedServicesCreateOrUpdateResponse>,
53
+ LinkedServicesCreateOrUpdateResponse
54
+ >
55
+ >;
56
+ /**
57
+ * Create or update a linked service.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param workspaceName The name of the workspace.
60
+ * @param linkedServiceName Name of the linkedServices resource
61
+ * @param parameters The parameters required to create or update a linked service.
62
+ * @param options The options parameters.
63
+ */
64
+ beginCreateOrUpdateAndWait(
65
+ resourceGroupName: string,
66
+ workspaceName: string,
67
+ linkedServiceName: string,
68
+ parameters: LinkedService,
69
+ options?: LinkedServicesCreateOrUpdateOptionalParams
70
+ ): Promise<LinkedServicesCreateOrUpdateResponse>;
71
+ /**
72
+ * Deletes a linked service instance.
73
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
74
+ * @param workspaceName The name of the workspace.
75
+ * @param linkedServiceName Name of the linked service.
76
+ * @param options The options parameters.
77
+ */
78
+ beginDelete(
79
+ resourceGroupName: string,
80
+ workspaceName: string,
81
+ linkedServiceName: string,
82
+ options?: LinkedServicesDeleteOptionalParams
83
+ ): Promise<
84
+ PollerLike<
85
+ PollOperationState<LinkedServicesDeleteResponse>,
86
+ LinkedServicesDeleteResponse
87
+ >
88
+ >;
89
+ /**
90
+ * Deletes a linked service instance.
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param workspaceName The name of the workspace.
93
+ * @param linkedServiceName Name of the linked service.
94
+ * @param options The options parameters.
95
+ */
96
+ beginDeleteAndWait(
97
+ resourceGroupName: string,
98
+ workspaceName: string,
99
+ linkedServiceName: string,
100
+ options?: LinkedServicesDeleteOptionalParams
101
+ ): Promise<LinkedServicesDeleteResponse>;
102
+ /**
103
+ * Gets a linked service instance.
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param workspaceName The name of the workspace.
106
+ * @param linkedServiceName Name of the linked service.
107
+ * @param options The options parameters.
108
+ */
109
+ get(
110
+ resourceGroupName: string,
111
+ workspaceName: string,
112
+ linkedServiceName: string,
113
+ options?: LinkedServicesGetOptionalParams
114
+ ): Promise<LinkedServicesGetResponse>;
115
+ }
@@ -0,0 +1,80 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ LinkedStorageAccountsResource,
12
+ LinkedStorageAccountsListByWorkspaceOptionalParams,
13
+ DataSourceType,
14
+ LinkedStorageAccountsCreateOrUpdateOptionalParams,
15
+ LinkedStorageAccountsCreateOrUpdateResponse,
16
+ LinkedStorageAccountsDeleteOptionalParams,
17
+ LinkedStorageAccountsGetOptionalParams,
18
+ LinkedStorageAccountsGetResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a LinkedStorageAccounts. */
23
+ export interface LinkedStorageAccounts {
24
+ /**
25
+ * Gets all linked storage accounts associated with the specified workspace, storage accounts will be
26
+ * sorted by their data source type.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param workspaceName The name of the workspace.
29
+ * @param options The options parameters.
30
+ */
31
+ listByWorkspace(
32
+ resourceGroupName: string,
33
+ workspaceName: string,
34
+ options?: LinkedStorageAccountsListByWorkspaceOptionalParams
35
+ ): PagedAsyncIterableIterator<LinkedStorageAccountsResource>;
36
+ /**
37
+ * Create or Update a link relation between current workspace and a group of storage accounts of a
38
+ * specific data source type.
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param workspaceName The name of the workspace.
41
+ * @param dataSourceType Linked storage accounts type.
42
+ * @param parameters The parameters required to create or update linked storage accounts.
43
+ * @param options The options parameters.
44
+ */
45
+ createOrUpdate(
46
+ resourceGroupName: string,
47
+ workspaceName: string,
48
+ dataSourceType: DataSourceType,
49
+ parameters: LinkedStorageAccountsResource,
50
+ options?: LinkedStorageAccountsCreateOrUpdateOptionalParams
51
+ ): Promise<LinkedStorageAccountsCreateOrUpdateResponse>;
52
+ /**
53
+ * Deletes all linked storage accounts of a specific data source type associated with the specified
54
+ * workspace.
55
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
+ * @param workspaceName The name of the workspace.
57
+ * @param dataSourceType Linked storage accounts type.
58
+ * @param options The options parameters.
59
+ */
60
+ delete(
61
+ resourceGroupName: string,
62
+ workspaceName: string,
63
+ dataSourceType: DataSourceType,
64
+ options?: LinkedStorageAccountsDeleteOptionalParams
65
+ ): Promise<void>;
66
+ /**
67
+ * Gets all linked storage account of a specific data source type associated with the specified
68
+ * workspace.
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
+ * @param workspaceName The name of the workspace.
71
+ * @param dataSourceType Linked storage accounts type.
72
+ * @param options The options parameters.
73
+ */
74
+ get(
75
+ resourceGroupName: string,
76
+ workspaceName: string,
77
+ dataSourceType: DataSourceType,
78
+ options?: LinkedStorageAccountsGetOptionalParams
79
+ ): Promise<LinkedStorageAccountsGetResponse>;
80
+ }
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { ManagementGroup, ManagementGroupsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a ManagementGroups. */
14
+ export interface ManagementGroups {
15
+ /**
16
+ * Gets a list of management groups connected to a workspace.
17
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
18
+ * @param workspaceName The name of the workspace.
19
+ * @param options The options parameters.
20
+ */
21
+ list(
22
+ resourceGroupName: string,
23
+ workspaceName: string,
24
+ options?: ManagementGroupsListOptionalParams
25
+ ): PagedAsyncIterableIterator<ManagementGroup>;
26
+ }
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ OperationStatusesGetOptionalParams,
11
+ OperationStatusesGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a OperationStatuses. */
15
+ export interface OperationStatuses {
16
+ /**
17
+ * Get the status of a long running azure asynchronous operation.
18
+ * @param location The region name of operation.
19
+ * @param asyncOperationId The operation Id.
20
+ * @param options The options parameters.
21
+ */
22
+ get(
23
+ location: string,
24
+ asyncOperationId: string,
25
+ options?: OperationStatusesGetOptionalParams
26
+ ): Promise<OperationStatusesGetResponse>;
27
+ }
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Lists all of the available OperationalInsights Rest API operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,74 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ SavedSearchesDeleteOptionalParams,
11
+ SavedSearch,
12
+ SavedSearchesCreateOrUpdateOptionalParams,
13
+ SavedSearchesCreateOrUpdateResponse,
14
+ SavedSearchesGetOptionalParams,
15
+ SavedSearchesGetResponse,
16
+ SavedSearchesListByWorkspaceOptionalParams,
17
+ SavedSearchesListByWorkspaceResponse
18
+ } from "../models";
19
+
20
+ /** Interface representing a SavedSearches. */
21
+ export interface SavedSearches {
22
+ /**
23
+ * Deletes the specified saved search in a given workspace.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param workspaceName The name of the workspace.
26
+ * @param savedSearchId The id of the saved search.
27
+ * @param options The options parameters.
28
+ */
29
+ delete(
30
+ resourceGroupName: string,
31
+ workspaceName: string,
32
+ savedSearchId: string,
33
+ options?: SavedSearchesDeleteOptionalParams
34
+ ): Promise<void>;
35
+ /**
36
+ * Creates or updates a saved search for a given workspace.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param workspaceName The name of the workspace.
39
+ * @param savedSearchId The id of the saved search.
40
+ * @param parameters The parameters required to save a search.
41
+ * @param options The options parameters.
42
+ */
43
+ createOrUpdate(
44
+ resourceGroupName: string,
45
+ workspaceName: string,
46
+ savedSearchId: string,
47
+ parameters: SavedSearch,
48
+ options?: SavedSearchesCreateOrUpdateOptionalParams
49
+ ): Promise<SavedSearchesCreateOrUpdateResponse>;
50
+ /**
51
+ * Gets the specified saved search for a given workspace.
52
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
+ * @param workspaceName The name of the workspace.
54
+ * @param savedSearchId The id of the saved search.
55
+ * @param options The options parameters.
56
+ */
57
+ get(
58
+ resourceGroupName: string,
59
+ workspaceName: string,
60
+ savedSearchId: string,
61
+ options?: SavedSearchesGetOptionalParams
62
+ ): Promise<SavedSearchesGetResponse>;
63
+ /**
64
+ * Gets the saved searches for a given Log Analytics Workspace
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param workspaceName The name of the workspace.
67
+ * @param options The options parameters.
68
+ */
69
+ listByWorkspace(
70
+ resourceGroupName: string,
71
+ workspaceName: string,
72
+ options?: SavedSearchesListByWorkspaceOptionalParams
73
+ ): Promise<SavedSearchesListByWorkspaceResponse>;
74
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { SchemaGetOptionalParams, SchemaGetResponse } from "../models";
10
+
11
+ /** Interface representing a Schema. */
12
+ export interface Schema {
13
+ /**
14
+ * Gets the schema for a given workspace.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param workspaceName The name of the workspace.
17
+ * @param options The options parameters.
18
+ */
19
+ get(
20
+ resourceGroupName: string,
21
+ workspaceName: string,
22
+ options?: SchemaGetOptionalParams
23
+ ): Promise<SchemaGetResponse>;
24
+ }