@azure/arm-streamanalytics 2.1.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 (81) hide show
  1. package/README.md +3 -5
  2. package/dist/arm-streamanalytics.js +1050 -216
  3. package/dist/arm-streamanalytics.js.map +1 -1
  4. package/dist/arm-streamanalytics.min.js +1 -1
  5. package/dist/arm-streamanalytics.min.js.map +1 -1
  6. package/esm/models/clustersMappers.d.ts +1 -1
  7. package/esm/models/clustersMappers.d.ts.map +1 -1
  8. package/esm/models/clustersMappers.js +1 -1
  9. package/esm/models/clustersMappers.js.map +1 -1
  10. package/esm/models/functionsMappers.d.ts +1 -1
  11. package/esm/models/functionsMappers.d.ts.map +1 -1
  12. package/esm/models/functionsMappers.js +1 -1
  13. package/esm/models/functionsMappers.js.map +1 -1
  14. package/esm/models/index.d.ts +584 -92
  15. package/esm/models/index.d.ts.map +1 -1
  16. package/esm/models/inputsMappers.d.ts +1 -1
  17. package/esm/models/inputsMappers.d.ts.map +1 -1
  18. package/esm/models/inputsMappers.js +1 -1
  19. package/esm/models/inputsMappers.js.map +1 -1
  20. package/esm/models/mappers.d.ts +24 -5
  21. package/esm/models/mappers.d.ts.map +1 -1
  22. package/esm/models/mappers.js +648 -160
  23. package/esm/models/mappers.js.map +1 -1
  24. package/esm/models/operationsMappers.d.ts +1 -1
  25. package/esm/models/operationsMappers.d.ts.map +1 -1
  26. package/esm/models/operationsMappers.js +1 -1
  27. package/esm/models/operationsMappers.js.map +1 -1
  28. package/esm/models/outputsMappers.d.ts +1 -1
  29. package/esm/models/outputsMappers.d.ts.map +1 -1
  30. package/esm/models/outputsMappers.js +1 -1
  31. package/esm/models/outputsMappers.js.map +1 -1
  32. package/esm/models/privateEndpointsMappers.d.ts +1 -1
  33. package/esm/models/privateEndpointsMappers.d.ts.map +1 -1
  34. package/esm/models/privateEndpointsMappers.js +1 -1
  35. package/esm/models/privateEndpointsMappers.js.map +1 -1
  36. package/esm/models/streamingJobsMappers.d.ts +1 -1
  37. package/esm/models/streamingJobsMappers.d.ts.map +1 -1
  38. package/esm/models/streamingJobsMappers.js +1 -1
  39. package/esm/models/streamingJobsMappers.js.map +1 -1
  40. package/esm/models/subscriptionsMappers.d.ts +1 -1
  41. package/esm/models/subscriptionsMappers.d.ts.map +1 -1
  42. package/esm/models/subscriptionsMappers.js +1 -1
  43. package/esm/models/subscriptionsMappers.js.map +1 -1
  44. package/esm/models/transformationsMappers.d.ts +1 -1
  45. package/esm/models/transformationsMappers.d.ts.map +1 -1
  46. package/esm/models/transformationsMappers.js +1 -1
  47. package/esm/models/transformationsMappers.js.map +1 -1
  48. package/esm/operations/functions.js +9 -9
  49. package/esm/operations/inputs.js +7 -7
  50. package/esm/operations/operations.js +2 -2
  51. package/esm/operations/outputs.js +7 -7
  52. package/esm/operations/streamingJobs.js +10 -10
  53. package/esm/operations/subscriptions.d.ts +110 -9
  54. package/esm/operations/subscriptions.d.ts.map +1 -1
  55. package/esm/operations/subscriptions.js +257 -1
  56. package/esm/operations/subscriptions.js.map +1 -1
  57. package/esm/operations/transformations.js +3 -3
  58. package/esm/streamAnalyticsManagementClientContext.d.ts +1 -1
  59. package/esm/streamAnalyticsManagementClientContext.d.ts.map +1 -1
  60. package/esm/streamAnalyticsManagementClientContext.js +1 -1
  61. package/esm/streamAnalyticsManagementClientContext.js.map +1 -1
  62. package/package.json +1 -1
  63. package/src/models/clustersMappers.ts +6 -0
  64. package/src/models/functionsMappers.ts +9 -1
  65. package/src/models/index.ts +637 -108
  66. package/src/models/inputsMappers.ts +9 -1
  67. package/src/models/mappers.ts +682 -154
  68. package/src/models/operationsMappers.ts +7 -2
  69. package/src/models/outputsMappers.ts +9 -1
  70. package/src/models/privateEndpointsMappers.ts +6 -0
  71. package/src/models/streamingJobsMappers.ts +9 -1
  72. package/src/models/subscriptionsMappers.ts +19 -1
  73. package/src/models/transformationsMappers.ts +9 -1
  74. package/src/operations/functions.ts +9 -9
  75. package/src/operations/inputs.ts +7 -7
  76. package/src/operations/operations.ts +2 -2
  77. package/src/operations/outputs.ts +7 -7
  78. package/src/operations/streamingJobs.ts +10 -10
  79. package/src/operations/subscriptions.ts +334 -10
  80. package/src/operations/transformations.ts +3 -3
  81. package/src/streamAnalyticsManagementClientContext.ts +2 -2
@@ -6,6 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is
7
7
  * regenerated.
8
8
  */
9
+ import { __assign } from "tslib";
9
10
  import * as msRest from "@azure/ms-rest-js";
10
11
  import * as Mappers from "../models/subscriptionsMappers";
11
12
  import * as Parameters from "../models/parameters";
@@ -24,6 +25,125 @@ var Subscriptions = /** @class */ (function () {
24
25
  options: options
25
26
  }, listQuotasOperationSpec, callback);
26
27
  };
28
+ /**
29
+ * Test the Stream Analytics query on a sample input.
30
+ * @param testQuery The query testing object that defines the input, output, and transformation for
31
+ * the query testing.
32
+ * @param location The region to which the request is sent. You can find out which regions Azure
33
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
34
+ * @param [options] The optional parameters
35
+ * @returns Promise<Models.SubscriptionsTestQueryMethodResponse>
36
+ */
37
+ Subscriptions.prototype.testQueryMethod = function (testQuery, location, options) {
38
+ return this.beginTestQueryMethod(testQuery, location, options)
39
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
40
+ };
41
+ Subscriptions.prototype.compileQueryMethod = function (compileQuery, location, options, callback) {
42
+ return this.client.sendOperationRequest({
43
+ compileQuery: compileQuery,
44
+ location: location,
45
+ options: options
46
+ }, compileQueryMethodOperationSpec, callback);
47
+ };
48
+ /**
49
+ * Sample the Stream Analytics input data.
50
+ * @param sampleInput Defines the necessary parameters for sampling the Stream Analytics input
51
+ * data.
52
+ * @param location The region to which the request is sent. You can find out which regions Azure
53
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
54
+ * @param [options] The optional parameters
55
+ * @returns Promise<Models.SubscriptionsSampleInputMethodResponse>
56
+ */
57
+ Subscriptions.prototype.sampleInputMethod = function (sampleInput, location, options) {
58
+ return this.beginSampleInputMethod(sampleInput, location, options)
59
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
60
+ };
61
+ /**
62
+ * Test the Stream Analytics input.
63
+ * @param testInput Defines the necessary parameters for testing the Stream Analytics input.
64
+ * @param location The region to which the request is sent. You can find out which regions Azure
65
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
66
+ * @param [options] The optional parameters
67
+ * @returns Promise<Models.SubscriptionsTestInputMethodResponse>
68
+ */
69
+ Subscriptions.prototype.testInputMethod = function (testInput, location, options) {
70
+ return this.beginTestInputMethod(testInput, location, options)
71
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
72
+ };
73
+ /**
74
+ * Test the Stream Analytics output.
75
+ * @param testOutput Defines the necessary parameters for testing the Stream Analytics output.
76
+ * @param location The region to which the request is sent. You can find out which regions Azure
77
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
78
+ * @param [options] The optional parameters
79
+ * @returns Promise<Models.SubscriptionsTestOutputMethodResponse>
80
+ */
81
+ Subscriptions.prototype.testOutputMethod = function (testOutput, location, options) {
82
+ return this.beginTestOutputMethod(testOutput, location, options)
83
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
84
+ };
85
+ /**
86
+ * Test the Stream Analytics query on a sample input.
87
+ * @param testQuery The query testing object that defines the input, output, and transformation for
88
+ * the query testing.
89
+ * @param location The region to which the request is sent. You can find out which regions Azure
90
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
91
+ * @param [options] The optional parameters
92
+ * @returns Promise<msRestAzure.LROPoller>
93
+ */
94
+ Subscriptions.prototype.beginTestQueryMethod = function (testQuery, location, options) {
95
+ return this.client.sendLRORequest({
96
+ testQuery: testQuery,
97
+ location: location,
98
+ options: options
99
+ }, beginTestQueryMethodOperationSpec, options);
100
+ };
101
+ /**
102
+ * Sample the Stream Analytics input data.
103
+ * @param sampleInput Defines the necessary parameters for sampling the Stream Analytics input
104
+ * data.
105
+ * @param location The region to which the request is sent. You can find out which regions Azure
106
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
107
+ * @param [options] The optional parameters
108
+ * @returns Promise<msRestAzure.LROPoller>
109
+ */
110
+ Subscriptions.prototype.beginSampleInputMethod = function (sampleInput, location, options) {
111
+ return this.client.sendLRORequest({
112
+ sampleInput: sampleInput,
113
+ location: location,
114
+ options: options
115
+ }, beginSampleInputMethodOperationSpec, options);
116
+ };
117
+ /**
118
+ * Test the Stream Analytics input.
119
+ * @param testInput Defines the necessary parameters for testing the Stream Analytics input.
120
+ * @param location The region to which the request is sent. You can find out which regions Azure
121
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
122
+ * @param [options] The optional parameters
123
+ * @returns Promise<msRestAzure.LROPoller>
124
+ */
125
+ Subscriptions.prototype.beginTestInputMethod = function (testInput, location, options) {
126
+ return this.client.sendLRORequest({
127
+ testInput: testInput,
128
+ location: location,
129
+ options: options
130
+ }, beginTestInputMethodOperationSpec, options);
131
+ };
132
+ /**
133
+ * Test the Stream Analytics output.
134
+ * @param testOutput Defines the necessary parameters for testing the Stream Analytics output.
135
+ * @param location The region to which the request is sent. You can find out which regions Azure
136
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
137
+ * @param [options] The optional parameters
138
+ * @returns Promise<msRestAzure.LROPoller>
139
+ */
140
+ Subscriptions.prototype.beginTestOutputMethod = function (testOutput, location, options) {
141
+ return this.client.sendLRORequest({
142
+ testOutput: testOutput,
143
+ location: location,
144
+ options: options
145
+ }, beginTestOutputMethodOperationSpec, options);
146
+ };
27
147
  return Subscriptions;
28
148
  }());
29
149
  export { Subscriptions };
@@ -47,7 +167,143 @@ var listQuotasOperationSpec = {
47
167
  bodyMapper: Mappers.SubscriptionQuotasListResult
48
168
  },
49
169
  default: {
50
- bodyMapper: Mappers.CloudError
170
+ bodyMapper: Mappers.ErrorModel
171
+ }
172
+ },
173
+ serializer: serializer
174
+ };
175
+ var compileQueryMethodOperationSpec = {
176
+ httpMethod: "POST",
177
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/compileQuery",
178
+ urlParameters: [
179
+ Parameters.location,
180
+ Parameters.subscriptionId
181
+ ],
182
+ queryParameters: [
183
+ Parameters.apiVersion0
184
+ ],
185
+ headerParameters: [
186
+ Parameters.acceptLanguage
187
+ ],
188
+ requestBody: {
189
+ parameterPath: "compileQuery",
190
+ mapper: __assign(__assign({}, Mappers.CompileQuery), { required: true })
191
+ },
192
+ responses: {
193
+ 200: {
194
+ bodyMapper: Mappers.QueryCompilationResult
195
+ },
196
+ default: {
197
+ bodyMapper: Mappers.ErrorModel
198
+ }
199
+ },
200
+ serializer: serializer
201
+ };
202
+ var beginTestQueryMethodOperationSpec = {
203
+ httpMethod: "POST",
204
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testQuery",
205
+ urlParameters: [
206
+ Parameters.location,
207
+ Parameters.subscriptionId
208
+ ],
209
+ queryParameters: [
210
+ Parameters.apiVersion0
211
+ ],
212
+ headerParameters: [
213
+ Parameters.acceptLanguage
214
+ ],
215
+ requestBody: {
216
+ parameterPath: "testQuery",
217
+ mapper: __assign(__assign({}, Mappers.TestQuery), { required: true })
218
+ },
219
+ responses: {
220
+ 200: {
221
+ bodyMapper: Mappers.QueryTestingResult
222
+ },
223
+ 202: {},
224
+ default: {
225
+ bodyMapper: Mappers.ErrorModel
226
+ }
227
+ },
228
+ serializer: serializer
229
+ };
230
+ var beginSampleInputMethodOperationSpec = {
231
+ httpMethod: "POST",
232
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/sampleInput",
233
+ urlParameters: [
234
+ Parameters.location,
235
+ Parameters.subscriptionId
236
+ ],
237
+ queryParameters: [
238
+ Parameters.apiVersion0
239
+ ],
240
+ headerParameters: [
241
+ Parameters.acceptLanguage
242
+ ],
243
+ requestBody: {
244
+ parameterPath: "sampleInput",
245
+ mapper: __assign(__assign({}, Mappers.SampleInput), { required: true })
246
+ },
247
+ responses: {
248
+ 202: {
249
+ bodyMapper: Mappers.SampleInputResult
250
+ },
251
+ default: {
252
+ bodyMapper: Mappers.ErrorModel
253
+ }
254
+ },
255
+ serializer: serializer
256
+ };
257
+ var beginTestInputMethodOperationSpec = {
258
+ httpMethod: "POST",
259
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testInput",
260
+ urlParameters: [
261
+ Parameters.location,
262
+ Parameters.subscriptionId
263
+ ],
264
+ queryParameters: [
265
+ Parameters.apiVersion0
266
+ ],
267
+ headerParameters: [
268
+ Parameters.acceptLanguage
269
+ ],
270
+ requestBody: {
271
+ parameterPath: "testInput",
272
+ mapper: __assign(__assign({}, Mappers.TestInput), { required: true })
273
+ },
274
+ responses: {
275
+ 202: {
276
+ bodyMapper: Mappers.TestDatasourceResult
277
+ },
278
+ default: {
279
+ bodyMapper: Mappers.ErrorModel
280
+ }
281
+ },
282
+ serializer: serializer
283
+ };
284
+ var beginTestOutputMethodOperationSpec = {
285
+ httpMethod: "POST",
286
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testOutput",
287
+ urlParameters: [
288
+ Parameters.location,
289
+ Parameters.subscriptionId
290
+ ],
291
+ queryParameters: [
292
+ Parameters.apiVersion0
293
+ ],
294
+ headerParameters: [
295
+ Parameters.acceptLanguage
296
+ ],
297
+ requestBody: {
298
+ parameterPath: "testOutput",
299
+ mapper: __assign(__assign({}, Mappers.TestOutput), { required: true })
300
+ },
301
+ responses: {
302
+ 202: {
303
+ bodyMapper: Mappers.TestDatasourceResult
304
+ },
305
+ default: {
306
+ bodyMapper: Mappers.ErrorModel
51
307
  }
52
308
  },
53
309
  serializer: serializer
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../src/operations/subscriptions.ts"],"names":[],"mappings":"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QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,WAAW;QAC1B,MAAM,wBACD,OAAO,CAAC,SAAS,KACpB,QAAQ,EAAE,IAAI,GACf;KACF;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;AAEF,IAAM,kCAAkC,GAAyB;IAC/D,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,oGAAoG;IAC1G,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,UAAU,KACrB,QAAQ,EAAE,IAAI,GACf;KACF;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"}
@@ -81,7 +81,7 @@ var createOrReplaceOperationSpec = {
81
81
  headersMapper: Mappers.TransformationsCreateOrReplaceHeaders
82
82
  },
83
83
  default: {
84
- bodyMapper: Mappers.CloudError,
84
+ bodyMapper: Mappers.ErrorModel,
85
85
  headersMapper: Mappers.TransformationsCreateOrReplaceHeaders
86
86
  }
87
87
  },
@@ -113,7 +113,7 @@ var updateOperationSpec = {
113
113
  headersMapper: Mappers.TransformationsUpdateHeaders
114
114
  },
115
115
  default: {
116
- bodyMapper: Mappers.CloudError,
116
+ bodyMapper: Mappers.ErrorModel,
117
117
  headersMapper: Mappers.TransformationsUpdateHeaders
118
118
  }
119
119
  },
@@ -140,7 +140,7 @@ var getOperationSpec = {
140
140
  headersMapper: Mappers.TransformationsGetHeaders
141
141
  },
142
142
  default: {
143
- bodyMapper: Mappers.CloudError,
143
+ bodyMapper: Mappers.ErrorModel,
144
144
  headersMapper: Mappers.TransformationsGetHeaders
145
145
  }
146
146
  },
@@ -1,7 +1,7 @@
1
1
  import * as Models from "./models";
2
2
  import * as msRest from "@azure/ms-rest-js";
3
- import { TokenCredential } from "@azure/core-auth";
4
3
  import * as msRestAzure from "@azure/ms-rest-azure-js";
4
+ import { TokenCredential } from "@azure/core-auth";
5
5
  export declare class StreamAnalyticsManagementClientContext extends msRestAzure.AzureServiceClient {
6
6
  credentials: msRest.ServiceClientCredentials | TokenCredential;
7
7
  subscriptionId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"streamAnalyticsManagementClientContext.d.ts","sourceRoot":"","sources":["../src/streamAnalyticsManagementClientContext.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAKvD,qBAAa,sCAAuC,SAAQ,WAAW,CAAC,kBAAkB;IACxF,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,CAAC;IAC/D,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;;;;;OAUG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,sCAAsC;CAgC5J"}
1
+ {"version":3,"file":"streamAnalyticsManagementClientContext.d.ts","sourceRoot":"","sources":["../src/streamAnalyticsManagementClientContext.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKnD,qBAAa,sCAAuC,SAAQ,WAAW,CAAC,kBAAkB;IACxF,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,CAAC;IAC/D,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;;;;;OAUG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,sCAAsC;CAgC5J"}
@@ -9,7 +9,7 @@
9
9
  import { __extends } from "tslib";
10
10
  import * as msRestAzure from "@azure/ms-rest-azure-js";
11
11
  var packageName = "@azure/arm-streamanalytics";
12
- var packageVersion = "2.1.1";
12
+ var packageVersion = "3.0.0";
13
13
  var StreamAnalyticsManagementClientContext = /** @class */ (function (_super) {
14
14
  __extends(StreamAnalyticsManagementClientContext, _super);
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"streamAnalyticsManagementClientContext.js","sourceRoot":"","sources":["../src/streamAnalyticsManagementClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAKH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAEvD,IAAM,WAAW,GAAG,4BAA4B,CAAC;AACjD,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAA4D,0DAA8B;IAIxF;;;;;;;;;;OAUG;IACH,gDAAY,WAA8D,EAAE,cAAsB,EAAE,OAAuD;QAA3J,iBA+BC;QA9BC,IAAI,WAAW,IAAI,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QACD,IAAI,cAAc,IAAI,SAAS,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;SACvD;QAED,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,IAAM,gBAAgB,GAAG,WAAW,CAAC,wBAAwB,EAAE,CAAC;YAChE,OAAO,CAAC,SAAS,GAAM,WAAW,SAAI,cAAc,SAAI,gBAAkB,CAAC;SAC5E;QAED,QAAA,kBAAM,WAAW,EAAE,OAAO,CAAC,SAAC;QAE5B,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC;QAC9B,KAAI,CAAC,gCAAgC,GAAG,EAAE,CAAC;QAC3C,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,KAAI,CAAC,OAAO,IAAI,8BAA8B,CAAC;QACjF,KAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAC5D,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,IAAI,OAAO,CAAC,cAAc,KAAK,SAAS,EAAE;YAC3E,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;SAC9C;QACD,IAAI,OAAO,CAAC,gCAAgC,KAAK,IAAI,IAAI,OAAO,CAAC,gCAAgC,KAAK,SAAS,EAAE;YAC/G,KAAI,CAAC,gCAAgC,GAAG,OAAO,CAAC,gCAAgC,CAAC;SAClF;;IACH,CAAC;IACH,6CAAC;AAAD,CAAC,AA/CD,CAA4D,WAAW,CAAC,kBAAkB,GA+CzF"}
1
+ {"version":3,"file":"streamAnalyticsManagementClientContext.js","sourceRoot":"","sources":["../src/streamAnalyticsManagementClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAIH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAGvD,IAAM,WAAW,GAAG,4BAA4B,CAAC;AACjD,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAA4D,0DAA8B;IAIxF;;;;;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AkB,GA+CzF"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@azure/arm-streamanalytics",
3
3
  "author": "Microsoft Corporation",
4
4
  "description": "StreamAnalyticsManagementClient Library with typescript type definitions for node.js and browser.",
5
- "version": "2.1.1",
5
+ "version": "3.0.0",
6
6
  "dependencies": {
7
7
  "@azure/ms-rest-azure-js": "^2.1.0",
8
8
  "@azure/ms-rest-js": "^2.2.0",
@@ -71,9 +71,14 @@ export {
71
71
  PrivateLinkConnectionState,
72
72
  PrivateLinkServiceConnection,
73
73
  ProxyResource,
74
+ QueryTestingResult,
75
+ RawOutputDatasource,
76
+ RawReferenceInputDataSource,
77
+ RawStreamInputDataSource,
74
78
  ReferenceInputDataSource,
75
79
  ReferenceInputProperties,
76
80
  Resource,
81
+ SampleInputResult,
77
82
  ScalarFunctionProperties,
78
83
  Serialization,
79
84
  ServiceBusQueueOutputDataSource,
@@ -85,6 +90,7 @@ export {
85
90
  StreamInputProperties,
86
91
  SubResource,
87
92
  SubscriptionQuota,
93
+ TestDatasourceResult,
88
94
  TrackedResource,
89
95
  Transformation
90
96
  } from "../models/mappers";
@@ -30,7 +30,6 @@ export {
30
30
  BlobOutputDataSource,
31
31
  BlobReferenceInputDataSource,
32
32
  BlobStreamInputDataSource,
33
- CloudError,
34
33
  Cluster,
35
34
  ClusterInfo,
36
35
  ClusterProperties,
@@ -43,6 +42,9 @@ export {
43
42
  DiagnosticCondition,
44
43
  Diagnostics,
45
44
  DocumentDbOutputDataSource,
45
+ ErrorDetails,
46
+ ErrorError,
47
+ ErrorModel,
46
48
  ErrorResponse,
47
49
  EventHubOutputDataSource,
48
50
  EventHubStreamInputDataSource,
@@ -76,10 +78,15 @@ export {
76
78
  PrivateLinkConnectionState,
77
79
  PrivateLinkServiceConnection,
78
80
  ProxyResource,
81
+ QueryTestingResult,
82
+ RawOutputDatasource,
83
+ RawReferenceInputDataSource,
84
+ RawStreamInputDataSource,
79
85
  ReferenceInputDataSource,
80
86
  ReferenceInputProperties,
81
87
  Resource,
82
88
  ResourceTestStatus,
89
+ SampleInputResult,
83
90
  ScalarFunctionProperties,
84
91
  Serialization,
85
92
  ServiceBusQueueOutputDataSource,
@@ -91,6 +98,7 @@ export {
91
98
  StreamInputProperties,
92
99
  SubResource,
93
100
  SubscriptionQuota,
101
+ TestDatasourceResult,
94
102
  TrackedResource,
95
103
  Transformation
96
104
  } from "../models/mappers";