@azure/arm-streamanalytics 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -84
  4. package/dist/index.js +6818 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/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 +1940 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +132 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +155 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1412 -2137
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +34 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +260 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/clusters.d.ts +137 -0
  29. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  30. package/dist-esm/src/operations/clusters.js +627 -0
  31. package/dist-esm/src/operations/clusters.js.map +1 -0
  32. package/dist-esm/src/operations/functions.d.ts +107 -0
  33. package/dist-esm/src/operations/functions.d.ts.map +1 -0
  34. package/dist-esm/src/operations/functions.js +416 -0
  35. package/dist-esm/src/operations/functions.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +4 -4
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +5 -6
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/inputs.d.ts +94 -0
  41. package/dist-esm/src/operations/inputs.d.ts.map +1 -0
  42. package/dist-esm/src/operations/inputs.js +377 -0
  43. package/dist-esm/src/operations/inputs.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/outputs.d.ts +95 -0
  49. package/dist-esm/src/operations/outputs.d.ts.map +1 -0
  50. package/dist-esm/src/operations/outputs.js +378 -0
  51. package/dist-esm/src/operations/outputs.js.map +1 -0
  52. package/dist-esm/src/operations/privateEndpoints.d.ts +73 -0
  53. package/dist-esm/src/operations/privateEndpoints.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateEndpoints.js +295 -0
  55. package/dist-esm/src/operations/privateEndpoints.js.map +1 -0
  56. package/dist-esm/src/operations/streamingJobs.d.ts +151 -0
  57. package/dist-esm/src/operations/streamingJobs.d.ts.map +1 -0
  58. package/dist-esm/src/operations/streamingJobs.js +692 -0
  59. package/dist-esm/src/operations/streamingJobs.js.map +1 -0
  60. package/dist-esm/src/operations/subscriptions.d.ts +21 -0
  61. package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
  62. package/dist-esm/src/operations/subscriptions.js +53 -0
  63. package/dist-esm/src/operations/subscriptions.js.map +1 -0
  64. package/dist-esm/src/operations/transformations.d.ts +46 -0
  65. package/dist-esm/src/operations/transformations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/transformations.js +160 -0
  67. package/dist-esm/src/operations/transformations.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/clusters.d.ts +84 -0
  69. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/functions.d.ts +82 -0
  73. package/dist-esm/src/operationsInterfaces/functions.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/functions.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/functions.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  79. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/inputs.d.ts +69 -0
  81. package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +1 -0
  82. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/inputs.js} +2 -1
  83. package/dist-esm/src/operationsInterfaces/inputs.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  85. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/outputs.d.ts +70 -0
  89. package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/outputs.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/outputs.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +48 -0
  93. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/privateEndpoints.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +115 -0
  97. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/streamingJobs.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +13 -0
  101. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/transformations.d.ts +38 -0
  105. package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/transformations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/transformations.js.map +1 -0
  108. package/dist-esm/src/streamAnalyticsManagementClient.d.ts +26 -0
  109. package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +1 -0
  110. package/dist-esm/src/streamAnalyticsManagementClient.js +59 -0
  111. package/dist-esm/src/streamAnalyticsManagementClient.js.map +1 -0
  112. package/dist-esm/test/sampleTest.d.ts +2 -0
  113. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  114. package/dist-esm/test/sampleTest.js +40 -0
  115. package/dist-esm/test/sampleTest.js.map +1 -0
  116. package/package.json +65 -32
  117. package/review/arm-streamanalytics.api.md +1598 -0
  118. package/rollup.config.js +181 -30
  119. package/src/{models/operationsMappers.ts → index.ts} +4 -12
  120. package/src/lroImpl.ts +34 -0
  121. package/src/models/index.ts +1943 -4505
  122. package/src/models/mappers.ts +1393 -2127
  123. package/src/models/parameters.ts +180 -90
  124. package/src/operations/clusters.ts +640 -393
  125. package/src/operations/functions.ts +366 -375
  126. package/src/operations/index.ts +5 -6
  127. package/src/operations/inputs.ts +337 -326
  128. package/src/operations/operations.ts +85 -73
  129. package/src/operations/outputs.ts +337 -325
  130. package/src/operations/privateEndpoints.ts +276 -209
  131. package/src/operations/streamingJobs.ts +686 -398
  132. package/src/operations/subscriptions.ts +36 -376
  133. package/src/operations/transformations.ts +104 -162
  134. package/src/operationsInterfaces/clusters.ts +157 -0
  135. package/src/operationsInterfaces/functions.ts +148 -0
  136. package/src/operationsInterfaces/index.ts +17 -0
  137. package/src/operationsInterfaces/inputs.ts +128 -0
  138. package/src/operationsInterfaces/operations.ts +22 -0
  139. package/src/operationsInterfaces/outputs.ts +129 -0
  140. package/src/operationsInterfaces/privateEndpoints.ts +90 -0
  141. package/src/operationsInterfaces/streamingJobs.ts +199 -0
  142. package/src/operationsInterfaces/subscriptions.ts +27 -0
  143. package/src/operationsInterfaces/transformations.ts +71 -0
  144. package/src/streamAnalyticsManagementClient.ts +97 -49
  145. package/tsconfig.json +3 -3
  146. package/types/arm-streamanalytics.d.ts +2730 -0
  147. package/types/tsdoc-metadata.json +11 -0
  148. package/dist/arm-streamanalytics.js +0 -7772
  149. package/dist/arm-streamanalytics.js.map +0 -1
  150. package/dist/arm-streamanalytics.min.js +0 -1
  151. package/dist/arm-streamanalytics.min.js.map +0 -1
  152. package/esm/models/clustersMappers.d.ts +0 -2
  153. package/esm/models/clustersMappers.d.ts.map +0 -1
  154. package/esm/models/clustersMappers.js +0 -9
  155. package/esm/models/clustersMappers.js.map +0 -1
  156. package/esm/models/functionsMappers.d.ts +0 -2
  157. package/esm/models/functionsMappers.d.ts.map +0 -1
  158. package/esm/models/functionsMappers.js +0 -9
  159. package/esm/models/functionsMappers.js.map +0 -1
  160. package/esm/models/index.d.ts +0 -4514
  161. package/esm/models/index.d.ts.map +0 -1
  162. package/esm/models/index.js.map +0 -1
  163. package/esm/models/inputsMappers.d.ts +0 -2
  164. package/esm/models/inputsMappers.d.ts.map +0 -1
  165. package/esm/models/inputsMappers.js +0 -9
  166. package/esm/models/inputsMappers.js.map +0 -1
  167. package/esm/models/mappers.d.ts +0 -185
  168. package/esm/models/mappers.d.ts.map +0 -1
  169. package/esm/models/mappers.js.map +0 -1
  170. package/esm/models/operationsMappers.d.ts +0 -2
  171. package/esm/models/operationsMappers.d.ts.map +0 -1
  172. package/esm/models/operationsMappers.js +0 -9
  173. package/esm/models/operationsMappers.js.map +0 -1
  174. package/esm/models/outputsMappers.d.ts +0 -2
  175. package/esm/models/outputsMappers.d.ts.map +0 -1
  176. package/esm/models/outputsMappers.js +0 -9
  177. package/esm/models/outputsMappers.js.map +0 -1
  178. package/esm/models/parameters.d.ts +0 -20
  179. package/esm/models/parameters.d.ts.map +0 -1
  180. package/esm/models/parameters.js +0 -216
  181. package/esm/models/parameters.js.map +0 -1
  182. package/esm/models/privateEndpointsMappers.d.ts +0 -2
  183. package/esm/models/privateEndpointsMappers.d.ts.map +0 -1
  184. package/esm/models/privateEndpointsMappers.js +0 -9
  185. package/esm/models/privateEndpointsMappers.js.map +0 -1
  186. package/esm/models/streamingJobsMappers.d.ts +0 -2
  187. package/esm/models/streamingJobsMappers.d.ts.map +0 -1
  188. package/esm/models/streamingJobsMappers.js +0 -9
  189. package/esm/models/streamingJobsMappers.js.map +0 -1
  190. package/esm/models/subscriptionsMappers.d.ts +0 -2
  191. package/esm/models/subscriptionsMappers.d.ts.map +0 -1
  192. package/esm/models/subscriptionsMappers.js +0 -9
  193. package/esm/models/subscriptionsMappers.js.map +0 -1
  194. package/esm/models/transformationsMappers.d.ts +0 -2
  195. package/esm/models/transformationsMappers.d.ts.map +0 -1
  196. package/esm/models/transformationsMappers.js +0 -9
  197. package/esm/models/transformationsMappers.js.map +0 -1
  198. package/esm/operations/clusters.d.ts +0 -201
  199. package/esm/operations/clusters.d.ts.map +0 -1
  200. package/esm/operations/clusters.js +0 -406
  201. package/esm/operations/clusters.js.map +0 -1
  202. package/esm/operations/functions.d.ts +0 -215
  203. package/esm/operations/functions.d.ts.map +0 -1
  204. package/esm/operations/functions.js +0 -348
  205. package/esm/operations/functions.js.map +0 -1
  206. package/esm/operations/index.d.ts.map +0 -1
  207. package/esm/operations/index.js.map +0 -1
  208. package/esm/operations/inputs.d.ts +0 -189
  209. package/esm/operations/inputs.d.ts.map +0 -1
  210. package/esm/operations/inputs.js +0 -306
  211. package/esm/operations/inputs.js.map +0 -1
  212. package/esm/operations/operations.d.ts +0 -46
  213. package/esm/operations/operations.d.ts.map +0 -1
  214. package/esm/operations/operations.js +0 -79
  215. package/esm/operations/operations.js.map +0 -1
  216. package/esm/operations/outputs.d.ts +0 -189
  217. package/esm/operations/outputs.d.ts.map +0 -1
  218. package/esm/operations/outputs.js +0 -306
  219. package/esm/operations/outputs.js.map +0 -1
  220. package/esm/operations/privateEndpoints.d.ts +0 -125
  221. package/esm/operations/privateEndpoints.d.ts.map +0 -1
  222. package/esm/operations/privateEndpoints.js +0 -216
  223. package/esm/operations/privateEndpoints.js.map +0 -1
  224. package/esm/operations/streamingJobs.d.ts +0 -210
  225. package/esm/operations/streamingJobs.d.ts.map +0 -1
  226. package/esm/operations/streamingJobs.js +0 -440
  227. package/esm/operations/streamingJobs.js.map +0 -1
  228. package/esm/operations/subscriptions.d.ts +0 -138
  229. package/esm/operations/subscriptions.d.ts.map +0 -1
  230. package/esm/operations/subscriptions.js +0 -311
  231. package/esm/operations/subscriptions.js.map +0 -1
  232. package/esm/operations/transformations.d.ts +0 -106
  233. package/esm/operations/transformations.d.ts.map +0 -1
  234. package/esm/operations/transformations.js +0 -149
  235. package/esm/operations/transformations.js.map +0 -1
  236. package/esm/streamAnalyticsManagementClient.d.ts +0 -32
  237. package/esm/streamAnalyticsManagementClient.d.ts.map +0 -1
  238. package/esm/streamAnalyticsManagementClient.js +0 -45
  239. package/esm/streamAnalyticsManagementClient.js.map +0 -1
  240. package/esm/streamAnalyticsManagementClientContext.d.ts +0 -21
  241. package/esm/streamAnalyticsManagementClientContext.d.ts.map +0 -1
  242. package/esm/streamAnalyticsManagementClientContext.js +0 -59
  243. package/esm/streamAnalyticsManagementClientContext.js.map +0 -1
  244. package/src/models/clustersMappers.ts +0 -96
  245. package/src/models/functionsMappers.ts +0 -104
  246. package/src/models/inputsMappers.ts +0 -99
  247. package/src/models/outputsMappers.ts +0 -99
  248. package/src/models/privateEndpointsMappers.ts +0 -94
  249. package/src/models/streamingJobsMappers.ts +0 -98
  250. package/src/models/subscriptionsMappers.ts +0 -104
  251. package/src/models/transformationsMappers.ts +0 -96
  252. package/src/streamAnalyticsManagementClientContext.ts +0 -65
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./operations";
10
+ export * from "./streamingJobs";
11
+ export * from "./inputs";
12
+ export * from "./outputs";
13
+ export * from "./transformations";
14
+ export * from "./functions";
15
+ export * from "./subscriptions";
16
+ export * from "./clusters";
17
+ export * from "./privateEndpoints";
@@ -0,0 +1,128 @@
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
+ Input,
13
+ InputsListByStreamingJobOptionalParams,
14
+ InputsCreateOrReplaceOptionalParams,
15
+ InputsCreateOrReplaceResponse,
16
+ InputsUpdateOptionalParams,
17
+ InputsUpdateResponse,
18
+ InputsDeleteOptionalParams,
19
+ InputsGetOptionalParams,
20
+ InputsGetResponse,
21
+ InputsTestOptionalParams,
22
+ InputsTestResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a Inputs. */
27
+ export interface Inputs {
28
+ /**
29
+ * Lists all of the inputs under the specified streaming job.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param jobName The name of the streaming job.
32
+ * @param options The options parameters.
33
+ */
34
+ listByStreamingJob(
35
+ resourceGroupName: string,
36
+ jobName: string,
37
+ options?: InputsListByStreamingJobOptionalParams
38
+ ): PagedAsyncIterableIterator<Input>;
39
+ /**
40
+ * Creates an input or replaces an already existing input under an existing streaming job.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param jobName The name of the streaming job.
43
+ * @param inputName The name of the input.
44
+ * @param input The definition of the input that will be used to create a new input or replace the
45
+ * existing one under the streaming job.
46
+ * @param options The options parameters.
47
+ */
48
+ createOrReplace(
49
+ resourceGroupName: string,
50
+ jobName: string,
51
+ inputName: string,
52
+ input: Input,
53
+ options?: InputsCreateOrReplaceOptionalParams
54
+ ): Promise<InputsCreateOrReplaceResponse>;
55
+ /**
56
+ * Updates an existing input under an existing streaming job. This can be used to partially update (ie.
57
+ * update one or two properties) an input without affecting the rest the job or input definition.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param jobName The name of the streaming job.
60
+ * @param inputName The name of the input.
61
+ * @param input An Input object. The properties specified here will overwrite the corresponding
62
+ * properties in the existing input (ie. Those properties will be updated). Any properties that are set
63
+ * to null here will mean that the corresponding property in the existing input will remain the same
64
+ * and not change as a result of this PATCH operation.
65
+ * @param options The options parameters.
66
+ */
67
+ update(
68
+ resourceGroupName: string,
69
+ jobName: string,
70
+ inputName: string,
71
+ input: Input,
72
+ options?: InputsUpdateOptionalParams
73
+ ): Promise<InputsUpdateResponse>;
74
+ /**
75
+ * Deletes an input from the streaming job.
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param jobName The name of the streaming job.
78
+ * @param inputName The name of the input.
79
+ * @param options The options parameters.
80
+ */
81
+ delete(
82
+ resourceGroupName: string,
83
+ jobName: string,
84
+ inputName: string,
85
+ options?: InputsDeleteOptionalParams
86
+ ): Promise<void>;
87
+ /**
88
+ * Gets details about the specified input.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param jobName The name of the streaming job.
91
+ * @param inputName The name of the input.
92
+ * @param options The options parameters.
93
+ */
94
+ get(
95
+ resourceGroupName: string,
96
+ jobName: string,
97
+ inputName: string,
98
+ options?: InputsGetOptionalParams
99
+ ): Promise<InputsGetResponse>;
100
+ /**
101
+ * Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param jobName The name of the streaming job.
104
+ * @param inputName The name of the input.
105
+ * @param options The options parameters.
106
+ */
107
+ beginTest(
108
+ resourceGroupName: string,
109
+ jobName: string,
110
+ inputName: string,
111
+ options?: InputsTestOptionalParams
112
+ ): Promise<
113
+ PollerLike<PollOperationState<InputsTestResponse>, InputsTestResponse>
114
+ >;
115
+ /**
116
+ * Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
117
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
118
+ * @param jobName The name of the streaming job.
119
+ * @param inputName The name of the input.
120
+ * @param options The options parameters.
121
+ */
122
+ beginTestAndWait(
123
+ resourceGroupName: string,
124
+ jobName: string,
125
+ inputName: string,
126
+ options?: InputsTestOptionalParams
127
+ ): Promise<InputsTestResponse>;
128
+ }
@@ -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 Stream Analytics related operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,129 @@
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
+ Output,
13
+ OutputsListByStreamingJobOptionalParams,
14
+ OutputsCreateOrReplaceOptionalParams,
15
+ OutputsCreateOrReplaceResponse,
16
+ OutputsUpdateOptionalParams,
17
+ OutputsUpdateResponse,
18
+ OutputsDeleteOptionalParams,
19
+ OutputsGetOptionalParams,
20
+ OutputsGetResponse,
21
+ OutputsTestOptionalParams,
22
+ OutputsTestResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a Outputs. */
27
+ export interface Outputs {
28
+ /**
29
+ * Lists all of the outputs under the specified streaming job.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param jobName The name of the streaming job.
32
+ * @param options The options parameters.
33
+ */
34
+ listByStreamingJob(
35
+ resourceGroupName: string,
36
+ jobName: string,
37
+ options?: OutputsListByStreamingJobOptionalParams
38
+ ): PagedAsyncIterableIterator<Output>;
39
+ /**
40
+ * Creates an output or replaces an already existing output under an existing streaming job.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param jobName The name of the streaming job.
43
+ * @param outputName The name of the output.
44
+ * @param output The definition of the output that will be used to create a new output or replace the
45
+ * existing one under the streaming job.
46
+ * @param options The options parameters.
47
+ */
48
+ createOrReplace(
49
+ resourceGroupName: string,
50
+ jobName: string,
51
+ outputName: string,
52
+ output: Output,
53
+ options?: OutputsCreateOrReplaceOptionalParams
54
+ ): Promise<OutputsCreateOrReplaceResponse>;
55
+ /**
56
+ * Updates an existing output under an existing streaming job. This can be used to partially update
57
+ * (ie. update one or two properties) an output without affecting the rest the job or output
58
+ * definition.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param jobName The name of the streaming job.
61
+ * @param outputName The name of the output.
62
+ * @param output An Output object. The properties specified here will overwrite the corresponding
63
+ * properties in the existing output (ie. Those properties will be updated). Any properties that are
64
+ * set to null here will mean that the corresponding property in the existing output will remain the
65
+ * same and not change as a result of this PATCH operation.
66
+ * @param options The options parameters.
67
+ */
68
+ update(
69
+ resourceGroupName: string,
70
+ jobName: string,
71
+ outputName: string,
72
+ output: Output,
73
+ options?: OutputsUpdateOptionalParams
74
+ ): Promise<OutputsUpdateResponse>;
75
+ /**
76
+ * Deletes an output from the streaming job.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param jobName The name of the streaming job.
79
+ * @param outputName The name of the output.
80
+ * @param options The options parameters.
81
+ */
82
+ delete(
83
+ resourceGroupName: string,
84
+ jobName: string,
85
+ outputName: string,
86
+ options?: OutputsDeleteOptionalParams
87
+ ): Promise<void>;
88
+ /**
89
+ * Gets details about the specified output.
90
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
+ * @param jobName The name of the streaming job.
92
+ * @param outputName The name of the output.
93
+ * @param options The options parameters.
94
+ */
95
+ get(
96
+ resourceGroupName: string,
97
+ jobName: string,
98
+ outputName: string,
99
+ options?: OutputsGetOptionalParams
100
+ ): Promise<OutputsGetResponse>;
101
+ /**
102
+ * Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service.
103
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
104
+ * @param jobName The name of the streaming job.
105
+ * @param outputName The name of the output.
106
+ * @param options The options parameters.
107
+ */
108
+ beginTest(
109
+ resourceGroupName: string,
110
+ jobName: string,
111
+ outputName: string,
112
+ options?: OutputsTestOptionalParams
113
+ ): Promise<
114
+ PollerLike<PollOperationState<OutputsTestResponse>, OutputsTestResponse>
115
+ >;
116
+ /**
117
+ * Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param jobName The name of the streaming job.
120
+ * @param outputName The name of the output.
121
+ * @param options The options parameters.
122
+ */
123
+ beginTestAndWait(
124
+ resourceGroupName: string,
125
+ jobName: string,
126
+ outputName: string,
127
+ options?: OutputsTestOptionalParams
128
+ ): Promise<OutputsTestResponse>;
129
+ }
@@ -0,0 +1,90 @@
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
+ PrivateEndpoint,
13
+ PrivateEndpointsListByClusterOptionalParams,
14
+ PrivateEndpointsCreateOrUpdateOptionalParams,
15
+ PrivateEndpointsCreateOrUpdateResponse,
16
+ PrivateEndpointsGetOptionalParams,
17
+ PrivateEndpointsGetResponse,
18
+ PrivateEndpointsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a PrivateEndpoints. */
23
+ export interface PrivateEndpoints {
24
+ /**
25
+ * Lists the private endpoints in the cluster.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
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?: PrivateEndpointsListByClusterOptionalParams
34
+ ): PagedAsyncIterableIterator<PrivateEndpoint>;
35
+ /**
36
+ * Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param clusterName The name of the cluster.
39
+ * @param privateEndpointName The name of the private endpoint.
40
+ * @param privateEndpoint The definition of the private endpoint that will be used to create a new
41
+ * cluster or replace the existing one.
42
+ * @param options The options parameters.
43
+ */
44
+ createOrUpdate(
45
+ resourceGroupName: string,
46
+ clusterName: string,
47
+ privateEndpointName: string,
48
+ privateEndpoint: PrivateEndpoint,
49
+ options?: PrivateEndpointsCreateOrUpdateOptionalParams
50
+ ): Promise<PrivateEndpointsCreateOrUpdateResponse>;
51
+ /**
52
+ * Gets information about the specified Private Endpoint.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param clusterName The name of the cluster.
55
+ * @param privateEndpointName The name of the private endpoint.
56
+ * @param options The options parameters.
57
+ */
58
+ get(
59
+ resourceGroupName: string,
60
+ clusterName: string,
61
+ privateEndpointName: string,
62
+ options?: PrivateEndpointsGetOptionalParams
63
+ ): Promise<PrivateEndpointsGetResponse>;
64
+ /**
65
+ * Delete the specified private endpoint.
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param clusterName The name of the cluster.
68
+ * @param privateEndpointName The name of the private endpoint.
69
+ * @param options The options parameters.
70
+ */
71
+ beginDelete(
72
+ resourceGroupName: string,
73
+ clusterName: string,
74
+ privateEndpointName: string,
75
+ options?: PrivateEndpointsDeleteOptionalParams
76
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
77
+ /**
78
+ * Delete the specified private endpoint.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param clusterName The name of the cluster.
81
+ * @param privateEndpointName The name of the private endpoint.
82
+ * @param options The options parameters.
83
+ */
84
+ beginDeleteAndWait(
85
+ resourceGroupName: string,
86
+ clusterName: string,
87
+ privateEndpointName: string,
88
+ options?: PrivateEndpointsDeleteOptionalParams
89
+ ): Promise<void>;
90
+ }
@@ -0,0 +1,199 @@
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
+ StreamingJob,
13
+ StreamingJobsListByResourceGroupOptionalParams,
14
+ StreamingJobsListOptionalParams,
15
+ StreamingJobsCreateOrReplaceOptionalParams,
16
+ StreamingJobsCreateOrReplaceResponse,
17
+ StreamingJobsUpdateOptionalParams,
18
+ StreamingJobsUpdateResponse,
19
+ StreamingJobsDeleteOptionalParams,
20
+ StreamingJobsGetOptionalParams,
21
+ StreamingJobsGetResponse,
22
+ StreamingJobsStartOptionalParams,
23
+ StreamingJobsStopOptionalParams,
24
+ StreamingJobsScaleOptionalParams
25
+ } from "../models";
26
+
27
+ /// <reference lib="esnext.asynciterable" />
28
+ /** Interface representing a StreamingJobs. */
29
+ export interface StreamingJobs {
30
+ /**
31
+ * Lists all of the streaming jobs in the specified resource group.
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param options The options parameters.
34
+ */
35
+ listByResourceGroup(
36
+ resourceGroupName: string,
37
+ options?: StreamingJobsListByResourceGroupOptionalParams
38
+ ): PagedAsyncIterableIterator<StreamingJob>;
39
+ /**
40
+ * Lists all of the streaming jobs in the given subscription.
41
+ * @param options The options parameters.
42
+ */
43
+ list(
44
+ options?: StreamingJobsListOptionalParams
45
+ ): PagedAsyncIterableIterator<StreamingJob>;
46
+ /**
47
+ * Creates a streaming job or replaces an already existing streaming job.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param jobName The name of the streaming job.
50
+ * @param streamingJob The definition of the streaming job that will be used to create a new streaming
51
+ * job or replace the existing one.
52
+ * @param options The options parameters.
53
+ */
54
+ beginCreateOrReplace(
55
+ resourceGroupName: string,
56
+ jobName: string,
57
+ streamingJob: StreamingJob,
58
+ options?: StreamingJobsCreateOrReplaceOptionalParams
59
+ ): Promise<
60
+ PollerLike<
61
+ PollOperationState<StreamingJobsCreateOrReplaceResponse>,
62
+ StreamingJobsCreateOrReplaceResponse
63
+ >
64
+ >;
65
+ /**
66
+ * Creates a streaming job or replaces an already existing streaming job.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param jobName The name of the streaming job.
69
+ * @param streamingJob The definition of the streaming job that will be used to create a new streaming
70
+ * job or replace the existing one.
71
+ * @param options The options parameters.
72
+ */
73
+ beginCreateOrReplaceAndWait(
74
+ resourceGroupName: string,
75
+ jobName: string,
76
+ streamingJob: StreamingJob,
77
+ options?: StreamingJobsCreateOrReplaceOptionalParams
78
+ ): Promise<StreamingJobsCreateOrReplaceResponse>;
79
+ /**
80
+ * Updates an existing streaming job. This can be used to partially update (ie. update one or two
81
+ * properties) a streaming job without affecting the rest the job definition.
82
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
83
+ * @param jobName The name of the streaming job.
84
+ * @param streamingJob A streaming job object. The properties specified here will overwrite the
85
+ * corresponding properties in the existing streaming job (ie. Those properties will be updated). Any
86
+ * properties that are set to null here will mean that the corresponding property in the existing input
87
+ * will remain the same and not change as a result of this PATCH operation.
88
+ * @param options The options parameters.
89
+ */
90
+ update(
91
+ resourceGroupName: string,
92
+ jobName: string,
93
+ streamingJob: StreamingJob,
94
+ options?: StreamingJobsUpdateOptionalParams
95
+ ): Promise<StreamingJobsUpdateResponse>;
96
+ /**
97
+ * Deletes a streaming job.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param jobName The name of the streaming job.
100
+ * @param options The options parameters.
101
+ */
102
+ beginDelete(
103
+ resourceGroupName: string,
104
+ jobName: string,
105
+ options?: StreamingJobsDeleteOptionalParams
106
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
107
+ /**
108
+ * Deletes a streaming job.
109
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
110
+ * @param jobName The name of the streaming job.
111
+ * @param options The options parameters.
112
+ */
113
+ beginDeleteAndWait(
114
+ resourceGroupName: string,
115
+ jobName: string,
116
+ options?: StreamingJobsDeleteOptionalParams
117
+ ): Promise<void>;
118
+ /**
119
+ * Gets details about the specified streaming job.
120
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
121
+ * @param jobName The name of the streaming job.
122
+ * @param options The options parameters.
123
+ */
124
+ get(
125
+ resourceGroupName: string,
126
+ jobName: string,
127
+ options?: StreamingJobsGetOptionalParams
128
+ ): Promise<StreamingJobsGetResponse>;
129
+ /**
130
+ * Starts a streaming job. Once a job is started it will start processing input events and produce
131
+ * output.
132
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
133
+ * @param jobName The name of the streaming job.
134
+ * @param options The options parameters.
135
+ */
136
+ beginStart(
137
+ resourceGroupName: string,
138
+ jobName: string,
139
+ options?: StreamingJobsStartOptionalParams
140
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
141
+ /**
142
+ * Starts a streaming job. Once a job is started it will start processing input events and produce
143
+ * output.
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
+ * @param jobName The name of the streaming job.
146
+ * @param options The options parameters.
147
+ */
148
+ beginStartAndWait(
149
+ resourceGroupName: string,
150
+ jobName: string,
151
+ options?: StreamingJobsStartOptionalParams
152
+ ): Promise<void>;
153
+ /**
154
+ * Stops a running streaming job. This will cause a running streaming job to stop processing input
155
+ * events and producing output.
156
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
157
+ * @param jobName The name of the streaming job.
158
+ * @param options The options parameters.
159
+ */
160
+ beginStop(
161
+ resourceGroupName: string,
162
+ jobName: string,
163
+ options?: StreamingJobsStopOptionalParams
164
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
165
+ /**
166
+ * Stops a running streaming job. This will cause a running streaming job to stop processing input
167
+ * events and producing output.
168
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
169
+ * @param jobName The name of the streaming job.
170
+ * @param options The options parameters.
171
+ */
172
+ beginStopAndWait(
173
+ resourceGroupName: string,
174
+ jobName: string,
175
+ options?: StreamingJobsStopOptionalParams
176
+ ): Promise<void>;
177
+ /**
178
+ * Scales a streaming job when the job is running.
179
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
+ * @param jobName The name of the streaming job.
181
+ * @param options The options parameters.
182
+ */
183
+ beginScale(
184
+ resourceGroupName: string,
185
+ jobName: string,
186
+ options?: StreamingJobsScaleOptionalParams
187
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
188
+ /**
189
+ * Scales a streaming job when the job is running.
190
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
191
+ * @param jobName The name of the streaming job.
192
+ * @param options The options parameters.
193
+ */
194
+ beginScaleAndWait(
195
+ resourceGroupName: string,
196
+ jobName: string,
197
+ options?: StreamingJobsScaleOptionalParams
198
+ ): Promise<void>;
199
+ }
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ SubscriptionsListQuotasOptionalParams,
11
+ SubscriptionsListQuotasResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a Subscriptions. */
15
+ export interface Subscriptions {
16
+ /**
17
+ * Retrieves the subscription's current quota information in a particular region.
18
+ * @param location The region in which to retrieve the subscription's quota information. You can find
19
+ * out which regions Azure Stream Analytics is supported in here:
20
+ * https://azure.microsoft.com/en-us/regions/
21
+ * @param options The options parameters.
22
+ */
23
+ listQuotas(
24
+ location: string,
25
+ options?: SubscriptionsListQuotasOptionalParams
26
+ ): Promise<SubscriptionsListQuotasResponse>;
27
+ }
@@ -0,0 +1,71 @@
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
+ Transformation,
11
+ TransformationsCreateOrReplaceOptionalParams,
12
+ TransformationsCreateOrReplaceResponse,
13
+ TransformationsUpdateOptionalParams,
14
+ TransformationsUpdateResponse,
15
+ TransformationsGetOptionalParams,
16
+ TransformationsGetResponse
17
+ } from "../models";
18
+
19
+ /** Interface representing a Transformations. */
20
+ export interface Transformations {
21
+ /**
22
+ * Creates a transformation or replaces an already existing transformation under an existing streaming
23
+ * job.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param jobName The name of the streaming job.
26
+ * @param transformationName The name of the transformation.
27
+ * @param transformation The definition of the transformation that will be used to create a new
28
+ * transformation or replace the existing one under the streaming job.
29
+ * @param options The options parameters.
30
+ */
31
+ createOrReplace(
32
+ resourceGroupName: string,
33
+ jobName: string,
34
+ transformationName: string,
35
+ transformation: Transformation,
36
+ options?: TransformationsCreateOrReplaceOptionalParams
37
+ ): Promise<TransformationsCreateOrReplaceResponse>;
38
+ /**
39
+ * Updates an existing transformation under an existing streaming job. This can be used to partially
40
+ * update (ie. update one or two properties) a transformation without affecting the rest the job or
41
+ * transformation definition.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param jobName The name of the streaming job.
44
+ * @param transformationName The name of the transformation.
45
+ * @param transformation A Transformation object. The properties specified here will overwrite the
46
+ * corresponding properties in the existing transformation (ie. Those properties will be updated). Any
47
+ * properties that are set to null here will mean that the corresponding property in the existing
48
+ * transformation will remain the same and not change as a result of this PATCH operation.
49
+ * @param options The options parameters.
50
+ */
51
+ update(
52
+ resourceGroupName: string,
53
+ jobName: string,
54
+ transformationName: string,
55
+ transformation: Transformation,
56
+ options?: TransformationsUpdateOptionalParams
57
+ ): Promise<TransformationsUpdateResponse>;
58
+ /**
59
+ * Gets details about the specified transformation.
60
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
+ * @param jobName The name of the streaming job.
62
+ * @param transformationName The name of the transformation.
63
+ * @param options The options parameters.
64
+ */
65
+ get(
66
+ resourceGroupName: string,
67
+ jobName: string,
68
+ transformationName: string,
69
+ options?: TransformationsGetOptionalParams
70
+ ): Promise<TransformationsGetResponse>;
71
+ }