@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
@@ -0,0 +1,215 @@
1
+ import * as msRest from "@azure/ms-rest-js";
2
+ import * as msRestAzure from "@azure/ms-rest-azure-js";
3
+ import * as Models from "../models";
4
+ import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
5
+ /** Class representing a Functions. */
6
+ export declare class Functions {
7
+ private readonly client;
8
+ /**
9
+ * Create a Functions.
10
+ * @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
11
+ */
12
+ constructor(client: StreamAnalyticsManagementClientContext);
13
+ /**
14
+ * Creates a function or replaces an already existing function under an existing streaming job.
15
+ * @param functionParameter The definition of the function that will be used to create a new
16
+ * function or replace the existing one under the streaming job.
17
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
18
+ * @param jobName The name of the streaming job.
19
+ * @param functionName The name of the function.
20
+ * @param [options] The optional parameters
21
+ * @returns Promise<Models.FunctionsCreateOrReplaceResponse>
22
+ */
23
+ createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsCreateOrReplaceOptionalParams): Promise<Models.FunctionsCreateOrReplaceResponse>;
24
+ /**
25
+ * @param functionParameter The definition of the function that will be used to create a new
26
+ * function or replace the existing one under the streaming job.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param jobName The name of the streaming job.
29
+ * @param functionName The name of the function.
30
+ * @param callback The callback
31
+ */
32
+ createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
33
+ /**
34
+ * @param functionParameter The definition of the function that will be used to create a new
35
+ * function or replace the existing one under the streaming job.
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 functionName The name of the function.
39
+ * @param options The optional parameters
40
+ * @param callback The callback
41
+ */
42
+ createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
43
+ /**
44
+ * Updates an existing function under an existing streaming job. This can be used to partially
45
+ * update (ie. update one or two properties) a function without affecting the rest the job or
46
+ * function definition.
47
+ * @param functionParameter A function object. The properties specified here will overwrite the
48
+ * corresponding properties in the existing function (ie. Those properties will be updated). Any
49
+ * properties that are set to null here will mean that the corresponding property in the existing
50
+ * function will remain the same and not change as a result of this PATCH operation.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param jobName The name of the streaming job.
53
+ * @param functionName The name of the function.
54
+ * @param [options] The optional parameters
55
+ * @returns Promise<Models.FunctionsUpdateResponse>
56
+ */
57
+ update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsUpdateOptionalParams): Promise<Models.FunctionsUpdateResponse>;
58
+ /**
59
+ * @param functionParameter A function object. The properties specified here will overwrite the
60
+ * corresponding properties in the existing function (ie. Those properties will be updated). Any
61
+ * properties that are set to null here will mean that the corresponding property in the existing
62
+ * function will remain the same and not change as a result of this PATCH operation.
63
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
64
+ * @param jobName The name of the streaming job.
65
+ * @param functionName The name of the function.
66
+ * @param callback The callback
67
+ */
68
+ update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
69
+ /**
70
+ * @param functionParameter A function object. The properties specified here will overwrite the
71
+ * corresponding properties in the existing function (ie. Those properties will be updated). Any
72
+ * properties that are set to null here will mean that the corresponding property in the existing
73
+ * function will remain the same and not change as a result of this PATCH operation.
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 optional parameters
78
+ * @param callback The callback
79
+ */
80
+ update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsUpdateOptionalParams, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
81
+ /**
82
+ * Deletes a function from the streaming job.
83
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
+ * @param jobName The name of the streaming job.
85
+ * @param functionName The name of the function.
86
+ * @param [options] The optional parameters
87
+ * @returns Promise<msRest.RestResponse>
88
+ */
89
+ deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
90
+ /**
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param jobName The name of the streaming job.
93
+ * @param functionName The name of the function.
94
+ * @param callback The callback
95
+ */
96
+ deleteMethod(resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback<void>): void;
97
+ /**
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 functionName The name of the function.
101
+ * @param options The optional parameters
102
+ * @param callback The callback
103
+ */
104
+ deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
105
+ /**
106
+ * Gets details about the specified function.
107
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
108
+ * @param jobName The name of the streaming job.
109
+ * @param functionName The name of the function.
110
+ * @param [options] The optional parameters
111
+ * @returns Promise<Models.FunctionsGetResponse>
112
+ */
113
+ get(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase): Promise<Models.FunctionsGetResponse>;
114
+ /**
115
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
116
+ * @param jobName The name of the streaming job.
117
+ * @param functionName The name of the function.
118
+ * @param callback The callback
119
+ */
120
+ get(resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
121
+ /**
122
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
+ * @param jobName The name of the streaming job.
124
+ * @param functionName The name of the function.
125
+ * @param options The optional parameters
126
+ * @param callback The callback
127
+ */
128
+ get(resourceGroupName: string, jobName: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
129
+ /**
130
+ * Lists all of the functions under the specified streaming job.
131
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
132
+ * @param jobName The name of the streaming job.
133
+ * @param [options] The optional parameters
134
+ * @returns Promise<Models.FunctionsListByStreamingJobResponse>
135
+ */
136
+ listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.FunctionsListByStreamingJobOptionalParams): Promise<Models.FunctionsListByStreamingJobResponse>;
137
+ /**
138
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
139
+ * @param jobName The name of the streaming job.
140
+ * @param callback The callback
141
+ */
142
+ listByStreamingJob(resourceGroupName: string, jobName: string, callback: msRest.ServiceCallback<Models.FunctionListResult>): void;
143
+ /**
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 optional parameters
147
+ * @param callback The callback
148
+ */
149
+ listByStreamingJob(resourceGroupName: string, jobName: string, options: Models.FunctionsListByStreamingJobOptionalParams, callback: msRest.ServiceCallback<Models.FunctionListResult>): void;
150
+ /**
151
+ * Tests if the information provided for a function is valid. This can range from testing the
152
+ * connection to the underlying web service behind the function or making sure the function code
153
+ * provided is syntactically correct.
154
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
155
+ * @param jobName The name of the streaming job.
156
+ * @param functionName The name of the function.
157
+ * @param [options] The optional parameters
158
+ * @returns Promise<Models.FunctionsTestResponse>
159
+ */
160
+ test(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsTestOptionalParams): Promise<Models.FunctionsTestResponse>;
161
+ /**
162
+ * Retrieves the default definition of a function based on the parameters specified.
163
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
164
+ * @param jobName The name of the streaming job.
165
+ * @param functionName The name of the function.
166
+ * @param [options] The optional parameters
167
+ * @returns Promise<Models.FunctionsRetrieveDefaultDefinitionResponse>
168
+ */
169
+ retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsRetrieveDefaultDefinitionOptionalParams): Promise<Models.FunctionsRetrieveDefaultDefinitionResponse>;
170
+ /**
171
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
172
+ * @param jobName The name of the streaming job.
173
+ * @param functionName The name of the function.
174
+ * @param callback The callback
175
+ */
176
+ retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
177
+ /**
178
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
179
+ * @param jobName The name of the streaming job.
180
+ * @param functionName The name of the function.
181
+ * @param options The optional parameters
182
+ * @param callback The callback
183
+ */
184
+ retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsRetrieveDefaultDefinitionOptionalParams, callback: msRest.ServiceCallback<Models.FunctionModel>): void;
185
+ /**
186
+ * Tests if the information provided for a function is valid. This can range from testing the
187
+ * connection to the underlying web service behind the function or making sure the function code
188
+ * provided is syntactically correct.
189
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
190
+ * @param jobName The name of the streaming job.
191
+ * @param functionName The name of the function.
192
+ * @param [options] The optional parameters
193
+ * @returns Promise<msRestAzure.LROPoller>
194
+ */
195
+ beginTest(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsBeginTestOptionalParams): Promise<msRestAzure.LROPoller>;
196
+ /**
197
+ * Lists all of the functions under the specified streaming job.
198
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
199
+ * @param [options] The optional parameters
200
+ * @returns Promise<Models.FunctionsListByStreamingJobNextResponse>
201
+ */
202
+ listByStreamingJobNext(nextPageLink: string, options?: Models.FunctionsListByStreamingJobNextOptionalParams): Promise<Models.FunctionsListByStreamingJobNextResponse>;
203
+ /**
204
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
205
+ * @param callback The callback
206
+ */
207
+ listByStreamingJobNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.FunctionListResult>): void;
208
+ /**
209
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
210
+ * @param options The optional parameters
211
+ * @param callback The callback
212
+ */
213
+ listByStreamingJobNext(nextPageLink: string, options: Models.FunctionsListByStreamingJobNextOptionalParams, callback: msRest.ServiceCallback<Models.FunctionListResult>): void;
214
+ }
215
+ //# sourceMappingURL=functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/operations/functions.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,sCAAsC,EAAE,MAAM,2CAA2C,CAAC;AAEnG,sCAAsC;AACtC,qBAAa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyC;IAEhE;;;OAGG;gBACS,MAAM,EAAE,sCAAsC;IAI1D;;;;;;;;;OASG;IACH,eAAe,CAAC,iBAAiB,EAAE,MAAM,CAAC,aAAa,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,sCAAsC,GAAG,OAAO,CAAC,MAAM,CAAC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e,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;IAa3N;;;;;;;;;OASG;IACH,SAAS,CAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,gCAAgC,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAY9J;;;;;OAKG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,6CAA6C,GAAG,OAAO,CAAC,MAAM,CAAC,uCAAuC,CAAC;IACrK;;;OAGG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAC/G;;;;OAIG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,6CAA6C,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;CAU/K"}
@@ -0,0 +1,348 @@
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
7
+ * regenerated.
8
+ */
9
+ import { __assign } from "tslib";
10
+ import * as msRest from "@azure/ms-rest-js";
11
+ import * as Mappers from "../models/functionsMappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /** Class representing a Functions. */
14
+ var Functions = /** @class */ (function () {
15
+ /**
16
+ * Create a Functions.
17
+ * @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
18
+ */
19
+ function Functions(client) {
20
+ this.client = client;
21
+ }
22
+ Functions.prototype.createOrReplace = function (functionParameter, resourceGroupName, jobName, functionName, options, callback) {
23
+ return this.client.sendOperationRequest({
24
+ functionParameter: functionParameter,
25
+ resourceGroupName: resourceGroupName,
26
+ jobName: jobName,
27
+ functionName: functionName,
28
+ options: options
29
+ }, createOrReplaceOperationSpec, callback);
30
+ };
31
+ Functions.prototype.update = function (functionParameter, resourceGroupName, jobName, functionName, options, callback) {
32
+ return this.client.sendOperationRequest({
33
+ functionParameter: functionParameter,
34
+ resourceGroupName: resourceGroupName,
35
+ jobName: jobName,
36
+ functionName: functionName,
37
+ options: options
38
+ }, updateOperationSpec, callback);
39
+ };
40
+ Functions.prototype.deleteMethod = function (resourceGroupName, jobName, functionName, options, callback) {
41
+ return this.client.sendOperationRequest({
42
+ resourceGroupName: resourceGroupName,
43
+ jobName: jobName,
44
+ functionName: functionName,
45
+ options: options
46
+ }, deleteMethodOperationSpec, callback);
47
+ };
48
+ Functions.prototype.get = function (resourceGroupName, jobName, functionName, options, callback) {
49
+ return this.client.sendOperationRequest({
50
+ resourceGroupName: resourceGroupName,
51
+ jobName: jobName,
52
+ functionName: functionName,
53
+ options: options
54
+ }, getOperationSpec, callback);
55
+ };
56
+ Functions.prototype.listByStreamingJob = function (resourceGroupName, jobName, options, callback) {
57
+ return this.client.sendOperationRequest({
58
+ resourceGroupName: resourceGroupName,
59
+ jobName: jobName,
60
+ options: options
61
+ }, listByStreamingJobOperationSpec, callback);
62
+ };
63
+ /**
64
+ * Tests if the information provided for a function is valid. This can range from testing the
65
+ * connection to the underlying web service behind the function or making sure the function code
66
+ * provided is syntactically correct.
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 functionName The name of the function.
70
+ * @param [options] The optional parameters
71
+ * @returns Promise<Models.FunctionsTestResponse>
72
+ */
73
+ Functions.prototype.test = function (resourceGroupName, jobName, functionName, options) {
74
+ return this.beginTest(resourceGroupName, jobName, functionName, options)
75
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
76
+ };
77
+ Functions.prototype.retrieveDefaultDefinition = function (resourceGroupName, jobName, functionName, options, callback) {
78
+ return this.client.sendOperationRequest({
79
+ resourceGroupName: resourceGroupName,
80
+ jobName: jobName,
81
+ functionName: functionName,
82
+ options: options
83
+ }, retrieveDefaultDefinitionOperationSpec, callback);
84
+ };
85
+ /**
86
+ * Tests if the information provided for a function is valid. This can range from testing the
87
+ * connection to the underlying web service behind the function or making sure the function code
88
+ * provided is syntactically correct.
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 functionName The name of the function.
92
+ * @param [options] The optional parameters
93
+ * @returns Promise<msRestAzure.LROPoller>
94
+ */
95
+ Functions.prototype.beginTest = function (resourceGroupName, jobName, functionName, options) {
96
+ return this.client.sendLRORequest({
97
+ resourceGroupName: resourceGroupName,
98
+ jobName: jobName,
99
+ functionName: functionName,
100
+ options: options
101
+ }, beginTestOperationSpec, options);
102
+ };
103
+ Functions.prototype.listByStreamingJobNext = function (nextPageLink, options, callback) {
104
+ return this.client.sendOperationRequest({
105
+ nextPageLink: nextPageLink,
106
+ options: options
107
+ }, listByStreamingJobNextOperationSpec, callback);
108
+ };
109
+ return Functions;
110
+ }());
111
+ export { Functions };
112
+ // Operation Specifications
113
+ var serializer = new msRest.Serializer(Mappers);
114
+ var createOrReplaceOperationSpec = {
115
+ httpMethod: "PUT",
116
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
117
+ urlParameters: [
118
+ Parameters.subscriptionId,
119
+ Parameters.resourceGroupName,
120
+ Parameters.jobName,
121
+ Parameters.functionName
122
+ ],
123
+ queryParameters: [
124
+ Parameters.apiVersion0
125
+ ],
126
+ headerParameters: [
127
+ Parameters.ifMatch,
128
+ Parameters.ifNoneMatch,
129
+ Parameters.acceptLanguage
130
+ ],
131
+ requestBody: {
132
+ parameterPath: "functionParameter",
133
+ mapper: __assign(__assign({}, Mappers.FunctionModel), { required: true })
134
+ },
135
+ responses: {
136
+ 200: {
137
+ bodyMapper: Mappers.FunctionModel,
138
+ headersMapper: Mappers.FunctionsCreateOrReplaceHeaders
139
+ },
140
+ 201: {
141
+ bodyMapper: Mappers.FunctionModel,
142
+ headersMapper: Mappers.FunctionsCreateOrReplaceHeaders
143
+ },
144
+ default: {
145
+ bodyMapper: Mappers.ErrorModel,
146
+ headersMapper: Mappers.FunctionsCreateOrReplaceHeaders
147
+ }
148
+ },
149
+ serializer: serializer
150
+ };
151
+ var updateOperationSpec = {
152
+ httpMethod: "PATCH",
153
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
154
+ urlParameters: [
155
+ Parameters.subscriptionId,
156
+ Parameters.resourceGroupName,
157
+ Parameters.jobName,
158
+ Parameters.functionName
159
+ ],
160
+ queryParameters: [
161
+ Parameters.apiVersion0
162
+ ],
163
+ headerParameters: [
164
+ Parameters.ifMatch,
165
+ Parameters.acceptLanguage
166
+ ],
167
+ requestBody: {
168
+ parameterPath: "functionParameter",
169
+ mapper: __assign(__assign({}, Mappers.FunctionModel), { required: true })
170
+ },
171
+ responses: {
172
+ 200: {
173
+ bodyMapper: Mappers.FunctionModel,
174
+ headersMapper: Mappers.FunctionsUpdateHeaders
175
+ },
176
+ default: {
177
+ bodyMapper: Mappers.ErrorModel,
178
+ headersMapper: Mappers.FunctionsUpdateHeaders
179
+ }
180
+ },
181
+ serializer: serializer
182
+ };
183
+ var deleteMethodOperationSpec = {
184
+ httpMethod: "DELETE",
185
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
186
+ urlParameters: [
187
+ Parameters.subscriptionId,
188
+ Parameters.resourceGroupName,
189
+ Parameters.jobName,
190
+ Parameters.functionName
191
+ ],
192
+ queryParameters: [
193
+ Parameters.apiVersion0
194
+ ],
195
+ headerParameters: [
196
+ Parameters.acceptLanguage
197
+ ],
198
+ responses: {
199
+ 200: {},
200
+ 204: {},
201
+ default: {
202
+ bodyMapper: Mappers.ErrorModel
203
+ }
204
+ },
205
+ serializer: serializer
206
+ };
207
+ var getOperationSpec = {
208
+ httpMethod: "GET",
209
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}",
210
+ urlParameters: [
211
+ Parameters.subscriptionId,
212
+ Parameters.resourceGroupName,
213
+ Parameters.jobName,
214
+ Parameters.functionName
215
+ ],
216
+ queryParameters: [
217
+ Parameters.apiVersion0
218
+ ],
219
+ headerParameters: [
220
+ Parameters.acceptLanguage
221
+ ],
222
+ responses: {
223
+ 200: {
224
+ bodyMapper: Mappers.FunctionModel,
225
+ headersMapper: Mappers.FunctionsGetHeaders
226
+ },
227
+ default: {
228
+ bodyMapper: Mappers.ErrorModel,
229
+ headersMapper: Mappers.FunctionsGetHeaders
230
+ }
231
+ },
232
+ serializer: serializer
233
+ };
234
+ var listByStreamingJobOperationSpec = {
235
+ httpMethod: "GET",
236
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions",
237
+ urlParameters: [
238
+ Parameters.subscriptionId,
239
+ Parameters.resourceGroupName,
240
+ Parameters.jobName
241
+ ],
242
+ queryParameters: [
243
+ Parameters.select,
244
+ Parameters.apiVersion0
245
+ ],
246
+ headerParameters: [
247
+ Parameters.acceptLanguage
248
+ ],
249
+ responses: {
250
+ 200: {
251
+ bodyMapper: Mappers.FunctionListResult
252
+ },
253
+ default: {
254
+ bodyMapper: Mappers.ErrorModel
255
+ }
256
+ },
257
+ serializer: serializer
258
+ };
259
+ var retrieveDefaultDefinitionOperationSpec = {
260
+ httpMethod: "POST",
261
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/retrieveDefaultDefinition",
262
+ urlParameters: [
263
+ Parameters.subscriptionId,
264
+ Parameters.resourceGroupName,
265
+ Parameters.jobName,
266
+ Parameters.functionName
267
+ ],
268
+ queryParameters: [
269
+ Parameters.apiVersion0
270
+ ],
271
+ headerParameters: [
272
+ Parameters.acceptLanguage
273
+ ],
274
+ requestBody: {
275
+ parameterPath: [
276
+ "options",
277
+ "functionRetrieveDefaultDefinitionParameters"
278
+ ],
279
+ mapper: Mappers.FunctionRetrieveDefaultDefinitionParameters
280
+ },
281
+ responses: {
282
+ 200: {
283
+ bodyMapper: Mappers.FunctionModel
284
+ },
285
+ default: {
286
+ bodyMapper: Mappers.ErrorModel
287
+ }
288
+ },
289
+ serializer: serializer
290
+ };
291
+ var beginTestOperationSpec = {
292
+ httpMethod: "POST",
293
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/test",
294
+ urlParameters: [
295
+ Parameters.subscriptionId,
296
+ Parameters.resourceGroupName,
297
+ Parameters.jobName,
298
+ Parameters.functionName
299
+ ],
300
+ queryParameters: [
301
+ Parameters.apiVersion0
302
+ ],
303
+ headerParameters: [
304
+ Parameters.acceptLanguage
305
+ ],
306
+ requestBody: {
307
+ parameterPath: [
308
+ "options",
309
+ "functionParameter"
310
+ ],
311
+ mapper: Mappers.FunctionModel
312
+ },
313
+ responses: {
314
+ 200: {
315
+ bodyMapper: Mappers.ResourceTestStatus
316
+ },
317
+ 202: {},
318
+ default: {
319
+ bodyMapper: Mappers.ErrorModel
320
+ }
321
+ },
322
+ serializer: serializer
323
+ };
324
+ var listByStreamingJobNextOperationSpec = {
325
+ httpMethod: "GET",
326
+ baseUrl: "https://management.azure.com",
327
+ path: "{nextLink}",
328
+ urlParameters: [
329
+ Parameters.nextPageLink
330
+ ],
331
+ queryParameters: [
332
+ Parameters.select,
333
+ Parameters.apiVersion0
334
+ ],
335
+ headerParameters: [
336
+ Parameters.acceptLanguage
337
+ ],
338
+ responses: {
339
+ 200: {
340
+ bodyMapper: Mappers.FunctionListResult
341
+ },
342
+ default: {
343
+ bodyMapper: Mappers.ErrorModel
344
+ }
345
+ },
346
+ serializer: serializer
347
+ };
348
+ //# sourceMappingURL=functions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/operations/functions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAgCD,mCAAe,GAAf,UAAgB,iBAAuC,EAAE,iBAAyB,EAAE,OAAe,EAAE,YAAoB,EAAE,OAAsG,EAAE,QAAuD;QACxR,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,iBAAiB,mBAAA;YACjB,OAAO,SAAA;YACP,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,4BAA4B,EAC5B,QAAQ,CAAqD,CAAC;IAClE,CAAC;IAwCD,0BAAM,GAAN,UAAO,iBAAuC,EAAE,iBAAyB,EAAE,OAAe,EAAE,YAAoB,EAAE,OAA6F,EAAE,QAAuD;QACtQ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,iBAAiB,mBAAA;YACjB,OAAO,SAAA;YACP,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA4C,CAAC;IACzD,CAAC;IA0BD,gCAAY,GAAZ,UAAa,iBAAyB,EAAE,OAAe,EAAE,YAAoB,EAAE,OAAkE,EAAE,QAAuC;QACxL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB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QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,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,UAAU,YAAA;CACX,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,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"}
@@ -3,7 +3,8 @@
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 regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is
7
+ * regenerated.
7
8
  */
8
9
  export * from "./functions";
9
10
  export * from "./inputs";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;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"}