@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
@@ -454,6 +454,56 @@ export interface AggregateFunctionProperties {
454
454
  binding?: FunctionBindingUnion;
455
455
  }
456
456
 
457
+ /**
458
+ * Common error details representation.
459
+ */
460
+ export interface ErrorDetails {
461
+ /**
462
+ * Error code.
463
+ */
464
+ code?: string;
465
+ /**
466
+ * Error target.
467
+ */
468
+ target?: string;
469
+ /**
470
+ * Error message.
471
+ */
472
+ message?: string;
473
+ }
474
+
475
+ /**
476
+ * Error definition properties.
477
+ */
478
+ export interface ErrorError {
479
+ /**
480
+ * Error code.
481
+ */
482
+ code?: string;
483
+ /**
484
+ * Error message.
485
+ */
486
+ message?: string;
487
+ /**
488
+ * Error target.
489
+ */
490
+ target?: string;
491
+ /**
492
+ * Error details.
493
+ */
494
+ details?: ErrorDetails[];
495
+ }
496
+
497
+ /**
498
+ * Common error representation.
499
+ */
500
+ export interface ErrorModel {
501
+ /**
502
+ * Error definition properties.
503
+ */
504
+ error?: ErrorError;
505
+ }
506
+
457
507
  /**
458
508
  * Describes the error that occurred.
459
509
  */
@@ -597,7 +647,7 @@ export interface Input extends SubResource {
597
647
  /**
598
648
  * Contains the possible cases for StreamInputDataSource.
599
649
  */
600
- export type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource;
650
+ export type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource | RawStreamInputDataSource;
601
651
 
602
652
  /**
603
653
  * Describes an input data source that contains stream data.
@@ -650,7 +700,7 @@ export interface StreamInputProperties {
650
700
  /**
651
701
  * Contains the possible cases for ReferenceInputDataSource.
652
702
  */
653
- export type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | AzureSqlReferenceInputDataSource;
703
+ export type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | RawReferenceInputDataSource | AzureSqlReferenceInputDataSource;
654
704
 
655
705
  /**
656
706
  * Describes an input data source that contains reference data.
@@ -856,6 +906,28 @@ export interface IoTHubStreamInputDataSource {
856
906
  endpoint?: string;
857
907
  }
858
908
 
909
+ /**
910
+ * Describes a raw input data source that contains stream data. This data source type is only
911
+ * applicable/usable when using the query testing API. You cannot create a job with this data
912
+ * source type or add an input of this data source type to an existing job.
913
+ */
914
+ export interface RawStreamInputDataSource {
915
+ /**
916
+ * Polymorphic Discriminator
917
+ */
918
+ type: "Raw";
919
+ /**
920
+ * The JSON serialized content of the input data. Either payload or payloadUri must be set, but
921
+ * not both.
922
+ */
923
+ payload?: string;
924
+ /**
925
+ * The SAS URL to a blob containing the JSON serialized content of the input data. Either payload
926
+ * or payloadUri must be set, but not both.
927
+ */
928
+ payloadUri?: string;
929
+ }
930
+
859
931
  /**
860
932
  * Describes a blob input data source that contains reference data.
861
933
  */
@@ -894,6 +966,28 @@ export interface BlobReferenceInputDataSource {
894
966
  timeFormat?: string;
895
967
  }
896
968
 
969
+ /**
970
+ * Describes a raw input data source that contains reference data. This data source type is only
971
+ * applicable/usable when using the query testing API. You cannot create a job with this data
972
+ * source type or add an input of this data source type to an existing job.
973
+ */
974
+ export interface RawReferenceInputDataSource {
975
+ /**
976
+ * Polymorphic Discriminator
977
+ */
978
+ type: "Raw";
979
+ /**
980
+ * The JSON serialized content of the input data. Either payload or payloadUri must be set, but
981
+ * not both.
982
+ */
983
+ payload?: string;
984
+ /**
985
+ * The SAS URL to a blob containing the JSON serialized content of the input data. Either payload
986
+ * or payloadUri must be set, but not both.
987
+ */
988
+ payloadUri?: string;
989
+ }
990
+
897
991
  /**
898
992
  * The properties that are associated with an Azure Storage account
899
993
  */
@@ -1089,7 +1183,7 @@ export interface Identity {
1089
1183
  }
1090
1184
 
1091
1185
  /**
1092
- * An interface representing AzureSqlReferenceInputDataSourceProperties.
1186
+ * Describes Azure SQL database reference input data source properties.
1093
1187
  */
1094
1188
  export interface AzureSqlReferenceInputDataSourceProperties {
1095
1189
  /**
@@ -1155,7 +1249,7 @@ export interface AzureSqlReferenceInputDataSource {
1155
1249
  /**
1156
1250
  * Contains the possible cases for OutputDataSource.
1157
1251
  */
1158
- export type OutputDataSourceUnion = OutputDataSource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
1252
+ export type OutputDataSourceUnion = OutputDataSource | RawOutputDatasource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
1159
1253
 
1160
1254
  /**
1161
1255
  * Describes the data source that output will be written to.
@@ -1199,6 +1293,24 @@ export interface Output extends SubResource {
1199
1293
  readonly etag?: string;
1200
1294
  }
1201
1295
 
1296
+ /**
1297
+ * Describes a raw output data source. This data source type is only applicable/usable when using
1298
+ * the query testing API. You cannot create a job with this data source type or add an output of
1299
+ * this data source type to an existing job.
1300
+ */
1301
+ export interface RawOutputDatasource {
1302
+ /**
1303
+ * Polymorphic Discriminator
1304
+ */
1305
+ type: "Raw";
1306
+ /**
1307
+ * The SAS URL to a blob where the output should be written. If this property is not set, output
1308
+ * data will be written into a temporary storage, and a SAS URL to that temporary storage will be
1309
+ * included in the result.
1310
+ */
1311
+ payloadUri?: string;
1312
+ }
1313
+
1202
1314
  /**
1203
1315
  * Describes a blob output data source.
1204
1316
  */
@@ -1802,48 +1914,6 @@ export interface External {
1802
1914
  path?: string;
1803
1915
  }
1804
1916
 
1805
- /**
1806
- * Contains the localized display information for this particular operation / action.
1807
- */
1808
- export interface OperationDisplay {
1809
- /**
1810
- * The localized friendly form of the resource provider name.
1811
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1812
- */
1813
- readonly provider?: string;
1814
- /**
1815
- * The localized friendly form of the resource type related to this action/operation.
1816
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1817
- */
1818
- readonly resource?: string;
1819
- /**
1820
- * The localized friendly name for the operation.
1821
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1822
- */
1823
- readonly operation?: string;
1824
- /**
1825
- * The localized friendly description for the operation.
1826
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1827
- */
1828
- readonly description?: string;
1829
- }
1830
-
1831
- /**
1832
- * A Stream Analytics REST API operation
1833
- */
1834
- export interface Operation {
1835
- /**
1836
- * The name of the operation being performed on this particular object.
1837
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1838
- */
1839
- readonly name?: string;
1840
- /**
1841
- * Contains the localized display information for this particular operation / action.
1842
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1843
- */
1844
- readonly display?: OperationDisplay;
1845
- }
1846
-
1847
1917
  /**
1848
1918
  * The properties that are associated with a SKU.
1849
1919
  */
@@ -1900,7 +1970,7 @@ export interface ClusterInfo {
1900
1970
  }
1901
1971
 
1902
1972
  /**
1903
- * An interface representing Resource.
1973
+ * The base resource definition
1904
1974
  */
1905
1975
  export interface Resource extends BaseResource {
1906
1976
  /**
@@ -2108,31 +2178,334 @@ export interface ProxyResource extends Resource {
2108
2178
  }
2109
2179
 
2110
2180
  /**
2111
- * Describes the current quota for the subscription.
2181
+ * Describes the current quota for the subscription.
2182
+ */
2183
+ export interface SubscriptionQuota extends SubResource {
2184
+ /**
2185
+ * The max permitted usage of this resource.
2186
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2187
+ */
2188
+ readonly maxCount?: number;
2189
+ /**
2190
+ * The current usage of this resource.
2191
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2192
+ */
2193
+ readonly currentCount?: number;
2194
+ }
2195
+
2196
+ /**
2197
+ * Result of the GetQuotas operation. It contains a list of quotas for the subscription in a
2198
+ * particular region.
2199
+ */
2200
+ export interface SubscriptionQuotasListResult {
2201
+ /**
2202
+ * List of quotas for the subscription in a particular region.
2203
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2204
+ */
2205
+ readonly value?: SubscriptionQuota[];
2206
+ }
2207
+
2208
+ /**
2209
+ * Diagnostics information related to query testing.
2210
+ */
2211
+ export interface TestQueryDiagnostics {
2212
+ /**
2213
+ * The SAS URI to the container or directory.
2214
+ */
2215
+ writeUri: string;
2216
+ /**
2217
+ * The path to the subdirectory.
2218
+ */
2219
+ path?: string;
2220
+ }
2221
+
2222
+ /**
2223
+ * The request object for query testing.
2224
+ */
2225
+ export interface TestQuery {
2226
+ /**
2227
+ * Diagnostics information related to query testing.
2228
+ */
2229
+ diagnostics?: TestQueryDiagnostics;
2230
+ /**
2231
+ * Stream analytics job object which defines the input, output, and transformation for the query
2232
+ * testing.
2233
+ */
2234
+ streamingJob: StreamingJob;
2235
+ }
2236
+
2237
+ /**
2238
+ * The result of the query testing request.
2239
+ */
2240
+ export interface QueryTestingResult extends ErrorModel {
2241
+ /**
2242
+ * The status of the query testing request. Possible values include: 'Started', 'Success',
2243
+ * 'CompilerError', 'RuntimeError', 'Timeout', 'UnknownError'
2244
+ */
2245
+ status?: QueryTestingResultStatus;
2246
+ /**
2247
+ * The SAS URL to the outputs payload.
2248
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2249
+ */
2250
+ readonly outputUri?: string;
2251
+ }
2252
+
2253
+ /**
2254
+ * An input for the query compilation.
2255
+ */
2256
+ export interface QueryInput {
2257
+ /**
2258
+ * The name of the input.
2259
+ */
2260
+ name: string;
2261
+ /**
2262
+ * The type of the input, can be Stream or Reference.
2263
+ */
2264
+ type: string;
2265
+ }
2266
+
2267
+ /**
2268
+ * A function for the query compilation.
2269
+ */
2270
+ export interface QueryFunction {
2271
+ /**
2272
+ * The name of the function.
2273
+ */
2274
+ name: string;
2275
+ /**
2276
+ * The type of the function.
2277
+ */
2278
+ type: string;
2279
+ /**
2280
+ * The type of the function binding.
2281
+ */
2282
+ bindingType: string;
2283
+ /**
2284
+ * The inputs for the function.
2285
+ */
2286
+ inputs: FunctionInput[];
2287
+ /**
2288
+ * An output for the function.
2289
+ */
2290
+ output: FunctionOutput;
2291
+ }
2292
+
2293
+ /**
2294
+ * The query compilation object which defines the input, output, and transformation for the query
2295
+ * compilation.
2296
+ */
2297
+ export interface CompileQuery {
2298
+ /**
2299
+ * The query to compile.
2300
+ */
2301
+ query: string;
2302
+ /**
2303
+ * The inputs for the query compilation.
2304
+ */
2305
+ inputs?: QueryInput[];
2306
+ /**
2307
+ * The functions for the query compilation.
2308
+ */
2309
+ functions?: QueryFunction[];
2310
+ /**
2311
+ * Describes the type of the job. Valid values are `Cloud` and 'Edge'. Possible values include:
2312
+ * 'Cloud', 'Edge'
2313
+ */
2314
+ jobType: JobType;
2315
+ /**
2316
+ * The query to compile. Possible values include: '1.0'
2317
+ */
2318
+ compatibilityLevel?: CompatibilityLevel;
2319
+ }
2320
+
2321
+ /**
2322
+ * An error produced by the compiler.
2323
+ */
2324
+ export interface QueryCompilationError {
2325
+ /**
2326
+ * The content of the error message.
2327
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2328
+ */
2329
+ readonly message?: string;
2330
+ /**
2331
+ * Describes the error location in the original query. Not set if isGlobal is true.
2332
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2333
+ */
2334
+ readonly startLine?: number;
2335
+ /**
2336
+ * Describes the error location in the original query. Not set if isGlobal is true.
2337
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2338
+ */
2339
+ readonly startColumn?: number;
2340
+ /**
2341
+ * Describes the error location in the original query. Not set if isGlobal is true.
2342
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2343
+ */
2344
+ readonly endLine?: number;
2345
+ /**
2346
+ * Describes the error location in the original query. Not set if isGlobal is true.
2347
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2348
+ */
2349
+ readonly endColumn?: number;
2350
+ /**
2351
+ * Whether the error is not for a specific part but for the entire query.
2352
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2353
+ */
2354
+ readonly isGlobal?: boolean;
2355
+ }
2356
+
2357
+ /**
2358
+ * The result of the query compilation request.
2359
+ */
2360
+ export interface QueryCompilationResult {
2361
+ /**
2362
+ * Error messages produced by the compiler.
2363
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2364
+ */
2365
+ readonly errors?: QueryCompilationError[];
2366
+ /**
2367
+ * Warning messages produced by the compiler.
2368
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2369
+ */
2370
+ readonly warnings?: string[];
2371
+ /**
2372
+ * All input names used by the query.
2373
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2374
+ */
2375
+ readonly inputs?: string[];
2376
+ /**
2377
+ * All output names used by the query.
2378
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2379
+ */
2380
+ readonly outputs?: string[];
2381
+ /**
2382
+ * All function names used by the query.
2383
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2384
+ */
2385
+ readonly functions?: string[];
2386
+ }
2387
+
2388
+ /**
2389
+ * The stream analytics input to sample.
2390
+ */
2391
+ export interface SampleInput {
2392
+ /**
2393
+ * The stream analytics input to sample.
2394
+ */
2395
+ input?: Input;
2396
+ /**
2397
+ * Defaults to the default ASA job compatibility level. Today it is 1.2
2398
+ */
2399
+ compatibilityLevel?: string;
2400
+ /**
2401
+ * The SAS URI of the storage blob for service to write the sampled events to. If this parameter
2402
+ * is not provided, service will write events to he system account and share a temporary SAS URI
2403
+ * to it.
2404
+ */
2405
+ eventsUri?: string;
2406
+ /**
2407
+ * Defaults to en-US.
2408
+ */
2409
+ dataLocale?: string;
2410
+ }
2411
+
2412
+ /**
2413
+ * The result of the sample input request.
2414
+ */
2415
+ export interface SampleInputResult extends ErrorModel {
2416
+ /**
2417
+ * The status of the sample input request. Possible values include: 'ReadAllEventsInRange',
2418
+ * 'NoEventsFoundInRange', 'ErrorConnectingToInput'
2419
+ */
2420
+ status?: SampleInputResultStatus;
2421
+ /**
2422
+ * Diagnostics messages. E.g. message indicating some partitions from the input have no data.
2423
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2424
+ */
2425
+ readonly diagnostics?: string[];
2426
+ /**
2427
+ * A SAS URL to download the sampled input data.
2428
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2429
+ */
2430
+ readonly eventsDownloadUrl?: string;
2431
+ /**
2432
+ * The timestamp for the last event in the data. It is in DateTime format.
2433
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2434
+ */
2435
+ readonly lastArrivalTime?: string;
2436
+ }
2437
+
2438
+ /**
2439
+ * A stream analytics input.
2440
+ */
2441
+ export interface TestInput {
2442
+ /**
2443
+ * The stream analytics input to test.
2444
+ */
2445
+ input: Input;
2446
+ }
2447
+
2448
+ /**
2449
+ * A stream analytics output.
2450
+ */
2451
+ export interface TestOutput {
2452
+ /**
2453
+ * The stream analytics output to test.
2454
+ */
2455
+ output: Output;
2456
+ }
2457
+
2458
+ /**
2459
+ * The result of the test input or output request.
2460
+ */
2461
+ export interface TestDatasourceResult extends ErrorModel {
2462
+ /**
2463
+ * The status of the sample output request. Possible values include: 'TestSucceeded',
2464
+ * 'TestFailed'
2465
+ */
2466
+ status?: TestDatasourceResultStatus;
2467
+ }
2468
+
2469
+ /**
2470
+ * Contains the localized display information for this particular operation / action.
2112
2471
  */
2113
- export interface SubscriptionQuota extends SubResource {
2472
+ export interface OperationDisplay {
2114
2473
  /**
2115
- * The max permitted usage of this resource.
2474
+ * The localized friendly form of the resource provider name.
2116
2475
  * **NOTE: This property will not be serialized. It can only be populated by the server.**
2117
2476
  */
2118
- readonly maxCount?: number;
2477
+ readonly provider?: string;
2119
2478
  /**
2120
- * The current usage of this resource.
2479
+ * The localized friendly form of the resource type related to this action/operation.
2121
2480
  * **NOTE: This property will not be serialized. It can only be populated by the server.**
2122
2481
  */
2123
- readonly currentCount?: number;
2482
+ readonly resource?: string;
2483
+ /**
2484
+ * The localized friendly name for the operation.
2485
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2486
+ */
2487
+ readonly operation?: string;
2488
+ /**
2489
+ * The localized friendly description for the operation.
2490
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2491
+ */
2492
+ readonly description?: string;
2124
2493
  }
2125
2494
 
2126
2495
  /**
2127
- * Result of the GetQuotas operation. It contains a list of quotas for the subscription in a
2128
- * particular region.
2496
+ * A Stream Analytics REST API operation
2129
2497
  */
2130
- export interface SubscriptionQuotasListResult {
2498
+ export interface Operation {
2131
2499
  /**
2132
- * List of quotas for the subscription in a particular region.
2500
+ * The name of the operation being performed on this particular object.
2133
2501
  * **NOTE: This property will not be serialized. It can only be populated by the server.**
2134
2502
  */
2135
- readonly value?: SubscriptionQuota[];
2503
+ readonly name?: string;
2504
+ /**
2505
+ * Contains the localized display information for this particular operation / action.
2506
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
2507
+ */
2508
+ readonly display?: OperationDisplay;
2136
2509
  }
2137
2510
 
2138
2511
  /**
@@ -2223,56 +2596,6 @@ export interface ClusterJob {
2223
2596
  jobState?: JobState;
2224
2597
  }
2225
2598
 
2226
- /**
2227
- * Common error details representation.
2228
- */
2229
- export interface ErrorDetails {
2230
- /**
2231
- * Error code.
2232
- */
2233
- code?: string;
2234
- /**
2235
- * Error target.
2236
- */
2237
- target?: string;
2238
- /**
2239
- * Error message.
2240
- */
2241
- message?: string;
2242
- }
2243
-
2244
- /**
2245
- * Error definition properties.
2246
- */
2247
- export interface ErrorError {
2248
- /**
2249
- * Error code.
2250
- */
2251
- code?: string;
2252
- /**
2253
- * Error message.
2254
- */
2255
- message?: string;
2256
- /**
2257
- * Error target.
2258
- */
2259
- target?: string;
2260
- /**
2261
- * Error details.
2262
- */
2263
- details?: ErrorDetails[];
2264
- }
2265
-
2266
- /**
2267
- * Common error representation.
2268
- */
2269
- export interface ErrorModel {
2270
- /**
2271
- * Error definition properties.
2272
- */
2273
- error?: ErrorError;
2274
- }
2275
-
2276
2599
  /**
2277
2600
  * A collection of read-only information about the state of the connection to the private remote
2278
2601
  * resource.
@@ -3215,6 +3538,32 @@ export type CompatibilityLevel = '1.0';
3215
3538
  */
3216
3539
  export type ContentStoragePolicy = 'SystemAccount' | 'JobStorageAccount';
3217
3540
 
3541
+ /**
3542
+ * Defines values for QueryTestingResultStatus.
3543
+ * Possible values include: 'Started', 'Success', 'CompilerError', 'RuntimeError', 'Timeout',
3544
+ * 'UnknownError'
3545
+ * @readonly
3546
+ * @enum {string}
3547
+ */
3548
+ export type QueryTestingResultStatus = 'Started' | 'Success' | 'CompilerError' | 'RuntimeError' | 'Timeout' | 'UnknownError';
3549
+
3550
+ /**
3551
+ * Defines values for SampleInputResultStatus.
3552
+ * Possible values include: 'ReadAllEventsInRange', 'NoEventsFoundInRange',
3553
+ * 'ErrorConnectingToInput'
3554
+ * @readonly
3555
+ * @enum {string}
3556
+ */
3557
+ export type SampleInputResultStatus = 'ReadAllEventsInRange' | 'NoEventsFoundInRange' | 'ErrorConnectingToInput';
3558
+
3559
+ /**
3560
+ * Defines values for TestDatasourceResultStatus.
3561
+ * Possible values include: 'TestSucceeded', 'TestFailed'
3562
+ * @readonly
3563
+ * @enum {string}
3564
+ */
3565
+ export type TestDatasourceResultStatus = 'TestSucceeded' | 'TestFailed';
3566
+
3218
3567
  /**
3219
3568
  * Defines values for ClusterSkuName.
3220
3569
  * Possible values include: 'Default'
@@ -3900,6 +4249,186 @@ export type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult & {
3900
4249
  };
3901
4250
  };
3902
4251
 
4252
+ /**
4253
+ * Contains response data for the testQueryMethod operation.
4254
+ */
4255
+ export type SubscriptionsTestQueryMethodResponse = QueryTestingResult & {
4256
+ /**
4257
+ * The underlying HTTP response.
4258
+ */
4259
+ _response: msRest.HttpResponse & {
4260
+ /**
4261
+ * The response body as text (string format)
4262
+ */
4263
+ bodyAsText: string;
4264
+
4265
+ /**
4266
+ * The response body as parsed JSON or XML
4267
+ */
4268
+ parsedBody: QueryTestingResult;
4269
+ };
4270
+ };
4271
+
4272
+ /**
4273
+ * Contains response data for the compileQueryMethod operation.
4274
+ */
4275
+ export type SubscriptionsCompileQueryMethodResponse = QueryCompilationResult & {
4276
+ /**
4277
+ * The underlying HTTP response.
4278
+ */
4279
+ _response: msRest.HttpResponse & {
4280
+ /**
4281
+ * The response body as text (string format)
4282
+ */
4283
+ bodyAsText: string;
4284
+
4285
+ /**
4286
+ * The response body as parsed JSON or XML
4287
+ */
4288
+ parsedBody: QueryCompilationResult;
4289
+ };
4290
+ };
4291
+
4292
+ /**
4293
+ * Contains response data for the sampleInputMethod operation.
4294
+ */
4295
+ export type SubscriptionsSampleInputMethodResponse = SampleInputResult & {
4296
+ /**
4297
+ * The underlying HTTP response.
4298
+ */
4299
+ _response: msRest.HttpResponse & {
4300
+ /**
4301
+ * The response body as text (string format)
4302
+ */
4303
+ bodyAsText: string;
4304
+
4305
+ /**
4306
+ * The response body as parsed JSON or XML
4307
+ */
4308
+ parsedBody: SampleInputResult;
4309
+ };
4310
+ };
4311
+
4312
+ /**
4313
+ * Contains response data for the testInputMethod operation.
4314
+ */
4315
+ export type SubscriptionsTestInputMethodResponse = TestDatasourceResult & {
4316
+ /**
4317
+ * The underlying HTTP response.
4318
+ */
4319
+ _response: msRest.HttpResponse & {
4320
+ /**
4321
+ * The response body as text (string format)
4322
+ */
4323
+ bodyAsText: string;
4324
+
4325
+ /**
4326
+ * The response body as parsed JSON or XML
4327
+ */
4328
+ parsedBody: TestDatasourceResult;
4329
+ };
4330
+ };
4331
+
4332
+ /**
4333
+ * Contains response data for the testOutputMethod operation.
4334
+ */
4335
+ export type SubscriptionsTestOutputMethodResponse = TestDatasourceResult & {
4336
+ /**
4337
+ * The underlying HTTP response.
4338
+ */
4339
+ _response: msRest.HttpResponse & {
4340
+ /**
4341
+ * The response body as text (string format)
4342
+ */
4343
+ bodyAsText: string;
4344
+
4345
+ /**
4346
+ * The response body as parsed JSON or XML
4347
+ */
4348
+ parsedBody: TestDatasourceResult;
4349
+ };
4350
+ };
4351
+
4352
+ /**
4353
+ * Contains response data for the beginTestQueryMethod operation.
4354
+ */
4355
+ export type SubscriptionsBeginTestQueryMethodResponse = QueryTestingResult & {
4356
+ /**
4357
+ * The underlying HTTP response.
4358
+ */
4359
+ _response: msRest.HttpResponse & {
4360
+ /**
4361
+ * The response body as text (string format)
4362
+ */
4363
+ bodyAsText: string;
4364
+
4365
+ /**
4366
+ * The response body as parsed JSON or XML
4367
+ */
4368
+ parsedBody: QueryTestingResult;
4369
+ };
4370
+ };
4371
+
4372
+ /**
4373
+ * Contains response data for the beginSampleInputMethod operation.
4374
+ */
4375
+ export type SubscriptionsBeginSampleInputMethodResponse = SampleInputResult & {
4376
+ /**
4377
+ * The underlying HTTP response.
4378
+ */
4379
+ _response: msRest.HttpResponse & {
4380
+ /**
4381
+ * The response body as text (string format)
4382
+ */
4383
+ bodyAsText: string;
4384
+
4385
+ /**
4386
+ * The response body as parsed JSON or XML
4387
+ */
4388
+ parsedBody: SampleInputResult;
4389
+ };
4390
+ };
4391
+
4392
+ /**
4393
+ * Contains response data for the beginTestInputMethod operation.
4394
+ */
4395
+ export type SubscriptionsBeginTestInputMethodResponse = TestDatasourceResult & {
4396
+ /**
4397
+ * The underlying HTTP response.
4398
+ */
4399
+ _response: msRest.HttpResponse & {
4400
+ /**
4401
+ * The response body as text (string format)
4402
+ */
4403
+ bodyAsText: string;
4404
+
4405
+ /**
4406
+ * The response body as parsed JSON or XML
4407
+ */
4408
+ parsedBody: TestDatasourceResult;
4409
+ };
4410
+ };
4411
+
4412
+ /**
4413
+ * Contains response data for the beginTestOutputMethod operation.
4414
+ */
4415
+ export type SubscriptionsBeginTestOutputMethodResponse = TestDatasourceResult & {
4416
+ /**
4417
+ * The underlying HTTP response.
4418
+ */
4419
+ _response: msRest.HttpResponse & {
4420
+ /**
4421
+ * The response body as text (string format)
4422
+ */
4423
+ bodyAsText: string;
4424
+
4425
+ /**
4426
+ * The response body as parsed JSON or XML
4427
+ */
4428
+ parsedBody: TestDatasourceResult;
4429
+ };
4430
+ };
4431
+
3903
4432
  /**
3904
4433
  * Contains response data for the createOrReplace operation.
3905
4434
  */