@azure/arm-streamanalytics 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -84
  4. package/dist/index.js +6818 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +1940 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +132 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +155 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1412 -2137
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +34 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +260 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/clusters.d.ts +137 -0
  29. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  30. package/dist-esm/src/operations/clusters.js +627 -0
  31. package/dist-esm/src/operations/clusters.js.map +1 -0
  32. package/dist-esm/src/operations/functions.d.ts +107 -0
  33. package/dist-esm/src/operations/functions.d.ts.map +1 -0
  34. package/dist-esm/src/operations/functions.js +416 -0
  35. package/dist-esm/src/operations/functions.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +4 -4
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +5 -6
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/inputs.d.ts +94 -0
  41. package/dist-esm/src/operations/inputs.d.ts.map +1 -0
  42. package/dist-esm/src/operations/inputs.js +377 -0
  43. package/dist-esm/src/operations/inputs.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/outputs.d.ts +95 -0
  49. package/dist-esm/src/operations/outputs.d.ts.map +1 -0
  50. package/dist-esm/src/operations/outputs.js +378 -0
  51. package/dist-esm/src/operations/outputs.js.map +1 -0
  52. package/dist-esm/src/operations/privateEndpoints.d.ts +73 -0
  53. package/dist-esm/src/operations/privateEndpoints.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateEndpoints.js +295 -0
  55. package/dist-esm/src/operations/privateEndpoints.js.map +1 -0
  56. package/dist-esm/src/operations/streamingJobs.d.ts +151 -0
  57. package/dist-esm/src/operations/streamingJobs.d.ts.map +1 -0
  58. package/dist-esm/src/operations/streamingJobs.js +692 -0
  59. package/dist-esm/src/operations/streamingJobs.js.map +1 -0
  60. package/dist-esm/src/operations/subscriptions.d.ts +21 -0
  61. package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
  62. package/dist-esm/src/operations/subscriptions.js +53 -0
  63. package/dist-esm/src/operations/subscriptions.js.map +1 -0
  64. package/dist-esm/src/operations/transformations.d.ts +46 -0
  65. package/dist-esm/src/operations/transformations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/transformations.js +160 -0
  67. package/dist-esm/src/operations/transformations.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/clusters.d.ts +84 -0
  69. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/functions.d.ts +82 -0
  73. package/dist-esm/src/operationsInterfaces/functions.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/functions.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/functions.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  79. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/inputs.d.ts +69 -0
  81. package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +1 -0
  82. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/inputs.js} +2 -1
  83. package/dist-esm/src/operationsInterfaces/inputs.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  85. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/outputs.d.ts +70 -0
  89. package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/outputs.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/outputs.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +48 -0
  93. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/privateEndpoints.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +115 -0
  97. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/streamingJobs.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +13 -0
  101. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/transformations.d.ts +38 -0
  105. package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/transformations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/transformations.js.map +1 -0
  108. package/dist-esm/src/streamAnalyticsManagementClient.d.ts +26 -0
  109. package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +1 -0
  110. package/dist-esm/src/streamAnalyticsManagementClient.js +59 -0
  111. package/dist-esm/src/streamAnalyticsManagementClient.js.map +1 -0
  112. package/dist-esm/test/sampleTest.d.ts +2 -0
  113. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  114. package/dist-esm/test/sampleTest.js +40 -0
  115. package/dist-esm/test/sampleTest.js.map +1 -0
  116. package/package.json +65 -32
  117. package/review/arm-streamanalytics.api.md +1598 -0
  118. package/rollup.config.js +181 -30
  119. package/src/{models/operationsMappers.ts → index.ts} +4 -12
  120. package/src/lroImpl.ts +34 -0
  121. package/src/models/index.ts +1943 -4505
  122. package/src/models/mappers.ts +1393 -2127
  123. package/src/models/parameters.ts +180 -90
  124. package/src/operations/clusters.ts +640 -393
  125. package/src/operations/functions.ts +366 -375
  126. package/src/operations/index.ts +5 -6
  127. package/src/operations/inputs.ts +337 -326
  128. package/src/operations/operations.ts +85 -73
  129. package/src/operations/outputs.ts +337 -325
  130. package/src/operations/privateEndpoints.ts +276 -209
  131. package/src/operations/streamingJobs.ts +686 -398
  132. package/src/operations/subscriptions.ts +36 -376
  133. package/src/operations/transformations.ts +104 -162
  134. package/src/operationsInterfaces/clusters.ts +157 -0
  135. package/src/operationsInterfaces/functions.ts +148 -0
  136. package/src/operationsInterfaces/index.ts +17 -0
  137. package/src/operationsInterfaces/inputs.ts +128 -0
  138. package/src/operationsInterfaces/operations.ts +22 -0
  139. package/src/operationsInterfaces/outputs.ts +129 -0
  140. package/src/operationsInterfaces/privateEndpoints.ts +90 -0
  141. package/src/operationsInterfaces/streamingJobs.ts +199 -0
  142. package/src/operationsInterfaces/subscriptions.ts +27 -0
  143. package/src/operationsInterfaces/transformations.ts +71 -0
  144. package/src/streamAnalyticsManagementClient.ts +97 -49
  145. package/tsconfig.json +3 -3
  146. package/types/arm-streamanalytics.d.ts +2730 -0
  147. package/types/tsdoc-metadata.json +11 -0
  148. package/dist/arm-streamanalytics.js +0 -7772
  149. package/dist/arm-streamanalytics.js.map +0 -1
  150. package/dist/arm-streamanalytics.min.js +0 -1
  151. package/dist/arm-streamanalytics.min.js.map +0 -1
  152. package/esm/models/clustersMappers.d.ts +0 -2
  153. package/esm/models/clustersMappers.d.ts.map +0 -1
  154. package/esm/models/clustersMappers.js +0 -9
  155. package/esm/models/clustersMappers.js.map +0 -1
  156. package/esm/models/functionsMappers.d.ts +0 -2
  157. package/esm/models/functionsMappers.d.ts.map +0 -1
  158. package/esm/models/functionsMappers.js +0 -9
  159. package/esm/models/functionsMappers.js.map +0 -1
  160. package/esm/models/index.d.ts +0 -4514
  161. package/esm/models/index.d.ts.map +0 -1
  162. package/esm/models/index.js.map +0 -1
  163. package/esm/models/inputsMappers.d.ts +0 -2
  164. package/esm/models/inputsMappers.d.ts.map +0 -1
  165. package/esm/models/inputsMappers.js +0 -9
  166. package/esm/models/inputsMappers.js.map +0 -1
  167. package/esm/models/mappers.d.ts +0 -185
  168. package/esm/models/mappers.d.ts.map +0 -1
  169. package/esm/models/mappers.js.map +0 -1
  170. package/esm/models/operationsMappers.d.ts +0 -2
  171. package/esm/models/operationsMappers.d.ts.map +0 -1
  172. package/esm/models/operationsMappers.js +0 -9
  173. package/esm/models/operationsMappers.js.map +0 -1
  174. package/esm/models/outputsMappers.d.ts +0 -2
  175. package/esm/models/outputsMappers.d.ts.map +0 -1
  176. package/esm/models/outputsMappers.js +0 -9
  177. package/esm/models/outputsMappers.js.map +0 -1
  178. package/esm/models/parameters.d.ts +0 -20
  179. package/esm/models/parameters.d.ts.map +0 -1
  180. package/esm/models/parameters.js +0 -216
  181. package/esm/models/parameters.js.map +0 -1
  182. package/esm/models/privateEndpointsMappers.d.ts +0 -2
  183. package/esm/models/privateEndpointsMappers.d.ts.map +0 -1
  184. package/esm/models/privateEndpointsMappers.js +0 -9
  185. package/esm/models/privateEndpointsMappers.js.map +0 -1
  186. package/esm/models/streamingJobsMappers.d.ts +0 -2
  187. package/esm/models/streamingJobsMappers.d.ts.map +0 -1
  188. package/esm/models/streamingJobsMappers.js +0 -9
  189. package/esm/models/streamingJobsMappers.js.map +0 -1
  190. package/esm/models/subscriptionsMappers.d.ts +0 -2
  191. package/esm/models/subscriptionsMappers.d.ts.map +0 -1
  192. package/esm/models/subscriptionsMappers.js +0 -9
  193. package/esm/models/subscriptionsMappers.js.map +0 -1
  194. package/esm/models/transformationsMappers.d.ts +0 -2
  195. package/esm/models/transformationsMappers.d.ts.map +0 -1
  196. package/esm/models/transformationsMappers.js +0 -9
  197. package/esm/models/transformationsMappers.js.map +0 -1
  198. package/esm/operations/clusters.d.ts +0 -201
  199. package/esm/operations/clusters.d.ts.map +0 -1
  200. package/esm/operations/clusters.js +0 -406
  201. package/esm/operations/clusters.js.map +0 -1
  202. package/esm/operations/functions.d.ts +0 -215
  203. package/esm/operations/functions.d.ts.map +0 -1
  204. package/esm/operations/functions.js +0 -348
  205. package/esm/operations/functions.js.map +0 -1
  206. package/esm/operations/index.d.ts.map +0 -1
  207. package/esm/operations/index.js.map +0 -1
  208. package/esm/operations/inputs.d.ts +0 -189
  209. package/esm/operations/inputs.d.ts.map +0 -1
  210. package/esm/operations/inputs.js +0 -306
  211. package/esm/operations/inputs.js.map +0 -1
  212. package/esm/operations/operations.d.ts +0 -46
  213. package/esm/operations/operations.d.ts.map +0 -1
  214. package/esm/operations/operations.js +0 -79
  215. package/esm/operations/operations.js.map +0 -1
  216. package/esm/operations/outputs.d.ts +0 -189
  217. package/esm/operations/outputs.d.ts.map +0 -1
  218. package/esm/operations/outputs.js +0 -306
  219. package/esm/operations/outputs.js.map +0 -1
  220. package/esm/operations/privateEndpoints.d.ts +0 -125
  221. package/esm/operations/privateEndpoints.d.ts.map +0 -1
  222. package/esm/operations/privateEndpoints.js +0 -216
  223. package/esm/operations/privateEndpoints.js.map +0 -1
  224. package/esm/operations/streamingJobs.d.ts +0 -210
  225. package/esm/operations/streamingJobs.d.ts.map +0 -1
  226. package/esm/operations/streamingJobs.js +0 -440
  227. package/esm/operations/streamingJobs.js.map +0 -1
  228. package/esm/operations/subscriptions.d.ts +0 -138
  229. package/esm/operations/subscriptions.d.ts.map +0 -1
  230. package/esm/operations/subscriptions.js +0 -311
  231. package/esm/operations/subscriptions.js.map +0 -1
  232. package/esm/operations/transformations.d.ts +0 -106
  233. package/esm/operations/transformations.d.ts.map +0 -1
  234. package/esm/operations/transformations.js +0 -149
  235. package/esm/operations/transformations.js.map +0 -1
  236. package/esm/streamAnalyticsManagementClient.d.ts +0 -32
  237. package/esm/streamAnalyticsManagementClient.d.ts.map +0 -1
  238. package/esm/streamAnalyticsManagementClient.js +0 -45
  239. package/esm/streamAnalyticsManagementClient.js.map +0 -1
  240. package/esm/streamAnalyticsManagementClientContext.d.ts +0 -21
  241. package/esm/streamAnalyticsManagementClientContext.d.ts.map +0 -1
  242. package/esm/streamAnalyticsManagementClientContext.js +0 -59
  243. package/esm/streamAnalyticsManagementClientContext.js.map +0 -1
  244. package/src/models/clustersMappers.ts +0 -96
  245. package/src/models/functionsMappers.ts +0 -104
  246. package/src/models/inputsMappers.ts +0 -99
  247. package/src/models/outputsMappers.ts +0 -99
  248. package/src/models/privateEndpointsMappers.ts +0 -94
  249. package/src/models/streamingJobsMappers.ts +0 -98
  250. package/src/models/subscriptionsMappers.ts +0 -104
  251. package/src/models/transformationsMappers.ts +0 -96
  252. package/src/streamAnalyticsManagementClientContext.ts +0 -65
@@ -1,406 +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
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/clustersMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Clusters. */
14
- var Clusters = /** @class */ (function () {
15
- /**
16
- * Create a Clusters.
17
- * @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
18
- */
19
- function Clusters(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Creates a Stream Analytics Cluster or replaces an already existing cluster.
24
- * @param cluster The definition of the cluster that will be used to create a new cluster or
25
- * replace the existing one.
26
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
- * @param clusterName The name of the cluster.
28
- * @param [options] The optional parameters
29
- * @returns Promise<Models.ClustersCreateOrUpdateResponse>
30
- */
31
- Clusters.prototype.createOrUpdate = function (cluster, resourceGroupName, clusterName, options) {
32
- return this.beginCreateOrUpdate(cluster, resourceGroupName, clusterName, options)
33
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
34
- };
35
- /**
36
- * Updates an existing cluster. This can be used to partially update (ie. update one or two
37
- * properties) a cluster without affecting the rest of the cluster definition.
38
- * @param cluster The properties specified here will overwrite the corresponding properties in the
39
- * existing cluster (ie. Those properties will be updated).
40
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
- * @param clusterName The name of the cluster.
42
- * @param [options] The optional parameters
43
- * @returns Promise<Models.ClustersUpdateResponse>
44
- */
45
- Clusters.prototype.update = function (cluster, resourceGroupName, clusterName, options) {
46
- return this.beginUpdate(cluster, resourceGroupName, clusterName, options)
47
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
48
- };
49
- Clusters.prototype.get = function (resourceGroupName, clusterName, options, callback) {
50
- return this.client.sendOperationRequest({
51
- resourceGroupName: resourceGroupName,
52
- clusterName: clusterName,
53
- options: options
54
- }, getOperationSpec, callback);
55
- };
56
- /**
57
- * Deletes the specified cluster.
58
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
- * @param clusterName The name of the cluster.
60
- * @param [options] The optional parameters
61
- * @returns Promise<msRest.RestResponse>
62
- */
63
- Clusters.prototype.deleteMethod = function (resourceGroupName, clusterName, options) {
64
- return this.beginDeleteMethod(resourceGroupName, clusterName, options)
65
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
66
- };
67
- Clusters.prototype.listBySubscription = function (options, callback) {
68
- return this.client.sendOperationRequest({
69
- options: options
70
- }, listBySubscriptionOperationSpec, callback);
71
- };
72
- Clusters.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
73
- return this.client.sendOperationRequest({
74
- resourceGroupName: resourceGroupName,
75
- options: options
76
- }, listByResourceGroupOperationSpec, callback);
77
- };
78
- Clusters.prototype.listStreamingJobs = function (resourceGroupName, clusterName, options, callback) {
79
- return this.client.sendOperationRequest({
80
- resourceGroupName: resourceGroupName,
81
- clusterName: clusterName,
82
- options: options
83
- }, listStreamingJobsOperationSpec, callback);
84
- };
85
- /**
86
- * Creates a Stream Analytics Cluster or replaces an already existing cluster.
87
- * @param cluster The definition of the cluster that will be used to create a new cluster or
88
- * replace the existing one.
89
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
- * @param clusterName The name of the cluster.
91
- * @param [options] The optional parameters
92
- * @returns Promise<msRestAzure.LROPoller>
93
- */
94
- Clusters.prototype.beginCreateOrUpdate = function (cluster, resourceGroupName, clusterName, options) {
95
- return this.client.sendLRORequest({
96
- cluster: cluster,
97
- resourceGroupName: resourceGroupName,
98
- clusterName: clusterName,
99
- options: options
100
- }, beginCreateOrUpdateOperationSpec, options);
101
- };
102
- /**
103
- * Updates an existing cluster. This can be used to partially update (ie. update one or two
104
- * properties) a cluster without affecting the rest of the cluster definition.
105
- * @param cluster The properties specified here will overwrite the corresponding properties in the
106
- * existing cluster (ie. Those properties will be updated).
107
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
108
- * @param clusterName The name of the cluster.
109
- * @param [options] The optional parameters
110
- * @returns Promise<msRestAzure.LROPoller>
111
- */
112
- Clusters.prototype.beginUpdate = function (cluster, resourceGroupName, clusterName, options) {
113
- return this.client.sendLRORequest({
114
- cluster: cluster,
115
- resourceGroupName: resourceGroupName,
116
- clusterName: clusterName,
117
- options: options
118
- }, beginUpdateOperationSpec, options);
119
- };
120
- /**
121
- * Deletes the specified cluster.
122
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
- * @param clusterName The name of the cluster.
124
- * @param [options] The optional parameters
125
- * @returns Promise<msRestAzure.LROPoller>
126
- */
127
- Clusters.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, options) {
128
- return this.client.sendLRORequest({
129
- resourceGroupName: resourceGroupName,
130
- clusterName: clusterName,
131
- options: options
132
- }, beginDeleteMethodOperationSpec, options);
133
- };
134
- Clusters.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
135
- return this.client.sendOperationRequest({
136
- nextPageLink: nextPageLink,
137
- options: options
138
- }, listBySubscriptionNextOperationSpec, callback);
139
- };
140
- Clusters.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
141
- return this.client.sendOperationRequest({
142
- nextPageLink: nextPageLink,
143
- options: options
144
- }, listByResourceGroupNextOperationSpec, callback);
145
- };
146
- Clusters.prototype.listStreamingJobsNext = function (nextPageLink, options, callback) {
147
- return this.client.sendOperationRequest({
148
- nextPageLink: nextPageLink,
149
- options: options
150
- }, listStreamingJobsNextOperationSpec, callback);
151
- };
152
- return Clusters;
153
- }());
154
- export { Clusters };
155
- // Operation Specifications
156
- var serializer = new msRest.Serializer(Mappers);
157
- var getOperationSpec = {
158
- httpMethod: "GET",
159
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
160
- urlParameters: [
161
- Parameters.subscriptionId,
162
- Parameters.resourceGroupName,
163
- Parameters.clusterName
164
- ],
165
- queryParameters: [
166
- Parameters.apiVersion1
167
- ],
168
- headerParameters: [
169
- Parameters.acceptLanguage
170
- ],
171
- responses: {
172
- 200: {
173
- bodyMapper: Mappers.Cluster
174
- },
175
- default: {
176
- bodyMapper: Mappers.ErrorModel
177
- }
178
- },
179
- serializer: serializer
180
- };
181
- var listBySubscriptionOperationSpec = {
182
- httpMethod: "GET",
183
- path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters",
184
- urlParameters: [
185
- Parameters.subscriptionId
186
- ],
187
- queryParameters: [
188
- Parameters.apiVersion1
189
- ],
190
- headerParameters: [
191
- Parameters.acceptLanguage
192
- ],
193
- responses: {
194
- 200: {
195
- bodyMapper: Mappers.ClusterListResult
196
- },
197
- default: {
198
- bodyMapper: Mappers.ErrorModel
199
- }
200
- },
201
- serializer: serializer
202
- };
203
- var listByResourceGroupOperationSpec = {
204
- httpMethod: "GET",
205
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters",
206
- urlParameters: [
207
- Parameters.subscriptionId,
208
- Parameters.resourceGroupName
209
- ],
210
- queryParameters: [
211
- Parameters.apiVersion1
212
- ],
213
- headerParameters: [
214
- Parameters.acceptLanguage
215
- ],
216
- responses: {
217
- 200: {
218
- bodyMapper: Mappers.ClusterListResult
219
- },
220
- default: {
221
- bodyMapper: Mappers.ErrorModel
222
- }
223
- },
224
- serializer: serializer
225
- };
226
- var listStreamingJobsOperationSpec = {
227
- httpMethod: "POST",
228
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}/listStreamingJobs",
229
- urlParameters: [
230
- Parameters.subscriptionId,
231
- Parameters.resourceGroupName,
232
- Parameters.clusterName
233
- ],
234
- queryParameters: [
235
- Parameters.apiVersion1
236
- ],
237
- headerParameters: [
238
- Parameters.acceptLanguage
239
- ],
240
- responses: {
241
- 200: {
242
- bodyMapper: Mappers.ClusterJobListResult
243
- },
244
- default: {
245
- bodyMapper: Mappers.ErrorModel
246
- }
247
- },
248
- serializer: serializer
249
- };
250
- var beginCreateOrUpdateOperationSpec = {
251
- httpMethod: "PUT",
252
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
253
- urlParameters: [
254
- Parameters.subscriptionId,
255
- Parameters.resourceGroupName,
256
- Parameters.clusterName
257
- ],
258
- queryParameters: [
259
- Parameters.apiVersion1
260
- ],
261
- headerParameters: [
262
- Parameters.ifMatch,
263
- Parameters.ifNoneMatch,
264
- Parameters.acceptLanguage
265
- ],
266
- requestBody: {
267
- parameterPath: "cluster",
268
- mapper: __assign(__assign({}, Mappers.Cluster), { required: true })
269
- },
270
- responses: {
271
- 200: {
272
- bodyMapper: Mappers.Cluster
273
- },
274
- 201: {
275
- bodyMapper: Mappers.Cluster
276
- },
277
- default: {
278
- bodyMapper: Mappers.ErrorModel
279
- }
280
- },
281
- serializer: serializer
282
- };
283
- var beginUpdateOperationSpec = {
284
- httpMethod: "PATCH",
285
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
286
- urlParameters: [
287
- Parameters.subscriptionId,
288
- Parameters.resourceGroupName,
289
- Parameters.clusterName
290
- ],
291
- queryParameters: [
292
- Parameters.apiVersion1
293
- ],
294
- headerParameters: [
295
- Parameters.ifMatch,
296
- Parameters.acceptLanguage
297
- ],
298
- requestBody: {
299
- parameterPath: "cluster",
300
- mapper: __assign(__assign({}, Mappers.Cluster), { required: true })
301
- },
302
- responses: {
303
- 200: {
304
- bodyMapper: Mappers.Cluster
305
- },
306
- 202: {},
307
- default: {
308
- bodyMapper: Mappers.ErrorModel
309
- }
310
- },
311
- serializer: serializer
312
- };
313
- var beginDeleteMethodOperationSpec = {
314
- httpMethod: "DELETE",
315
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
316
- urlParameters: [
317
- Parameters.subscriptionId,
318
- Parameters.resourceGroupName,
319
- Parameters.clusterName
320
- ],
321
- queryParameters: [
322
- Parameters.apiVersion1
323
- ],
324
- headerParameters: [
325
- Parameters.acceptLanguage
326
- ],
327
- responses: {
328
- 200: {},
329
- 202: {},
330
- 204: {},
331
- default: {
332
- bodyMapper: Mappers.ErrorModel
333
- }
334
- },
335
- serializer: serializer
336
- };
337
- var listBySubscriptionNextOperationSpec = {
338
- httpMethod: "GET",
339
- baseUrl: "https://management.azure.com",
340
- path: "{nextLink}",
341
- urlParameters: [
342
- Parameters.nextPageLink
343
- ],
344
- queryParameters: [
345
- Parameters.apiVersion1
346
- ],
347
- headerParameters: [
348
- Parameters.acceptLanguage
349
- ],
350
- responses: {
351
- 200: {
352
- bodyMapper: Mappers.ClusterListResult
353
- },
354
- default: {
355
- bodyMapper: Mappers.ErrorModel
356
- }
357
- },
358
- serializer: serializer
359
- };
360
- var listByResourceGroupNextOperationSpec = {
361
- httpMethod: "GET",
362
- baseUrl: "https://management.azure.com",
363
- path: "{nextLink}",
364
- urlParameters: [
365
- Parameters.nextPageLink
366
- ],
367
- queryParameters: [
368
- Parameters.apiVersion1
369
- ],
370
- headerParameters: [
371
- Parameters.acceptLanguage
372
- ],
373
- responses: {
374
- 200: {
375
- bodyMapper: Mappers.ClusterListResult
376
- },
377
- default: {
378
- bodyMapper: Mappers.ErrorModel
379
- }
380
- },
381
- serializer: serializer
382
- };
383
- var listStreamingJobsNextOperationSpec = {
384
- httpMethod: "POST",
385
- baseUrl: "https://management.azure.com",
386
- path: "{nextLink}",
387
- urlParameters: [
388
- Parameters.nextPageLink
389
- ],
390
- queryParameters: [
391
- Parameters.apiVersion1
392
- ],
393
- headerParameters: [
394
- Parameters.acceptLanguage
395
- ],
396
- responses: {
397
- 200: {
398
- bodyMapper: Mappers.ClusterJobListResult
399
- },
400
- default: {
401
- bodyMapper: Mappers.ErrorModel
402
- }
403
- },
404
- serializer: serializer
405
- };
406
- //# sourceMappingURL=clusters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../src/operations/clusters.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,iCAAc,GAAd,UAAe,OAAuB,EAAE,iBAAyB,EAAE,WAAmB,EAAE,OAAqD;QAC3I,OAAO,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAC,iBAAiB,EAAC,WAAW,EAAC,OAAO,CAAC;aAC3E,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAAmD,CAAC;IACxG,CAAC;IAED;;;;;;;;;OASG;IACH,yBAAM,GAAN,UAAO,OAAuB,EAAE,iBAAyB,EAAE,WAAmB,EAAE,OAA6C;QAC3H,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,EAAC,iBAAiB,EAAC,WAAW,EAAC,OAAO,CAAC;aACnE,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAA2C,CAAC;IAChG,CAAC;IAuBD,sBAAG,GAAH,UAAI,iBAAyB,EAAE,WAAm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,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,kCAAkC,GAAyB;IAC/D,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,215 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/operations/functions.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5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