@azure/arm-hdinsight 0.22.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -74
  4. package/dist/index.js +7702 -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/hDInsightManagementClient.d.ts +29 -0
  9. package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/hDInsightManagementClient.js +62 -0
  11. package/dist-esm/src/hDInsightManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/{esm/models/configurationsMappers.js → dist-esm/src/index.js} +5 -2
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1966 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +133 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +111 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1813 -1305
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +37 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +280 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/applications.d.ts +90 -0
  33. package/dist-esm/src/operations/applications.d.ts.map +1 -0
  34. package/dist-esm/src/operations/applications.js +367 -0
  35. package/dist-esm/src/operations/applications.js.map +1 -0
  36. package/dist-esm/src/operations/clusters.d.ts +214 -0
  37. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  38. package/dist-esm/src/operations/clusters.js +979 -0
  39. package/dist-esm/src/operations/clusters.js.map +1 -0
  40. package/dist-esm/src/operations/configurations.d.ts +54 -0
  41. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/configurations.js +178 -0
  43. package/dist-esm/src/operations/configurations.js.map +1 -0
  44. package/dist-esm/src/operations/extensions.d.ts +139 -0
  45. package/dist-esm/src/operations/extensions.d.ts.map +1 -0
  46. package/dist-esm/src/operations/extensions.js +602 -0
  47. package/dist-esm/src/operations/extensions.js.map +1 -0
  48. package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +19 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/locations.d.ts +52 -0
  53. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/locations.js +199 -0
  55. package/dist-esm/src/operations/locations.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +349 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +85 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/scriptActions.d.ts +62 -0
  69. package/dist-esm/src/operations/scriptActions.d.ts.map +1 -0
  70. package/dist-esm/src/operations/scriptActions.js +232 -0
  71. package/dist-esm/src/operations/scriptActions.js.map +1 -0
  72. package/dist-esm/src/operations/scriptExecutionHistory.d.ts +46 -0
  73. package/dist-esm/src/operations/scriptExecutionHistory.d.ts.map +1 -0
  74. package/dist-esm/src/operations/scriptExecutionHistory.js +167 -0
  75. package/dist-esm/src/operations/scriptExecutionHistory.js.map +1 -0
  76. package/dist-esm/src/operations/virtualMachines.d.ts +45 -0
  77. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
  78. package/dist-esm/src/operations/virtualMachines.js +169 -0
  79. package/dist-esm/src/operations/virtualMachines.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applications.d.ts +65 -0
  81. package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -0
  82. package/{src/models/virtualMachinesMappers.ts → dist-esm/src/operationsInterfaces/applications.js} +2 -5
  83. package/dist-esm/src/operationsInterfaces/applications.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/clusters.d.ts +178 -0
  85. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  86. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/clusters.js} +2 -1
  87. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/configurations.d.ts +46 -0
  89. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  90. package/{src/models/configurationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -5
  91. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/extensions.d.ts +131 -0
  93. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
  94. package/{esm/models/virtualMachinesMappers.js → dist-esm/src/operationsInterfaces/extensions.js} +2 -2
  95. package/dist-esm/src/operationsInterfaces/extensions.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  97. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  99. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/locations.d.ts +44 -0
  101. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/scriptActions.d.ts +37 -0
  117. package/dist-esm/src/operationsInterfaces/scriptActions.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/scriptActions.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/scriptActions.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
  121. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +37 -0
  125. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
  128. package/dist-esm/test/sampleTest.d.ts +2 -0
  129. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  130. package/dist-esm/test/sampleTest.js +40 -0
  131. package/dist-esm/test/sampleTest.js.map +1 -0
  132. package/package.json +65 -31
  133. package/review/arm-hdinsight.api.md +1678 -0
  134. package/rollup.config.js +181 -30
  135. package/src/hDInsightManagementClient.ts +106 -44
  136. package/src/{models/extensionsMappers.ts → index.ts} +4 -6
  137. package/src/lroImpl.ts +34 -0
  138. package/src/models/index.ts +1760 -2084
  139. package/src/models/mappers.ts +1840 -1291
  140. package/src/models/parameters.ts +236 -44
  141. package/src/operations/applications.ts +383 -187
  142. package/src/operations/clusters.ts +1051 -535
  143. package/src/operations/configurations.ts +162 -154
  144. package/src/operations/extensions.ts +693 -216
  145. package/src/operations/index.ts +3 -2
  146. package/src/operations/locations.ts +186 -99
  147. package/src/operations/operations.ts +85 -73
  148. package/src/operations/privateEndpointConnections.ts +495 -0
  149. package/src/operations/privateLinkResources.ts +116 -0
  150. package/src/operations/scriptActions.ts +215 -157
  151. package/src/operations/scriptExecutionHistory.ts +155 -123
  152. package/src/operations/virtualMachines.ts +166 -101
  153. package/src/operationsInterfaces/applications.ts +126 -0
  154. package/src/operationsInterfaces/clusters.ts +327 -0
  155. package/src/operationsInterfaces/configurations.ts +77 -0
  156. package/src/operationsInterfaces/extensions.ts +234 -0
  157. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +4 -3
  158. package/src/operationsInterfaces/locations.ts +88 -0
  159. package/src/operationsInterfaces/operations.ts +22 -0
  160. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  161. package/src/operationsInterfaces/privateLinkResources.ts +42 -0
  162. package/src/operationsInterfaces/scriptActions.ts +73 -0
  163. package/src/operationsInterfaces/scriptExecutionHistory.ts +43 -0
  164. package/src/operationsInterfaces/virtualMachines.ts +70 -0
  165. package/tsconfig.json +3 -3
  166. package/types/arm-hdinsight.d.ts +2866 -0
  167. package/types/tsdoc-metadata.json +11 -0
  168. package/dist/arm-hdinsight.js +0 -5759
  169. package/dist/arm-hdinsight.js.map +0 -1
  170. package/dist/arm-hdinsight.min.js +0 -1
  171. package/dist/arm-hdinsight.min.js.map +0 -1
  172. package/esm/hDInsightManagementClient.d.ts +0 -27
  173. package/esm/hDInsightManagementClient.d.ts.map +0 -1
  174. package/esm/hDInsightManagementClient.js +0 -41
  175. package/esm/hDInsightManagementClient.js.map +0 -1
  176. package/esm/hDInsightManagementClientContext.d.ts +0 -17
  177. package/esm/hDInsightManagementClientContext.d.ts.map +0 -1
  178. package/esm/hDInsightManagementClientContext.js +0 -56
  179. package/esm/hDInsightManagementClientContext.js.map +0 -1
  180. package/esm/models/applicationsMappers.d.ts +0 -2
  181. package/esm/models/applicationsMappers.d.ts.map +0 -1
  182. package/esm/models/applicationsMappers.js +0 -9
  183. package/esm/models/applicationsMappers.js.map +0 -1
  184. package/esm/models/clustersMappers.d.ts +0 -2
  185. package/esm/models/clustersMappers.d.ts.map +0 -1
  186. package/esm/models/clustersMappers.js +0 -9
  187. package/esm/models/clustersMappers.js.map +0 -1
  188. package/esm/models/configurationsMappers.d.ts +0 -2
  189. package/esm/models/configurationsMappers.d.ts.map +0 -1
  190. package/esm/models/configurationsMappers.js.map +0 -1
  191. package/esm/models/extensionsMappers.d.ts +0 -2
  192. package/esm/models/extensionsMappers.d.ts.map +0 -1
  193. package/esm/models/extensionsMappers.js +0 -9
  194. package/esm/models/extensionsMappers.js.map +0 -1
  195. package/esm/models/index.d.ts +0 -2397
  196. package/esm/models/index.d.ts.map +0 -1
  197. package/esm/models/index.js.map +0 -1
  198. package/esm/models/locationsMappers.d.ts +0 -2
  199. package/esm/models/locationsMappers.d.ts.map +0 -1
  200. package/esm/models/locationsMappers.js +0 -9
  201. package/esm/models/locationsMappers.js.map +0 -1
  202. package/esm/models/mappers.d.ts +0 -94
  203. package/esm/models/mappers.d.ts.map +0 -1
  204. package/esm/models/mappers.js.map +0 -1
  205. package/esm/models/operationsMappers.d.ts +0 -2
  206. package/esm/models/operationsMappers.d.ts.map +0 -1
  207. package/esm/models/operationsMappers.js +0 -9
  208. package/esm/models/operationsMappers.js.map +0 -1
  209. package/esm/models/parameters.d.ts +0 -15
  210. package/esm/models/parameters.d.ts.map +0 -1
  211. package/esm/models/parameters.js +0 -142
  212. package/esm/models/parameters.js.map +0 -1
  213. package/esm/models/scriptActionsMappers.d.ts +0 -2
  214. package/esm/models/scriptActionsMappers.d.ts.map +0 -1
  215. package/esm/models/scriptActionsMappers.js +0 -9
  216. package/esm/models/scriptActionsMappers.js.map +0 -1
  217. package/esm/models/scriptExecutionHistoryMappers.d.ts +0 -2
  218. package/esm/models/scriptExecutionHistoryMappers.d.ts.map +0 -1
  219. package/esm/models/scriptExecutionHistoryMappers.js +0 -9
  220. package/esm/models/scriptExecutionHistoryMappers.js.map +0 -1
  221. package/esm/models/virtualMachinesMappers.d.ts +0 -2
  222. package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
  223. package/esm/models/virtualMachinesMappers.js.map +0 -1
  224. package/esm/operations/applications.d.ts +0 -115
  225. package/esm/operations/applications.d.ts.map +0 -1
  226. package/esm/operations/applications.js +0 -233
  227. package/esm/operations/applications.js.map +0 -1
  228. package/esm/operations/clusters.d.ts +0 -273
  229. package/esm/operations/clusters.d.ts.map +0 -1
  230. package/esm/operations/clusters.js +0 -621
  231. package/esm/operations/clusters.js.map +0 -1
  232. package/esm/operations/configurations.d.ts +0 -90
  233. package/esm/operations/configurations.d.ts.map +0 -1
  234. package/esm/operations/configurations.js +0 -173
  235. package/esm/operations/configurations.js.map +0 -1
  236. package/esm/operations/extensions.d.ts +0 -131
  237. package/esm/operations/extensions.d.ts.map +0 -1
  238. package/esm/operations/extensions.js +0 -307
  239. package/esm/operations/extensions.js.map +0 -1
  240. package/esm/operations/index.d.ts.map +0 -1
  241. package/esm/operations/index.js.map +0 -1
  242. package/esm/operations/locations.d.ts +0 -67
  243. package/esm/operations/locations.d.ts.map +0 -1
  244. package/esm/operations/locations.js +0 -113
  245. package/esm/operations/locations.js.map +0 -1
  246. package/esm/operations/operations.d.ts +0 -46
  247. package/esm/operations/operations.d.ts.map +0 -1
  248. package/esm/operations/operations.js +0 -79
  249. package/esm/operations/operations.js.map +0 -1
  250. package/esm/operations/scriptActions.d.ts +0 -100
  251. package/esm/operations/scriptActions.d.ts.map +0 -1
  252. package/esm/operations/scriptActions.js +0 -151
  253. package/esm/operations/scriptActions.js.map +0 -1
  254. package/esm/operations/scriptExecutionHistory.d.ts +0 -76
  255. package/esm/operations/scriptExecutionHistory.d.ts.map +0 -1
  256. package/esm/operations/scriptExecutionHistory.js +0 -117
  257. package/esm/operations/scriptExecutionHistory.js.map +0 -1
  258. package/esm/operations/virtualMachines.d.ts +0 -53
  259. package/esm/operations/virtualMachines.d.ts.map +0 -1
  260. package/esm/operations/virtualMachines.js +0 -134
  261. package/esm/operations/virtualMachines.js.map +0 -1
  262. package/src/hDInsightManagementClientContext.ts +0 -62
  263. package/src/models/applicationsMappers.ts +0 -56
  264. package/src/models/clustersMappers.ts +0 -65
  265. package/src/models/locationsMappers.ts +0 -28
  266. package/src/models/operationsMappers.ts +0 -18
  267. package/src/models/scriptActionsMappers.ts +0 -15
  268. package/src/models/scriptExecutionHistoryMappers.ts +0 -15
@@ -0,0 +1,234 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
10
+ import {
11
+ ClusterMonitoringRequest,
12
+ ExtensionsEnableMonitoringOptionalParams,
13
+ ExtensionsGetMonitoringStatusOptionalParams,
14
+ ExtensionsGetMonitoringStatusResponse,
15
+ ExtensionsDisableMonitoringOptionalParams,
16
+ AzureMonitorRequest,
17
+ ExtensionsEnableAzureMonitorOptionalParams,
18
+ ExtensionsGetAzureMonitorStatusOptionalParams,
19
+ ExtensionsGetAzureMonitorStatusResponse,
20
+ ExtensionsDisableAzureMonitorOptionalParams,
21
+ Extension,
22
+ ExtensionsCreateOptionalParams,
23
+ ExtensionsGetOptionalParams,
24
+ ExtensionsGetResponse,
25
+ ExtensionsDeleteOptionalParams,
26
+ ExtensionsGetAzureAsyncOperationStatusOptionalParams,
27
+ ExtensionsGetAzureAsyncOperationStatusResponse
28
+ } from "../models";
29
+
30
+ /** Interface representing a Extensions. */
31
+ export interface Extensions {
32
+ /**
33
+ * Enables the Operations Management Suite (OMS) on the HDInsight cluster.
34
+ * @param resourceGroupName The name of the resource group.
35
+ * @param clusterName The name of the cluster.
36
+ * @param parameters The Operations Management Suite (OMS) workspace parameters.
37
+ * @param options The options parameters.
38
+ */
39
+ beginEnableMonitoring(
40
+ resourceGroupName: string,
41
+ clusterName: string,
42
+ parameters: ClusterMonitoringRequest,
43
+ options?: ExtensionsEnableMonitoringOptionalParams
44
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
45
+ /**
46
+ * Enables the Operations Management Suite (OMS) on the HDInsight cluster.
47
+ * @param resourceGroupName The name of the resource group.
48
+ * @param clusterName The name of the cluster.
49
+ * @param parameters The Operations Management Suite (OMS) workspace parameters.
50
+ * @param options The options parameters.
51
+ */
52
+ beginEnableMonitoringAndWait(
53
+ resourceGroupName: string,
54
+ clusterName: string,
55
+ parameters: ClusterMonitoringRequest,
56
+ options?: ExtensionsEnableMonitoringOptionalParams
57
+ ): Promise<void>;
58
+ /**
59
+ * Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
60
+ * @param resourceGroupName The name of the resource group.
61
+ * @param clusterName The name of the cluster.
62
+ * @param options The options parameters.
63
+ */
64
+ getMonitoringStatus(
65
+ resourceGroupName: string,
66
+ clusterName: string,
67
+ options?: ExtensionsGetMonitoringStatusOptionalParams
68
+ ): Promise<ExtensionsGetMonitoringStatusResponse>;
69
+ /**
70
+ * Disables the Operations Management Suite (OMS) on the HDInsight cluster.
71
+ * @param resourceGroupName The name of the resource group.
72
+ * @param clusterName The name of the cluster.
73
+ * @param options The options parameters.
74
+ */
75
+ beginDisableMonitoring(
76
+ resourceGroupName: string,
77
+ clusterName: string,
78
+ options?: ExtensionsDisableMonitoringOptionalParams
79
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
80
+ /**
81
+ * Disables the Operations Management Suite (OMS) on the HDInsight cluster.
82
+ * @param resourceGroupName The name of the resource group.
83
+ * @param clusterName The name of the cluster.
84
+ * @param options The options parameters.
85
+ */
86
+ beginDisableMonitoringAndWait(
87
+ resourceGroupName: string,
88
+ clusterName: string,
89
+ options?: ExtensionsDisableMonitoringOptionalParams
90
+ ): Promise<void>;
91
+ /**
92
+ * Enables the Azure Monitor on the HDInsight cluster.
93
+ * @param resourceGroupName The name of the resource group.
94
+ * @param clusterName The name of the cluster.
95
+ * @param parameters The Log Analytics workspace parameters.
96
+ * @param options The options parameters.
97
+ */
98
+ beginEnableAzureMonitor(
99
+ resourceGroupName: string,
100
+ clusterName: string,
101
+ parameters: AzureMonitorRequest,
102
+ options?: ExtensionsEnableAzureMonitorOptionalParams
103
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
104
+ /**
105
+ * Enables the Azure Monitor on the HDInsight cluster.
106
+ * @param resourceGroupName The name of the resource group.
107
+ * @param clusterName The name of the cluster.
108
+ * @param parameters The Log Analytics workspace parameters.
109
+ * @param options The options parameters.
110
+ */
111
+ beginEnableAzureMonitorAndWait(
112
+ resourceGroupName: string,
113
+ clusterName: string,
114
+ parameters: AzureMonitorRequest,
115
+ options?: ExtensionsEnableAzureMonitorOptionalParams
116
+ ): Promise<void>;
117
+ /**
118
+ * Gets the status of Azure Monitor on the HDInsight cluster.
119
+ * @param resourceGroupName The name of the resource group.
120
+ * @param clusterName The name of the cluster.
121
+ * @param options The options parameters.
122
+ */
123
+ getAzureMonitorStatus(
124
+ resourceGroupName: string,
125
+ clusterName: string,
126
+ options?: ExtensionsGetAzureMonitorStatusOptionalParams
127
+ ): Promise<ExtensionsGetAzureMonitorStatusResponse>;
128
+ /**
129
+ * Disables the Azure Monitor on the HDInsight cluster.
130
+ * @param resourceGroupName The name of the resource group.
131
+ * @param clusterName The name of the cluster.
132
+ * @param options The options parameters.
133
+ */
134
+ beginDisableAzureMonitor(
135
+ resourceGroupName: string,
136
+ clusterName: string,
137
+ options?: ExtensionsDisableAzureMonitorOptionalParams
138
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
139
+ /**
140
+ * Disables the Azure Monitor on the HDInsight cluster.
141
+ * @param resourceGroupName The name of the resource group.
142
+ * @param clusterName The name of the cluster.
143
+ * @param options The options parameters.
144
+ */
145
+ beginDisableAzureMonitorAndWait(
146
+ resourceGroupName: string,
147
+ clusterName: string,
148
+ options?: ExtensionsDisableAzureMonitorOptionalParams
149
+ ): Promise<void>;
150
+ /**
151
+ * Creates an HDInsight cluster extension.
152
+ * @param resourceGroupName The name of the resource group.
153
+ * @param clusterName The name of the cluster.
154
+ * @param extensionName The name of the cluster extension.
155
+ * @param parameters The cluster extensions create request.
156
+ * @param options The options parameters.
157
+ */
158
+ beginCreate(
159
+ resourceGroupName: string,
160
+ clusterName: string,
161
+ extensionName: string,
162
+ parameters: Extension,
163
+ options?: ExtensionsCreateOptionalParams
164
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
165
+ /**
166
+ * Creates an HDInsight cluster extension.
167
+ * @param resourceGroupName The name of the resource group.
168
+ * @param clusterName The name of the cluster.
169
+ * @param extensionName The name of the cluster extension.
170
+ * @param parameters The cluster extensions create request.
171
+ * @param options The options parameters.
172
+ */
173
+ beginCreateAndWait(
174
+ resourceGroupName: string,
175
+ clusterName: string,
176
+ extensionName: string,
177
+ parameters: Extension,
178
+ options?: ExtensionsCreateOptionalParams
179
+ ): Promise<void>;
180
+ /**
181
+ * Gets the extension properties for the specified HDInsight cluster extension.
182
+ * @param resourceGroupName The name of the resource group.
183
+ * @param clusterName The name of the cluster.
184
+ * @param extensionName The name of the cluster extension.
185
+ * @param options The options parameters.
186
+ */
187
+ get(
188
+ resourceGroupName: string,
189
+ clusterName: string,
190
+ extensionName: string,
191
+ options?: ExtensionsGetOptionalParams
192
+ ): Promise<ExtensionsGetResponse>;
193
+ /**
194
+ * Deletes the specified extension for HDInsight cluster.
195
+ * @param resourceGroupName The name of the resource group.
196
+ * @param clusterName The name of the cluster.
197
+ * @param extensionName The name of the cluster extension.
198
+ * @param options The options parameters.
199
+ */
200
+ beginDelete(
201
+ resourceGroupName: string,
202
+ clusterName: string,
203
+ extensionName: string,
204
+ options?: ExtensionsDeleteOptionalParams
205
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
206
+ /**
207
+ * Deletes the specified extension for HDInsight cluster.
208
+ * @param resourceGroupName The name of the resource group.
209
+ * @param clusterName The name of the cluster.
210
+ * @param extensionName The name of the cluster extension.
211
+ * @param options The options parameters.
212
+ */
213
+ beginDeleteAndWait(
214
+ resourceGroupName: string,
215
+ clusterName: string,
216
+ extensionName: string,
217
+ options?: ExtensionsDeleteOptionalParams
218
+ ): Promise<void>;
219
+ /**
220
+ * Gets the async operation status.
221
+ * @param resourceGroupName The name of the resource group.
222
+ * @param clusterName The name of the cluster.
223
+ * @param extensionName The name of the cluster extension.
224
+ * @param operationId The long running operation id.
225
+ * @param options The options parameters.
226
+ */
227
+ getAzureAsyncOperationStatus(
228
+ resourceGroupName: string,
229
+ clusterName: string,
230
+ extensionName: string,
231
+ operationId: string,
232
+ options?: ExtensionsGetAzureAsyncOperationStatusOptionalParams
233
+ ): Promise<ExtensionsGetAzureAsyncOperationStatusResponse>;
234
+ }
@@ -3,9 +3,9 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
8
+
9
9
  export * from "./clusters";
10
10
  export * from "./applications";
11
11
  export * from "./locations";
@@ -15,4 +15,5 @@ export * from "./scriptActions";
15
15
  export * from "./scriptExecutionHistory";
16
16
  export * from "./operations";
17
17
  export * from "./virtualMachines";
18
- //# sourceMappingURL=index.js.map
18
+ export * from "./privateEndpointConnections";
19
+ export * from "./privateLinkResources";
@@ -0,0 +1,88 @@
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
+ LocationsGetCapabilitiesOptionalParams,
11
+ LocationsGetCapabilitiesResponse,
12
+ LocationsListUsagesOptionalParams,
13
+ LocationsListUsagesResponse,
14
+ LocationsListBillingSpecsOptionalParams,
15
+ LocationsListBillingSpecsResponse,
16
+ LocationsGetAzureAsyncOperationStatusOptionalParams,
17
+ LocationsGetAzureAsyncOperationStatusResponse,
18
+ NameAvailabilityCheckRequestParameters,
19
+ LocationsCheckNameAvailabilityOptionalParams,
20
+ LocationsCheckNameAvailabilityResponse,
21
+ ClusterCreateRequestValidationParameters,
22
+ LocationsValidateClusterCreateRequestOptionalParams,
23
+ LocationsValidateClusterCreateRequestResponse
24
+ } from "../models";
25
+
26
+ /** Interface representing a Locations. */
27
+ export interface Locations {
28
+ /**
29
+ * Gets the capabilities for the specified location.
30
+ * @param location The Azure location (region) for which to make the request.
31
+ * @param options The options parameters.
32
+ */
33
+ getCapabilities(
34
+ location: string,
35
+ options?: LocationsGetCapabilitiesOptionalParams
36
+ ): Promise<LocationsGetCapabilitiesResponse>;
37
+ /**
38
+ * Lists the usages for the specified location.
39
+ * @param location The Azure location (region) for which to make the request.
40
+ * @param options The options parameters.
41
+ */
42
+ listUsages(
43
+ location: string,
44
+ options?: LocationsListUsagesOptionalParams
45
+ ): Promise<LocationsListUsagesResponse>;
46
+ /**
47
+ * Lists the billingSpecs for the specified subscription and location.
48
+ * @param location The Azure location (region) for which to make the request.
49
+ * @param options The options parameters.
50
+ */
51
+ listBillingSpecs(
52
+ location: string,
53
+ options?: LocationsListBillingSpecsOptionalParams
54
+ ): Promise<LocationsListBillingSpecsResponse>;
55
+ /**
56
+ * Get the async operation status.
57
+ * @param location The Azure location (region) for which to make the request.
58
+ * @param operationId The long running operation id.
59
+ * @param options The options parameters.
60
+ */
61
+ getAzureAsyncOperationStatus(
62
+ location: string,
63
+ operationId: string,
64
+ options?: LocationsGetAzureAsyncOperationStatusOptionalParams
65
+ ): Promise<LocationsGetAzureAsyncOperationStatusResponse>;
66
+ /**
67
+ * Check the cluster name is available or not.
68
+ * @param location The Azure location (region) for which to make the request.
69
+ * @param parameters The request spec of checking name availability.
70
+ * @param options The options parameters.
71
+ */
72
+ checkNameAvailability(
73
+ location: string,
74
+ parameters: NameAvailabilityCheckRequestParameters,
75
+ options?: LocationsCheckNameAvailabilityOptionalParams
76
+ ): Promise<LocationsCheckNameAvailabilityResponse>;
77
+ /**
78
+ * Validate the cluster create request spec is valid or not.
79
+ * @param location The Azure location (region) for which to make the request.
80
+ * @param parameters The cluster create request specification.
81
+ * @param options The options parameters.
82
+ */
83
+ validateClusterCreateRequest(
84
+ location: string,
85
+ parameters: ClusterCreateRequestValidationParameters,
86
+ options?: LocationsValidateClusterCreateRequestOptionalParams
87
+ ): Promise<LocationsValidateClusterCreateRequestResponse>;
88
+ }
@@ -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 HDInsight REST API operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,109 @@
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
+ PrivateEndpointConnection,
13
+ PrivateEndpointConnectionsListByClusterOptionalParams,
14
+ PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
15
+ PrivateEndpointConnectionsCreateOrUpdateResponse,
16
+ PrivateEndpointConnectionsGetOptionalParams,
17
+ PrivateEndpointConnectionsGetResponse,
18
+ PrivateEndpointConnectionsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a PrivateEndpointConnections. */
23
+ export interface PrivateEndpointConnections {
24
+ /**
25
+ * Lists the private endpoint connections for a HDInsight cluster.
26
+ * @param resourceGroupName The name of the resource group.
27
+ * @param clusterName The name of the cluster.
28
+ * @param options The options parameters.
29
+ */
30
+ listByCluster(
31
+ resourceGroupName: string,
32
+ clusterName: string,
33
+ options?: PrivateEndpointConnectionsListByClusterOptionalParams
34
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
+ /**
36
+ * Approve or reject a private endpoint connection manually.
37
+ * @param resourceGroupName The name of the resource group.
38
+ * @param clusterName The name of the cluster.
39
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
40
+ * @param parameters The private endpoint connection create or update request.
41
+ * @param options The options parameters.
42
+ */
43
+ beginCreateOrUpdate(
44
+ resourceGroupName: string,
45
+ clusterName: string,
46
+ privateEndpointConnectionName: string,
47
+ parameters: PrivateEndpointConnection,
48
+ options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
49
+ ): Promise<
50
+ PollerLike<
51
+ PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
52
+ PrivateEndpointConnectionsCreateOrUpdateResponse
53
+ >
54
+ >;
55
+ /**
56
+ * Approve or reject a private endpoint connection manually.
57
+ * @param resourceGroupName The name of the resource group.
58
+ * @param clusterName The name of the cluster.
59
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
60
+ * @param parameters The private endpoint connection create or update request.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreateOrUpdateAndWait(
64
+ resourceGroupName: string,
65
+ clusterName: string,
66
+ privateEndpointConnectionName: string,
67
+ parameters: PrivateEndpointConnection,
68
+ options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
69
+ ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
70
+ /**
71
+ * Gets the specific private endpoint connection.
72
+ * @param resourceGroupName The name of the resource group.
73
+ * @param clusterName The name of the cluster.
74
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
75
+ * @param options The options parameters.
76
+ */
77
+ get(
78
+ resourceGroupName: string,
79
+ clusterName: string,
80
+ privateEndpointConnectionName: string,
81
+ options?: PrivateEndpointConnectionsGetOptionalParams
82
+ ): Promise<PrivateEndpointConnectionsGetResponse>;
83
+ /**
84
+ * Deletes the specific private endpoint connection.
85
+ * @param resourceGroupName The name of the resource group.
86
+ * @param clusterName The name of the cluster.
87
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ clusterName: string,
93
+ privateEndpointConnectionName: string,
94
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Deletes the specific private endpoint connection.
98
+ * @param resourceGroupName The name of the resource group.
99
+ * @param clusterName The name of the cluster.
100
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ clusterName: string,
106
+ privateEndpointConnectionName: string,
107
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -0,0 +1,42 @@
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
+ PrivateLinkResourcesListByClusterOptionalParams,
11
+ PrivateLinkResourcesListByClusterResponse,
12
+ PrivateLinkResourcesGetOptionalParams,
13
+ PrivateLinkResourcesGetResponse
14
+ } from "../models";
15
+
16
+ /** Interface representing a PrivateLinkResources. */
17
+ export interface PrivateLinkResources {
18
+ /**
19
+ * Lists the private link resources in a HDInsight cluster.
20
+ * @param resourceGroupName The name of the resource group.
21
+ * @param clusterName The name of the cluster.
22
+ * @param options The options parameters.
23
+ */
24
+ listByCluster(
25
+ resourceGroupName: string,
26
+ clusterName: string,
27
+ options?: PrivateLinkResourcesListByClusterOptionalParams
28
+ ): Promise<PrivateLinkResourcesListByClusterResponse>;
29
+ /**
30
+ * Gets the specific private link resource.
31
+ * @param resourceGroupName The name of the resource group.
32
+ * @param clusterName The name of the cluster.
33
+ * @param privateLinkResourceName The name of the private link resource.
34
+ * @param options The options parameters.
35
+ */
36
+ get(
37
+ resourceGroupName: string,
38
+ clusterName: string,
39
+ privateLinkResourceName: string,
40
+ options?: PrivateLinkResourcesGetOptionalParams
41
+ ): Promise<PrivateLinkResourcesGetResponse>;
42
+ }
@@ -0,0 +1,73 @@
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
+ RuntimeScriptActionDetail,
12
+ ScriptActionsListByClusterOptionalParams,
13
+ ScriptActionsDeleteOptionalParams,
14
+ ScriptActionsGetExecutionDetailOptionalParams,
15
+ ScriptActionsGetExecutionDetailResponse,
16
+ ScriptActionsGetExecutionAsyncOperationStatusOptionalParams,
17
+ ScriptActionsGetExecutionAsyncOperationStatusResponse
18
+ } from "../models";
19
+
20
+ /// <reference lib="esnext.asynciterable" />
21
+ /** Interface representing a ScriptActions. */
22
+ export interface ScriptActions {
23
+ /**
24
+ * Lists all the persisted script actions for the specified cluster.
25
+ * @param resourceGroupName The name of the resource group.
26
+ * @param clusterName The name of the cluster.
27
+ * @param options The options parameters.
28
+ */
29
+ listByCluster(
30
+ resourceGroupName: string,
31
+ clusterName: string,
32
+ options?: ScriptActionsListByClusterOptionalParams
33
+ ): PagedAsyncIterableIterator<RuntimeScriptActionDetail>;
34
+ /**
35
+ * Deletes a specified persisted script action of the cluster.
36
+ * @param resourceGroupName The name of the resource group.
37
+ * @param clusterName The name of the cluster.
38
+ * @param scriptName The name of the script.
39
+ * @param options The options parameters.
40
+ */
41
+ delete(
42
+ resourceGroupName: string,
43
+ clusterName: string,
44
+ scriptName: string,
45
+ options?: ScriptActionsDeleteOptionalParams
46
+ ): Promise<void>;
47
+ /**
48
+ * Gets the script execution detail for the given script execution ID.
49
+ * @param resourceGroupName The name of the resource group.
50
+ * @param clusterName The name of the cluster.
51
+ * @param scriptExecutionId The script execution Id
52
+ * @param options The options parameters.
53
+ */
54
+ getExecutionDetail(
55
+ resourceGroupName: string,
56
+ clusterName: string,
57
+ scriptExecutionId: string,
58
+ options?: ScriptActionsGetExecutionDetailOptionalParams
59
+ ): Promise<ScriptActionsGetExecutionDetailResponse>;
60
+ /**
61
+ * Gets the async operation status of execution operation.
62
+ * @param resourceGroupName The name of the resource group.
63
+ * @param clusterName The name of the cluster.
64
+ * @param operationId The long running operation id.
65
+ * @param options The options parameters.
66
+ */
67
+ getExecutionAsyncOperationStatus(
68
+ resourceGroupName: string,
69
+ clusterName: string,
70
+ operationId: string,
71
+ options?: ScriptActionsGetExecutionAsyncOperationStatusOptionalParams
72
+ ): Promise<ScriptActionsGetExecutionAsyncOperationStatusResponse>;
73
+ }
@@ -0,0 +1,43 @@
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
+ RuntimeScriptActionDetail,
12
+ ScriptExecutionHistoryListByClusterOptionalParams,
13
+ ScriptExecutionHistoryPromoteOptionalParams
14
+ } from "../models";
15
+
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Interface representing a ScriptExecutionHistory. */
18
+ export interface ScriptExecutionHistory {
19
+ /**
20
+ * Lists all scripts' execution history for the specified cluster.
21
+ * @param resourceGroupName The name of the resource group.
22
+ * @param clusterName The name of the cluster.
23
+ * @param options The options parameters.
24
+ */
25
+ listByCluster(
26
+ resourceGroupName: string,
27
+ clusterName: string,
28
+ options?: ScriptExecutionHistoryListByClusterOptionalParams
29
+ ): PagedAsyncIterableIterator<RuntimeScriptActionDetail>;
30
+ /**
31
+ * Promotes the specified ad-hoc script execution to a persisted script.
32
+ * @param resourceGroupName The name of the resource group.
33
+ * @param clusterName The name of the cluster.
34
+ * @param scriptExecutionId The script execution Id
35
+ * @param options The options parameters.
36
+ */
37
+ promote(
38
+ resourceGroupName: string,
39
+ clusterName: string,
40
+ scriptExecutionId: string,
41
+ options?: ScriptExecutionHistoryPromoteOptionalParams
42
+ ): Promise<void>;
43
+ }