@azure/arm-streamanalytics 3.0.0-beta.1 → 3.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 (256) hide show
  1. package/{LICENSE → LICENSE.txt} +1 -1
  2. package/README.md +84 -66
  3. package/dist/arm-streamanalytics.js +7772 -0
  4. package/dist/arm-streamanalytics.js.map +1 -0
  5. package/dist/arm-streamanalytics.min.js +1 -0
  6. package/dist/arm-streamanalytics.min.js.map +1 -0
  7. package/esm/models/clustersMappers.d.ts +2 -0
  8. package/esm/models/clustersMappers.d.ts.map +1 -0
  9. package/esm/models/clustersMappers.js +9 -0
  10. package/esm/models/clustersMappers.js.map +1 -0
  11. package/esm/models/functionsMappers.d.ts +2 -0
  12. package/esm/models/functionsMappers.d.ts.map +1 -0
  13. package/esm/models/functionsMappers.js +9 -0
  14. package/esm/models/functionsMappers.js.map +1 -0
  15. package/esm/models/index.d.ts +4514 -0
  16. package/esm/models/index.d.ts.map +1 -0
  17. package/{dist-esm/src/operationsInterfaces/inputs.js → esm/models/index.js} +1 -2
  18. package/esm/models/index.js.map +1 -0
  19. package/esm/models/inputsMappers.d.ts +2 -0
  20. package/esm/models/inputsMappers.d.ts.map +1 -0
  21. package/esm/models/inputsMappers.js +9 -0
  22. package/esm/models/inputsMappers.js.map +1 -0
  23. package/esm/models/mappers.d.ts +185 -0
  24. package/esm/models/mappers.d.ts.map +1 -0
  25. package/{dist-esm/src → esm}/models/mappers.js +2184 -2272
  26. package/esm/models/mappers.js.map +1 -0
  27. package/esm/models/operationsMappers.d.ts +2 -0
  28. package/esm/models/operationsMappers.d.ts.map +1 -0
  29. package/esm/models/operationsMappers.js +9 -0
  30. package/esm/models/operationsMappers.js.map +1 -0
  31. package/esm/models/outputsMappers.d.ts +2 -0
  32. package/esm/models/outputsMappers.d.ts.map +1 -0
  33. package/esm/models/outputsMappers.js +9 -0
  34. package/esm/models/outputsMappers.js.map +1 -0
  35. package/esm/models/parameters.d.ts +20 -0
  36. package/esm/models/parameters.d.ts.map +1 -0
  37. package/esm/models/parameters.js +216 -0
  38. package/esm/models/parameters.js.map +1 -0
  39. package/esm/models/privateEndpointsMappers.d.ts +2 -0
  40. package/esm/models/privateEndpointsMappers.d.ts.map +1 -0
  41. package/esm/models/privateEndpointsMappers.js +9 -0
  42. package/esm/models/privateEndpointsMappers.js.map +1 -0
  43. package/esm/models/streamingJobsMappers.d.ts +2 -0
  44. package/esm/models/streamingJobsMappers.d.ts.map +1 -0
  45. package/esm/models/streamingJobsMappers.js +9 -0
  46. package/esm/models/streamingJobsMappers.js.map +1 -0
  47. package/esm/models/subscriptionsMappers.d.ts +2 -0
  48. package/esm/models/subscriptionsMappers.d.ts.map +1 -0
  49. package/esm/models/subscriptionsMappers.js +9 -0
  50. package/esm/models/subscriptionsMappers.js.map +1 -0
  51. package/esm/models/transformationsMappers.d.ts +2 -0
  52. package/esm/models/transformationsMappers.d.ts.map +1 -0
  53. package/esm/models/transformationsMappers.js +9 -0
  54. package/esm/models/transformationsMappers.js.map +1 -0
  55. package/esm/operations/clusters.d.ts +201 -0
  56. package/esm/operations/clusters.d.ts.map +1 -0
  57. package/esm/operations/clusters.js +406 -0
  58. package/esm/operations/clusters.js.map +1 -0
  59. package/esm/operations/functions.d.ts +215 -0
  60. package/esm/operations/functions.d.ts.map +1 -0
  61. package/esm/operations/functions.js +348 -0
  62. package/esm/operations/functions.js.map +1 -0
  63. package/{dist-esm/src → esm}/operations/index.d.ts +0 -0
  64. package/esm/operations/index.d.ts.map +1 -0
  65. package/{dist-esm/src/operationsInterfaces → esm/operations}/index.js +2 -1
  66. package/esm/operations/index.js.map +1 -0
  67. package/esm/operations/inputs.d.ts +189 -0
  68. package/esm/operations/inputs.d.ts.map +1 -0
  69. package/esm/operations/inputs.js +306 -0
  70. package/esm/operations/inputs.js.map +1 -0
  71. package/esm/operations/operations.d.ts +46 -0
  72. package/esm/operations/operations.d.ts.map +1 -0
  73. package/esm/operations/operations.js +79 -0
  74. package/esm/operations/operations.js.map +1 -0
  75. package/esm/operations/outputs.d.ts +189 -0
  76. package/esm/operations/outputs.d.ts.map +1 -0
  77. package/esm/operations/outputs.js +306 -0
  78. package/esm/operations/outputs.js.map +1 -0
  79. package/esm/operations/privateEndpoints.d.ts +125 -0
  80. package/esm/operations/privateEndpoints.d.ts.map +1 -0
  81. package/esm/operations/privateEndpoints.js +216 -0
  82. package/esm/operations/privateEndpoints.js.map +1 -0
  83. package/esm/operations/streamingJobs.d.ts +210 -0
  84. package/esm/operations/streamingJobs.d.ts.map +1 -0
  85. package/esm/operations/streamingJobs.js +440 -0
  86. package/esm/operations/streamingJobs.js.map +1 -0
  87. package/esm/operations/subscriptions.d.ts +138 -0
  88. package/esm/operations/subscriptions.d.ts.map +1 -0
  89. package/esm/operations/subscriptions.js +311 -0
  90. package/esm/operations/subscriptions.js.map +1 -0
  91. package/esm/operations/transformations.d.ts +106 -0
  92. package/esm/operations/transformations.d.ts.map +1 -0
  93. package/esm/operations/transformations.js +149 -0
  94. package/esm/operations/transformations.js.map +1 -0
  95. package/esm/streamAnalyticsManagementClient.d.ts +32 -0
  96. package/esm/streamAnalyticsManagementClient.d.ts.map +1 -0
  97. package/esm/streamAnalyticsManagementClient.js +45 -0
  98. package/esm/streamAnalyticsManagementClient.js.map +1 -0
  99. package/esm/streamAnalyticsManagementClientContext.d.ts +21 -0
  100. package/esm/streamAnalyticsManagementClientContext.d.ts.map +1 -0
  101. package/esm/streamAnalyticsManagementClientContext.js +59 -0
  102. package/esm/streamAnalyticsManagementClientContext.js.map +1 -0
  103. package/package.json +32 -64
  104. package/rollup.config.js +30 -181
  105. package/src/models/clustersMappers.ts +96 -0
  106. package/src/models/functionsMappers.ts +104 -0
  107. package/src/models/index.ts +4273 -2134
  108. package/src/models/inputsMappers.ts +99 -0
  109. package/src/models/mappers.ts +2193 -2349
  110. package/{dist-esm/src/operationsInterfaces/operations.js → src/models/operationsMappers.ts} +13 -2
  111. package/src/models/outputsMappers.ts +99 -0
  112. package/src/models/parameters.ts +92 -218
  113. package/src/models/privateEndpointsMappers.ts +94 -0
  114. package/src/models/streamingJobsMappers.ts +98 -0
  115. package/src/models/subscriptionsMappers.ts +104 -0
  116. package/src/models/transformationsMappers.ts +96 -0
  117. package/src/operations/clusters.ts +390 -637
  118. package/src/operations/functions.ts +372 -363
  119. package/src/operations/index.ts +2 -1
  120. package/src/operations/inputs.ts +323 -334
  121. package/src/operations/operations.ts +70 -82
  122. package/src/operations/outputs.ts +322 -334
  123. package/src/operations/privateEndpoints.ts +206 -273
  124. package/src/operations/streamingJobs.ts +410 -596
  125. package/src/operations/subscriptions.ts +282 -466
  126. package/src/operations/transformations.ts +159 -101
  127. package/src/streamAnalyticsManagementClient.ts +47 -52
  128. package/src/streamAnalyticsManagementClientContext.ts +40 -43
  129. package/tsconfig.json +3 -3
  130. package/CHANGELOG.md +0 -14
  131. package/dist/index.js +0 -8017
  132. package/dist/index.js.map +0 -1
  133. package/dist/index.min.js +0 -1
  134. package/dist/index.min.js.map +0 -1
  135. package/dist-esm/src/index.d.ts +0 -6
  136. package/dist-esm/src/index.d.ts.map +0 -1
  137. package/dist-esm/src/index.js +0 -13
  138. package/dist-esm/src/index.js.map +0 -1
  139. package/dist-esm/src/lroImpl.d.ts +0 -16
  140. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  141. package/dist-esm/src/lroImpl.js +0 -29
  142. package/dist-esm/src/lroImpl.js.map +0 -1
  143. package/dist-esm/src/models/index.d.ts +0 -2307
  144. package/dist-esm/src/models/index.d.ts.map +0 -1
  145. package/dist-esm/src/models/index.js +0 -152
  146. package/dist-esm/src/models/index.js.map +0 -1
  147. package/dist-esm/src/models/mappers.d.ts +0 -194
  148. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  149. package/dist-esm/src/models/mappers.js.map +0 -1
  150. package/dist-esm/src/models/parameters.d.ts +0 -39
  151. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  152. package/dist-esm/src/models/parameters.js +0 -287
  153. package/dist-esm/src/models/parameters.js.map +0 -1
  154. package/dist-esm/src/operations/clusters.d.ts +0 -137
  155. package/dist-esm/src/operations/clusters.d.ts.map +0 -1
  156. package/dist-esm/src/operations/clusters.js +0 -627
  157. package/dist-esm/src/operations/clusters.js.map +0 -1
  158. package/dist-esm/src/operations/functions.d.ts +0 -107
  159. package/dist-esm/src/operations/functions.d.ts.map +0 -1
  160. package/dist-esm/src/operations/functions.js +0 -416
  161. package/dist-esm/src/operations/functions.js.map +0 -1
  162. package/dist-esm/src/operations/index.d.ts.map +0 -1
  163. package/dist-esm/src/operations/index.js +0 -17
  164. package/dist-esm/src/operations/index.js.map +0 -1
  165. package/dist-esm/src/operations/inputs.d.ts +0 -94
  166. package/dist-esm/src/operations/inputs.d.ts.map +0 -1
  167. package/dist-esm/src/operations/inputs.js +0 -377
  168. package/dist-esm/src/operations/inputs.js.map +0 -1
  169. package/dist-esm/src/operations/operations.d.ts +0 -32
  170. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  171. package/dist-esm/src/operations/operations.js +0 -120
  172. package/dist-esm/src/operations/operations.js.map +0 -1
  173. package/dist-esm/src/operations/outputs.d.ts +0 -95
  174. package/dist-esm/src/operations/outputs.d.ts.map +0 -1
  175. package/dist-esm/src/operations/outputs.js +0 -378
  176. package/dist-esm/src/operations/outputs.js.map +0 -1
  177. package/dist-esm/src/operations/privateEndpoints.d.ts +0 -73
  178. package/dist-esm/src/operations/privateEndpoints.d.ts.map +0 -1
  179. package/dist-esm/src/operations/privateEndpoints.js +0 -295
  180. package/dist-esm/src/operations/privateEndpoints.js.map +0 -1
  181. package/dist-esm/src/operations/streamingJobs.d.ts +0 -137
  182. package/dist-esm/src/operations/streamingJobs.d.ts.map +0 -1
  183. package/dist-esm/src/operations/streamingJobs.js +0 -619
  184. package/dist-esm/src/operations/streamingJobs.js.map +0 -1
  185. package/dist-esm/src/operations/subscriptions.d.ts +0 -96
  186. package/dist-esm/src/operations/subscriptions.d.ts.map +0 -1
  187. package/dist-esm/src/operations/subscriptions.js +0 -422
  188. package/dist-esm/src/operations/subscriptions.js.map +0 -1
  189. package/dist-esm/src/operations/transformations.d.ts +0 -46
  190. package/dist-esm/src/operations/transformations.d.ts.map +0 -1
  191. package/dist-esm/src/operations/transformations.js +0 -160
  192. package/dist-esm/src/operations/transformations.js.map +0 -1
  193. package/dist-esm/src/operationsInterfaces/clusters.d.ts +0 -84
  194. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +0 -1
  195. package/dist-esm/src/operationsInterfaces/clusters.js +0 -9
  196. package/dist-esm/src/operationsInterfaces/clusters.js.map +0 -1
  197. package/dist-esm/src/operationsInterfaces/functions.d.ts +0 -82
  198. package/dist-esm/src/operationsInterfaces/functions.d.ts.map +0 -1
  199. package/dist-esm/src/operationsInterfaces/functions.js +0 -9
  200. package/dist-esm/src/operationsInterfaces/functions.js.map +0 -1
  201. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
  202. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  203. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  204. package/dist-esm/src/operationsInterfaces/inputs.d.ts +0 -69
  205. package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +0 -1
  206. package/dist-esm/src/operationsInterfaces/inputs.js.map +0 -1
  207. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  208. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  209. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  210. package/dist-esm/src/operationsInterfaces/outputs.d.ts +0 -70
  211. package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +0 -1
  212. package/dist-esm/src/operationsInterfaces/outputs.js +0 -9
  213. package/dist-esm/src/operationsInterfaces/outputs.js.map +0 -1
  214. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +0 -48
  215. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +0 -1
  216. package/dist-esm/src/operationsInterfaces/privateEndpoints.js +0 -9
  217. package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +0 -1
  218. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +0 -101
  219. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +0 -1
  220. package/dist-esm/src/operationsInterfaces/streamingJobs.js +0 -9
  221. package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +0 -1
  222. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +0 -88
  223. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +0 -1
  224. package/dist-esm/src/operationsInterfaces/subscriptions.js +0 -9
  225. package/dist-esm/src/operationsInterfaces/subscriptions.js.map +0 -1
  226. package/dist-esm/src/operationsInterfaces/transformations.d.ts +0 -38
  227. package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +0 -1
  228. package/dist-esm/src/operationsInterfaces/transformations.js +0 -9
  229. package/dist-esm/src/operationsInterfaces/transformations.js.map +0 -1
  230. package/dist-esm/src/streamAnalyticsManagementClient.d.ts +0 -23
  231. package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +0 -1
  232. package/dist-esm/src/streamAnalyticsManagementClient.js +0 -30
  233. package/dist-esm/src/streamAnalyticsManagementClient.js.map +0 -1
  234. package/dist-esm/src/streamAnalyticsManagementClientContext.d.ts +0 -15
  235. package/dist-esm/src/streamAnalyticsManagementClientContext.d.ts.map +0 -1
  236. package/dist-esm/src/streamAnalyticsManagementClientContext.js +0 -48
  237. package/dist-esm/src/streamAnalyticsManagementClientContext.js.map +0 -1
  238. package/dist-esm/test/sampleTest.d.ts +0 -2
  239. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  240. package/dist-esm/test/sampleTest.js +0 -40
  241. package/dist-esm/test/sampleTest.js.map +0 -1
  242. package/review/arm-streamanalytics.api.md +0 -1865
  243. package/src/index.ts +0 -13
  244. package/src/lroImpl.ts +0 -34
  245. package/src/operationsInterfaces/clusters.ts +0 -157
  246. package/src/operationsInterfaces/functions.ts +0 -148
  247. package/src/operationsInterfaces/index.ts +0 -17
  248. package/src/operationsInterfaces/inputs.ts +0 -128
  249. package/src/operationsInterfaces/operations.ts +0 -22
  250. package/src/operationsInterfaces/outputs.ts +0 -129
  251. package/src/operationsInterfaces/privateEndpoints.ts +0 -90
  252. package/src/operationsInterfaces/streamingJobs.ts +0 -176
  253. package/src/operationsInterfaces/subscriptions.ts +0 -173
  254. package/src/operationsInterfaces/transformations.ts +0 -71
  255. package/types/arm-streamanalytics.d.ts +0 -3207
  256. package/types/tsdoc-metadata.json +0 -11
@@ -1,107 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Functions } from "../operationsInterfaces";
3
- import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
4
- import { PollerLike, PollOperationState } from "@azure/core-lro";
5
- import { FunctionModel, FunctionsListByStreamingJobOptionalParams, FunctionsCreateOrReplaceOptionalParams, FunctionsCreateOrReplaceResponse, FunctionsUpdateOptionalParams, FunctionsUpdateResponse, FunctionsDeleteOptionalParams, FunctionsGetOptionalParams, FunctionsGetResponse, FunctionsTestOptionalParams, FunctionsTestResponse, FunctionsRetrieveDefaultDefinitionOptionalParams, FunctionsRetrieveDefaultDefinitionResponse } from "../models";
6
- /** Class containing Functions operations. */
7
- export declare class FunctionsImpl implements Functions {
8
- private readonly client;
9
- /**
10
- * Initialize a new instance of the class Functions class.
11
- * @param client Reference to the service client
12
- */
13
- constructor(client: StreamAnalyticsManagementClientContext);
14
- /**
15
- * Lists all of the functions under the specified streaming job.
16
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
- * @param jobName The name of the streaming job.
18
- * @param options The options parameters.
19
- */
20
- listByStreamingJob(resourceGroupName: string, jobName: string, options?: FunctionsListByStreamingJobOptionalParams): PagedAsyncIterableIterator<FunctionModel>;
21
- private listByStreamingJobPagingPage;
22
- private listByStreamingJobPagingAll;
23
- /**
24
- * Creates a function or replaces an already existing function under an existing streaming job.
25
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
- * @param jobName The name of the streaming job.
27
- * @param functionName The name of the function.
28
- * @param functionParam The definition of the function that will be used to create a new function or
29
- * replace the existing one under the streaming job.
30
- * @param options The options parameters.
31
- */
32
- createOrReplace(resourceGroupName: string, jobName: string, functionName: string, functionParam: FunctionModel, options?: FunctionsCreateOrReplaceOptionalParams): Promise<FunctionsCreateOrReplaceResponse>;
33
- /**
34
- * Updates an existing function under an existing streaming job. This can be used to partially update
35
- * (ie. update one or two properties) a function without affecting the rest the job or function
36
- * definition.
37
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
- * @param jobName The name of the streaming job.
39
- * @param functionName The name of the function.
40
- * @param functionParam A function object. The properties specified here will overwrite the
41
- * corresponding properties in the existing function (ie. Those properties will be updated). Any
42
- * properties that are set to null here will mean that the corresponding property in the existing
43
- * function will remain the same and not change as a result of this PATCH operation.
44
- * @param options The options parameters.
45
- */
46
- update(resourceGroupName: string, jobName: string, functionName: string, functionParam: FunctionModel, options?: FunctionsUpdateOptionalParams): Promise<FunctionsUpdateResponse>;
47
- /**
48
- * Deletes a function from the streaming job.
49
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
- * @param jobName The name of the streaming job.
51
- * @param functionName The name of the function.
52
- * @param options The options parameters.
53
- */
54
- delete(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsDeleteOptionalParams): Promise<void>;
55
- /**
56
- * Gets details about the specified function.
57
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
- * @param jobName The name of the streaming job.
59
- * @param functionName The name of the function.
60
- * @param options The options parameters.
61
- */
62
- get(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsGetOptionalParams): Promise<FunctionsGetResponse>;
63
- /**
64
- * Lists all of the functions under the specified streaming job.
65
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
- * @param jobName The name of the streaming job.
67
- * @param options The options parameters.
68
- */
69
- private _listByStreamingJob;
70
- /**
71
- * Tests if the information provided for a function is valid. This can range from testing the
72
- * connection to the underlying web service behind the function or making sure the function code
73
- * provided is syntactically correct.
74
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
- * @param jobName The name of the streaming job.
76
- * @param functionName The name of the function.
77
- * @param options The options parameters.
78
- */
79
- beginTest(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsTestOptionalParams): Promise<PollerLike<PollOperationState<FunctionsTestResponse>, FunctionsTestResponse>>;
80
- /**
81
- * Tests if the information provided for a function is valid. This can range from testing the
82
- * connection to the underlying web service behind the function or making sure the function code
83
- * provided is syntactically correct.
84
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
- * @param jobName The name of the streaming job.
86
- * @param functionName The name of the function.
87
- * @param options The options parameters.
88
- */
89
- beginTestAndWait(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsTestOptionalParams): Promise<FunctionsTestResponse>;
90
- /**
91
- * Retrieves the default definition of a function based on the parameters specified.
92
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
- * @param jobName The name of the streaming job.
94
- * @param functionName The name of the function.
95
- * @param options The options parameters.
96
- */
97
- retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsRetrieveDefaultDefinitionOptionalParams): Promise<FunctionsRetrieveDefaultDefinitionResponse>;
98
- /**
99
- * ListByStreamingJobNext
100
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
- * @param jobName The name of the streaming job.
102
- * @param nextLink The nextLink from the previous successful call to the ListByStreamingJob method.
103
- * @param options The options parameters.
104
- */
105
- private _listByStreamingJobNext;
106
- }
107
- //# sourceMappingURL=functions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../src/operations/functions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,sCA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,CACD,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAW3B;;;;;;;;OAQG;IACG,SAAS,CACb,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,EAAE,qBAAqB,CAAC,CAC7E;IAmDD;;;;;;;;OAQG;IACG,gBAAgB,CACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAUjC;;;;;;OAMG;IACH,yBAAyB,CACvB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;CAWhC"}
@@ -1,416 +0,0 @@
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 Functions operations. */
16
- export class FunctionsImpl {
17
- /**
18
- * Initialize a new instance of the class Functions class.
19
- * @param client Reference to the service client
20
- */
21
- constructor(client) {
22
- this.client = client;
23
- }
24
- /**
25
- * Lists all of the functions under the specified streaming job.
26
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
- * @param jobName The name of the streaming job.
28
- * @param options The options parameters.
29
- */
30
- listByStreamingJob(resourceGroupName, jobName, options) {
31
- const iter = this.listByStreamingJobPagingAll(resourceGroupName, jobName, options);
32
- return {
33
- next() {
34
- return iter.next();
35
- },
36
- [Symbol.asyncIterator]() {
37
- return this;
38
- },
39
- byPage: () => {
40
- return this.listByStreamingJobPagingPage(resourceGroupName, jobName, options);
41
- }
42
- };
43
- }
44
- listByStreamingJobPagingPage(resourceGroupName, jobName, options) {
45
- return __asyncGenerator(this, arguments, function* listByStreamingJobPagingPage_1() {
46
- let result = yield __await(this._listByStreamingJob(resourceGroupName, jobName, options));
47
- yield yield __await(result.value || []);
48
- let continuationToken = result.nextLink;
49
- while (continuationToken) {
50
- result = yield __await(this._listByStreamingJobNext(resourceGroupName, jobName, continuationToken, options));
51
- continuationToken = result.nextLink;
52
- yield yield __await(result.value || []);
53
- }
54
- });
55
- }
56
- listByStreamingJobPagingAll(resourceGroupName, jobName, options) {
57
- return __asyncGenerator(this, arguments, function* listByStreamingJobPagingAll_1() {
58
- var e_1, _a;
59
- try {
60
- for (var _b = __asyncValues(this.listByStreamingJobPagingPage(resourceGroupName, jobName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
61
- const page = _c.value;
62
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
- }
64
- }
65
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
- finally {
67
- try {
68
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
69
- }
70
- finally { if (e_1) throw e_1.error; }
71
- }
72
- });
73
- }
74
- /**
75
- * Creates a function or replaces an already existing function under an existing 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 functionName The name of the function.
79
- * @param functionParam The definition of the function that will be used to create a new function or
80
- * replace the existing one under the streaming job.
81
- * @param options The options parameters.
82
- */
83
- createOrReplace(resourceGroupName, jobName, functionName, functionParam, options) {
84
- return this.client.sendOperationRequest({ resourceGroupName, jobName, functionName, functionParam, options }, createOrReplaceOperationSpec);
85
- }
86
- /**
87
- * Updates an existing function under an existing streaming job. This can be used to partially update
88
- * (ie. update one or two properties) a function without affecting the rest the job or function
89
- * definition.
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 functionName The name of the function.
93
- * @param functionParam A function object. The properties specified here will overwrite the
94
- * corresponding properties in the existing function (ie. Those properties will be updated). Any
95
- * properties that are set to null here will mean that the corresponding property in the existing
96
- * function will remain the same and not change as a result of this PATCH operation.
97
- * @param options The options parameters.
98
- */
99
- update(resourceGroupName, jobName, functionName, functionParam, options) {
100
- return this.client.sendOperationRequest({ resourceGroupName, jobName, functionName, functionParam, options }, updateOperationSpec);
101
- }
102
- /**
103
- * Deletes a function from the streaming job.
104
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
- * @param jobName The name of the streaming job.
106
- * @param functionName The name of the function.
107
- * @param options The options parameters.
108
- */
109
- delete(resourceGroupName, jobName, functionName, options) {
110
- return this.client.sendOperationRequest({ resourceGroupName, jobName, functionName, options }, deleteOperationSpec);
111
- }
112
- /**
113
- * Gets details about the specified function.
114
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
115
- * @param jobName The name of the streaming job.
116
- * @param functionName The name of the function.
117
- * @param options The options parameters.
118
- */
119
- get(resourceGroupName, jobName, functionName, options) {
120
- return this.client.sendOperationRequest({ resourceGroupName, jobName, functionName, options }, getOperationSpec);
121
- }
122
- /**
123
- * Lists all of the functions under the specified streaming job.
124
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
125
- * @param jobName The name of the streaming job.
126
- * @param options The options parameters.
127
- */
128
- _listByStreamingJob(resourceGroupName, jobName, options) {
129
- return this.client.sendOperationRequest({ resourceGroupName, jobName, options }, listByStreamingJobOperationSpec);
130
- }
131
- /**
132
- * Tests if the information provided for a function is valid. This can range from testing the
133
- * connection to the underlying web service behind the function or making sure the function code
134
- * provided is syntactically correct.
135
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
- * @param jobName The name of the streaming job.
137
- * @param functionName The name of the function.
138
- * @param options The options parameters.
139
- */
140
- beginTest(resourceGroupName, jobName, functionName, options) {
141
- return __awaiter(this, void 0, void 0, function* () {
142
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
143
- return this.client.sendOperationRequest(args, spec);
144
- });
145
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
146
- var _a;
147
- let currentRawResponse = undefined;
148
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
149
- const callback = (rawResponse, flatResponse) => {
150
- currentRawResponse = rawResponse;
151
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
152
- };
153
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
154
- const flatResponse = yield directSendOperation(updatedArgs, spec);
155
- return {
156
- flatResponse,
157
- rawResponse: {
158
- statusCode: currentRawResponse.status,
159
- body: currentRawResponse.parsedBody,
160
- headers: currentRawResponse.headers.toJSON()
161
- }
162
- };
163
- });
164
- const lro = new LroImpl(sendOperation, { resourceGroupName, jobName, functionName, options }, testOperationSpec);
165
- return new LroEngine(lro, {
166
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
167
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
168
- });
169
- });
170
- }
171
- /**
172
- * Tests if the information provided for a function is valid. This can range from testing the
173
- * connection to the underlying web service behind the function or making sure the function code
174
- * provided is syntactically correct.
175
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
176
- * @param jobName The name of the streaming job.
177
- * @param functionName The name of the function.
178
- * @param options The options parameters.
179
- */
180
- beginTestAndWait(resourceGroupName, jobName, functionName, options) {
181
- return __awaiter(this, void 0, void 0, function* () {
182
- const poller = yield this.beginTest(resourceGroupName, jobName, functionName, options);
183
- return poller.pollUntilDone();
184
- });
185
- }
186
- /**
187
- * Retrieves the default definition of a function based on the parameters specified.
188
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
189
- * @param jobName The name of the streaming job.
190
- * @param functionName The name of the function.
191
- * @param options The options parameters.
192
- */
193
- retrieveDefaultDefinition(resourceGroupName, jobName, functionName, options) {
194
- return this.client.sendOperationRequest({ resourceGroupName, jobName, functionName, options }, retrieveDefaultDefinitionOperationSpec);
195
- }
196
- /**
197
- * ListByStreamingJobNext
198
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
199
- * @param jobName The name of the streaming job.
200
- * @param nextLink The nextLink from the previous successful call to the ListByStreamingJob method.
201
- * @param options The options parameters.
202
- */
203
- _listByStreamingJobNext(resourceGroupName, jobName, nextLink, options) {
204
- return this.client.sendOperationRequest({ resourceGroupName, jobName, nextLink, options }, listByStreamingJobNextOperationSpec);
205
- }
206
- }
207
- // Operation Specifications
208
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
209
- const createOrReplaceOperationSpec = {
210
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
211
- httpMethod: "PUT",
212
- responses: {
213
- 200: {
214
- bodyMapper: Mappers.FunctionModel,
215
- headersMapper: Mappers.FunctionsCreateOrReplaceHeaders
216
- },
217
- 201: {
218
- bodyMapper: Mappers.FunctionModel,
219
- headersMapper: Mappers.FunctionsCreateOrReplaceHeaders
220
- },
221
- default: {
222
- bodyMapper: Mappers.ErrorModel
223
- }
224
- },
225
- requestBody: Parameters.functionParam,
226
- queryParameters: [Parameters.apiVersion],
227
- urlParameters: [
228
- Parameters.$host,
229
- Parameters.subscriptionId,
230
- Parameters.resourceGroupName,
231
- Parameters.jobName,
232
- Parameters.functionName
233
- ],
234
- headerParameters: [
235
- Parameters.contentType,
236
- Parameters.accept,
237
- Parameters.ifMatch,
238
- Parameters.ifNoneMatch
239
- ],
240
- mediaType: "json",
241
- serializer
242
- };
243
- const updateOperationSpec = {
244
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
245
- httpMethod: "PATCH",
246
- responses: {
247
- 200: {
248
- bodyMapper: Mappers.FunctionModel,
249
- headersMapper: Mappers.FunctionsUpdateHeaders
250
- },
251
- default: {
252
- bodyMapper: Mappers.ErrorModel
253
- }
254
- },
255
- requestBody: Parameters.functionParam,
256
- queryParameters: [Parameters.apiVersion],
257
- urlParameters: [
258
- Parameters.$host,
259
- Parameters.subscriptionId,
260
- Parameters.resourceGroupName,
261
- Parameters.jobName,
262
- Parameters.functionName
263
- ],
264
- headerParameters: [
265
- Parameters.contentType,
266
- Parameters.accept,
267
- Parameters.ifMatch
268
- ],
269
- mediaType: "json",
270
- serializer
271
- };
272
- const deleteOperationSpec = {
273
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
274
- httpMethod: "DELETE",
275
- responses: {
276
- 200: {},
277
- 204: {},
278
- default: {
279
- bodyMapper: Mappers.ErrorModel
280
- }
281
- },
282
- queryParameters: [Parameters.apiVersion],
283
- urlParameters: [
284
- Parameters.$host,
285
- Parameters.subscriptionId,
286
- Parameters.resourceGroupName,
287
- Parameters.jobName,
288
- Parameters.functionName
289
- ],
290
- headerParameters: [Parameters.accept],
291
- serializer
292
- };
293
- const getOperationSpec = {
294
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
295
- httpMethod: "GET",
296
- responses: {
297
- 200: {
298
- bodyMapper: Mappers.FunctionModel,
299
- headersMapper: Mappers.FunctionsGetHeaders
300
- },
301
- default: {
302
- bodyMapper: Mappers.ErrorModel
303
- }
304
- },
305
- queryParameters: [Parameters.apiVersion],
306
- urlParameters: [
307
- Parameters.$host,
308
- Parameters.subscriptionId,
309
- Parameters.resourceGroupName,
310
- Parameters.jobName,
311
- Parameters.functionName
312
- ],
313
- headerParameters: [Parameters.accept],
314
- serializer
315
- };
316
- const listByStreamingJobOperationSpec = {
317
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions",
318
- httpMethod: "GET",
319
- responses: {
320
- 200: {
321
- bodyMapper: Mappers.FunctionListResult
322
- },
323
- default: {
324
- bodyMapper: Mappers.ErrorModel
325
- }
326
- },
327
- queryParameters: [Parameters.apiVersion, Parameters.select],
328
- urlParameters: [
329
- Parameters.$host,
330
- Parameters.subscriptionId,
331
- Parameters.resourceGroupName,
332
- Parameters.jobName
333
- ],
334
- headerParameters: [Parameters.accept],
335
- serializer
336
- };
337
- const testOperationSpec = {
338
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/test",
339
- httpMethod: "POST",
340
- responses: {
341
- 200: {
342
- bodyMapper: Mappers.ResourceTestStatus
343
- },
344
- 201: {
345
- bodyMapper: Mappers.ResourceTestStatus
346
- },
347
- 202: {
348
- bodyMapper: Mappers.ResourceTestStatus
349
- },
350
- 204: {
351
- bodyMapper: Mappers.ResourceTestStatus
352
- },
353
- default: {
354
- bodyMapper: Mappers.ErrorModel
355
- }
356
- },
357
- requestBody: Parameters.functionParam1,
358
- queryParameters: [Parameters.apiVersion],
359
- urlParameters: [
360
- Parameters.$host,
361
- Parameters.subscriptionId,
362
- Parameters.resourceGroupName,
363
- Parameters.jobName,
364
- Parameters.functionName
365
- ],
366
- headerParameters: [Parameters.contentType, Parameters.accept],
367
- mediaType: "json",
368
- serializer
369
- };
370
- const retrieveDefaultDefinitionOperationSpec = {
371
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/retrieveDefaultDefinition",
372
- httpMethod: "POST",
373
- responses: {
374
- 200: {
375
- bodyMapper: Mappers.FunctionModel
376
- },
377
- default: {
378
- bodyMapper: Mappers.ErrorModel
379
- }
380
- },
381
- requestBody: Parameters.functionRetrieveDefaultDefinitionParameters,
382
- queryParameters: [Parameters.apiVersion],
383
- urlParameters: [
384
- Parameters.$host,
385
- Parameters.subscriptionId,
386
- Parameters.resourceGroupName,
387
- Parameters.jobName,
388
- Parameters.functionName
389
- ],
390
- headerParameters: [Parameters.contentType, Parameters.accept],
391
- mediaType: "json",
392
- serializer
393
- };
394
- const listByStreamingJobNextOperationSpec = {
395
- path: "{nextLink}",
396
- httpMethod: "GET",
397
- responses: {
398
- 200: {
399
- bodyMapper: Mappers.FunctionListResult
400
- },
401
- default: {
402
- bodyMapper: Mappers.ErrorModel
403
- }
404
- },
405
- queryParameters: [Parameters.apiVersion, Parameters.select],
406
- urlParameters: [
407
- Parameters.$host,
408
- Parameters.subscriptionId,
409
- Parameters.resourceGroupName,
410
- Parameters.jobName,
411
- Parameters.nextLink
412
- ],
413
- headerParameters: [Parameters.accept],
414
- serializer
415
- };
416
- //# sourceMappingURL=functions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/operations/functions.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;AAoBrC,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,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A2C;IACnE,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,OAAO;QAClB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC"}
@@ -1,17 +0,0 @@
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 * from "./functions";
9
- export * from "./inputs";
10
- export * from "./outputs";
11
- export * from "./streamingJobs";
12
- export * from "./subscriptions";
13
- export * from "./transformations";
14
- export * from "./operations";
15
- export * from "./clusters";
16
- export * from "./privateEndpoints";
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC"}
@@ -1,94 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Inputs } from "../operationsInterfaces";
3
- import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
4
- import { PollerLike, PollOperationState } from "@azure/core-lro";
5
- import { Input, InputsListByStreamingJobOptionalParams, InputsCreateOrReplaceOptionalParams, InputsCreateOrReplaceResponse, InputsUpdateOptionalParams, InputsUpdateResponse, InputsDeleteOptionalParams, InputsGetOptionalParams, InputsGetResponse, InputsTestOptionalParams, InputsTestResponse } from "../models";
6
- /** Class containing Inputs operations. */
7
- export declare class InputsImpl implements Inputs {
8
- private readonly client;
9
- /**
10
- * Initialize a new instance of the class Inputs class.
11
- * @param client Reference to the service client
12
- */
13
- constructor(client: StreamAnalyticsManagementClientContext);
14
- /**
15
- * Lists all of the inputs under the specified streaming job.
16
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
- * @param jobName The name of the streaming job.
18
- * @param options The options parameters.
19
- */
20
- listByStreamingJob(resourceGroupName: string, jobName: string, options?: InputsListByStreamingJobOptionalParams): PagedAsyncIterableIterator<Input>;
21
- private listByStreamingJobPagingPage;
22
- private listByStreamingJobPagingAll;
23
- /**
24
- * Creates an input or replaces an already existing input under an existing streaming job.
25
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
- * @param jobName The name of the streaming job.
27
- * @param inputName The name of the input.
28
- * @param input The definition of the input that will be used to create a new input or replace the
29
- * existing one under the streaming job.
30
- * @param options The options parameters.
31
- */
32
- createOrReplace(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsCreateOrReplaceOptionalParams): Promise<InputsCreateOrReplaceResponse>;
33
- /**
34
- * Updates an existing input under an existing streaming job. This can be used to partially update (ie.
35
- * update one or two properties) an input without affecting the rest the job or input definition.
36
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
- * @param jobName The name of the streaming job.
38
- * @param inputName The name of the input.
39
- * @param input An Input object. The properties specified here will overwrite the corresponding
40
- * properties in the existing input (ie. Those properties will be updated). Any properties that are set
41
- * to null here will mean that the corresponding property in the existing input will remain the same
42
- * and not change as a result of this PATCH operation.
43
- * @param options The options parameters.
44
- */
45
- update(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsUpdateOptionalParams): Promise<InputsUpdateResponse>;
46
- /**
47
- * Deletes an input from the 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 inputName The name of the input.
51
- * @param options The options parameters.
52
- */
53
- delete(resourceGroupName: string, jobName: string, inputName: string, options?: InputsDeleteOptionalParams): Promise<void>;
54
- /**
55
- * Gets details about the specified input.
56
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
- * @param jobName The name of the streaming job.
58
- * @param inputName The name of the input.
59
- * @param options The options parameters.
60
- */
61
- get(resourceGroupName: string, jobName: string, inputName: string, options?: InputsGetOptionalParams): Promise<InputsGetResponse>;
62
- /**
63
- * Lists all of the inputs under the specified streaming job.
64
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
- * @param jobName The name of the streaming job.
66
- * @param options The options parameters.
67
- */
68
- private _listByStreamingJob;
69
- /**
70
- * Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
71
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
- * @param jobName The name of the streaming job.
73
- * @param inputName The name of the input.
74
- * @param options The options parameters.
75
- */
76
- beginTest(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise<PollerLike<PollOperationState<InputsTestResponse>, InputsTestResponse>>;
77
- /**
78
- * Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
79
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
- * @param jobName The name of the streaming job.
81
- * @param inputName The name of the input.
82
- * @param options The options parameters.
83
- */
84
- beginTestAndWait(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise<InputsTestResponse>;
85
- /**
86
- * ListByStreamingJobNext
87
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
88
- * @param jobName The name of the streaming job.
89
- * @param nextLink The nextLink from the previous successful call to the ListByStreamingJob method.
90
- * @param options The options parameters.
91
- */
92
- private _listByStreamingJobNext;
93
- }
94
- //# sourceMappingURL=inputs.d.ts.map