@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
@@ -654,6 +654,88 @@
654
654
  modelProperties: __assign({}, FunctionProperties.type.modelProperties)
655
655
  }
656
656
  };
657
+ var ErrorDetails = {
658
+ serializedName: "ErrorDetails",
659
+ type: {
660
+ name: "Composite",
661
+ className: "ErrorDetails",
662
+ modelProperties: {
663
+ code: {
664
+ serializedName: "code",
665
+ type: {
666
+ name: "String"
667
+ }
668
+ },
669
+ target: {
670
+ serializedName: "target",
671
+ type: {
672
+ name: "String"
673
+ }
674
+ },
675
+ message: {
676
+ serializedName: "message",
677
+ type: {
678
+ name: "String"
679
+ }
680
+ }
681
+ }
682
+ }
683
+ };
684
+ var ErrorError = {
685
+ serializedName: "Error_error",
686
+ type: {
687
+ name: "Composite",
688
+ className: "ErrorError",
689
+ modelProperties: {
690
+ code: {
691
+ serializedName: "code",
692
+ type: {
693
+ name: "String"
694
+ }
695
+ },
696
+ message: {
697
+ serializedName: "message",
698
+ type: {
699
+ name: "String"
700
+ }
701
+ },
702
+ target: {
703
+ serializedName: "target",
704
+ type: {
705
+ name: "String"
706
+ }
707
+ },
708
+ details: {
709
+ serializedName: "details",
710
+ type: {
711
+ name: "Sequence",
712
+ element: {
713
+ type: {
714
+ name: "Composite",
715
+ className: "ErrorDetails"
716
+ }
717
+ }
718
+ }
719
+ }
720
+ }
721
+ }
722
+ };
723
+ var ErrorModel = {
724
+ serializedName: "Error",
725
+ type: {
726
+ name: "Composite",
727
+ className: "ErrorModel",
728
+ modelProperties: {
729
+ error: {
730
+ serializedName: "error",
731
+ type: {
732
+ name: "Composite",
733
+ className: "ErrorError"
734
+ }
735
+ }
736
+ }
737
+ }
738
+ };
657
739
  var ErrorResponse = {
658
740
  serializedName: "ErrorResponse",
659
741
  type: {
@@ -1095,6 +1177,26 @@
1095
1177
  } })
1096
1178
  }
1097
1179
  };
1180
+ var RawStreamInputDataSource = {
1181
+ serializedName: "Raw",
1182
+ type: {
1183
+ name: "Composite",
1184
+ polymorphicDiscriminator: StreamInputDataSource.type.polymorphicDiscriminator,
1185
+ uberParent: "StreamInputDataSource",
1186
+ className: "RawStreamInputDataSource",
1187
+ modelProperties: __assign(__assign({}, StreamInputDataSource.type.modelProperties), { payload: {
1188
+ serializedName: "properties.payload",
1189
+ type: {
1190
+ name: "String"
1191
+ }
1192
+ }, payloadUri: {
1193
+ serializedName: "properties.payloadUri",
1194
+ type: {
1195
+ name: "String"
1196
+ }
1197
+ } })
1198
+ }
1199
+ };
1098
1200
  var BlobReferenceInputDataSource = {
1099
1201
  serializedName: "Microsoft.Storage/Blob",
1100
1202
  type: {
@@ -1136,6 +1238,26 @@
1136
1238
  } })
1137
1239
  }
1138
1240
  };
1241
+ var RawReferenceInputDataSource = {
1242
+ serializedName: "Raw",
1243
+ type: {
1244
+ name: "Composite",
1245
+ polymorphicDiscriminator: ReferenceInputDataSource.type.polymorphicDiscriminator,
1246
+ uberParent: "ReferenceInputDataSource",
1247
+ className: "RawReferenceInputDataSource",
1248
+ modelProperties: __assign(__assign({}, ReferenceInputDataSource.type.modelProperties), { payload: {
1249
+ serializedName: "properties.payload",
1250
+ type: {
1251
+ name: "String"
1252
+ }
1253
+ }, payloadUri: {
1254
+ serializedName: "properties.payloadUri",
1255
+ type: {
1256
+ name: "String"
1257
+ }
1258
+ } })
1259
+ }
1260
+ };
1139
1261
  var StorageAccount = {
1140
1262
  serializedName: "StorageAccount",
1141
1263
  type: {
@@ -1508,6 +1630,21 @@
1508
1630
  } })
1509
1631
  }
1510
1632
  };
1633
+ var RawOutputDatasource = {
1634
+ serializedName: "Raw",
1635
+ type: {
1636
+ name: "Composite",
1637
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
1638
+ uberParent: "OutputDataSource",
1639
+ className: "RawOutputDatasource",
1640
+ modelProperties: __assign(__assign({}, OutputDataSource.type.modelProperties), { payloadUri: {
1641
+ serializedName: "properties.payloadUri",
1642
+ type: {
1643
+ name: "String"
1644
+ }
1645
+ } })
1646
+ }
1647
+ };
1511
1648
  var BlobOutputDataSource = {
1512
1649
  serializedName: "Microsoft.Storage/Blob",
1513
1650
  type: {
@@ -2230,67 +2367,6 @@
2230
2367
  }
2231
2368
  }
2232
2369
  };
2233
- var OperationDisplay = {
2234
- serializedName: "Operation_display",
2235
- type: {
2236
- name: "Composite",
2237
- className: "OperationDisplay",
2238
- modelProperties: {
2239
- provider: {
2240
- readOnly: true,
2241
- serializedName: "provider",
2242
- type: {
2243
- name: "String"
2244
- }
2245
- },
2246
- resource: {
2247
- readOnly: true,
2248
- serializedName: "resource",
2249
- type: {
2250
- name: "String"
2251
- }
2252
- },
2253
- operation: {
2254
- readOnly: true,
2255
- serializedName: "operation",
2256
- type: {
2257
- name: "String"
2258
- }
2259
- },
2260
- description: {
2261
- readOnly: true,
2262
- serializedName: "description",
2263
- type: {
2264
- name: "String"
2265
- }
2266
- }
2267
- }
2268
- }
2269
- };
2270
- var Operation = {
2271
- serializedName: "Operation",
2272
- type: {
2273
- name: "Composite",
2274
- className: "Operation",
2275
- modelProperties: {
2276
- name: {
2277
- readOnly: true,
2278
- serializedName: "name",
2279
- type: {
2280
- name: "String"
2281
- }
2282
- },
2283
- display: {
2284
- readOnly: true,
2285
- serializedName: "display",
2286
- type: {
2287
- name: "Composite",
2288
- className: "OperationDisplay"
2289
- }
2290
- }
2291
- }
2292
- }
2293
- };
2294
2370
  var StreamingJobSku = {
2295
2371
  serializedName: "StreamingJobSku",
2296
2372
  type: {
@@ -2645,206 +2721,615 @@
2645
2721
  }
2646
2722
  }
2647
2723
  };
2648
- var ClusterSku = {
2649
- serializedName: "ClusterSku",
2724
+ var TestQueryDiagnostics = {
2725
+ serializedName: "TestQuery_diagnostics",
2650
2726
  type: {
2651
2727
  name: "Composite",
2652
- className: "ClusterSku",
2728
+ className: "TestQueryDiagnostics",
2653
2729
  modelProperties: {
2654
- name: {
2655
- serializedName: "name",
2730
+ writeUri: {
2731
+ required: true,
2732
+ serializedName: "writeUri",
2656
2733
  type: {
2657
2734
  name: "String"
2658
2735
  }
2659
2736
  },
2660
- capacity: {
2661
- serializedName: "capacity",
2662
- constraints: {
2663
- InclusiveMaximum: 216,
2664
- InclusiveMinimum: 36
2665
- },
2737
+ path: {
2738
+ serializedName: "path",
2666
2739
  type: {
2667
- name: "Number"
2740
+ name: "String"
2668
2741
  }
2669
2742
  }
2670
2743
  }
2671
2744
  }
2672
2745
  };
2673
- var ClusterProperties = {
2674
- serializedName: "ClusterProperties",
2746
+ var TestQuery = {
2747
+ serializedName: "TestQuery",
2675
2748
  type: {
2676
2749
  name: "Composite",
2677
- className: "ClusterProperties",
2750
+ className: "TestQuery",
2678
2751
  modelProperties: {
2679
- createdDate: {
2680
- readOnly: true,
2681
- serializedName: "createdDate",
2682
- type: {
2683
- name: "DateTime"
2684
- }
2685
- },
2686
- clusterId: {
2687
- readOnly: true,
2688
- serializedName: "clusterId",
2689
- type: {
2690
- name: "String"
2691
- }
2692
- },
2693
- provisioningState: {
2694
- serializedName: "provisioningState",
2695
- type: {
2696
- name: "String"
2697
- }
2698
- },
2699
- capacityAllocated: {
2700
- readOnly: true,
2701
- serializedName: "capacityAllocated",
2752
+ diagnostics: {
2753
+ serializedName: "diagnostics",
2702
2754
  type: {
2703
- name: "Number"
2755
+ name: "Composite",
2756
+ className: "TestQueryDiagnostics"
2704
2757
  }
2705
2758
  },
2706
- capacityAssigned: {
2707
- readOnly: true,
2708
- serializedName: "capacityAssigned",
2759
+ streamingJob: {
2760
+ required: true,
2761
+ serializedName: "streamingJob",
2709
2762
  type: {
2710
- name: "Number"
2763
+ name: "Composite",
2764
+ className: "StreamingJob"
2711
2765
  }
2712
2766
  }
2713
2767
  }
2714
2768
  }
2715
2769
  };
2716
- var Cluster = {
2717
- serializedName: "Cluster",
2770
+ var QueryTestingResult = {
2771
+ serializedName: "QueryTestingResult",
2718
2772
  type: {
2719
2773
  name: "Composite",
2720
- className: "Cluster",
2721
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { sku: {
2722
- serializedName: "sku",
2774
+ className: "QueryTestingResult",
2775
+ modelProperties: __assign(__assign({}, ErrorModel.type.modelProperties), { status: {
2776
+ serializedName: "status",
2723
2777
  type: {
2724
- name: "Composite",
2725
- className: "ClusterSku"
2778
+ name: "String"
2726
2779
  }
2727
- }, etag: {
2780
+ }, outputUri: {
2728
2781
  readOnly: true,
2729
- serializedName: "etag",
2782
+ serializedName: "outputUri",
2730
2783
  type: {
2731
2784
  name: "String"
2732
2785
  }
2733
- }, properties: {
2734
- serializedName: "properties",
2735
- type: {
2736
- name: "Composite",
2737
- className: "ClusterProperties"
2738
- }
2739
2786
  } })
2740
2787
  }
2741
2788
  };
2742
- var ClusterJob = {
2743
- serializedName: "ClusterJob",
2789
+ var QueryInput = {
2790
+ serializedName: "QueryInput",
2744
2791
  type: {
2745
2792
  name: "Composite",
2746
- className: "ClusterJob",
2793
+ className: "QueryInput",
2747
2794
  modelProperties: {
2748
- id: {
2749
- readOnly: true,
2750
- serializedName: "id",
2751
- type: {
2752
- name: "String"
2795
+ name: {
2796
+ required: true,
2797
+ serializedName: "name",
2798
+ type: {
2799
+ name: "String"
2753
2800
  }
2754
2801
  },
2755
- streamingUnits: {
2756
- readOnly: true,
2757
- serializedName: "streamingUnits",
2802
+ type: {
2803
+ required: true,
2804
+ serializedName: "type",
2758
2805
  type: {
2759
- name: "Number"
2806
+ name: "String"
2807
+ }
2808
+ }
2809
+ }
2810
+ }
2811
+ };
2812
+ var QueryFunction = {
2813
+ serializedName: "QueryFunction",
2814
+ type: {
2815
+ name: "Composite",
2816
+ className: "QueryFunction",
2817
+ modelProperties: {
2818
+ name: {
2819
+ required: true,
2820
+ serializedName: "name",
2821
+ type: {
2822
+ name: "String"
2760
2823
  }
2761
2824
  },
2762
- jobState: {
2763
- serializedName: "jobState",
2825
+ type: {
2826
+ required: true,
2827
+ serializedName: "type",
2764
2828
  type: {
2765
2829
  name: "String"
2766
2830
  }
2831
+ },
2832
+ bindingType: {
2833
+ required: true,
2834
+ serializedName: "bindingType",
2835
+ type: {
2836
+ name: "String"
2837
+ }
2838
+ },
2839
+ inputs: {
2840
+ required: true,
2841
+ serializedName: "inputs",
2842
+ type: {
2843
+ name: "Sequence",
2844
+ element: {
2845
+ type: {
2846
+ name: "Composite",
2847
+ className: "FunctionInput"
2848
+ }
2849
+ }
2850
+ }
2851
+ },
2852
+ output: {
2853
+ required: true,
2854
+ serializedName: "output",
2855
+ type: {
2856
+ name: "Composite",
2857
+ className: "FunctionOutput"
2858
+ }
2767
2859
  }
2768
2860
  }
2769
2861
  }
2770
2862
  };
2771
- var ErrorDetails = {
2772
- serializedName: "ErrorDetails",
2863
+ var CompileQuery = {
2864
+ serializedName: "CompileQuery",
2773
2865
  type: {
2774
2866
  name: "Composite",
2775
- className: "ErrorDetails",
2867
+ className: "CompileQuery",
2776
2868
  modelProperties: {
2777
- code: {
2778
- serializedName: "code",
2869
+ query: {
2870
+ required: true,
2871
+ serializedName: "query",
2779
2872
  type: {
2780
2873
  name: "String"
2781
2874
  }
2782
2875
  },
2783
- target: {
2784
- serializedName: "target",
2876
+ inputs: {
2877
+ serializedName: "inputs",
2878
+ type: {
2879
+ name: "Sequence",
2880
+ element: {
2881
+ type: {
2882
+ name: "Composite",
2883
+ className: "QueryInput"
2884
+ }
2885
+ }
2886
+ }
2887
+ },
2888
+ functions: {
2889
+ serializedName: "functions",
2890
+ type: {
2891
+ name: "Sequence",
2892
+ element: {
2893
+ type: {
2894
+ name: "Composite",
2895
+ className: "QueryFunction"
2896
+ }
2897
+ }
2898
+ }
2899
+ },
2900
+ jobType: {
2901
+ required: true,
2902
+ serializedName: "jobType",
2785
2903
  type: {
2786
2904
  name: "String"
2787
2905
  }
2788
2906
  },
2907
+ compatibilityLevel: {
2908
+ serializedName: "compatibilityLevel",
2909
+ type: {
2910
+ name: "String"
2911
+ }
2912
+ }
2913
+ }
2914
+ }
2915
+ };
2916
+ var QueryCompilationError = {
2917
+ serializedName: "QueryCompilationError",
2918
+ type: {
2919
+ name: "Composite",
2920
+ className: "QueryCompilationError",
2921
+ modelProperties: {
2789
2922
  message: {
2923
+ readOnly: true,
2790
2924
  serializedName: "message",
2791
2925
  type: {
2792
2926
  name: "String"
2793
2927
  }
2928
+ },
2929
+ startLine: {
2930
+ readOnly: true,
2931
+ serializedName: "startLine",
2932
+ type: {
2933
+ name: "Number"
2934
+ }
2935
+ },
2936
+ startColumn: {
2937
+ readOnly: true,
2938
+ serializedName: "startColumn",
2939
+ type: {
2940
+ name: "Number"
2941
+ }
2942
+ },
2943
+ endLine: {
2944
+ readOnly: true,
2945
+ serializedName: "endLine",
2946
+ type: {
2947
+ name: "Number"
2948
+ }
2949
+ },
2950
+ endColumn: {
2951
+ readOnly: true,
2952
+ serializedName: "endColumn",
2953
+ type: {
2954
+ name: "Number"
2955
+ }
2956
+ },
2957
+ isGlobal: {
2958
+ readOnly: true,
2959
+ serializedName: "isGlobal",
2960
+ type: {
2961
+ name: "Boolean"
2962
+ }
2794
2963
  }
2795
2964
  }
2796
2965
  }
2797
2966
  };
2798
- var ErrorError = {
2799
- serializedName: "Error_error",
2967
+ var QueryCompilationResult = {
2968
+ serializedName: "QueryCompilationResult",
2800
2969
  type: {
2801
2970
  name: "Composite",
2802
- className: "ErrorError",
2971
+ className: "QueryCompilationResult",
2803
2972
  modelProperties: {
2804
- code: {
2805
- serializedName: "code",
2973
+ errors: {
2974
+ readOnly: true,
2975
+ serializedName: "errors",
2806
2976
  type: {
2807
- name: "String"
2977
+ name: "Sequence",
2978
+ element: {
2979
+ type: {
2980
+ name: "Composite",
2981
+ className: "QueryCompilationError"
2982
+ }
2983
+ }
2808
2984
  }
2809
2985
  },
2810
- message: {
2811
- serializedName: "message",
2986
+ warnings: {
2987
+ readOnly: true,
2988
+ serializedName: "warnings",
2989
+ type: {
2990
+ name: "Sequence",
2991
+ element: {
2992
+ type: {
2993
+ name: "String"
2994
+ }
2995
+ }
2996
+ }
2997
+ },
2998
+ inputs: {
2999
+ readOnly: true,
3000
+ serializedName: "inputs",
3001
+ type: {
3002
+ name: "Sequence",
3003
+ element: {
3004
+ type: {
3005
+ name: "String"
3006
+ }
3007
+ }
3008
+ }
3009
+ },
3010
+ outputs: {
3011
+ readOnly: true,
3012
+ serializedName: "outputs",
3013
+ type: {
3014
+ name: "Sequence",
3015
+ element: {
3016
+ type: {
3017
+ name: "String"
3018
+ }
3019
+ }
3020
+ }
3021
+ },
3022
+ functions: {
3023
+ readOnly: true,
3024
+ serializedName: "functions",
3025
+ type: {
3026
+ name: "Sequence",
3027
+ element: {
3028
+ type: {
3029
+ name: "String"
3030
+ }
3031
+ }
3032
+ }
3033
+ }
3034
+ }
3035
+ }
3036
+ };
3037
+ var SampleInput = {
3038
+ serializedName: "SampleInput",
3039
+ type: {
3040
+ name: "Composite",
3041
+ className: "SampleInput",
3042
+ modelProperties: {
3043
+ input: {
3044
+ serializedName: "input",
3045
+ type: {
3046
+ name: "Composite",
3047
+ className: "Input"
3048
+ }
3049
+ },
3050
+ compatibilityLevel: {
3051
+ serializedName: "compatibilityLevel",
2812
3052
  type: {
2813
3053
  name: "String"
2814
3054
  }
2815
3055
  },
2816
- target: {
2817
- serializedName: "target",
3056
+ eventsUri: {
3057
+ serializedName: "eventsUri",
2818
3058
  type: {
2819
3059
  name: "String"
2820
3060
  }
2821
3061
  },
2822
- details: {
2823
- serializedName: "details",
3062
+ dataLocale: {
3063
+ serializedName: "dataLocale",
3064
+ type: {
3065
+ name: "String"
3066
+ }
3067
+ }
3068
+ }
3069
+ }
3070
+ };
3071
+ var SampleInputResult = {
3072
+ serializedName: "SampleInputResult",
3073
+ type: {
3074
+ name: "Composite",
3075
+ className: "SampleInputResult",
3076
+ modelProperties: __assign(__assign({}, ErrorModel.type.modelProperties), { status: {
3077
+ serializedName: "status",
3078
+ type: {
3079
+ name: "String"
3080
+ }
3081
+ }, diagnostics: {
3082
+ readOnly: true,
3083
+ serializedName: "diagnostics",
2824
3084
  type: {
2825
3085
  name: "Sequence",
2826
3086
  element: {
2827
3087
  type: {
2828
- name: "Composite",
2829
- className: "ErrorDetails"
3088
+ name: "String"
2830
3089
  }
2831
3090
  }
2832
3091
  }
2833
- }
2834
- }
3092
+ }, eventsDownloadUrl: {
3093
+ readOnly: true,
3094
+ serializedName: "eventsDownloadUrl",
3095
+ type: {
3096
+ name: "String"
3097
+ }
3098
+ }, lastArrivalTime: {
3099
+ readOnly: true,
3100
+ serializedName: "lastArrivalTime",
3101
+ type: {
3102
+ name: "String"
3103
+ }
3104
+ } })
3105
+ }
3106
+ };
3107
+ var TestInput = {
3108
+ serializedName: "TestInput",
3109
+ type: {
3110
+ name: "Composite",
3111
+ className: "TestInput",
3112
+ modelProperties: {
3113
+ input: {
3114
+ required: true,
3115
+ serializedName: "input",
3116
+ type: {
3117
+ name: "Composite",
3118
+ className: "Input"
3119
+ }
3120
+ }
3121
+ }
3122
+ }
3123
+ };
3124
+ var TestOutput = {
3125
+ serializedName: "TestOutput",
3126
+ type: {
3127
+ name: "Composite",
3128
+ className: "TestOutput",
3129
+ modelProperties: {
3130
+ output: {
3131
+ required: true,
3132
+ serializedName: "output",
3133
+ type: {
3134
+ name: "Composite",
3135
+ className: "Output"
3136
+ }
3137
+ }
3138
+ }
3139
+ }
3140
+ };
3141
+ var TestDatasourceResult = {
3142
+ serializedName: "TestDatasourceResult",
3143
+ type: {
3144
+ name: "Composite",
3145
+ className: "TestDatasourceResult",
3146
+ modelProperties: __assign(__assign({}, ErrorModel.type.modelProperties), { status: {
3147
+ serializedName: "status",
3148
+ type: {
3149
+ name: "String"
3150
+ }
3151
+ } })
3152
+ }
3153
+ };
3154
+ var OperationDisplay = {
3155
+ serializedName: "Operation_display",
3156
+ type: {
3157
+ name: "Composite",
3158
+ className: "OperationDisplay",
3159
+ modelProperties: {
3160
+ provider: {
3161
+ readOnly: true,
3162
+ serializedName: "provider",
3163
+ type: {
3164
+ name: "String"
3165
+ }
3166
+ },
3167
+ resource: {
3168
+ readOnly: true,
3169
+ serializedName: "resource",
3170
+ type: {
3171
+ name: "String"
3172
+ }
3173
+ },
3174
+ operation: {
3175
+ readOnly: true,
3176
+ serializedName: "operation",
3177
+ type: {
3178
+ name: "String"
3179
+ }
3180
+ },
3181
+ description: {
3182
+ readOnly: true,
3183
+ serializedName: "description",
3184
+ type: {
3185
+ name: "String"
3186
+ }
3187
+ }
3188
+ }
3189
+ }
3190
+ };
3191
+ var Operation = {
3192
+ serializedName: "Operation",
3193
+ type: {
3194
+ name: "Composite",
3195
+ className: "Operation",
3196
+ modelProperties: {
3197
+ name: {
3198
+ readOnly: true,
3199
+ serializedName: "name",
3200
+ type: {
3201
+ name: "String"
3202
+ }
3203
+ },
3204
+ display: {
3205
+ readOnly: true,
3206
+ serializedName: "display",
3207
+ type: {
3208
+ name: "Composite",
3209
+ className: "OperationDisplay"
3210
+ }
3211
+ }
3212
+ }
3213
+ }
3214
+ };
3215
+ var ClusterSku = {
3216
+ serializedName: "ClusterSku",
3217
+ type: {
3218
+ name: "Composite",
3219
+ className: "ClusterSku",
3220
+ modelProperties: {
3221
+ name: {
3222
+ serializedName: "name",
3223
+ type: {
3224
+ name: "String"
3225
+ }
3226
+ },
3227
+ capacity: {
3228
+ serializedName: "capacity",
3229
+ constraints: {
3230
+ InclusiveMaximum: 216,
3231
+ InclusiveMinimum: 36
3232
+ },
3233
+ type: {
3234
+ name: "Number"
3235
+ }
3236
+ }
3237
+ }
3238
+ }
3239
+ };
3240
+ var ClusterProperties = {
3241
+ serializedName: "ClusterProperties",
3242
+ type: {
3243
+ name: "Composite",
3244
+ className: "ClusterProperties",
3245
+ modelProperties: {
3246
+ createdDate: {
3247
+ readOnly: true,
3248
+ serializedName: "createdDate",
3249
+ type: {
3250
+ name: "DateTime"
3251
+ }
3252
+ },
3253
+ clusterId: {
3254
+ readOnly: true,
3255
+ serializedName: "clusterId",
3256
+ type: {
3257
+ name: "String"
3258
+ }
3259
+ },
3260
+ provisioningState: {
3261
+ serializedName: "provisioningState",
3262
+ type: {
3263
+ name: "String"
3264
+ }
3265
+ },
3266
+ capacityAllocated: {
3267
+ readOnly: true,
3268
+ serializedName: "capacityAllocated",
3269
+ type: {
3270
+ name: "Number"
3271
+ }
3272
+ },
3273
+ capacityAssigned: {
3274
+ readOnly: true,
3275
+ serializedName: "capacityAssigned",
3276
+ type: {
3277
+ name: "Number"
3278
+ }
3279
+ }
3280
+ }
3281
+ }
3282
+ };
3283
+ var Cluster = {
3284
+ serializedName: "Cluster",
3285
+ type: {
3286
+ name: "Composite",
3287
+ className: "Cluster",
3288
+ modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { sku: {
3289
+ serializedName: "sku",
3290
+ type: {
3291
+ name: "Composite",
3292
+ className: "ClusterSku"
3293
+ }
3294
+ }, etag: {
3295
+ readOnly: true,
3296
+ serializedName: "etag",
3297
+ type: {
3298
+ name: "String"
3299
+ }
3300
+ }, properties: {
3301
+ serializedName: "properties",
3302
+ type: {
3303
+ name: "Composite",
3304
+ className: "ClusterProperties"
3305
+ }
3306
+ } })
2835
3307
  }
2836
3308
  };
2837
- var ErrorModel = {
2838
- serializedName: "Error",
3309
+ var ClusterJob = {
3310
+ serializedName: "ClusterJob",
2839
3311
  type: {
2840
3312
  name: "Composite",
2841
- className: "ErrorModel",
3313
+ className: "ClusterJob",
2842
3314
  modelProperties: {
2843
- error: {
2844
- serializedName: "error",
3315
+ id: {
3316
+ readOnly: true,
3317
+ serializedName: "id",
2845
3318
  type: {
2846
- name: "Composite",
2847
- className: "ErrorError"
3319
+ name: "String"
3320
+ }
3321
+ },
3322
+ streamingUnits: {
3323
+ readOnly: true,
3324
+ serializedName: "streamingUnits",
3325
+ type: {
3326
+ name: "Number"
3327
+ }
3328
+ },
3329
+ jobState: {
3330
+ serializedName: "jobState",
3331
+ type: {
3332
+ name: "String"
2848
3333
  }
2849
3334
  }
2850
3335
  }
@@ -3448,7 +3933,9 @@
3448
3933
  'StreamInputDataSource.Microsoft.ServiceBus/EventHub': EventHubStreamInputDataSource,
3449
3934
  'StreamInputDataSource.Microsoft.EventHub/EventHub': EventHubV2StreamInputDataSource,
3450
3935
  'StreamInputDataSource.Microsoft.Devices/IotHubs': IoTHubStreamInputDataSource,
3936
+ 'StreamInputDataSource.Raw': RawStreamInputDataSource,
3451
3937
  'ReferenceInputDataSource.Microsoft.Storage/Blob': BlobReferenceInputDataSource,
3938
+ 'ReferenceInputDataSource.Raw': RawReferenceInputDataSource,
3452
3939
  'Serialization.Parquet': ParquetSerialization,
3453
3940
  'Serialization.CustomClr': CustomClrSerialization,
3454
3941
  'Serialization.Csv': CsvSerialization,
@@ -3456,6 +3943,7 @@
3456
3943
  'Serialization.Avro': AvroSerialization,
3457
3944
  'ReferenceInputDataSource.Microsoft.Sql/Server/Database': AzureSqlReferenceInputDataSource,
3458
3945
  'OutputDataSource': OutputDataSource,
3946
+ 'OutputDataSource.Raw': RawOutputDatasource,
3459
3947
  'OutputDataSource.Microsoft.Storage/Blob': BlobOutputDataSource,
3460
3948
  'OutputDataSource.Microsoft.Storage/Table': AzureTableOutputDataSource,
3461
3949
  'OutputDataSource.Microsoft.ServiceBus/EventHub': EventHubOutputDataSource,
@@ -3497,6 +3985,9 @@
3497
3985
  AzureMachineLearningServiceFunctionBinding: AzureMachineLearningServiceFunctionBinding,
3498
3986
  AzureMachineLearningServiceInputs: AzureMachineLearningServiceInputs,
3499
3987
  AggregateFunctionProperties: AggregateFunctionProperties,
3988
+ ErrorDetails: ErrorDetails,
3989
+ ErrorError: ErrorError,
3990
+ ErrorModel: ErrorModel,
3500
3991
  ErrorResponse: ErrorResponse,
3501
3992
  ResourceTestStatus: ResourceTestStatus,
3502
3993
  Serialization: Serialization,
@@ -3513,7 +4004,9 @@
3513
4004
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
3514
4005
  EventHubV2StreamInputDataSource: EventHubV2StreamInputDataSource,
3515
4006
  IoTHubStreamInputDataSource: IoTHubStreamInputDataSource,
4007
+ RawStreamInputDataSource: RawStreamInputDataSource,
3516
4008
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
4009
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
3517
4010
  StorageAccount: StorageAccount,
3518
4011
  BlobDataSourceProperties: BlobDataSourceProperties,
3519
4012
  ServiceBusDataSourceProperties: ServiceBusDataSourceProperties,
@@ -3528,6 +4021,7 @@
3528
4021
  AzureSqlReferenceInputDataSource: AzureSqlReferenceInputDataSource,
3529
4022
  OutputDataSource: OutputDataSource,
3530
4023
  Output: Output,
4024
+ RawOutputDatasource: RawOutputDatasource,
3531
4025
  BlobOutputDataSource: BlobOutputDataSource,
3532
4026
  AzureTableOutputDataSource: AzureTableOutputDataSource,
3533
4027
  EventHubOutputDataSource: EventHubOutputDataSource,
@@ -3544,8 +4038,6 @@
3544
4038
  AzureSqlDatabaseDataSourceProperties: AzureSqlDatabaseDataSourceProperties,
3545
4039
  OAuthBasedDataSourceProperties: OAuthBasedDataSourceProperties,
3546
4040
  External: External,
3547
- OperationDisplay: OperationDisplay,
3548
- Operation: Operation,
3549
4041
  StreamingJobSku: StreamingJobSku,
3550
4042
  Transformation: Transformation,
3551
4043
  JobStorageAccount: JobStorageAccount,
@@ -3557,13 +4049,25 @@
3557
4049
  ProxyResource: ProxyResource,
3558
4050
  SubscriptionQuota: SubscriptionQuota,
3559
4051
  SubscriptionQuotasListResult: SubscriptionQuotasListResult,
4052
+ TestQueryDiagnostics: TestQueryDiagnostics,
4053
+ TestQuery: TestQuery,
4054
+ QueryTestingResult: QueryTestingResult,
4055
+ QueryInput: QueryInput,
4056
+ QueryFunction: QueryFunction,
4057
+ CompileQuery: CompileQuery,
4058
+ QueryCompilationError: QueryCompilationError,
4059
+ QueryCompilationResult: QueryCompilationResult,
4060
+ SampleInput: SampleInput,
4061
+ SampleInputResult: SampleInputResult,
4062
+ TestInput: TestInput,
4063
+ TestOutput: TestOutput,
4064
+ TestDatasourceResult: TestDatasourceResult,
4065
+ OperationDisplay: OperationDisplay,
4066
+ Operation: Operation,
3560
4067
  ClusterSku: ClusterSku,
3561
4068
  ClusterProperties: ClusterProperties,
3562
4069
  Cluster: Cluster,
3563
4070
  ClusterJob: ClusterJob,
3564
- ErrorDetails: ErrorDetails,
3565
- ErrorError: ErrorError,
3566
- ErrorModel: ErrorModel,
3567
4071
  PrivateLinkConnectionState: PrivateLinkConnectionState,
3568
4072
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
3569
4073
  PrivateEndpointProperties: PrivateEndpointProperties,
@@ -3627,7 +4131,6 @@
3627
4131
  BlobOutputDataSource: BlobOutputDataSource,
3628
4132
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
3629
4133
  BlobStreamInputDataSource: BlobStreamInputDataSource,
3630
- CloudError: CloudError,
3631
4134
  Cluster: Cluster,
3632
4135
  ClusterInfo: ClusterInfo,
3633
4136
  ClusterProperties: ClusterProperties,
@@ -3640,6 +4143,9 @@
3640
4143
  DiagnosticCondition: DiagnosticCondition,
3641
4144
  Diagnostics: Diagnostics,
3642
4145
  DocumentDbOutputDataSource: DocumentDbOutputDataSource,
4146
+ ErrorDetails: ErrorDetails,
4147
+ ErrorError: ErrorError,
4148
+ ErrorModel: ErrorModel,
3643
4149
  ErrorResponse: ErrorResponse,
3644
4150
  EventHubOutputDataSource: EventHubOutputDataSource,
3645
4151
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
@@ -3673,10 +4179,15 @@
3673
4179
  PrivateLinkConnectionState: PrivateLinkConnectionState,
3674
4180
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
3675
4181
  ProxyResource: ProxyResource,
4182
+ QueryTestingResult: QueryTestingResult,
4183
+ RawOutputDatasource: RawOutputDatasource,
4184
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
4185
+ RawStreamInputDataSource: RawStreamInputDataSource,
3676
4186
  ReferenceInputDataSource: ReferenceInputDataSource,
3677
4187
  ReferenceInputProperties: ReferenceInputProperties,
3678
4188
  Resource: Resource,
3679
4189
  ResourceTestStatus: ResourceTestStatus,
4190
+ SampleInputResult: SampleInputResult,
3680
4191
  ScalarFunctionProperties: ScalarFunctionProperties,
3681
4192
  Serialization: Serialization,
3682
4193
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -3688,6 +4199,7 @@
3688
4199
  StreamInputProperties: StreamInputProperties,
3689
4200
  SubResource: SubResource,
3690
4201
  SubscriptionQuota: SubscriptionQuota,
4202
+ TestDatasourceResult: TestDatasourceResult,
3691
4203
  TrackedResource: TrackedResource,
3692
4204
  Transformation: Transformation
3693
4205
  });
@@ -4047,7 +4559,7 @@
4047
4559
  headersMapper: FunctionsCreateOrReplaceHeaders
4048
4560
  },
4049
4561
  default: {
4050
- bodyMapper: CloudError,
4562
+ bodyMapper: ErrorModel,
4051
4563
  headersMapper: FunctionsCreateOrReplaceHeaders
4052
4564
  }
4053
4565
  },
@@ -4079,7 +4591,7 @@
4079
4591
  headersMapper: FunctionsUpdateHeaders
4080
4592
  },
4081
4593
  default: {
4082
- bodyMapper: CloudError,
4594
+ bodyMapper: ErrorModel,
4083
4595
  headersMapper: FunctionsUpdateHeaders
4084
4596
  }
4085
4597
  },
@@ -4104,7 +4616,7 @@
4104
4616
  200: {},
4105
4617
  204: {},
4106
4618
  default: {
4107
- bodyMapper: CloudError
4619
+ bodyMapper: ErrorModel
4108
4620
  }
4109
4621
  },
4110
4622
  serializer: serializer
@@ -4130,7 +4642,7 @@
4130
4642
  headersMapper: FunctionsGetHeaders
4131
4643
  },
4132
4644
  default: {
4133
- bodyMapper: CloudError,
4645
+ bodyMapper: ErrorModel,
4134
4646
  headersMapper: FunctionsGetHeaders
4135
4647
  }
4136
4648
  },
@@ -4156,14 +4668,14 @@
4156
4668
  bodyMapper: FunctionListResult
4157
4669
  },
4158
4670
  default: {
4159
- bodyMapper: CloudError
4671
+ bodyMapper: ErrorModel
4160
4672
  }
4161
4673
  },
4162
4674
  serializer: serializer
4163
4675
  };
4164
4676
  var retrieveDefaultDefinitionOperationSpec = {
4165
4677
  httpMethod: "POST",
4166
- path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/RetrieveDefaultDefinition",
4678
+ path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/retrieveDefaultDefinition",
4167
4679
  urlParameters: [
4168
4680
  subscriptionId,
4169
4681
  resourceGroupName,
@@ -4188,7 +4700,7 @@
4188
4700
  bodyMapper: FunctionModel
4189
4701
  },
4190
4702
  default: {
4191
- bodyMapper: CloudError
4703
+ bodyMapper: ErrorModel
4192
4704
  }
4193
4705
  },
4194
4706
  serializer: serializer
@@ -4221,7 +4733,7 @@
4221
4733
  },
4222
4734
  202: {},
4223
4735
  default: {
4224
- bodyMapper: CloudError
4736
+ bodyMapper: ErrorModel
4225
4737
  }
4226
4738
  },
4227
4739
  serializer: serializer
@@ -4245,7 +4757,7 @@
4245
4757
  bodyMapper: FunctionListResult
4246
4758
  },
4247
4759
  default: {
4248
- bodyMapper: CloudError
4760
+ bodyMapper: ErrorModel
4249
4761
  }
4250
4762
  },
4251
4763
  serializer: serializer
@@ -4282,7 +4794,6 @@
4282
4794
  BlobOutputDataSource: BlobOutputDataSource,
4283
4795
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
4284
4796
  BlobStreamInputDataSource: BlobStreamInputDataSource,
4285
- CloudError: CloudError,
4286
4797
  Cluster: Cluster,
4287
4798
  ClusterInfo: ClusterInfo,
4288
4799
  ClusterProperties: ClusterProperties,
@@ -4294,6 +4805,9 @@
4294
4805
  DiagnosticCondition: DiagnosticCondition,
4295
4806
  Diagnostics: Diagnostics,
4296
4807
  DocumentDbOutputDataSource: DocumentDbOutputDataSource,
4808
+ ErrorDetails: ErrorDetails,
4809
+ ErrorError: ErrorError,
4810
+ ErrorModel: ErrorModel,
4297
4811
  ErrorResponse: ErrorResponse,
4298
4812
  EventHubOutputDataSource: EventHubOutputDataSource,
4299
4813
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
@@ -4325,10 +4839,15 @@
4325
4839
  PrivateLinkConnectionState: PrivateLinkConnectionState,
4326
4840
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
4327
4841
  ProxyResource: ProxyResource,
4842
+ QueryTestingResult: QueryTestingResult,
4843
+ RawOutputDatasource: RawOutputDatasource,
4844
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
4845
+ RawStreamInputDataSource: RawStreamInputDataSource,
4328
4846
  ReferenceInputDataSource: ReferenceInputDataSource,
4329
4847
  ReferenceInputProperties: ReferenceInputProperties,
4330
4848
  Resource: Resource,
4331
4849
  ResourceTestStatus: ResourceTestStatus,
4850
+ SampleInputResult: SampleInputResult,
4332
4851
  ScalarFunctionProperties: ScalarFunctionProperties,
4333
4852
  Serialization: Serialization,
4334
4853
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -4340,6 +4859,7 @@
4340
4859
  StreamInputProperties: StreamInputProperties,
4341
4860
  SubResource: SubResource,
4342
4861
  SubscriptionQuota: SubscriptionQuota,
4862
+ TestDatasourceResult: TestDatasourceResult,
4343
4863
  TrackedResource: TrackedResource,
4344
4864
  Transformation: Transformation
4345
4865
  });
@@ -4473,7 +4993,7 @@
4473
4993
  headersMapper: InputsCreateOrReplaceHeaders
4474
4994
  },
4475
4995
  default: {
4476
- bodyMapper: CloudError,
4996
+ bodyMapper: ErrorModel,
4477
4997
  headersMapper: InputsCreateOrReplaceHeaders
4478
4998
  }
4479
4999
  },
@@ -4505,7 +5025,7 @@
4505
5025
  headersMapper: InputsUpdateHeaders
4506
5026
  },
4507
5027
  default: {
4508
- bodyMapper: CloudError,
5028
+ bodyMapper: ErrorModel,
4509
5029
  headersMapper: InputsUpdateHeaders
4510
5030
  }
4511
5031
  },
@@ -4530,7 +5050,7 @@
4530
5050
  200: {},
4531
5051
  204: {},
4532
5052
  default: {
4533
- bodyMapper: CloudError
5053
+ bodyMapper: ErrorModel
4534
5054
  }
4535
5055
  },
4536
5056
  serializer: serializer$1
@@ -4556,7 +5076,7 @@
4556
5076
  headersMapper: InputsGetHeaders
4557
5077
  },
4558
5078
  default: {
4559
- bodyMapper: CloudError,
5079
+ bodyMapper: ErrorModel,
4560
5080
  headersMapper: InputsGetHeaders
4561
5081
  }
4562
5082
  },
@@ -4582,7 +5102,7 @@
4582
5102
  bodyMapper: InputListResult
4583
5103
  },
4584
5104
  default: {
4585
- bodyMapper: CloudError
5105
+ bodyMapper: ErrorModel
4586
5106
  }
4587
5107
  },
4588
5108
  serializer: serializer$1
@@ -4615,7 +5135,7 @@
4615
5135
  },
4616
5136
  202: {},
4617
5137
  default: {
4618
- bodyMapper: CloudError
5138
+ bodyMapper: ErrorModel
4619
5139
  }
4620
5140
  },
4621
5141
  serializer: serializer$1
@@ -4639,7 +5159,7 @@
4639
5159
  bodyMapper: InputListResult
4640
5160
  },
4641
5161
  default: {
4642
- bodyMapper: CloudError
5162
+ bodyMapper: ErrorModel
4643
5163
  }
4644
5164
  },
4645
5165
  serializer: serializer$1
@@ -4676,7 +5196,6 @@
4676
5196
  BlobOutputDataSource: BlobOutputDataSource,
4677
5197
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
4678
5198
  BlobStreamInputDataSource: BlobStreamInputDataSource,
4679
- CloudError: CloudError,
4680
5199
  Cluster: Cluster,
4681
5200
  ClusterInfo: ClusterInfo,
4682
5201
  ClusterProperties: ClusterProperties,
@@ -4688,6 +5207,9 @@
4688
5207
  DiagnosticCondition: DiagnosticCondition,
4689
5208
  Diagnostics: Diagnostics,
4690
5209
  DocumentDbOutputDataSource: DocumentDbOutputDataSource,
5210
+ ErrorDetails: ErrorDetails,
5211
+ ErrorError: ErrorError,
5212
+ ErrorModel: ErrorModel,
4691
5213
  ErrorResponse: ErrorResponse,
4692
5214
  EventHubOutputDataSource: EventHubOutputDataSource,
4693
5215
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
@@ -4719,10 +5241,15 @@
4719
5241
  PrivateLinkConnectionState: PrivateLinkConnectionState,
4720
5242
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
4721
5243
  ProxyResource: ProxyResource,
5244
+ QueryTestingResult: QueryTestingResult,
5245
+ RawOutputDatasource: RawOutputDatasource,
5246
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
5247
+ RawStreamInputDataSource: RawStreamInputDataSource,
4722
5248
  ReferenceInputDataSource: ReferenceInputDataSource,
4723
5249
  ReferenceInputProperties: ReferenceInputProperties,
4724
5250
  Resource: Resource,
4725
5251
  ResourceTestStatus: ResourceTestStatus,
5252
+ SampleInputResult: SampleInputResult,
4726
5253
  ScalarFunctionProperties: ScalarFunctionProperties,
4727
5254
  Serialization: Serialization,
4728
5255
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -4734,6 +5261,7 @@
4734
5261
  StreamInputProperties: StreamInputProperties,
4735
5262
  SubResource: SubResource,
4736
5263
  SubscriptionQuota: SubscriptionQuota,
5264
+ TestDatasourceResult: TestDatasourceResult,
4737
5265
  TrackedResource: TrackedResource,
4738
5266
  Transformation: Transformation
4739
5267
  });
@@ -4867,7 +5395,7 @@
4867
5395
  headersMapper: OutputsCreateOrReplaceHeaders
4868
5396
  },
4869
5397
  default: {
4870
- bodyMapper: CloudError,
5398
+ bodyMapper: ErrorModel,
4871
5399
  headersMapper: OutputsCreateOrReplaceHeaders
4872
5400
  }
4873
5401
  },
@@ -4899,7 +5427,7 @@
4899
5427
  headersMapper: OutputsUpdateHeaders
4900
5428
  },
4901
5429
  default: {
4902
- bodyMapper: CloudError,
5430
+ bodyMapper: ErrorModel,
4903
5431
  headersMapper: OutputsUpdateHeaders
4904
5432
  }
4905
5433
  },
@@ -4924,7 +5452,7 @@
4924
5452
  200: {},
4925
5453
  204: {},
4926
5454
  default: {
4927
- bodyMapper: CloudError
5455
+ bodyMapper: ErrorModel
4928
5456
  }
4929
5457
  },
4930
5458
  serializer: serializer$2
@@ -4950,7 +5478,7 @@
4950
5478
  headersMapper: OutputsGetHeaders
4951
5479
  },
4952
5480
  default: {
4953
- bodyMapper: CloudError,
5481
+ bodyMapper: ErrorModel,
4954
5482
  headersMapper: OutputsGetHeaders
4955
5483
  }
4956
5484
  },
@@ -4976,7 +5504,7 @@
4976
5504
  bodyMapper: OutputListResult
4977
5505
  },
4978
5506
  default: {
4979
- bodyMapper: CloudError
5507
+ bodyMapper: ErrorModel
4980
5508
  }
4981
5509
  },
4982
5510
  serializer: serializer$2
@@ -5009,7 +5537,7 @@
5009
5537
  },
5010
5538
  202: {},
5011
5539
  default: {
5012
- bodyMapper: CloudError
5540
+ bodyMapper: ErrorModel
5013
5541
  }
5014
5542
  },
5015
5543
  serializer: serializer$2
@@ -5033,7 +5561,7 @@
5033
5561
  bodyMapper: OutputListResult
5034
5562
  },
5035
5563
  default: {
5036
- bodyMapper: CloudError
5564
+ bodyMapper: ErrorModel
5037
5565
  }
5038
5566
  },
5039
5567
  serializer: serializer$2
@@ -5070,7 +5598,6 @@
5070
5598
  BlobOutputDataSource: BlobOutputDataSource,
5071
5599
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
5072
5600
  BlobStreamInputDataSource: BlobStreamInputDataSource,
5073
- CloudError: CloudError,
5074
5601
  Cluster: Cluster,
5075
5602
  ClusterInfo: ClusterInfo,
5076
5603
  ClusterProperties: ClusterProperties,
@@ -5082,6 +5609,9 @@
5082
5609
  DiagnosticCondition: DiagnosticCondition,
5083
5610
  Diagnostics: Diagnostics,
5084
5611
  DocumentDbOutputDataSource: DocumentDbOutputDataSource,
5612
+ ErrorDetails: ErrorDetails,
5613
+ ErrorError: ErrorError,
5614
+ ErrorModel: ErrorModel,
5085
5615
  EventHubOutputDataSource: EventHubOutputDataSource,
5086
5616
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
5087
5617
  EventHubV2OutputDataSource: EventHubV2OutputDataSource,
@@ -5108,9 +5638,14 @@
5108
5638
  PrivateLinkConnectionState: PrivateLinkConnectionState,
5109
5639
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
5110
5640
  ProxyResource: ProxyResource,
5641
+ QueryTestingResult: QueryTestingResult,
5642
+ RawOutputDatasource: RawOutputDatasource,
5643
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
5644
+ RawStreamInputDataSource: RawStreamInputDataSource,
5111
5645
  ReferenceInputDataSource: ReferenceInputDataSource,
5112
5646
  ReferenceInputProperties: ReferenceInputProperties,
5113
5647
  Resource: Resource,
5648
+ SampleInputResult: SampleInputResult,
5114
5649
  ScalarFunctionProperties: ScalarFunctionProperties,
5115
5650
  Serialization: Serialization,
5116
5651
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -5127,6 +5662,7 @@
5127
5662
  StreamInputProperties: StreamInputProperties,
5128
5663
  SubResource: SubResource,
5129
5664
  SubscriptionQuota: SubscriptionQuota,
5665
+ TestDatasourceResult: TestDatasourceResult,
5130
5666
  TrackedResource: TrackedResource,
5131
5667
  Transformation: Transformation
5132
5668
  });
@@ -5324,7 +5860,7 @@
5324
5860
  headersMapper: StreamingJobsUpdateHeaders
5325
5861
  },
5326
5862
  default: {
5327
- bodyMapper: CloudError,
5863
+ bodyMapper: ErrorModel,
5328
5864
  headersMapper: StreamingJobsUpdateHeaders
5329
5865
  }
5330
5866
  },
@@ -5351,7 +5887,7 @@
5351
5887
  headersMapper: StreamingJobsGetHeaders
5352
5888
  },
5353
5889
  default: {
5354
- bodyMapper: CloudError,
5890
+ bodyMapper: ErrorModel,
5355
5891
  headersMapper: StreamingJobsGetHeaders
5356
5892
  }
5357
5893
  },
@@ -5376,7 +5912,7 @@
5376
5912
  bodyMapper: StreamingJobListResult
5377
5913
  },
5378
5914
  default: {
5379
- bodyMapper: CloudError
5915
+ bodyMapper: ErrorModel
5380
5916
  }
5381
5917
  },
5382
5918
  serializer: serializer$3
@@ -5399,7 +5935,7 @@
5399
5935
  bodyMapper: StreamingJobListResult
5400
5936
  },
5401
5937
  default: {
5402
- bodyMapper: CloudError
5938
+ bodyMapper: ErrorModel
5403
5939
  }
5404
5940
  },
5405
5941
  serializer: serializer$3
@@ -5434,7 +5970,7 @@
5434
5970
  headersMapper: StreamingJobsCreateOrReplaceHeaders
5435
5971
  },
5436
5972
  default: {
5437
- bodyMapper: CloudError,
5973
+ bodyMapper: ErrorModel,
5438
5974
  headersMapper: StreamingJobsCreateOrReplaceHeaders
5439
5975
  }
5440
5976
  },
@@ -5459,7 +5995,7 @@
5459
5995
  202: {},
5460
5996
  204: {},
5461
5997
  default: {
5462
- bodyMapper: CloudError
5998
+ bodyMapper: ErrorModel
5463
5999
  }
5464
6000
  },
5465
6001
  serializer: serializer$3
@@ -5489,7 +6025,7 @@
5489
6025
  200: {},
5490
6026
  202: {},
5491
6027
  default: {
5492
- bodyMapper: CloudError
6028
+ bodyMapper: ErrorModel
5493
6029
  }
5494
6030
  },
5495
6031
  serializer: serializer$3
@@ -5512,7 +6048,7 @@
5512
6048
  200: {},
5513
6049
  202: {},
5514
6050
  default: {
5515
- bodyMapper: CloudError
6051
+ bodyMapper: ErrorModel
5516
6052
  }
5517
6053
  },
5518
6054
  serializer: serializer$3
@@ -5536,7 +6072,7 @@
5536
6072
  bodyMapper: StreamingJobListResult
5537
6073
  },
5538
6074
  default: {
5539
- bodyMapper: CloudError
6075
+ bodyMapper: ErrorModel
5540
6076
  }
5541
6077
  },
5542
6078
  serializer: serializer$3
@@ -5560,7 +6096,7 @@
5560
6096
  bodyMapper: StreamingJobListResult
5561
6097
  },
5562
6098
  default: {
5563
- bodyMapper: CloudError
6099
+ bodyMapper: ErrorModel
5564
6100
  }
5565
6101
  },
5566
6102
  serializer: serializer$3
@@ -5597,11 +6133,11 @@
5597
6133
  BlobOutputDataSource: BlobOutputDataSource,
5598
6134
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
5599
6135
  BlobStreamInputDataSource: BlobStreamInputDataSource,
5600
- CloudError: CloudError,
5601
6136
  Cluster: Cluster,
5602
6137
  ClusterInfo: ClusterInfo,
5603
6138
  ClusterProperties: ClusterProperties,
5604
6139
  ClusterSku: ClusterSku,
6140
+ CompileQuery: CompileQuery,
5605
6141
  Compression: Compression,
5606
6142
  CSharpFunctionBinding: CSharpFunctionBinding,
5607
6143
  CsvSerialization: CsvSerialization,
@@ -5609,6 +6145,9 @@
5609
6145
  DiagnosticCondition: DiagnosticCondition,
5610
6146
  Diagnostics: Diagnostics,
5611
6147
  DocumentDbOutputDataSource: DocumentDbOutputDataSource,
6148
+ ErrorDetails: ErrorDetails,
6149
+ ErrorError: ErrorError,
6150
+ ErrorModel: ErrorModel,
5612
6151
  EventHubOutputDataSource: EventHubOutputDataSource,
5613
6152
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
5614
6153
  EventHubV2OutputDataSource: EventHubV2OutputDataSource,
@@ -5635,9 +6174,19 @@
5635
6174
  PrivateLinkConnectionState: PrivateLinkConnectionState,
5636
6175
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
5637
6176
  ProxyResource: ProxyResource,
6177
+ QueryCompilationError: QueryCompilationError,
6178
+ QueryCompilationResult: QueryCompilationResult,
6179
+ QueryFunction: QueryFunction,
6180
+ QueryInput: QueryInput,
6181
+ QueryTestingResult: QueryTestingResult,
6182
+ RawOutputDatasource: RawOutputDatasource,
6183
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
6184
+ RawStreamInputDataSource: RawStreamInputDataSource,
5638
6185
  ReferenceInputDataSource: ReferenceInputDataSource,
5639
6186
  ReferenceInputProperties: ReferenceInputProperties,
5640
6187
  Resource: Resource,
6188
+ SampleInput: SampleInput,
6189
+ SampleInputResult: SampleInputResult,
5641
6190
  ScalarFunctionProperties: ScalarFunctionProperties,
5642
6191
  Serialization: Serialization,
5643
6192
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -5650,6 +6199,11 @@
5650
6199
  SubResource: SubResource,
5651
6200
  SubscriptionQuota: SubscriptionQuota,
5652
6201
  SubscriptionQuotasListResult: SubscriptionQuotasListResult,
6202
+ TestDatasourceResult: TestDatasourceResult,
6203
+ TestInput: TestInput,
6204
+ TestOutput: TestOutput,
6205
+ TestQuery: TestQuery,
6206
+ TestQueryDiagnostics: TestQueryDiagnostics,
5653
6207
  TrackedResource: TrackedResource,
5654
6208
  Transformation: Transformation
5655
6209
  });
@@ -5677,6 +6231,125 @@
5677
6231
  options: options
5678
6232
  }, listQuotasOperationSpec, callback);
5679
6233
  };
6234
+ /**
6235
+ * Test the Stream Analytics query on a sample input.
6236
+ * @param testQuery The query testing object that defines the input, output, and transformation for
6237
+ * the query testing.
6238
+ * @param location The region to which the request is sent. You can find out which regions Azure
6239
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6240
+ * @param [options] The optional parameters
6241
+ * @returns Promise<Models.SubscriptionsTestQueryMethodResponse>
6242
+ */
6243
+ Subscriptions.prototype.testQueryMethod = function (testQuery, location, options) {
6244
+ return this.beginTestQueryMethod(testQuery, location, options)
6245
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
6246
+ };
6247
+ Subscriptions.prototype.compileQueryMethod = function (compileQuery, location, options, callback) {
6248
+ return this.client.sendOperationRequest({
6249
+ compileQuery: compileQuery,
6250
+ location: location,
6251
+ options: options
6252
+ }, compileQueryMethodOperationSpec, callback);
6253
+ };
6254
+ /**
6255
+ * Sample the Stream Analytics input data.
6256
+ * @param sampleInput Defines the necessary parameters for sampling the Stream Analytics input
6257
+ * data.
6258
+ * @param location The region to which the request is sent. You can find out which regions Azure
6259
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6260
+ * @param [options] The optional parameters
6261
+ * @returns Promise<Models.SubscriptionsSampleInputMethodResponse>
6262
+ */
6263
+ Subscriptions.prototype.sampleInputMethod = function (sampleInput, location, options) {
6264
+ return this.beginSampleInputMethod(sampleInput, location, options)
6265
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
6266
+ };
6267
+ /**
6268
+ * Test the Stream Analytics input.
6269
+ * @param testInput Defines the necessary parameters for testing the Stream Analytics input.
6270
+ * @param location The region to which the request is sent. You can find out which regions Azure
6271
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6272
+ * @param [options] The optional parameters
6273
+ * @returns Promise<Models.SubscriptionsTestInputMethodResponse>
6274
+ */
6275
+ Subscriptions.prototype.testInputMethod = function (testInput, location, options) {
6276
+ return this.beginTestInputMethod(testInput, location, options)
6277
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
6278
+ };
6279
+ /**
6280
+ * Test the Stream Analytics output.
6281
+ * @param testOutput Defines the necessary parameters for testing the Stream Analytics output.
6282
+ * @param location The region to which the request is sent. You can find out which regions Azure
6283
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6284
+ * @param [options] The optional parameters
6285
+ * @returns Promise<Models.SubscriptionsTestOutputMethodResponse>
6286
+ */
6287
+ Subscriptions.prototype.testOutputMethod = function (testOutput, location, options) {
6288
+ return this.beginTestOutputMethod(testOutput, location, options)
6289
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
6290
+ };
6291
+ /**
6292
+ * Test the Stream Analytics query on a sample input.
6293
+ * @param testQuery The query testing object that defines the input, output, and transformation for
6294
+ * the query testing.
6295
+ * @param location The region to which the request is sent. You can find out which regions Azure
6296
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6297
+ * @param [options] The optional parameters
6298
+ * @returns Promise<msRestAzure.LROPoller>
6299
+ */
6300
+ Subscriptions.prototype.beginTestQueryMethod = function (testQuery, location, options) {
6301
+ return this.client.sendLRORequest({
6302
+ testQuery: testQuery,
6303
+ location: location,
6304
+ options: options
6305
+ }, beginTestQueryMethodOperationSpec, options);
6306
+ };
6307
+ /**
6308
+ * Sample the Stream Analytics input data.
6309
+ * @param sampleInput Defines the necessary parameters for sampling the Stream Analytics input
6310
+ * data.
6311
+ * @param location The region to which the request is sent. You can find out which regions Azure
6312
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6313
+ * @param [options] The optional parameters
6314
+ * @returns Promise<msRestAzure.LROPoller>
6315
+ */
6316
+ Subscriptions.prototype.beginSampleInputMethod = function (sampleInput, location, options) {
6317
+ return this.client.sendLRORequest({
6318
+ sampleInput: sampleInput,
6319
+ location: location,
6320
+ options: options
6321
+ }, beginSampleInputMethodOperationSpec, options);
6322
+ };
6323
+ /**
6324
+ * Test the Stream Analytics input.
6325
+ * @param testInput Defines the necessary parameters for testing the Stream Analytics input.
6326
+ * @param location The region to which the request is sent. You can find out which regions Azure
6327
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6328
+ * @param [options] The optional parameters
6329
+ * @returns Promise<msRestAzure.LROPoller>
6330
+ */
6331
+ Subscriptions.prototype.beginTestInputMethod = function (testInput, location, options) {
6332
+ return this.client.sendLRORequest({
6333
+ testInput: testInput,
6334
+ location: location,
6335
+ options: options
6336
+ }, beginTestInputMethodOperationSpec, options);
6337
+ };
6338
+ /**
6339
+ * Test the Stream Analytics output.
6340
+ * @param testOutput Defines the necessary parameters for testing the Stream Analytics output.
6341
+ * @param location The region to which the request is sent. You can find out which regions Azure
6342
+ * Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
6343
+ * @param [options] The optional parameters
6344
+ * @returns Promise<msRestAzure.LROPoller>
6345
+ */
6346
+ Subscriptions.prototype.beginTestOutputMethod = function (testOutput, location, options) {
6347
+ return this.client.sendLRORequest({
6348
+ testOutput: testOutput,
6349
+ location: location,
6350
+ options: options
6351
+ }, beginTestOutputMethodOperationSpec, options);
6352
+ };
5680
6353
  return Subscriptions;
5681
6354
  }());
5682
6355
  // Operation Specifications
@@ -5699,7 +6372,143 @@
5699
6372
  bodyMapper: SubscriptionQuotasListResult
5700
6373
  },
5701
6374
  default: {
5702
- bodyMapper: CloudError
6375
+ bodyMapper: ErrorModel
6376
+ }
6377
+ },
6378
+ serializer: serializer$4
6379
+ };
6380
+ var compileQueryMethodOperationSpec = {
6381
+ httpMethod: "POST",
6382
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/compileQuery",
6383
+ urlParameters: [
6384
+ location,
6385
+ subscriptionId
6386
+ ],
6387
+ queryParameters: [
6388
+ apiVersion0
6389
+ ],
6390
+ headerParameters: [
6391
+ acceptLanguage
6392
+ ],
6393
+ requestBody: {
6394
+ parameterPath: "compileQuery",
6395
+ mapper: __assign(__assign({}, CompileQuery), { required: true })
6396
+ },
6397
+ responses: {
6398
+ 200: {
6399
+ bodyMapper: QueryCompilationResult
6400
+ },
6401
+ default: {
6402
+ bodyMapper: ErrorModel
6403
+ }
6404
+ },
6405
+ serializer: serializer$4
6406
+ };
6407
+ var beginTestQueryMethodOperationSpec = {
6408
+ httpMethod: "POST",
6409
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testQuery",
6410
+ urlParameters: [
6411
+ location,
6412
+ subscriptionId
6413
+ ],
6414
+ queryParameters: [
6415
+ apiVersion0
6416
+ ],
6417
+ headerParameters: [
6418
+ acceptLanguage
6419
+ ],
6420
+ requestBody: {
6421
+ parameterPath: "testQuery",
6422
+ mapper: __assign(__assign({}, TestQuery), { required: true })
6423
+ },
6424
+ responses: {
6425
+ 200: {
6426
+ bodyMapper: QueryTestingResult
6427
+ },
6428
+ 202: {},
6429
+ default: {
6430
+ bodyMapper: ErrorModel
6431
+ }
6432
+ },
6433
+ serializer: serializer$4
6434
+ };
6435
+ var beginSampleInputMethodOperationSpec = {
6436
+ httpMethod: "POST",
6437
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/sampleInput",
6438
+ urlParameters: [
6439
+ location,
6440
+ subscriptionId
6441
+ ],
6442
+ queryParameters: [
6443
+ apiVersion0
6444
+ ],
6445
+ headerParameters: [
6446
+ acceptLanguage
6447
+ ],
6448
+ requestBody: {
6449
+ parameterPath: "sampleInput",
6450
+ mapper: __assign(__assign({}, SampleInput), { required: true })
6451
+ },
6452
+ responses: {
6453
+ 202: {
6454
+ bodyMapper: SampleInputResult
6455
+ },
6456
+ default: {
6457
+ bodyMapper: ErrorModel
6458
+ }
6459
+ },
6460
+ serializer: serializer$4
6461
+ };
6462
+ var beginTestInputMethodOperationSpec = {
6463
+ httpMethod: "POST",
6464
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testInput",
6465
+ urlParameters: [
6466
+ location,
6467
+ subscriptionId
6468
+ ],
6469
+ queryParameters: [
6470
+ apiVersion0
6471
+ ],
6472
+ headerParameters: [
6473
+ acceptLanguage
6474
+ ],
6475
+ requestBody: {
6476
+ parameterPath: "testInput",
6477
+ mapper: __assign(__assign({}, TestInput), { required: true })
6478
+ },
6479
+ responses: {
6480
+ 202: {
6481
+ bodyMapper: TestDatasourceResult
6482
+ },
6483
+ default: {
6484
+ bodyMapper: ErrorModel
6485
+ }
6486
+ },
6487
+ serializer: serializer$4
6488
+ };
6489
+ var beginTestOutputMethodOperationSpec = {
6490
+ httpMethod: "POST",
6491
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testOutput",
6492
+ urlParameters: [
6493
+ location,
6494
+ subscriptionId
6495
+ ],
6496
+ queryParameters: [
6497
+ apiVersion0
6498
+ ],
6499
+ headerParameters: [
6500
+ acceptLanguage
6501
+ ],
6502
+ requestBody: {
6503
+ parameterPath: "testOutput",
6504
+ mapper: __assign(__assign({}, TestOutput), { required: true })
6505
+ },
6506
+ responses: {
6507
+ 202: {
6508
+ bodyMapper: TestDatasourceResult
6509
+ },
6510
+ default: {
6511
+ bodyMapper: ErrorModel
5703
6512
  }
5704
6513
  },
5705
6514
  serializer: serializer$4
@@ -5736,7 +6545,6 @@
5736
6545
  BlobOutputDataSource: BlobOutputDataSource,
5737
6546
  BlobReferenceInputDataSource: BlobReferenceInputDataSource,
5738
6547
  BlobStreamInputDataSource: BlobStreamInputDataSource,
5739
- CloudError: CloudError,
5740
6548
  Cluster: Cluster,
5741
6549
  ClusterInfo: ClusterInfo,
5742
6550
  ClusterProperties: ClusterProperties,
@@ -5748,6 +6556,9 @@
5748
6556
  DiagnosticCondition: DiagnosticCondition,
5749
6557
  Diagnostics: Diagnostics,
5750
6558
  DocumentDbOutputDataSource: DocumentDbOutputDataSource,
6559
+ ErrorDetails: ErrorDetails,
6560
+ ErrorError: ErrorError,
6561
+ ErrorModel: ErrorModel,
5751
6562
  EventHubOutputDataSource: EventHubOutputDataSource,
5752
6563
  EventHubStreamInputDataSource: EventHubStreamInputDataSource,
5753
6564
  EventHubV2OutputDataSource: EventHubV2OutputDataSource,
@@ -5774,9 +6585,14 @@
5774
6585
  PrivateLinkConnectionState: PrivateLinkConnectionState,
5775
6586
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
5776
6587
  ProxyResource: ProxyResource,
6588
+ QueryTestingResult: QueryTestingResult,
6589
+ RawOutputDatasource: RawOutputDatasource,
6590
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
6591
+ RawStreamInputDataSource: RawStreamInputDataSource,
5777
6592
  ReferenceInputDataSource: ReferenceInputDataSource,
5778
6593
  ReferenceInputProperties: ReferenceInputProperties,
5779
6594
  Resource: Resource,
6595
+ SampleInputResult: SampleInputResult,
5780
6596
  ScalarFunctionProperties: ScalarFunctionProperties,
5781
6597
  Serialization: Serialization,
5782
6598
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -5788,6 +6604,7 @@
5788
6604
  StreamInputProperties: StreamInputProperties,
5789
6605
  SubResource: SubResource,
5790
6606
  SubscriptionQuota: SubscriptionQuota,
6607
+ TestDatasourceResult: TestDatasourceResult,
5791
6608
  TrackedResource: TrackedResource,
5792
6609
  Transformation: Transformation,
5793
6610
  TransformationsCreateOrReplaceHeaders: TransformationsCreateOrReplaceHeaders,
@@ -5873,7 +6690,7 @@
5873
6690
  headersMapper: TransformationsCreateOrReplaceHeaders
5874
6691
  },
5875
6692
  default: {
5876
- bodyMapper: CloudError,
6693
+ bodyMapper: ErrorModel,
5877
6694
  headersMapper: TransformationsCreateOrReplaceHeaders
5878
6695
  }
5879
6696
  },
@@ -5905,7 +6722,7 @@
5905
6722
  headersMapper: TransformationsUpdateHeaders
5906
6723
  },
5907
6724
  default: {
5908
- bodyMapper: CloudError,
6725
+ bodyMapper: ErrorModel,
5909
6726
  headersMapper: TransformationsUpdateHeaders
5910
6727
  }
5911
6728
  },
@@ -5932,7 +6749,7 @@
5932
6749
  headersMapper: TransformationsGetHeaders
5933
6750
  },
5934
6751
  default: {
5935
- bodyMapper: CloudError,
6752
+ bodyMapper: ErrorModel,
5936
6753
  headersMapper: TransformationsGetHeaders
5937
6754
  }
5938
6755
  },
@@ -5950,10 +6767,15 @@
5950
6767
  var Mappers$6 = /*#__PURE__*/Object.freeze({
5951
6768
  __proto__: null,
5952
6769
  discriminators: discriminators,
5953
- CloudError: CloudError,
6770
+ ErrorDetails: ErrorDetails,
6771
+ ErrorError: ErrorError,
6772
+ ErrorModel: ErrorModel,
5954
6773
  Operation: Operation,
5955
6774
  OperationDisplay: OperationDisplay,
5956
- OperationListResult: OperationListResult
6775
+ OperationListResult: OperationListResult,
6776
+ QueryTestingResult: QueryTestingResult,
6777
+ SampleInputResult: SampleInputResult,
6778
+ TestDatasourceResult: TestDatasourceResult
5957
6779
  });
5958
6780
 
5959
6781
  /*
@@ -6002,7 +6824,7 @@
6002
6824
  bodyMapper: OperationListResult
6003
6825
  },
6004
6826
  default: {
6005
- bodyMapper: CloudError
6827
+ bodyMapper: ErrorModel
6006
6828
  }
6007
6829
  },
6008
6830
  serializer: serializer$6
@@ -6025,7 +6847,7 @@
6025
6847
  bodyMapper: OperationListResult
6026
6848
  },
6027
6849
  default: {
6028
- bodyMapper: CloudError
6850
+ bodyMapper: ErrorModel
6029
6851
  }
6030
6852
  },
6031
6853
  serializer: serializer$6
@@ -6105,9 +6927,14 @@
6105
6927
  PrivateLinkConnectionState: PrivateLinkConnectionState,
6106
6928
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
6107
6929
  ProxyResource: ProxyResource,
6930
+ QueryTestingResult: QueryTestingResult,
6931
+ RawOutputDatasource: RawOutputDatasource,
6932
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
6933
+ RawStreamInputDataSource: RawStreamInputDataSource,
6108
6934
  ReferenceInputDataSource: ReferenceInputDataSource,
6109
6935
  ReferenceInputProperties: ReferenceInputProperties,
6110
6936
  Resource: Resource,
6937
+ SampleInputResult: SampleInputResult,
6111
6938
  ScalarFunctionProperties: ScalarFunctionProperties,
6112
6939
  Serialization: Serialization,
6113
6940
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -6119,6 +6946,7 @@
6119
6946
  StreamInputProperties: StreamInputProperties,
6120
6947
  SubResource: SubResource,
6121
6948
  SubscriptionQuota: SubscriptionQuota,
6949
+ TestDatasourceResult: TestDatasourceResult,
6122
6950
  TrackedResource: TrackedResource,
6123
6951
  Transformation: Transformation
6124
6952
  });
@@ -6596,9 +7424,14 @@
6596
7424
  PrivateLinkConnectionState: PrivateLinkConnectionState,
6597
7425
  PrivateLinkServiceConnection: PrivateLinkServiceConnection,
6598
7426
  ProxyResource: ProxyResource,
7427
+ QueryTestingResult: QueryTestingResult,
7428
+ RawOutputDatasource: RawOutputDatasource,
7429
+ RawReferenceInputDataSource: RawReferenceInputDataSource,
7430
+ RawStreamInputDataSource: RawStreamInputDataSource,
6599
7431
  ReferenceInputDataSource: ReferenceInputDataSource,
6600
7432
  ReferenceInputProperties: ReferenceInputProperties,
6601
7433
  Resource: Resource,
7434
+ SampleInputResult: SampleInputResult,
6602
7435
  ScalarFunctionProperties: ScalarFunctionProperties,
6603
7436
  Serialization: Serialization,
6604
7437
  ServiceBusQueueOutputDataSource: ServiceBusQueueOutputDataSource,
@@ -6610,6 +7443,7 @@
6610
7443
  StreamInputProperties: StreamInputProperties,
6611
7444
  SubResource: SubResource,
6612
7445
  SubscriptionQuota: SubscriptionQuota,
7446
+ TestDatasourceResult: TestDatasourceResult,
6613
7447
  TrackedResource: TrackedResource,
6614
7448
  Transformation: Transformation
6615
7449
  });
@@ -6834,7 +7668,7 @@
6834
7668
  * regenerated.
6835
7669
  */
6836
7670
  var packageName = "@azure/arm-streamanalytics";
6837
- var packageVersion = "2.1.1";
7671
+ var packageVersion = "3.0.0";
6838
7672
  var StreamAnalyticsManagementClientContext = /** @class */ (function (_super) {
6839
7673
  __extends(StreamAnalyticsManagementClientContext, _super);
6840
7674
  /**