@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 @@
1
+ {"version":3,"file":"workspacePurge.js","sourceRoot":"","sources":["../../../src/operations/workspacePurge.ts"],"names":[],"mappings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BAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EACF,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,90 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Workspaces } from "../operationsInterfaces";
3
+ import { OperationalInsightsManagementClientContext } from "../operationalInsightsManagementClientContext";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { Workspace, WorkspacesListOptionalParams, WorkspacesListByResourceGroupOptionalParams, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacePatch, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models";
6
+ /** Class containing Workspaces operations. */
7
+ export declare class WorkspacesImpl implements Workspaces {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Workspaces class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: OperationalInsightsManagementClientContext);
14
+ /**
15
+ * Gets the workspaces in a subscription.
16
+ * @param options The options parameters.
17
+ */
18
+ list(options?: WorkspacesListOptionalParams): PagedAsyncIterableIterator<Workspace>;
19
+ private listPagingPage;
20
+ private listPagingAll;
21
+ /**
22
+ * Gets workspaces in a resource group.
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param options The options parameters.
25
+ */
26
+ listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
27
+ private listByResourceGroupPagingPage;
28
+ private listByResourceGroupPagingAll;
29
+ /**
30
+ * Gets the workspaces in a subscription.
31
+ * @param options The options parameters.
32
+ */
33
+ private _list;
34
+ /**
35
+ * Gets workspaces in a resource group.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param options The options parameters.
38
+ */
39
+ private _listByResourceGroup;
40
+ /**
41
+ * Create or update a workspace.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param workspaceName The name of the workspace.
44
+ * @param parameters The parameters required to create or update a workspace.
45
+ * @param options The options parameters.
46
+ */
47
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
48
+ /**
49
+ * Create or update a workspace.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param workspaceName The name of the workspace.
52
+ * @param parameters The parameters required to create or update a workspace.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
56
+ /**
57
+ * Deletes a workspace resource. To recover the workspace, create it again with the same name, in the
58
+ * same subscription, resource group and location. The name is kept for 14 days and cannot be used for
59
+ * another workspace. To remove the workspace completely and release the name, use the force flag.
60
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
+ * @param workspaceName The name of the workspace.
62
+ * @param options The options parameters.
63
+ */
64
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
65
+ /**
66
+ * Deletes a workspace resource. To recover the workspace, create it again with the same name, in the
67
+ * same subscription, resource group and location. The name is kept for 14 days and cannot be used for
68
+ * another workspace. To remove the workspace completely and release the name, use the force flag.
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
+ * @param workspaceName The name of the workspace.
71
+ * @param options The options parameters.
72
+ */
73
+ beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
74
+ /**
75
+ * Gets a workspace instance.
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param workspaceName The name of the workspace.
78
+ * @param options The options parameters.
79
+ */
80
+ get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
81
+ /**
82
+ * Updates a workspace.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param workspaceName The name of the workspace.
85
+ * @param parameters The parameters required to patch a workspace.
86
+ * @param options The options parameters.
87
+ */
88
+ update(resourceGroupName: string, workspaceName: string, parameters: WorkspacePatch, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
89
+ }
90
+ //# sourceMappingURL=workspaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,2CAA2C,EAG3C,sCA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BAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAShB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAMrC"}
@@ -0,0 +1,384 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing Workspaces operations. */
16
+ export class WorkspacesImpl {
17
+ /**
18
+ * Initialize a new instance of the class Workspaces class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Gets the workspaces in a subscription.
26
+ * @param options The options parameters.
27
+ */
28
+ list(options) {
29
+ const iter = this.listPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listPagingPage(options);
39
+ }
40
+ };
41
+ }
42
+ listPagingPage(options) {
43
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
44
+ let result = yield __await(this._list(options));
45
+ yield yield __await(result.value || []);
46
+ });
47
+ }
48
+ listPagingAll(options) {
49
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
50
+ var e_1, _a;
51
+ try {
52
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
53
+ const page = _c.value;
54
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
55
+ }
56
+ }
57
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
58
+ finally {
59
+ try {
60
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
61
+ }
62
+ finally { if (e_1) throw e_1.error; }
63
+ }
64
+ });
65
+ }
66
+ /**
67
+ * Gets workspaces in a resource group.
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param options The options parameters.
70
+ */
71
+ listByResourceGroup(resourceGroupName, options) {
72
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
73
+ return {
74
+ next() {
75
+ return iter.next();
76
+ },
77
+ [Symbol.asyncIterator]() {
78
+ return this;
79
+ },
80
+ byPage: () => {
81
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
82
+ }
83
+ };
84
+ }
85
+ listByResourceGroupPagingPage(resourceGroupName, options) {
86
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
87
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
88
+ yield yield __await(result.value || []);
89
+ });
90
+ }
91
+ listByResourceGroupPagingAll(resourceGroupName, options) {
92
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
93
+ var e_2, _a;
94
+ try {
95
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
96
+ const page = _c.value;
97
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
98
+ }
99
+ }
100
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
101
+ finally {
102
+ try {
103
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
104
+ }
105
+ finally { if (e_2) throw e_2.error; }
106
+ }
107
+ });
108
+ }
109
+ /**
110
+ * Gets the workspaces in a subscription.
111
+ * @param options The options parameters.
112
+ */
113
+ _list(options) {
114
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
115
+ }
116
+ /**
117
+ * Gets workspaces in a resource group.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param options The options parameters.
120
+ */
121
+ _listByResourceGroup(resourceGroupName, options) {
122
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
123
+ }
124
+ /**
125
+ * Create or update a workspace.
126
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
127
+ * @param workspaceName The name of the workspace.
128
+ * @param parameters The parameters required to create or update a workspace.
129
+ * @param options The options parameters.
130
+ */
131
+ beginCreateOrUpdate(resourceGroupName, workspaceName, parameters, options) {
132
+ return __awaiter(this, void 0, void 0, function* () {
133
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
134
+ return this.client.sendOperationRequest(args, spec);
135
+ });
136
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
137
+ var _a;
138
+ let currentRawResponse = undefined;
139
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
140
+ const callback = (rawResponse, flatResponse) => {
141
+ currentRawResponse = rawResponse;
142
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
143
+ };
144
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
145
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
146
+ return {
147
+ flatResponse,
148
+ rawResponse: {
149
+ statusCode: currentRawResponse.status,
150
+ body: currentRawResponse.parsedBody,
151
+ headers: currentRawResponse.headers.toJSON()
152
+ }
153
+ };
154
+ });
155
+ const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, parameters, options }, createOrUpdateOperationSpec);
156
+ return new LroEngine(lro, {
157
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
158
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
159
+ });
160
+ });
161
+ }
162
+ /**
163
+ * Create or update a workspace.
164
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
165
+ * @param workspaceName The name of the workspace.
166
+ * @param parameters The parameters required to create or update a workspace.
167
+ * @param options The options parameters.
168
+ */
169
+ beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, parameters, options) {
170
+ return __awaiter(this, void 0, void 0, function* () {
171
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, parameters, options);
172
+ return poller.pollUntilDone();
173
+ });
174
+ }
175
+ /**
176
+ * Deletes a workspace resource. To recover the workspace, create it again with the same name, in the
177
+ * same subscription, resource group and location. The name is kept for 14 days and cannot be used for
178
+ * another workspace. To remove the workspace completely and release the name, use the force flag.
179
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
+ * @param workspaceName The name of the workspace.
181
+ * @param options The options parameters.
182
+ */
183
+ beginDelete(resourceGroupName, workspaceName, options) {
184
+ return __awaiter(this, void 0, void 0, function* () {
185
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
186
+ return this.client.sendOperationRequest(args, spec);
187
+ });
188
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
189
+ var _a;
190
+ let currentRawResponse = undefined;
191
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
192
+ const callback = (rawResponse, flatResponse) => {
193
+ currentRawResponse = rawResponse;
194
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
195
+ };
196
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
197
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
198
+ return {
199
+ flatResponse,
200
+ rawResponse: {
201
+ statusCode: currentRawResponse.status,
202
+ body: currentRawResponse.parsedBody,
203
+ headers: currentRawResponse.headers.toJSON()
204
+ }
205
+ };
206
+ });
207
+ const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, options }, deleteOperationSpec);
208
+ return new LroEngine(lro, {
209
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
210
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
211
+ });
212
+ });
213
+ }
214
+ /**
215
+ * Deletes a workspace resource. To recover the workspace, create it again with the same name, in the
216
+ * same subscription, resource group and location. The name is kept for 14 days and cannot be used for
217
+ * another workspace. To remove the workspace completely and release the name, use the force flag.
218
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
219
+ * @param workspaceName The name of the workspace.
220
+ * @param options The options parameters.
221
+ */
222
+ beginDeleteAndWait(resourceGroupName, workspaceName, options) {
223
+ return __awaiter(this, void 0, void 0, function* () {
224
+ const poller = yield this.beginDelete(resourceGroupName, workspaceName, options);
225
+ return poller.pollUntilDone();
226
+ });
227
+ }
228
+ /**
229
+ * Gets a workspace instance.
230
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
231
+ * @param workspaceName The name of the workspace.
232
+ * @param options The options parameters.
233
+ */
234
+ get(resourceGroupName, workspaceName, options) {
235
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getOperationSpec);
236
+ }
237
+ /**
238
+ * Updates a workspace.
239
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
240
+ * @param workspaceName The name of the workspace.
241
+ * @param parameters The parameters required to patch a workspace.
242
+ * @param options The options parameters.
243
+ */
244
+ update(resourceGroupName, workspaceName, parameters, options) {
245
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, parameters, options }, updateOperationSpec);
246
+ }
247
+ }
248
+ // Operation Specifications
249
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
250
+ const listOperationSpec = {
251
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces",
252
+ httpMethod: "GET",
253
+ responses: {
254
+ 200: {
255
+ bodyMapper: Mappers.WorkspaceListResult
256
+ },
257
+ default: {
258
+ bodyMapper: Mappers.ErrorResponse
259
+ }
260
+ },
261
+ queryParameters: [Parameters.apiVersion2],
262
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
263
+ headerParameters: [Parameters.accept],
264
+ serializer
265
+ };
266
+ const listByResourceGroupOperationSpec = {
267
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces",
268
+ httpMethod: "GET",
269
+ responses: {
270
+ 200: {
271
+ bodyMapper: Mappers.WorkspaceListResult
272
+ },
273
+ default: {
274
+ bodyMapper: Mappers.ErrorResponse
275
+ }
276
+ },
277
+ queryParameters: [Parameters.apiVersion2],
278
+ urlParameters: [
279
+ Parameters.$host,
280
+ Parameters.subscriptionId,
281
+ Parameters.resourceGroupName
282
+ ],
283
+ headerParameters: [Parameters.accept],
284
+ serializer
285
+ };
286
+ const createOrUpdateOperationSpec = {
287
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}",
288
+ httpMethod: "PUT",
289
+ responses: {
290
+ 200: {
291
+ bodyMapper: Mappers.Workspace
292
+ },
293
+ 201: {
294
+ bodyMapper: Mappers.Workspace
295
+ },
296
+ 202: {
297
+ bodyMapper: Mappers.Workspace
298
+ },
299
+ 204: {
300
+ bodyMapper: Mappers.Workspace
301
+ },
302
+ default: {
303
+ bodyMapper: Mappers.ErrorResponse
304
+ }
305
+ },
306
+ requestBody: Parameters.parameters8,
307
+ queryParameters: [Parameters.apiVersion2],
308
+ urlParameters: [
309
+ Parameters.$host,
310
+ Parameters.subscriptionId,
311
+ Parameters.resourceGroupName,
312
+ Parameters.workspaceName
313
+ ],
314
+ headerParameters: [Parameters.accept, Parameters.contentType],
315
+ mediaType: "json",
316
+ serializer
317
+ };
318
+ const deleteOperationSpec = {
319
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}",
320
+ httpMethod: "DELETE",
321
+ responses: {
322
+ 200: {},
323
+ 201: {},
324
+ 202: {},
325
+ 204: {},
326
+ default: {
327
+ bodyMapper: Mappers.ErrorResponse
328
+ }
329
+ },
330
+ queryParameters: [Parameters.apiVersion2, Parameters.force],
331
+ urlParameters: [
332
+ Parameters.$host,
333
+ Parameters.subscriptionId,
334
+ Parameters.resourceGroupName,
335
+ Parameters.workspaceName
336
+ ],
337
+ headerParameters: [Parameters.accept],
338
+ serializer
339
+ };
340
+ const getOperationSpec = {
341
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}",
342
+ httpMethod: "GET",
343
+ responses: {
344
+ 200: {
345
+ bodyMapper: Mappers.Workspace
346
+ },
347
+ default: {
348
+ bodyMapper: Mappers.ErrorResponse
349
+ }
350
+ },
351
+ queryParameters: [Parameters.apiVersion2],
352
+ urlParameters: [
353
+ Parameters.$host,
354
+ Parameters.subscriptionId,
355
+ Parameters.resourceGroupName,
356
+ Parameters.workspaceName
357
+ ],
358
+ headerParameters: [Parameters.accept],
359
+ serializer
360
+ };
361
+ const updateOperationSpec = {
362
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}",
363
+ httpMethod: "PATCH",
364
+ responses: {
365
+ 200: {
366
+ bodyMapper: Mappers.Workspace
367
+ },
368
+ default: {
369
+ bodyMapper: Mappers.ErrorResponse
370
+ }
371
+ },
372
+ requestBody: Parameters.parameters9,
373
+ queryParameters: [Parameters.apiVersion2],
374
+ urlParameters: [
375
+ Parameters.$host,
376
+ Parameters.subscriptionId,
377
+ Parameters.resourceGroupName,
378
+ Parameters.workspaceName
379
+ ],
380
+ headerParameters: [Parameters.accept, Parameters.contentType],
381
+ mediaType: "json",
382
+ serializer
383
+ };
384
+ //# sourceMappingURL=workspaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAiBrC,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAkD;QAC5D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC;;YAEtC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACvC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAsC;;;;gBAEtC,KAAyB,IAAA,KAAA,cAAA,IAAI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U,EAAE,OAAO,CAAC,SAAS;SAC9B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,uIAAuI;IACzI,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,SAAS;SAC9B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { AvailableServiceTiersListByWorkspaceOptionalParams, AvailableServiceTiersListByWorkspaceResponse } from "../models";
2
+ /** Interface representing a AvailableServiceTiers. */
3
+ export interface AvailableServiceTiers {
4
+ /**
5
+ * Gets the available service tiers for the workspace.
6
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7
+ * @param workspaceName The name of the workspace.
8
+ * @param options The options parameters.
9
+ */
10
+ listByWorkspace(resourceGroupName: string, workspaceName: string, options?: AvailableServiceTiersListByWorkspaceOptionalParams): Promise<AvailableServiceTiersListByWorkspaceResponse>;
11
+ }
12
+ //# sourceMappingURL=availableServiceTiers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"availableServiceTiers.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/availableServiceTiers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kDAAkD,EAClD,4CAA4C,EAC7C,MAAM,WAAW,CAAC;AAEnB,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;CAC1D"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=availableServiceTiers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"availableServiceTiers.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/availableServiceTiers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,63 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { Cluster, ClustersListByResourceGroupOptionalParams, ClustersListOptionalParams, ClustersCreateOrUpdateOptionalParams, ClustersCreateOrUpdateResponse, ClustersDeleteOptionalParams, ClustersGetOptionalParams, ClustersGetResponse, ClusterPatch, ClustersUpdateOptionalParams, ClustersUpdateResponse } from "../models";
4
+ /** Interface representing a Clusters. */
5
+ export interface Clusters {
6
+ /**
7
+ * Gets Log Analytics clusters in a resource group.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
12
+ /**
13
+ * Gets the Log Analytics clusters in a subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster>;
17
+ /**
18
+ * Create or update a Log Analytics cluster.
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param clusterName The name of the Log Analytics cluster.
21
+ * @param parameters The parameters required to create or update a Log Analytics cluster.
22
+ * @param options The options parameters.
23
+ */
24
+ beginCreateOrUpdate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateOrUpdateResponse>, ClustersCreateOrUpdateResponse>>;
25
+ /**
26
+ * Create or update a Log Analytics cluster.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param clusterName The name of the Log Analytics cluster.
29
+ * @param parameters The parameters required to create or update a Log Analytics cluster.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<ClustersCreateOrUpdateResponse>;
33
+ /**
34
+ * Deletes a cluster instance.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param clusterName Name of the Log Analytics Cluster.
37
+ * @param options The options parameters.
38
+ */
39
+ beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
40
+ /**
41
+ * Deletes a cluster instance.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param clusterName Name of the Log Analytics Cluster.
44
+ * @param options The options parameters.
45
+ */
46
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
47
+ /**
48
+ * Gets a Log Analytics cluster instance.
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param clusterName Name of the Log Analytics Cluster.
51
+ * @param options The options parameters.
52
+ */
53
+ get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
54
+ /**
55
+ * Updates a Log Analytics cluster.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param clusterName Name of the Log Analytics Cluster.
58
+ * @param parameters The parameters required to patch a Log Analytics cluster.
59
+ * @param options The options parameters.
60
+ */
61
+ update(resourceGroupName: string, clusterName: string, parameters: ClusterPatch, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
62
+ }
63
+ //# sourceMappingURL=clusters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/clusters.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,0BAA0B,EAC1B,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,YAAY,EACZ,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,8BAA8B,CAAC,EAClD,8BAA8B,CAC/B,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,YAAY,EACxB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=clusters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/clusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,38 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { DataExport, DataExportsListByWorkspaceOptionalParams, DataExportsCreateOrUpdateOptionalParams, DataExportsCreateOrUpdateResponse, DataExportsGetOptionalParams, DataExportsGetResponse, DataExportsDeleteOptionalParams } from "../models";
3
+ /** Interface representing a DataExports. */
4
+ export interface DataExports {
5
+ /**
6
+ * Lists the data export instances within a workspace.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param workspaceName The name of the workspace.
9
+ * @param options The options parameters.
10
+ */
11
+ listByWorkspace(resourceGroupName: string, workspaceName: string, options?: DataExportsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<DataExport>;
12
+ /**
13
+ * Create or update a data export.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param workspaceName The name of the workspace.
16
+ * @param dataExportName The data export rule name.
17
+ * @param parameters The parameters required to create or update a data export.
18
+ * @param options The options parameters.
19
+ */
20
+ createOrUpdate(resourceGroupName: string, workspaceName: string, dataExportName: string, parameters: DataExport, options?: DataExportsCreateOrUpdateOptionalParams): Promise<DataExportsCreateOrUpdateResponse>;
21
+ /**
22
+ * Gets a data export instance.
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param workspaceName The name of the workspace.
25
+ * @param dataExportName The data export rule name.
26
+ * @param options The options parameters.
27
+ */
28
+ get(resourceGroupName: string, workspaceName: string, dataExportName: string, options?: DataExportsGetOptionalParams): Promise<DataExportsGetResponse>;
29
+ /**
30
+ * Deletes the specified data export in a given workspace..
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param workspaceName The name of the workspace.
33
+ * @param dataExportName The data export rule name.
34
+ * @param options The options parameters.
35
+ */
36
+ delete(resourceGroupName: string, workspaceName: string, dataExportName: string, options?: DataExportsDeleteOptionalParams): Promise<void>;
37
+ }
38
+ //# sourceMappingURL=dataExports.d.ts.map