@azure/arm-streamanalytics 4.1.1-alpha.20240222.1 → 5.0.0-beta.1

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 (240) hide show
  1. package/CHANGELOG.md +170 -8
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +6060 -3785
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +14 -6
  9. package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/clustersDeleteSample.js +12 -4
  11. package/dist-esm/samples-dev/clustersDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/clustersGetSample.js +12 -4
  13. package/dist-esm/samples-dev/clustersGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +12 -4
  15. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/clustersListBySubscriptionSample.js +11 -3
  17. package/dist-esm/samples-dev/clustersListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/clustersListStreamingJobsSample.js +12 -4
  19. package/dist-esm/samples-dev/clustersListStreamingJobsSample.js.map +1 -1
  20. package/dist-esm/samples-dev/clustersUpdateSample.js +13 -5
  21. package/dist-esm/samples-dev/clustersUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/functionsCreateOrReplaceSample.js +97 -16
  23. package/dist-esm/samples-dev/functionsCreateOrReplaceSample.js.map +1 -1
  24. package/dist-esm/samples-dev/functionsDeleteSample.js +12 -4
  25. package/dist-esm/samples-dev/functionsDeleteSample.js.map +1 -1
  26. package/dist-esm/samples-dev/functionsGetSample.js +17 -8
  27. package/dist-esm/samples-dev/functionsGetSample.js.map +1 -1
  28. package/dist-esm/samples-dev/functionsListByStreamingJobSample.js +12 -4
  29. package/dist-esm/samples-dev/functionsListByStreamingJobSample.js.map +1 -1
  30. package/dist-esm/samples-dev/functionsRetrieveDefaultDefinitionSample.js +15 -7
  31. package/dist-esm/samples-dev/functionsRetrieveDefaultDefinitionSample.js.map +1 -1
  32. package/dist-esm/samples-dev/functionsTestSample.js +18 -9
  33. package/dist-esm/samples-dev/functionsTestSample.js.map +1 -1
  34. package/dist-esm/samples-dev/functionsUpdateSample.js +26 -14
  35. package/dist-esm/samples-dev/functionsUpdateSample.js.map +1 -1
  36. package/dist-esm/samples-dev/inputsCreateOrReplaceSample.js +147 -31
  37. package/dist-esm/samples-dev/inputsCreateOrReplaceSample.js.map +1 -1
  38. package/dist-esm/samples-dev/inputsDeleteSample.js +12 -4
  39. package/dist-esm/samples-dev/inputsDeleteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/inputsGetSample.js +27 -16
  41. package/dist-esm/samples-dev/inputsGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/inputsListByStreamingJobSample.js +18 -9
  43. package/dist-esm/samples-dev/inputsListByStreamingJobSample.js.map +1 -1
  44. package/dist-esm/samples-dev/inputsTestSample.js +12 -4
  45. package/dist-esm/samples-dev/inputsTestSample.js.map +1 -1
  46. package/dist-esm/samples-dev/inputsUpdateSample.js +39 -28
  47. package/dist-esm/samples-dev/inputsUpdateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  49. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  50. package/dist-esm/samples-dev/outputsCreateOrReplaceSample.js +261 -56
  51. package/dist-esm/samples-dev/outputsCreateOrReplaceSample.js.map +1 -1
  52. package/dist-esm/samples-dev/outputsDeleteSample.js +12 -4
  53. package/dist-esm/samples-dev/outputsDeleteSample.js.map +1 -1
  54. package/dist-esm/samples-dev/outputsGetSample.js +98 -41
  55. package/dist-esm/samples-dev/outputsGetSample.js.map +1 -1
  56. package/dist-esm/samples-dev/outputsListByStreamingJobSample.js +12 -4
  57. package/dist-esm/samples-dev/outputsListByStreamingJobSample.js.map +1 -1
  58. package/dist-esm/samples-dev/outputsTestSample.js +12 -4
  59. package/dist-esm/samples-dev/outputsTestSample.js.map +1 -1
  60. package/dist-esm/samples-dev/outputsUpdateSample.js +150 -54
  61. package/dist-esm/samples-dev/outputsUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/privateEndpointsCreateOrUpdateSample.js +21 -11
  63. package/dist-esm/samples-dev/privateEndpointsCreateOrUpdateSample.js.map +1 -1
  64. package/dist-esm/samples-dev/privateEndpointsDeleteSample.js +12 -4
  65. package/dist-esm/samples-dev/privateEndpointsDeleteSample.js.map +1 -1
  66. package/dist-esm/samples-dev/privateEndpointsGetSample.js +12 -4
  67. package/dist-esm/samples-dev/privateEndpointsGetSample.js.map +1 -1
  68. package/dist-esm/samples-dev/privateEndpointsListByClusterSample.js +12 -4
  69. package/dist-esm/samples-dev/privateEndpointsListByClusterSample.js.map +1 -1
  70. package/dist-esm/samples-dev/skuListSample.d.ts +2 -0
  71. package/dist-esm/samples-dev/skuListSample.d.ts.map +1 -0
  72. package/dist-esm/samples-dev/skuListSample.js +55 -0
  73. package/dist-esm/samples-dev/skuListSample.js.map +1 -0
  74. package/dist-esm/samples-dev/streamingJobsCreateOrReplaceSample.js +85 -22
  75. package/dist-esm/samples-dev/streamingJobsCreateOrReplaceSample.js.map +1 -1
  76. package/dist-esm/samples-dev/streamingJobsDeleteSample.js +12 -4
  77. package/dist-esm/samples-dev/streamingJobsDeleteSample.js.map +1 -1
  78. package/dist-esm/samples-dev/streamingJobsGetSample.js +18 -9
  79. package/dist-esm/samples-dev/streamingJobsGetSample.js.map +1 -1
  80. package/dist-esm/samples-dev/streamingJobsListByResourceGroupSample.js +18 -9
  81. package/dist-esm/samples-dev/streamingJobsListByResourceGroupSample.js.map +1 -1
  82. package/dist-esm/samples-dev/streamingJobsListSample.js +16 -7
  83. package/dist-esm/samples-dev/streamingJobsListSample.js.map +1 -1
  84. package/dist-esm/samples-dev/streamingJobsScaleSample.js +15 -7
  85. package/dist-esm/samples-dev/streamingJobsScaleSample.js.map +1 -1
  86. package/dist-esm/samples-dev/streamingJobsStartSample.js +26 -16
  87. package/dist-esm/samples-dev/streamingJobsStartSample.js.map +1 -1
  88. package/dist-esm/samples-dev/streamingJobsStopSample.js +12 -4
  89. package/dist-esm/samples-dev/streamingJobsStopSample.js.map +1 -1
  90. package/dist-esm/samples-dev/streamingJobsUpdateSample.js +14 -6
  91. package/dist-esm/samples-dev/streamingJobsUpdateSample.js.map +1 -1
  92. package/dist-esm/samples-dev/subscriptionsCompileQuerySample.d.ts +2 -0
  93. package/dist-esm/samples-dev/subscriptionsCompileQuerySample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/subscriptionsCompileQuerySample.js +53 -0
  95. package/dist-esm/samples-dev/subscriptionsCompileQuerySample.js.map +1 -0
  96. package/dist-esm/samples-dev/subscriptionsListQuotasSample.js +11 -3
  97. package/dist-esm/samples-dev/subscriptionsListQuotasSample.js.map +1 -1
  98. package/dist-esm/samples-dev/subscriptionsSampleInputSample.d.ts +2 -0
  99. package/dist-esm/samples-dev/subscriptionsSampleInputSample.d.ts.map +1 -0
  100. package/dist-esm/samples-dev/subscriptionsSampleInputSample.js +60 -0
  101. package/dist-esm/samples-dev/subscriptionsSampleInputSample.js.map +1 -0
  102. package/dist-esm/samples-dev/subscriptionsTestInputSample.d.ts +2 -0
  103. package/dist-esm/samples-dev/subscriptionsTestInputSample.d.ts.map +1 -0
  104. package/dist-esm/samples-dev/subscriptionsTestInputSample.js +57 -0
  105. package/dist-esm/samples-dev/subscriptionsTestInputSample.js.map +1 -0
  106. package/dist-esm/samples-dev/subscriptionsTestOutputSample.d.ts +2 -0
  107. package/dist-esm/samples-dev/subscriptionsTestOutputSample.d.ts.map +1 -0
  108. package/dist-esm/samples-dev/subscriptionsTestOutputSample.js +53 -0
  109. package/dist-esm/samples-dev/subscriptionsTestOutputSample.js.map +1 -0
  110. package/dist-esm/samples-dev/subscriptionsTestQuerySample.d.ts +2 -0
  111. package/dist-esm/samples-dev/subscriptionsTestQuerySample.d.ts.map +1 -0
  112. package/dist-esm/samples-dev/subscriptionsTestQuerySample.js +78 -0
  113. package/dist-esm/samples-dev/subscriptionsTestQuerySample.js.map +1 -0
  114. package/dist-esm/samples-dev/transformationsCreateOrReplaceSample.js +14 -6
  115. package/dist-esm/samples-dev/transformationsCreateOrReplaceSample.js.map +1 -1
  116. package/dist-esm/samples-dev/transformationsGetSample.js +12 -4
  117. package/dist-esm/samples-dev/transformationsGetSample.js.map +1 -1
  118. package/dist-esm/samples-dev/transformationsUpdateSample.js +13 -5
  119. package/dist-esm/samples-dev/transformationsUpdateSample.js.map +1 -1
  120. package/dist-esm/src/lroImpl.d.ts +6 -11
  121. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  122. package/dist-esm/src/lroImpl.js +12 -20
  123. package/dist-esm/src/lroImpl.js.map +1 -1
  124. package/dist-esm/src/models/index.d.ts +1320 -469
  125. package/dist-esm/src/models/index.d.ts.map +1 -1
  126. package/dist-esm/src/models/index.js +126 -22
  127. package/dist-esm/src/models/index.js.map +1 -1
  128. package/dist-esm/src/models/mappers.d.ts +108 -42
  129. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  130. package/dist-esm/src/models/mappers.js +3129 -1585
  131. package/dist-esm/src/models/mappers.js.map +1 -1
  132. package/dist-esm/src/models/parameters.d.ts +19 -13
  133. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  134. package/dist-esm/src/models/parameters.js +162 -131
  135. package/dist-esm/src/models/parameters.js.map +1 -1
  136. package/dist-esm/src/operations/clusters.d.ts +4 -4
  137. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  138. package/dist-esm/src/operations/clusters.js +105 -93
  139. package/dist-esm/src/operations/clusters.js.map +1 -1
  140. package/dist-esm/src/operations/functions.d.ts +2 -2
  141. package/dist-esm/src/operations/functions.d.ts.map +1 -1
  142. package/dist-esm/src/operations/functions.js +64 -60
  143. package/dist-esm/src/operations/functions.js.map +1 -1
  144. package/dist-esm/src/operations/index.d.ts +5 -4
  145. package/dist-esm/src/operations/index.d.ts.map +1 -1
  146. package/dist-esm/src/operations/index.js +5 -4
  147. package/dist-esm/src/operations/index.js.map +1 -1
  148. package/dist-esm/src/operations/inputs.d.ts +2 -2
  149. package/dist-esm/src/operations/inputs.d.ts.map +1 -1
  150. package/dist-esm/src/operations/inputs.js +58 -54
  151. package/dist-esm/src/operations/inputs.js.map +1 -1
  152. package/dist-esm/src/operations/operations.js +9 -9
  153. package/dist-esm/src/operations/outputs.d.ts +2 -2
  154. package/dist-esm/src/operations/outputs.d.ts.map +1 -1
  155. package/dist-esm/src/operations/outputs.js +58 -54
  156. package/dist-esm/src/operations/outputs.js.map +1 -1
  157. package/dist-esm/src/operations/privateEndpoints.d.ts +2 -2
  158. package/dist-esm/src/operations/privateEndpoints.d.ts.map +1 -1
  159. package/dist-esm/src/operations/privateEndpoints.js +47 -43
  160. package/dist-esm/src/operations/privateEndpoints.js.map +1 -1
  161. package/dist-esm/src/operations/skuOperations.d.ts +38 -0
  162. package/dist-esm/src/operations/skuOperations.d.ts.map +1 -0
  163. package/dist-esm/src/operations/skuOperations.js +150 -0
  164. package/dist-esm/src/operations/skuOperations.js.map +1 -0
  165. package/dist-esm/src/operations/streamingJobs.d.ts +6 -6
  166. package/dist-esm/src/operations/streamingJobs.d.ts.map +1 -1
  167. package/dist-esm/src/operations/streamingJobs.js +119 -99
  168. package/dist-esm/src/operations/streamingJobs.js.map +1 -1
  169. package/dist-esm/src/operations/subscriptions.d.ts +79 -4
  170. package/dist-esm/src/operations/subscriptions.d.ts.map +1 -1
  171. package/dist-esm/src/operations/subscriptions.js +401 -8
  172. package/dist-esm/src/operations/subscriptions.js.map +1 -1
  173. package/dist-esm/src/operations/transformations.js +22 -22
  174. package/dist-esm/src/operations/transformations.js.map +1 -1
  175. package/dist-esm/src/operationsInterfaces/clusters.d.ts +4 -4
  176. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
  177. package/dist-esm/src/operationsInterfaces/functions.d.ts +2 -2
  178. package/dist-esm/src/operationsInterfaces/functions.d.ts.map +1 -1
  179. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -4
  180. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  181. package/dist-esm/src/operationsInterfaces/index.js +5 -4
  182. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  183. package/dist-esm/src/operationsInterfaces/inputs.d.ts +2 -2
  184. package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +1 -1
  185. package/dist-esm/src/operationsInterfaces/outputs.d.ts +2 -2
  186. package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +1 -1
  187. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +2 -2
  188. package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +1 -1
  189. package/dist-esm/src/operationsInterfaces/skuOperations.d.ts +13 -0
  190. package/dist-esm/src/operationsInterfaces/skuOperations.d.ts.map +1 -0
  191. package/dist-esm/src/operationsInterfaces/skuOperations.js +9 -0
  192. package/dist-esm/src/operationsInterfaces/skuOperations.js.map +1 -0
  193. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +6 -6
  194. package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +1 -1
  195. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +79 -4
  196. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -1
  197. package/dist-esm/src/streamAnalyticsManagementClient.d.ts +6 -8
  198. package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +1 -1
  199. package/dist-esm/src/streamAnalyticsManagementClient.js +12 -41
  200. package/dist-esm/src/streamAnalyticsManagementClient.js.map +1 -1
  201. package/dist-esm/test/streamanalytics_operations_test.spec.d.ts +4 -0
  202. package/dist-esm/test/streamanalytics_operations_test.spec.d.ts.map +1 -0
  203. package/dist-esm/test/streamanalytics_operations_test.spec.js +112 -0
  204. package/dist-esm/test/streamanalytics_operations_test.spec.js.map +1 -0
  205. package/package.json +15 -14
  206. package/review/arm-streamanalytics.api.md +614 -55
  207. package/src/lroImpl.ts +31 -23
  208. package/src/models/index.ts +1514 -538
  209. package/src/models/mappers.ts +3649 -1881
  210. package/src/models/parameters.ts +182 -140
  211. package/src/operations/clusters.ts +189 -189
  212. package/src/operations/functions.ts +115 -113
  213. package/src/operations/index.ts +5 -4
  214. package/src/operations/inputs.ts +103 -103
  215. package/src/operations/operations.ts +16 -16
  216. package/src/operations/outputs.ts +103 -103
  217. package/src/operations/privateEndpoints.ts +83 -84
  218. package/src/operations/skuOperations.ts +193 -0
  219. package/src/operations/streamingJobs.ts +208 -215
  220. package/src/operations/subscriptions.ts +551 -13
  221. package/src/operations/transformations.ts +32 -35
  222. package/src/operationsInterfaces/clusters.ts +17 -17
  223. package/src/operationsInterfaces/functions.ts +14 -11
  224. package/src/operationsInterfaces/index.ts +5 -4
  225. package/src/operationsInterfaces/inputs.ts +10 -10
  226. package/src/operationsInterfaces/operations.ts +1 -1
  227. package/src/operationsInterfaces/outputs.ts +10 -10
  228. package/src/operationsInterfaces/privateEndpoints.ts +8 -8
  229. package/src/operationsInterfaces/skuOperations.ts +26 -0
  230. package/src/operationsInterfaces/streamingJobs.ts +22 -22
  231. package/src/operationsInterfaces/subscriptions.ts +151 -5
  232. package/src/operationsInterfaces/transformations.ts +4 -4
  233. package/src/pagingHelper.ts +1 -1
  234. package/src/streamAnalyticsManagementClient.ts +34 -65
  235. package/types/arm-streamanalytics.d.ts +1129 -109
  236. package/types/tsdoc-metadata.json +1 -1
  237. package/dist-esm/test/sampleTest.d.ts +0 -2
  238. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  239. package/dist-esm/test/sampleTest.js +0 -38
  240. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -8,103 +8,122 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
+ export type FunctionPropertiesUnion =
12
+ | FunctionProperties
13
+ | ScalarFunctionProperties
14
+ | AggregateFunctionProperties;
15
+ export type FunctionBindingUnion =
16
+ | FunctionBinding
17
+ | AzureMachineLearningStudioFunctionBinding
18
+ | JavaScriptFunctionBinding
19
+ | CSharpFunctionBinding
20
+ | AzureMachineLearningServiceFunctionBinding;
21
+ export type FunctionRetrieveDefaultDefinitionParametersUnion =
22
+ | FunctionRetrieveDefaultDefinitionParameters
23
+ | AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters
24
+ | AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters
25
+ | JavaScriptFunctionRetrieveDefaultDefinitionParameters
26
+ | CSharpFunctionRetrieveDefaultDefinitionParameters;
11
27
  export type InputPropertiesUnion =
12
28
  | InputProperties
13
29
  | StreamInputProperties
14
30
  | ReferenceInputProperties;
15
31
  export type SerializationUnion =
16
32
  | Serialization
33
+ | DeltaSerialization
17
34
  | ParquetSerialization
35
+ | CustomClrSerialization
18
36
  | CsvSerialization
19
37
  | JsonSerialization
20
38
  | AvroSerialization;
21
39
  export type OutputDataSourceUnion =
22
40
  | OutputDataSource
41
+ | RawOutputDatasource
23
42
  | BlobOutputDataSource
24
43
  | AzureTableOutputDataSource
25
44
  | EventHubOutputDataSource
26
45
  | EventHubV2OutputDataSource
27
46
  | AzureSqlDatabaseOutputDataSource
28
47
  | AzureSynapseOutputDataSource
48
+ | PostgreSQLOutputDataSource
29
49
  | DocumentDbOutputDataSource
50
+ | AzureFunctionOutputDataSource
30
51
  | ServiceBusQueueOutputDataSource
31
52
  | ServiceBusTopicOutputDataSource
32
53
  | PowerBIOutputDataSource
33
- | AzureDataLakeStoreOutputDataSource;
34
- export type FunctionPropertiesUnion =
35
- | FunctionProperties
36
- | ScalarFunctionProperties;
37
- export type FunctionRetrieveDefaultDefinitionParametersUnion =
38
- | FunctionRetrieveDefaultDefinitionParameters
39
- | AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters
40
- | JavaScriptFunctionRetrieveDefaultDefinitionParameters;
54
+ | AzureDataLakeStoreOutputDataSource
55
+ | GatewayMessageBusOutputDataSource
56
+ | AzureDataExplorerOutputDataSource;
41
57
  export type StreamInputDataSourceUnion =
42
58
  | StreamInputDataSource
43
59
  | BlobStreamInputDataSource
44
60
  | EventHubStreamInputDataSource
45
61
  | EventHubV2StreamInputDataSource
46
- | IoTHubStreamInputDataSource;
62
+ | IoTHubStreamInputDataSource
63
+ | RawStreamInputDataSource
64
+ | GatewayMessageBusStreamInputDataSource
65
+ | EventGridStreamInputDataSource;
47
66
  export type ReferenceInputDataSourceUnion =
48
67
  | ReferenceInputDataSource
68
+ | FileReferenceInputDataSource
49
69
  | BlobReferenceInputDataSource
70
+ | RawReferenceInputDataSource
50
71
  | AzureSqlReferenceInputDataSource;
51
- export type FunctionBindingUnion =
52
- | FunctionBinding
53
- | AzureMachineLearningWebServiceFunctionBinding
54
- | JavaScriptFunctionBinding;
55
72
 
56
- /** Result of the request to list Stream Analytics operations. It contains a list of operations and a URL link to get the next set of results. */
57
- export interface OperationListResult {
58
- /**
59
- * List of Stream Analytics operations supported by the Microsoft.StreamAnalytics resource provider.
60
- * NOTE: This property will not be serialized. It can only be populated by the server.
61
- */
62
- readonly value?: Operation[];
73
+ /** The properties that are associated with a function. */
74
+ export interface FunctionProperties {
75
+ /** Polymorphic discriminator, which specifies the different types this object can be */
76
+ type: "Scalar" | "Aggregate";
63
77
  /**
64
- * URL to get the next set of operation list results if there are any.
78
+ * The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
65
79
  * NOTE: This property will not be serialized. It can only be populated by the server.
66
80
  */
67
- readonly nextLink?: string;
81
+ readonly etag?: string;
82
+ inputs?: FunctionInput[];
83
+ /** Describes the output of a function. */
84
+ output?: FunctionOutput;
85
+ /** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
86
+ binding?: FunctionBindingUnion;
68
87
  }
69
88
 
70
- /** A Stream Analytics REST API operation */
71
- export interface Operation {
72
- /**
73
- * The name of the operation being performed on this particular object.
74
- * NOTE: This property will not be serialized. It can only be populated by the server.
75
- */
76
- readonly name?: string;
77
- /** Indicates whether the operation is a data action */
78
- isDataAction?: boolean;
79
- /**
80
- * Contains the localized display information for this particular operation / action.
81
- * NOTE: This property will not be serialized. It can only be populated by the server.
82
- */
83
- readonly display?: OperationDisplay;
89
+ /** Describes one input parameter of a function. */
90
+ export interface FunctionInput {
91
+ /** The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
92
+ dataType?: string;
93
+ /** A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false. */
94
+ isConfigurationParameter?: boolean;
84
95
  }
85
96
 
86
- /** Contains the localized display information for this particular operation / action. */
87
- export interface OperationDisplay {
88
- /**
89
- * The localized friendly form of the resource provider name.
90
- * NOTE: This property will not be serialized. It can only be populated by the server.
91
- */
92
- readonly provider?: string;
93
- /**
94
- * The localized friendly form of the resource type related to this action/operation.
95
- * NOTE: This property will not be serialized. It can only be populated by the server.
96
- */
97
- readonly resource?: string;
97
+ /** Describes the output of a function. */
98
+ export interface FunctionOutput {
99
+ /** The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
100
+ dataType?: string;
101
+ }
102
+
103
+ /** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
104
+ export interface FunctionBinding {
105
+ /** Polymorphic discriminator, which specifies the different types this object can be */
106
+ type:
107
+ | "Microsoft.MachineLearning/WebService"
108
+ | "Microsoft.StreamAnalytics/JavascriptUdf"
109
+ | "Microsoft.StreamAnalytics/CLRUdf"
110
+ | "Microsoft.MachineLearningServices";
111
+ }
112
+
113
+ /** The base sub-resource model definition. */
114
+ export interface SubResource {
98
115
  /**
99
- * The localized friendly name for the operation.
116
+ * Resource Id
100
117
  * NOTE: This property will not be serialized. It can only be populated by the server.
101
118
  */
102
- readonly operation?: string;
119
+ readonly id?: string;
120
+ /** Resource name */
121
+ name?: string;
103
122
  /**
104
- * The localized friendly description for the operation.
123
+ * Resource type
105
124
  * NOTE: This property will not be serialized. It can only be populated by the server.
106
125
  */
107
- readonly description?: string;
126
+ readonly type?: string;
108
127
  }
109
128
 
110
129
  /** Common error representation. */
@@ -135,10 +154,56 @@ export interface ErrorDetails {
135
154
  message?: string;
136
155
  }
137
156
 
138
- /** The properties that are associated with a SKU. */
139
- export interface Sku {
140
- /** The name of the SKU. Required on PUT (CreateOrReplace) requests. */
141
- name?: SkuName;
157
+ /** Object containing a list of functions under a streaming job. */
158
+ export interface FunctionListResult {
159
+ /**
160
+ * A list of functions under a streaming job. Populated by a 'List' operation.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
162
+ */
163
+ readonly value?: FunctionModel[];
164
+ /**
165
+ * The link (url) to the next page of results.
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
167
+ */
168
+ readonly nextLink?: string;
169
+ }
170
+
171
+ /** Describes the status of the test operation along with error information, if applicable. */
172
+ export interface ResourceTestStatus {
173
+ /**
174
+ * The status of the test operation.
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
176
+ */
177
+ readonly status?: string;
178
+ /**
179
+ * Describes the error that occurred.
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
+ */
182
+ readonly error?: ErrorResponse;
183
+ }
184
+
185
+ /** Describes the error that occurred. */
186
+ export interface ErrorResponse {
187
+ /**
188
+ * Error code associated with the error that occurred.
189
+ * NOTE: This property will not be serialized. It can only be populated by the server.
190
+ */
191
+ readonly code?: string;
192
+ /**
193
+ * Describes the error in detail.
194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
195
+ */
196
+ readonly message?: string;
197
+ }
198
+
199
+ /** Parameters used to specify the type of function to retrieve the default definition for. */
200
+ export interface FunctionRetrieveDefaultDefinitionParameters {
201
+ /** Polymorphic discriminator, which specifies the different types this object can be */
202
+ bindingType:
203
+ | "Microsoft.MachineLearning/WebService"
204
+ | "Microsoft.MachineLearningServices"
205
+ | "Microsoft.StreamAnalytics/JavascriptUdf"
206
+ | "Microsoft.StreamAnalytics/CLRUdf";
142
207
  }
143
208
 
144
209
  /** The properties that are associated with an input. */
@@ -161,12 +226,14 @@ export interface InputProperties {
161
226
  compression?: Compression;
162
227
  /** partitionKey Describes a key in the input data which is used for partitioning the input data */
163
228
  partitionKey?: string;
229
+ /** Settings which determine whether to read watermark events. */
230
+ watermarkSettings?: InputWatermarkProperties;
164
231
  }
165
232
 
166
233
  /** Describes how data from an input is serialized or how data is serialized when written to an output. */
167
234
  export interface Serialization {
168
235
  /** Polymorphic discriminator, which specifies the different types this object can be */
169
- type: "Parquet" | "Csv" | "Json" | "Avro";
236
+ type: "Delta" | "Parquet" | "CustomClr" | "Csv" | "Json" | "Avro";
170
237
  }
171
238
 
172
239
  /** Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention. */
@@ -203,48 +270,138 @@ export interface Compression {
203
270
  type: CompressionType;
204
271
  }
205
272
 
206
- /** The base sub-resource model definition. */
207
- export interface SubResource {
273
+ /** Settings which determine whether to read watermark events. */
274
+ export interface InputWatermarkProperties {
275
+ /** The input watermark mode. */
276
+ watermarkMode?: InputWatermarkMode;
277
+ }
278
+
279
+ /** Object containing a list of inputs under a streaming job. */
280
+ export interface InputListResult {
208
281
  /**
209
- * Resource Id
282
+ * A list of inputs under a streaming job. Populated by a 'List' operation.
210
283
  * NOTE: This property will not be serialized. It can only be populated by the server.
211
284
  */
212
- readonly id?: string;
213
- /** Resource name */
214
- name?: string;
285
+ readonly value?: Input[];
215
286
  /**
216
- * Resource type
287
+ * The link (url) to the next page of results.
217
288
  * NOTE: This property will not be serialized. It can only be populated by the server.
218
289
  */
219
- readonly type?: string;
290
+ readonly nextLink?: string;
220
291
  }
221
292
 
222
293
  /** Describes the data source that output will be written to. */
223
294
  export interface OutputDataSource {
224
295
  /** Polymorphic discriminator, which specifies the different types this object can be */
225
296
  type:
297
+ | "Raw"
226
298
  | "Microsoft.Storage/Blob"
227
299
  | "Microsoft.Storage/Table"
228
300
  | "Microsoft.ServiceBus/EventHub"
229
301
  | "Microsoft.EventHub/EventHub"
230
302
  | "Microsoft.Sql/Server/Database"
231
303
  | "Microsoft.Sql/Server/DataWarehouse"
304
+ | "Microsoft.DBForPostgreSQL/servers/databases"
232
305
  | "Microsoft.Storage/DocumentDB"
306
+ | "Microsoft.AzureFunction"
233
307
  | "Microsoft.ServiceBus/Queue"
234
308
  | "Microsoft.ServiceBus/Topic"
235
309
  | "PowerBI"
236
- | "Microsoft.DataLake/Accounts";
310
+ | "Microsoft.DataLake/Accounts"
311
+ | "GatewayMessageBus"
312
+ | "Microsoft.Kusto/clusters/databases";
237
313
  }
238
314
 
239
- /** The properties that are associated with a function. */
240
- export interface FunctionProperties {
241
- /** Polymorphic discriminator, which specifies the different types this object can be */
242
- type: "Scalar";
315
+ /** An output event timestamp. */
316
+ export interface LastOutputEventTimestamp {
317
+ /** The last output event time. */
318
+ lastOutputEventTime?: string;
319
+ /** The time that the last update happened. */
320
+ lastUpdateTime?: string;
321
+ }
322
+
323
+ /** Settings which determine whether to send watermarks to downstream. */
324
+ export interface OutputWatermarkProperties {
325
+ /** The output watermark mode. */
326
+ watermarkMode?: OutputWatermarkMode;
327
+ /** Describes the maximal delta between the fastest and slowest partitions, so the out of order window that catches all necessary events in downstream jobs is well defined. */
328
+ maxWatermarkDifferenceAcrossPartitions?: string;
329
+ }
330
+
331
+ /** Object containing a list of outputs under a streaming job. */
332
+ export interface OutputListResult {
243
333
  /**
244
- * The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
334
+ * A list of outputs under a streaming job. Populated by a 'List' operation.
245
335
  * NOTE: This property will not be serialized. It can only be populated by the server.
246
336
  */
247
- readonly etag?: string;
337
+ readonly value?: Output[];
338
+ /**
339
+ * The link (url) to the next page of results.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly nextLink?: string;
343
+ }
344
+
345
+ /** Result of the request to list Stream Analytics operations. It contains a list of operations and a URL link to get the next set of results. */
346
+ export interface OperationListResult {
347
+ /**
348
+ * List of Stream Analytics operations supported by the Microsoft.StreamAnalytics resource provider.
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
+ */
351
+ readonly value?: Operation[];
352
+ /**
353
+ * URL to get the next set of operation list results if there are any.
354
+ * NOTE: This property will not be serialized. It can only be populated by the server.
355
+ */
356
+ readonly nextLink?: string;
357
+ }
358
+
359
+ /** A Stream Analytics REST API operation */
360
+ export interface Operation {
361
+ /**
362
+ * The name of the operation being performed on this particular object.
363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
364
+ */
365
+ readonly name?: string;
366
+ /** Indicates whether the operation is a data action */
367
+ isDataAction?: boolean;
368
+ /**
369
+ * Contains the localized display information for this particular operation / action.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
371
+ */
372
+ readonly display?: OperationDisplay;
373
+ }
374
+
375
+ /** Contains the localized display information for this particular operation / action. */
376
+ export interface OperationDisplay {
377
+ /**
378
+ * The localized friendly form of the resource provider name.
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
380
+ */
381
+ readonly provider?: string;
382
+ /**
383
+ * The localized friendly form of the resource type related to this action/operation.
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly resource?: string;
387
+ /**
388
+ * The localized friendly name for the operation.
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
390
+ */
391
+ readonly operation?: string;
392
+ /**
393
+ * The localized friendly description for the operation.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly description?: string;
397
+ }
398
+
399
+ /** The properties that are associated with a SKU. */
400
+ export interface Sku {
401
+ /** The name of the SKU. Required on PUT (CreateOrReplace) requests. */
402
+ name?: SkuName;
403
+ /** The capacity of the SKU. */
404
+ capacity?: number;
248
405
  }
249
406
 
250
407
  /** The properties that are associated with an Azure Storage account */
@@ -253,6 +410,34 @@ export interface StorageAccount {
253
410
  accountName?: string;
254
411
  /** The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
255
412
  accountKey?: string;
413
+ /** Authentication Mode. */
414
+ authenticationMode?: AuthenticationMode;
415
+ }
416
+
417
+ /** The storage account where the custom code artifacts are located. */
418
+ export interface External {
419
+ /** The properties that are associated with an Azure Storage account */
420
+ storageAccount?: StorageAccount;
421
+ /** The UserCustomCode container. */
422
+ container?: string;
423
+ /** The UserCustomCode path. */
424
+ path?: string;
425
+ /** The refresh parameters for any/all updatable user defined functions present in the job config. */
426
+ refreshConfiguration?: RefreshConfiguration;
427
+ }
428
+
429
+ /** The refresh parameters for any/all updatable user defined functions present in the job config. */
430
+ export interface RefreshConfiguration {
431
+ /** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
432
+ pathPattern?: string;
433
+ /** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
434
+ dateFormat?: string;
435
+ /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
436
+ timeFormat?: string;
437
+ /** The refresh interval. */
438
+ refreshInterval?: string;
439
+ /** This property indicates which data refresh option to use, Blocking or Nonblocking. */
440
+ refreshType?: UpdatableUdfRefreshType;
256
441
  }
257
442
 
258
443
  /** The properties associated with a Stream Analytics cluster. */
@@ -263,12 +448,20 @@ export interface ClusterInfo {
263
448
 
264
449
  /** Describes how identity is verified */
265
450
  export interface Identity {
266
- /** The identity tenantId */
267
- tenantId?: string;
268
- /** The identity principal ID */
269
- principalId?: string;
270
- /** The identity type */
451
+ /**
452
+ * The tenantId of the identity.
453
+ * NOTE: This property will not be serialized. It can only be populated by the server.
454
+ */
455
+ readonly tenantId?: string;
456
+ /**
457
+ * The principalId of the identity.
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
+ */
460
+ readonly principalId?: string;
461
+ /** The type of identity, can be SystemAssigned or UserAssigned. */
271
462
  type?: string;
463
+ /** The user assigned identities associated with the streaming job resource. */
464
+ userAssignedIdentities?: { [propertyName: string]: Record<string, unknown> };
272
465
  }
273
466
 
274
467
  /** The base resource definition */
@@ -318,13 +511,10 @@ export interface ScaleStreamingJobParameters {
318
511
  streamingUnits?: number;
319
512
  }
320
513
 
321
- /** Object containing a list of inputs under a streaming job. */
322
- export interface InputListResult {
323
- /**
324
- * A list of inputs under a streaming job. Populated by a 'List' operation.
325
- * NOTE: This property will not be serialized. It can only be populated by the server.
326
- */
327
- readonly value?: Input[];
514
+ /** Result of the request to get streaming job SKUs. */
515
+ export interface GetStreamingJobSkuResults {
516
+ /** The list of available SKUs that the streaming job can use. */
517
+ value?: GetStreamingJobSkuResult[];
328
518
  /**
329
519
  * The link (url) to the next page of results.
330
520
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -332,77 +522,206 @@ export interface InputListResult {
332
522
  readonly nextLink?: string;
333
523
  }
334
524
 
335
- /** Describes the status of the test operation along with error information, if applicable. */
336
- export interface ResourceTestStatus {
525
+ /** Describes an available SKU information. */
526
+ export interface GetStreamingJobSkuResult {
337
527
  /**
338
- * The status of the test operation.
528
+ * The type of resource the SKU applies to.
339
529
  * NOTE: This property will not be serialized. It can only be populated by the server.
340
530
  */
341
- readonly status?: string;
531
+ readonly resourceType?: ResourceType;
342
532
  /**
343
- * Describes the error that occurred.
533
+ * The properties that are associated with a SKU.
344
534
  * NOTE: This property will not be serialized. It can only be populated by the server.
345
535
  */
346
- readonly error?: ErrorResponse;
536
+ readonly sku?: GetStreamingJobSkuResultSku;
537
+ /**
538
+ * Describes scaling information of a SKU.
539
+ * NOTE: This property will not be serialized. It can only be populated by the server.
540
+ */
541
+ readonly capacity?: SkuCapacity;
347
542
  }
348
543
 
349
- /** Describes the error that occurred. */
350
- export interface ErrorResponse {
544
+ /** The properties that are associated with a SKU. */
545
+ export interface GetStreamingJobSkuResultSku {
546
+ /** The name of the SKU. */
547
+ name?: SkuName;
548
+ }
549
+
550
+ /** Describes scaling information of a SKU. */
551
+ export interface SkuCapacity {
351
552
  /**
352
- * Error code associated with the error that occurred.
553
+ * Specifies the minimum streaming units that the streaming job can use.
353
554
  * NOTE: This property will not be serialized. It can only be populated by the server.
354
555
  */
355
- readonly code?: string;
556
+ readonly minimum?: number;
356
557
  /**
357
- * Describes the error in detail.
558
+ * Specifies the maximum streaming units that the streaming job can use.
358
559
  * NOTE: This property will not be serialized. It can only be populated by the server.
359
560
  */
360
- readonly message?: string;
561
+ readonly maximum?: number;
562
+ /**
563
+ * Specifies the default streaming units that the streaming job can use.
564
+ * NOTE: This property will not be serialized. It can only be populated by the server.
565
+ */
566
+ readonly default?: number;
567
+ /**
568
+ * The scale type applicable to the SKU.
569
+ * NOTE: This property will not be serialized. It can only be populated by the server.
570
+ */
571
+ readonly scaleType?: SkuCapacityScaleType;
572
+ /**
573
+ * Specifies the valid streaming units a streaming job can scale to.
574
+ * NOTE: This property will not be serialized. It can only be populated by the server.
575
+ */
576
+ readonly allowedValues?: number[];
361
577
  }
362
578
 
363
- /** Object containing a list of outputs under a streaming job. */
364
- export interface OutputListResult {
579
+ /** Result of the GetQuotas operation. It contains a list of quotas for the subscription in a particular region. */
580
+ export interface SubscriptionQuotasListResult {
365
581
  /**
366
- * A list of outputs under a streaming job. Populated by a 'List' operation.
582
+ * List of quotas for the subscription in a particular region.
367
583
  * NOTE: This property will not be serialized. It can only be populated by the server.
368
584
  */
369
- readonly value?: Output[];
585
+ readonly value?: SubscriptionQuota[];
586
+ }
587
+
588
+ /** The request object for query testing. */
589
+ export interface TestQuery {
590
+ /** Diagnostics information related to query testing. */
591
+ diagnostics?: TestQueryDiagnostics;
592
+ /** Stream analytics job object which defines the input, output, and transformation for the query testing. */
593
+ streamingJob: StreamingJob;
594
+ }
595
+
596
+ /** Diagnostics information related to query testing. */
597
+ export interface TestQueryDiagnostics {
598
+ /** The SAS URI to the container or directory. */
599
+ writeUri: string;
600
+ /** The path to the subdirectory. */
601
+ path?: string;
602
+ }
603
+
604
+ /** The query compilation object which defines the input, output, and transformation for the query compilation. */
605
+ export interface CompileQuery {
606
+ /** The query to compile. */
607
+ query: string;
608
+ /** The inputs for the query compilation. */
609
+ inputs?: QueryInput[];
610
+ /** The functions for the query compilation. */
611
+ functions?: QueryFunction[];
612
+ /** Describes the type of the job. Valid values are `Cloud` and 'Edge'. */
613
+ jobType: JobType;
614
+ /** The query to compile. */
615
+ compatibilityLevel?: CompatibilityLevel;
616
+ }
617
+
618
+ /** An input for the query compilation. */
619
+ export interface QueryInput {
620
+ /** The name of the input. */
621
+ name: string;
622
+ /** The type of the input, can be Stream or Reference. */
623
+ type: string;
624
+ }
625
+
626
+ /** A function for the query compilation. */
627
+ export interface QueryFunction {
628
+ /** The name of the function. */
629
+ name: string;
630
+ /** The type of the function. */
631
+ type: string;
632
+ /** The type of the function binding. */
633
+ bindingType: string;
634
+ /** The inputs for the function. */
635
+ inputs: FunctionInput[];
636
+ /** An output for the function. */
637
+ output: FunctionOutput;
638
+ }
639
+
640
+ /** The result of the query compilation request. */
641
+ export interface QueryCompilationResult {
370
642
  /**
371
- * The link (url) to the next page of results.
643
+ * Error messages produced by the compiler.
372
644
  * NOTE: This property will not be serialized. It can only be populated by the server.
373
645
  */
374
- readonly nextLink?: string;
646
+ readonly errors?: QueryCompilationError[];
647
+ /**
648
+ * Warning messages produced by the compiler.
649
+ * NOTE: This property will not be serialized. It can only be populated by the server.
650
+ */
651
+ readonly warnings?: string[];
652
+ /**
653
+ * All input names used by the query.
654
+ * NOTE: This property will not be serialized. It can only be populated by the server.
655
+ */
656
+ readonly inputs?: string[];
657
+ /**
658
+ * All output names used by the query.
659
+ * NOTE: This property will not be serialized. It can only be populated by the server.
660
+ */
661
+ readonly outputs?: string[];
662
+ /**
663
+ * All function names used by the query.
664
+ * NOTE: This property will not be serialized. It can only be populated by the server.
665
+ */
666
+ readonly functions?: string[];
375
667
  }
376
668
 
377
- /** Object containing a list of functions under a streaming job. */
378
- export interface FunctionListResult {
669
+ /** An error produced by the compiler. */
670
+ export interface QueryCompilationError {
379
671
  /**
380
- * A list of functions under a streaming job. Populated by a 'List' operation.
672
+ * The content of the error message.
381
673
  * NOTE: This property will not be serialized. It can only be populated by the server.
382
674
  */
383
- readonly value?: FunctionModel[];
675
+ readonly message?: string;
384
676
  /**
385
- * The link (url) to the next page of results.
677
+ * Describes the error location in the original query. Not set if isGlobal is true.
386
678
  * NOTE: This property will not be serialized. It can only be populated by the server.
387
679
  */
388
- readonly nextLink?: string;
680
+ readonly startLine?: number;
681
+ /**
682
+ * Describes the error location in the original query. Not set if isGlobal is true.
683
+ * NOTE: This property will not be serialized. It can only be populated by the server.
684
+ */
685
+ readonly startColumn?: number;
686
+ /**
687
+ * Describes the error location in the original query. Not set if isGlobal is true.
688
+ * NOTE: This property will not be serialized. It can only be populated by the server.
689
+ */
690
+ readonly endLine?: number;
691
+ /**
692
+ * Describes the error location in the original query. Not set if isGlobal is true.
693
+ * NOTE: This property will not be serialized. It can only be populated by the server.
694
+ */
695
+ readonly endColumn?: number;
696
+ /**
697
+ * Whether the error is not for a specific part but for the entire query.
698
+ * NOTE: This property will not be serialized. It can only be populated by the server.
699
+ */
700
+ readonly isGlobal?: boolean;
389
701
  }
390
702
 
391
- /** Parameters used to specify the type of function to retrieve the default definition for. */
392
- export interface FunctionRetrieveDefaultDefinitionParameters {
393
- /** Polymorphic discriminator, which specifies the different types this object can be */
394
- bindingType:
395
- | "Microsoft.MachineLearning/WebService"
396
- | "Microsoft.StreamAnalytics/JavascriptUdf";
703
+ /** The stream analytics input to sample. */
704
+ export interface SampleInput {
705
+ /** The stream analytics input to sample. */
706
+ input?: Input;
707
+ /** Defaults to the default ASA job compatibility level. Today it is 1.2 */
708
+ compatibilityLevel?: string;
709
+ /** The SAS URI of the storage blob for service to write the sampled events to. If this parameter is not provided, service will write events to he system account and share a temporary SAS URI to it. */
710
+ eventsUri?: string;
711
+ /** Defaults to en-US. */
712
+ dataLocale?: string;
397
713
  }
398
714
 
399
- /** Result of the GetQuotas operation. It contains a list of quotas for the subscription in a particular region. */
400
- export interface SubscriptionQuotasListResult {
401
- /**
402
- * List of quotas for the subscription in a particular region.
403
- * NOTE: This property will not be serialized. It can only be populated by the server.
404
- */
405
- readonly value?: SubscriptionQuota[];
715
+ /** A stream analytics input. */
716
+ export interface TestInput {
717
+ /** The stream analytics input to test. */
718
+ input: Input;
719
+ }
720
+
721
+ /** A stream analytics output. */
722
+ export interface TestOutput {
723
+ /** The stream analytics output to test. */
724
+ output: Output;
406
725
  }
407
726
 
408
727
  /** The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests. */
@@ -413,6 +732,35 @@ export interface ClusterSku {
413
732
  capacity?: number;
414
733
  }
415
734
 
735
+ /** The properties associated with a Stream Analytics cluster. */
736
+ export interface ClusterProperties {
737
+ /**
738
+ * The date this cluster was created.
739
+ * NOTE: This property will not be serialized. It can only be populated by the server.
740
+ */
741
+ readonly createdDate?: Date;
742
+ /**
743
+ * Unique identifier for the cluster.
744
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
+ */
746
+ readonly clusterId?: string;
747
+ /**
748
+ * The status of the cluster provisioning. The three terminal states are: Succeeded, Failed and Canceled
749
+ * NOTE: This property will not be serialized. It can only be populated by the server.
750
+ */
751
+ readonly provisioningState?: ClusterProvisioningState;
752
+ /**
753
+ * Represents the number of streaming units currently being used on the cluster.
754
+ * NOTE: This property will not be serialized. It can only be populated by the server.
755
+ */
756
+ readonly capacityAllocated?: number;
757
+ /**
758
+ * Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the jobs were running, this would be the capacity allocated.
759
+ * NOTE: This property will not be serialized. It can only be populated by the server.
760
+ */
761
+ readonly capacityAssigned?: number;
762
+ }
763
+
416
764
  /** A list of clusters populated by a 'list' operation. */
417
765
  export interface ClusterListResult {
418
766
  /**
@@ -460,6 +808,17 @@ export interface ClusterJob {
460
808
  readonly jobState?: JobState;
461
809
  }
462
810
 
811
+ /** The properties associated with a private endpoint. */
812
+ export interface PrivateEndpointProperties {
813
+ /**
814
+ * The date when this private endpoint was created.
815
+ * NOTE: This property will not be serialized. It can only be populated by the server.
816
+ */
817
+ readonly createdDate?: string;
818
+ /** A list of connections to the remote resource. Immutable after it is set. */
819
+ manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[];
820
+ }
821
+
463
822
  /** A grouping of information about the connection to the remote resource. */
464
823
  export interface PrivateLinkServiceConnection {
465
824
  /** The resource id of the private link service. Required on PUT (CreateOrUpdate) requests. */
@@ -508,6 +867,60 @@ export interface PrivateEndpointListResult {
508
867
  readonly nextLink?: string;
509
868
  }
510
869
 
870
+ /** The inputs for the Azure Machine Learning Studio endpoint. */
871
+ export interface AzureMachineLearningStudioInputs {
872
+ /** The name of the input. This is the name provided while authoring the endpoint. */
873
+ name?: string;
874
+ /** A list of input columns for the Azure Machine Learning Studio endpoint. */
875
+ columnNames?: AzureMachineLearningStudioInputColumn[];
876
+ }
877
+
878
+ /** Describes an input column for the Azure Machine Learning Studio endpoint. */
879
+ export interface AzureMachineLearningStudioInputColumn {
880
+ /** The name of the input column. */
881
+ name?: string;
882
+ /** The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
883
+ dataType?: string;
884
+ /** The zero based index of the function parameter this input maps to. */
885
+ mapTo?: number;
886
+ }
887
+
888
+ /** Describes an output column for the Azure Machine Learning Studio endpoint. */
889
+ export interface AzureMachineLearningStudioOutputColumn {
890
+ /** The name of the output column. */
891
+ name?: string;
892
+ /** The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
893
+ dataType?: string;
894
+ }
895
+
896
+ /** Describes an input column for the Azure Machine Learning web service endpoint. */
897
+ export interface AzureMachineLearningServiceInputColumn {
898
+ /** The name of the input column. */
899
+ name?: string;
900
+ /** The (Azure Machine Learning supported) data type of the input column. */
901
+ dataType?: string;
902
+ /** The zero based index of the function parameter this input maps to. */
903
+ mapTo?: number;
904
+ }
905
+
906
+ /** Describes an output column for the Azure Machine Learning web service endpoint. */
907
+ export interface AzureMachineLearningServiceOutputColumn {
908
+ /** The name of the output column. */
909
+ name?: string;
910
+ /** The (Azure Machine Learning supported) data type of the output column. */
911
+ dataType?: string;
912
+ /** The zero based index of the function parameter this input maps to. */
913
+ mapTo?: number;
914
+ }
915
+
916
+ /** The inputs for the Azure Machine Learning web service endpoint. */
917
+ export interface AzureMachineLearningServiceInputs {
918
+ /** The name of the input. This is the name provided while authoring the endpoint. */
919
+ name?: string;
920
+ /** A list of input columns for the Azure Machine Learning web service endpoint. */
921
+ columnNames?: AzureMachineLearningServiceInputColumn[];
922
+ }
923
+
511
924
  /** Describes an input data source that contains stream data. */
512
925
  export interface StreamInputDataSource {
513
926
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -515,13 +928,20 @@ export interface StreamInputDataSource {
515
928
  | "Microsoft.Storage/Blob"
516
929
  | "Microsoft.ServiceBus/EventHub"
517
930
  | "Microsoft.EventHub/EventHub"
518
- | "Microsoft.Devices/IotHubs";
931
+ | "Microsoft.Devices/IotHubs"
932
+ | "Raw"
933
+ | "GatewayMessageBus"
934
+ | "Microsoft.EventGrid/EventSubscriptions";
519
935
  }
520
936
 
521
937
  /** Describes an input data source that contains reference data. */
522
938
  export interface ReferenceInputDataSource {
523
939
  /** Polymorphic discriminator, which specifies the different types this object can be */
524
- type: "Microsoft.Storage/Blob" | "Microsoft.Sql/Server/Database";
940
+ type:
941
+ | "File"
942
+ | "Microsoft.Storage/Blob"
943
+ | "Raw"
944
+ | "Microsoft.Sql/Server/Database";
525
945
  }
526
946
 
527
947
  /** The properties that are associated with a blob data source. */
@@ -536,6 +956,8 @@ export interface BlobDataSourceProperties {
536
956
  dateFormat?: string;
537
957
  /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
538
958
  timeFormat?: string;
959
+ /** Authentication Mode. */
960
+ authenticationMode?: AuthenticationMode;
539
961
  }
540
962
 
541
963
  /** The common properties that are associated with Service Bus data sources (Queues, Topics, Event Hubs, etc.). */
@@ -550,6 +972,12 @@ export interface ServiceBusDataSourceProperties {
550
972
  authenticationMode?: AuthenticationMode;
551
973
  }
552
974
 
975
+ /** The properties that are associated with a gateway message bus datasource. */
976
+ export interface GatewayMessageBusSourceProperties {
977
+ /** The name of the Service Bus topic. */
978
+ topic?: string;
979
+ }
980
+
553
981
  /** The properties that are associated with an Azure SQL database data source. */
554
982
  export interface AzureSqlDatabaseDataSourceProperties {
555
983
  /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
@@ -582,6 +1010,26 @@ export interface AzureSynapseDataSourceProperties {
582
1010
  user?: string;
583
1011
  /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
584
1012
  password?: string;
1013
+ /** Authentication Mode. */
1014
+ authenticationMode?: AuthenticationMode;
1015
+ }
1016
+
1017
+ /** The properties that are associated with an Azure SQL database data source. */
1018
+ export interface PostgreSQLDataSourceProperties {
1019
+ /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1020
+ server?: string;
1021
+ /** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1022
+ database?: string;
1023
+ /** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1024
+ table?: string;
1025
+ /** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1026
+ user?: string;
1027
+ /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1028
+ password?: string;
1029
+ /** Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests. */
1030
+ maxWriterCount?: number;
1031
+ /** Authentication Mode. */
1032
+ authenticationMode?: AuthenticationMode;
585
1033
  }
586
1034
 
587
1035
  /** The properties that are associated with data sources that use OAuth as their authentication model. */
@@ -594,56 +1042,243 @@ export interface OAuthBasedDataSourceProperties {
594
1042
  tokenUserDisplayName?: string;
595
1043
  }
596
1044
 
597
- /** Describes one input parameter of a function. */
598
- export interface FunctionInput {
599
- /** The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
600
- dataType?: string;
601
- /** A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false. */
602
- isConfigurationParameter?: boolean;
603
- }
604
-
605
- /** Describes the output of a function. */
606
- export interface FunctionOutput {
607
- /** The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
608
- dataType?: string;
1045
+ /** The properties that are associated with a scalar function. */
1046
+ export interface ScalarFunctionProperties extends FunctionProperties {
1047
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1048
+ type: "Scalar";
609
1049
  }
610
1050
 
611
- /** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
612
- export interface FunctionBinding {
1051
+ /** The properties that are associated with an aggregate function. */
1052
+ export interface AggregateFunctionProperties extends FunctionProperties {
613
1053
  /** Polymorphic discriminator, which specifies the different types this object can be */
614
- type:
615
- | "Microsoft.MachineLearning/WebService"
616
- | "Microsoft.StreamAnalytics/JavascriptUdf";
1054
+ type: "Aggregate";
617
1055
  }
618
1056
 
619
- /** The inputs for the Azure Machine Learning web service endpoint. */
620
- export interface AzureMachineLearningWebServiceInputs {
621
- /** The name of the input. This is the name provided while authoring the endpoint. */
622
- name?: string;
623
- /** A list of input columns for the Azure Machine Learning web service endpoint. */
624
- columnNames?: AzureMachineLearningWebServiceInputColumn[];
1057
+ /** The binding to an Azure Machine Learning Studio. */
1058
+ export interface AzureMachineLearningStudioFunctionBinding
1059
+ extends FunctionBinding {
1060
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1061
+ type: "Microsoft.MachineLearning/WebService";
1062
+ /** The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
1063
+ endpoint?: string;
1064
+ /** The API key used to authenticate with Request-Response endpoint. */
1065
+ apiKey?: string;
1066
+ /** The inputs for the Azure Machine Learning Studio endpoint. */
1067
+ inputs?: AzureMachineLearningStudioInputs;
1068
+ /** A list of outputs from the Azure Machine Learning Studio endpoint execution. */
1069
+ outputs?: AzureMachineLearningStudioOutputColumn[];
1070
+ /** Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000. */
1071
+ batchSize?: number;
625
1072
  }
626
1073
 
627
- /** Describes an input column for the Azure Machine Learning web service endpoint. */
628
- export interface AzureMachineLearningWebServiceInputColumn {
629
- /** The name of the input column. */
630
- name?: string;
631
- /** The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
632
- dataType?: string;
633
- /** The zero based index of the function parameter this input maps to. */
634
- mapTo?: number;
1074
+ /** The binding to a JavaScript function. */
1075
+ export interface JavaScriptFunctionBinding extends FunctionBinding {
1076
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1077
+ type: "Microsoft.StreamAnalytics/JavascriptUdf";
1078
+ /** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }' */
1079
+ script?: string;
635
1080
  }
636
1081
 
637
- /** Describes an output column for the Azure Machine Learning web service endpoint. */
638
- export interface AzureMachineLearningWebServiceOutputColumn {
639
- /** The name of the output column. */
640
- name?: string;
641
- /** The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
642
- dataType?: string;
1082
+ /** The binding to a CSharp function. */
1083
+ export interface CSharpFunctionBinding extends FunctionBinding {
1084
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1085
+ type: "Microsoft.StreamAnalytics/CLRUdf";
1086
+ /** The Csharp code containing a single function definition. */
1087
+ dllPath?: string;
1088
+ /** The Csharp code containing a single function definition. */
1089
+ class?: string;
1090
+ /** The Csharp code containing a single function definition. */
1091
+ method?: string;
1092
+ /** Refresh modes for Stream Analytics functions. */
1093
+ updateMode?: UpdateMode;
643
1094
  }
644
1095
 
645
- /** The properties that are associated with an input containing stream data. */
646
- export interface StreamInputProperties extends InputProperties {
1096
+ /** The binding to an Azure Machine Learning web service. */
1097
+ export interface AzureMachineLearningServiceFunctionBinding
1098
+ extends FunctionBinding {
1099
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1100
+ type: "Microsoft.MachineLearningServices";
1101
+ /** The Request-Response execute endpoint of the Azure Machine Learning web service. */
1102
+ endpoint?: string;
1103
+ /** The API key used to authenticate with Request-Response endpoint. */
1104
+ apiKey?: string;
1105
+ /** The inputs for the Azure Machine Learning web service endpoint. */
1106
+ inputs?: AzureMachineLearningServiceInputColumn[];
1107
+ /** A list of outputs from the Azure Machine Learning web service endpoint execution. */
1108
+ outputs?: AzureMachineLearningServiceOutputColumn[];
1109
+ /** Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000. */
1110
+ batchSize?: number;
1111
+ /** The number of parallel requests that will be sent per partition of your job to the machine learning service. Default is 1. */
1112
+ numberOfParallelRequests?: number;
1113
+ /** Label for the input request object. */
1114
+ inputRequestName?: string;
1115
+ /** Label for the output request object. */
1116
+ outputResponseName?: string;
1117
+ }
1118
+
1119
+ /** A function object, containing all information associated with the named function. All functions are contained under a streaming job. */
1120
+ export interface FunctionModel extends SubResource {
1121
+ /** The properties that are associated with a function. */
1122
+ properties?: FunctionPropertiesUnion;
1123
+ }
1124
+
1125
+ /** An input object, containing all information associated with the named input. All inputs are contained under a streaming job. */
1126
+ export interface Input extends SubResource {
1127
+ /** The properties that are associated with an input. Required on PUT (CreateOrReplace) requests. */
1128
+ properties?: InputPropertiesUnion;
1129
+ }
1130
+
1131
+ /** An output object, containing all information associated with the named output. All outputs are contained under a streaming job. */
1132
+ export interface Output extends SubResource {
1133
+ /** Describes the data source that output will be written to. Required on PUT (CreateOrReplace) requests. */
1134
+ datasource?: OutputDataSourceUnion;
1135
+ /** The time frame for filtering Stream Analytics job outputs. */
1136
+ timeWindow?: string;
1137
+ /** The size window to constrain a Stream Analytics output to. */
1138
+ sizeWindow?: number;
1139
+ /** Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. */
1140
+ serialization?: SerializationUnion;
1141
+ /**
1142
+ * Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
1143
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1144
+ */
1145
+ readonly diagnostics?: Diagnostics;
1146
+ /**
1147
+ * The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
1148
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1149
+ */
1150
+ readonly etag?: string;
1151
+ /**
1152
+ * A list of the last output event times for each output partition. The index of the array corresponds to the partition number.
1153
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1154
+ */
1155
+ readonly lastOutputEventTimestamps?: LastOutputEventTimestamp[];
1156
+ /** Settings which determine whether to send watermarks to downstream. */
1157
+ watermarkSettings?: OutputWatermarkProperties;
1158
+ }
1159
+
1160
+ /** A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job. */
1161
+ export interface Transformation extends SubResource {
1162
+ /** Specifies the number of streaming units that the streaming job uses. */
1163
+ streamingUnits?: number;
1164
+ /** Specifies the valid streaming units a streaming job can scale to. */
1165
+ validStreamingUnits?: number[];
1166
+ /** Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests. */
1167
+ query?: string;
1168
+ /**
1169
+ * The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
1170
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1171
+ */
1172
+ readonly etag?: string;
1173
+ }
1174
+
1175
+ /** Describes the current quota for the subscription. */
1176
+ export interface SubscriptionQuota extends SubResource {
1177
+ /**
1178
+ * The max permitted usage of this resource.
1179
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1180
+ */
1181
+ readonly maxCount?: number;
1182
+ /**
1183
+ * The current usage of this resource.
1184
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1185
+ */
1186
+ readonly currentCount?: number;
1187
+ }
1188
+
1189
+ /** The result of the query testing request. */
1190
+ export interface QueryTestingResult extends ErrorModel {
1191
+ /**
1192
+ * The status of the query testing request.
1193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1194
+ */
1195
+ readonly status?: QueryTestingResultStatus;
1196
+ /**
1197
+ * The SAS URL to the outputs payload.
1198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1199
+ */
1200
+ readonly outputUri?: string;
1201
+ }
1202
+
1203
+ /** The result of the sample input request. */
1204
+ export interface SampleInputResult extends ErrorModel {
1205
+ /**
1206
+ * The status of the sample input request.
1207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1208
+ */
1209
+ readonly status?: SampleInputResultStatus;
1210
+ /**
1211
+ * Diagnostics messages. E.g. message indicating some partitions from the input have no data.
1212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1213
+ */
1214
+ readonly diagnostics?: string[];
1215
+ /**
1216
+ * A SAS URL to download the sampled input data.
1217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1218
+ */
1219
+ readonly eventsDownloadUrl?: string;
1220
+ /**
1221
+ * The timestamp for the last event in the data. It is in DateTime format.
1222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1223
+ */
1224
+ readonly lastArrivalTime?: string;
1225
+ }
1226
+
1227
+ /** The result of the test input or output request. */
1228
+ export interface TestDatasourceResult extends ErrorModel {
1229
+ /**
1230
+ * The status of the sample output request.
1231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1232
+ */
1233
+ readonly status?: TestDatasourceResultStatus;
1234
+ }
1235
+
1236
+ /** The parameters needed to retrieve the default function definition for an Azure Machine Learning Studio function. */
1237
+ export interface AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters
1238
+ extends FunctionRetrieveDefaultDefinitionParameters {
1239
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1240
+ bindingType: "Microsoft.MachineLearning/WebService";
1241
+ /** The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
1242
+ executeEndpoint?: string;
1243
+ /** The function type. */
1244
+ udfType?: "Scalar";
1245
+ }
1246
+
1247
+ /** The parameters needed to retrieve the default function definition for an Azure Machine Learning web service function. */
1248
+ export interface AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters
1249
+ extends FunctionRetrieveDefaultDefinitionParameters {
1250
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1251
+ bindingType: "Microsoft.MachineLearningServices";
1252
+ /** The Request-Response execute endpoint of the Azure Machine Learning web service. */
1253
+ executeEndpoint?: string;
1254
+ /** The function type. */
1255
+ udfType?: "Scalar";
1256
+ }
1257
+
1258
+ /** The parameters needed to retrieve the default function definition for a JavaScript function. */
1259
+ export interface JavaScriptFunctionRetrieveDefaultDefinitionParameters
1260
+ extends FunctionRetrieveDefaultDefinitionParameters {
1261
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1262
+ bindingType: "Microsoft.StreamAnalytics/JavascriptUdf";
1263
+ /** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'. */
1264
+ script?: string;
1265
+ /** The function type. */
1266
+ udfType?: "Scalar";
1267
+ }
1268
+
1269
+ /** The parameters needed to retrieve the default function definition for a CSharp function. */
1270
+ export interface CSharpFunctionRetrieveDefaultDefinitionParameters
1271
+ extends FunctionRetrieveDefaultDefinitionParameters {
1272
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1273
+ bindingType: "Microsoft.StreamAnalytics/CLRUdf";
1274
+ /** The CSharp code containing a single function definition. */
1275
+ script?: string;
1276
+ /** The function type. */
1277
+ udfType?: "Scalar";
1278
+ }
1279
+
1280
+ /** The properties that are associated with an input containing stream data. */
1281
+ export interface StreamInputProperties extends InputProperties {
647
1282
  /** Polymorphic discriminator, which specifies the different types this object can be */
648
1283
  type: "Stream";
649
1284
  /** Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests. */
@@ -658,6 +1293,16 @@ export interface ReferenceInputProperties extends InputProperties {
658
1293
  datasource?: ReferenceInputDataSourceUnion;
659
1294
  }
660
1295
 
1296
+ /** Describes how data from an input is serialized or how data is serialized when written to an output in Delta Lake format. */
1297
+ export interface DeltaSerialization extends Serialization {
1298
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1299
+ type: "Delta";
1300
+ /** Specifies the path of the Delta Lake table that the output will be written to. */
1301
+ deltaTablePath?: string;
1302
+ /** Specifies the names of the columns for which the Delta Lake table will be partitioned. We are only supporting 1 partition column, but keeping it as an array for extensibility. */
1303
+ partitionColumns?: string[];
1304
+ }
1305
+
661
1306
  /** Describes how data from an input is serialized or how data is serialized when written to an output in Parquet format. */
662
1307
  export interface ParquetSerialization extends Serialization {
663
1308
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -666,6 +1311,16 @@ export interface ParquetSerialization extends Serialization {
666
1311
  properties?: Record<string, unknown>;
667
1312
  }
668
1313
 
1314
+ /** Describes how data from an input is serialized or how data is serialized when written to an output in custom format. */
1315
+ export interface CustomClrSerialization extends Serialization {
1316
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1317
+ type: "CustomClr";
1318
+ /** The serialization library path. */
1319
+ serializationDllPath?: string;
1320
+ /** The serialization class name. */
1321
+ serializationClassName?: string;
1322
+ }
1323
+
669
1324
  /** Describes how data from an input is serialized or how data is serialized when written to an output in CSV format. */
670
1325
  export interface CsvSerialization extends Serialization {
671
1326
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -694,67 +1349,12 @@ export interface AvroSerialization extends Serialization {
694
1349
  properties?: Record<string, unknown>;
695
1350
  }
696
1351
 
697
- /** An input object, containing all information associated with the named input. All inputs are contained under a streaming job. */
698
- export interface Input extends SubResource {
699
- /** The properties that are associated with an input. Required on PUT (CreateOrReplace) requests. */
700
- properties?: InputPropertiesUnion;
701
- }
702
-
703
- /** A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job. */
704
- export interface Transformation extends SubResource {
705
- /** Specifies the number of streaming units that the streaming job uses. */
706
- streamingUnits?: number;
707
- /** Specifies the valid streaming units a streaming job can scale to. */
708
- validStreamingUnits?: number[];
709
- /** Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests. */
710
- query?: string;
711
- /**
712
- * The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
713
- * NOTE: This property will not be serialized. It can only be populated by the server.
714
- */
715
- readonly etag?: string;
716
- }
717
-
718
- /** An output object, containing all information associated with the named output. All outputs are contained under a streaming job. */
719
- export interface Output extends SubResource {
720
- /** Describes the data source that output will be written to. Required on PUT (CreateOrReplace) requests. */
721
- datasource?: OutputDataSourceUnion;
722
- /** The time frame for filtering Stream Analytics job outputs. */
723
- timeWindow?: string;
724
- /** The size window to constrain a Stream Analytics output to. */
725
- sizeWindow?: number;
726
- /** Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. */
727
- serialization?: SerializationUnion;
728
- /**
729
- * Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
730
- * NOTE: This property will not be serialized. It can only be populated by the server.
731
- */
732
- readonly diagnostics?: Diagnostics;
733
- /**
734
- * The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
735
- * NOTE: This property will not be serialized. It can only be populated by the server.
736
- */
737
- readonly etag?: string;
738
- }
739
-
740
- /** A function object, containing all information associated with the named function. All functions are contained under a streaming job. */
741
- export interface FunctionModel extends SubResource {
742
- /** The properties that are associated with a function. */
743
- properties?: FunctionPropertiesUnion;
744
- }
745
-
746
- /** Describes the current quota for the subscription. */
747
- export interface SubscriptionQuota extends SubResource {
748
- /**
749
- * The max permitted usage of this resource.
750
- * NOTE: This property will not be serialized. It can only be populated by the server.
751
- */
752
- readonly maxCount?: number;
753
- /**
754
- * The current usage of this resource.
755
- * NOTE: This property will not be serialized. It can only be populated by the server.
756
- */
757
- readonly currentCount?: number;
1352
+ /** Describes a raw output data source. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an output of this data source type to an existing job. */
1353
+ export interface RawOutputDatasource extends OutputDataSource {
1354
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1355
+ type: "Raw";
1356
+ /** The SAS URL to a blob where the output should be written. If this property is not set, output data will be written into a temporary storage, and a SAS URL to that temporary storage will be included in the result. */
1357
+ payloadUri?: string;
758
1358
  }
759
1359
 
760
1360
  /** Describes a blob output data source. */
@@ -773,6 +1373,10 @@ export interface BlobOutputDataSource extends OutputDataSource {
773
1373
  timeFormat?: string;
774
1374
  /** Authentication Mode. */
775
1375
  authenticationMode?: AuthenticationMode;
1376
+ /** Blob path prefix. */
1377
+ blobPathPrefix?: string;
1378
+ /** Blob write mode. */
1379
+ blobWriteMode?: BlobWriteMode;
776
1380
  }
777
1381
 
778
1382
  /** Describes an Azure Table output data source. */
@@ -809,6 +1413,8 @@ export interface EventHubOutputDataSource extends OutputDataSource {
809
1413
  authenticationMode?: AuthenticationMode;
810
1414
  /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
811
1415
  eventHubName?: string;
1416
+ /** The partition count of the event hub data source. Range 1 - 256. */
1417
+ partitionCount?: number;
812
1418
  /** The key/column that is used to determine to which partition to send event data. */
813
1419
  partitionKey?: string;
814
1420
  /** The properties associated with this Event Hub output. */
@@ -829,6 +1435,8 @@ export interface EventHubV2OutputDataSource extends OutputDataSource {
829
1435
  authenticationMode?: AuthenticationMode;
830
1436
  /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
831
1437
  eventHubName?: string;
1438
+ /** The partition count of the event hub data source. Range 1 - 256. */
1439
+ partitionCount?: number;
832
1440
  /** The key/column that is used to determine to which partition to send event data. */
833
1441
  partitionKey?: string;
834
1442
  /** The properties associated with this Event Hub output. */
@@ -871,6 +1479,28 @@ export interface AzureSynapseOutputDataSource extends OutputDataSource {
871
1479
  user?: string;
872
1480
  /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
873
1481
  password?: string;
1482
+ /** Authentication Mode. */
1483
+ authenticationMode?: AuthenticationMode;
1484
+ }
1485
+
1486
+ /** Describes a PostgreSQL output data source. */
1487
+ export interface PostgreSQLOutputDataSource extends OutputDataSource {
1488
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1489
+ type: "Microsoft.DBForPostgreSQL/servers/databases";
1490
+ /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1491
+ server?: string;
1492
+ /** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1493
+ database?: string;
1494
+ /** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1495
+ table?: string;
1496
+ /** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1497
+ user?: string;
1498
+ /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
1499
+ password?: string;
1500
+ /** Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests. */
1501
+ maxWriterCount?: number;
1502
+ /** Authentication Mode. */
1503
+ authenticationMode?: AuthenticationMode;
874
1504
  }
875
1505
 
876
1506
  /** Describes a DocumentDB output data source. */
@@ -889,6 +1519,24 @@ export interface DocumentDbOutputDataSource extends OutputDataSource {
889
1519
  partitionKey?: string;
890
1520
  /** The name of the field in output events used to specify the primary key which insert or update operations are based on. */
891
1521
  documentId?: string;
1522
+ /** Authentication Mode. */
1523
+ authenticationMode?: AuthenticationMode;
1524
+ }
1525
+
1526
+ /** Defines the metadata of AzureFunctionOutputDataSource */
1527
+ export interface AzureFunctionOutputDataSource extends OutputDataSource {
1528
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1529
+ type: "Microsoft.AzureFunction";
1530
+ /** The name of your Azure Functions app. */
1531
+ functionAppName?: string;
1532
+ /** The name of the function in your Azure Functions app. */
1533
+ functionName?: string;
1534
+ /** If you want to use an Azure Function from another subscription, you can do so by providing the key to access your function. */
1535
+ apiKey?: string;
1536
+ /** A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB). */
1537
+ maxBatchSize?: number;
1538
+ /** A property that lets you specify the maximum number of events in each batch that's sent to Azure Functions. The default value is 100. */
1539
+ maxBatchCount?: number;
892
1540
  }
893
1541
 
894
1542
  /** Describes a Service Bus Queue output data source. */
@@ -977,24 +1625,31 @@ export interface AzureDataLakeStoreOutputDataSource extends OutputDataSource {
977
1625
  authenticationMode?: AuthenticationMode;
978
1626
  }
979
1627
 
980
- /** The properties that are associated with a scalar function. */
981
- export interface ScalarFunctionProperties extends FunctionProperties {
1628
+ /** Describes a Gateway Message Bus output data source. */
1629
+ export interface GatewayMessageBusOutputDataSource extends OutputDataSource {
982
1630
  /** Polymorphic discriminator, which specifies the different types this object can be */
983
- type: "Scalar";
984
- /** A list of inputs describing the parameters of the function. */
985
- inputs?: FunctionInput[];
986
- /** The output of the function. */
987
- output?: FunctionOutput;
988
- /** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
989
- binding?: FunctionBindingUnion;
1631
+ type: "GatewayMessageBus";
1632
+ /** The name of the Service Bus topic. */
1633
+ topic?: string;
990
1634
  }
991
1635
 
992
- /** The properties that are associated with an Azure Storage account with MSI */
993
- export interface JobStorageAccount extends StorageAccount {
1636
+ /** Describes an Azure Data Explorer output data source. */
1637
+ export interface AzureDataExplorerOutputDataSource extends OutputDataSource {
1638
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1639
+ type: "Microsoft.Kusto/clusters/databases";
1640
+ /** The name of the Azure Data Explorer cluster. Required on PUT (CreateOrReplace) requests. */
1641
+ cluster?: string;
1642
+ /** The name of the Azure Data Explorer database. Required on PUT (CreateOrReplace) requests. */
1643
+ database?: string;
1644
+ /** The name of the Azure Table. Required on PUT (CreateOrReplace) requests. */
1645
+ table?: string;
994
1646
  /** Authentication Mode. */
995
1647
  authenticationMode?: AuthenticationMode;
996
1648
  }
997
1649
 
1650
+ /** The properties that are associated with an Azure Storage account with MSI */
1651
+ export interface JobStorageAccount extends StorageAccount {}
1652
+
998
1653
  /** The resource model definition for a ARM tracked top level resource */
999
1654
  export interface TrackedResource extends Resource {
1000
1655
  /** Resource tags. */
@@ -1006,30 +1661,8 @@ export interface TrackedResource extends Resource {
1006
1661
  /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
1007
1662
  export interface ProxyResource extends Resource {}
1008
1663
 
1009
- /** The parameters needed to retrieve the default function definition for an Azure Machine Learning web service function. */
1010
- export interface AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters
1011
- extends FunctionRetrieveDefaultDefinitionParameters {
1012
- /** Polymorphic discriminator, which specifies the different types this object can be */
1013
- bindingType: "Microsoft.MachineLearning/WebService";
1014
- /** The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
1015
- executeEndpoint?: string;
1016
- /** The function type. */
1017
- udfType?: "Scalar";
1018
- }
1019
-
1020
- /** The parameters needed to retrieve the default function definition for a JavaScript function. */
1021
- export interface JavaScriptFunctionRetrieveDefaultDefinitionParameters
1022
- extends FunctionRetrieveDefaultDefinitionParameters {
1023
- /** Polymorphic discriminator, which specifies the different types this object can be */
1024
- bindingType: "Microsoft.StreamAnalytics/JavascriptUdf";
1025
- /** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'. */
1026
- script?: string;
1027
- /** The function type. */
1028
- udfType?: "Scalar";
1029
- }
1030
-
1031
- /** Describes a blob input data source that contains stream data. */
1032
- export interface BlobStreamInputDataSource extends StreamInputDataSource {
1664
+ /** Describes a blob input data source that contains stream data. */
1665
+ export interface BlobStreamInputDataSource extends StreamInputDataSource {
1033
1666
  /** Polymorphic discriminator, which specifies the different types this object can be */
1034
1667
  type: "Microsoft.Storage/Blob";
1035
1668
  /** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
@@ -1042,7 +1675,9 @@ export interface BlobStreamInputDataSource extends StreamInputDataSource {
1042
1675
  dateFormat?: string;
1043
1676
  /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
1044
1677
  timeFormat?: string;
1045
- /** The partition count of the blob input data source. Range 1 - 256. */
1678
+ /** Authentication Mode. */
1679
+ authenticationMode?: AuthenticationMode;
1680
+ /** The partition count of the blob input data source. Range 1 - 1024. */
1046
1681
  sourcePartitionCount?: number;
1047
1682
  }
1048
1683
 
@@ -1060,8 +1695,12 @@ export interface EventHubStreamInputDataSource extends StreamInputDataSource {
1060
1695
  authenticationMode?: AuthenticationMode;
1061
1696
  /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
1062
1697
  eventHubName?: string;
1698
+ /** The partition count of the event hub data source. Range 1 - 256. */
1699
+ partitionCount?: number;
1063
1700
  /** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
1064
1701
  consumerGroupName?: string;
1702
+ /** The number of messages that the message receiver can simultaneously request. */
1703
+ prefetchCount?: number;
1065
1704
  }
1066
1705
 
1067
1706
  /** Describes an Event Hub input data source that contains stream data. */
@@ -1078,8 +1717,12 @@ export interface EventHubV2StreamInputDataSource extends StreamInputDataSource {
1078
1717
  authenticationMode?: AuthenticationMode;
1079
1718
  /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
1080
1719
  eventHubName?: string;
1720
+ /** The partition count of the event hub data source. Range 1 - 256. */
1721
+ partitionCount?: number;
1081
1722
  /** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
1082
1723
  consumerGroupName?: string;
1724
+ /** The number of messages that the message receiver can simultaneously request. */
1725
+ prefetchCount?: number;
1083
1726
  }
1084
1727
 
1085
1728
  /** Describes an IoT Hub input data source that contains stream data. */
@@ -1098,6 +1741,47 @@ export interface IoTHubStreamInputDataSource extends StreamInputDataSource {
1098
1741
  endpoint?: string;
1099
1742
  }
1100
1743
 
1744
+ /** Describes a raw input data source that contains stream data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job. */
1745
+ export interface RawStreamInputDataSource extends StreamInputDataSource {
1746
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1747
+ type: "Raw";
1748
+ /** The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
1749
+ payload?: string;
1750
+ /** The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
1751
+ payloadUri?: string;
1752
+ }
1753
+
1754
+ /** Describes a blob input data source that contains stream data. */
1755
+ export interface GatewayMessageBusStreamInputDataSource
1756
+ extends StreamInputDataSource {
1757
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1758
+ type: "GatewayMessageBus";
1759
+ /** The name of the Service Bus topic. */
1760
+ topic?: string;
1761
+ }
1762
+
1763
+ /** Describes an event grid input data source that contains stream data. */
1764
+ export interface EventGridStreamInputDataSource extends StreamInputDataSource {
1765
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1766
+ type: "Microsoft.EventGrid/EventSubscriptions";
1767
+ /** Subscribers for the Event Grid. Currently only EventHub Subscriber is supported. */
1768
+ subscriber?: EventHubV2StreamInputDataSource;
1769
+ /** Indicates the Event Grid schema type. */
1770
+ schema?: EventGridEventSchemaType;
1771
+ /** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
1772
+ storageAccounts?: StorageAccount[];
1773
+ /** List of Event Types that are supported by the Event Grid adapter. */
1774
+ eventTypes?: string[];
1775
+ }
1776
+
1777
+ /** Describes a file input data source that contains reference data. */
1778
+ export interface FileReferenceInputDataSource extends ReferenceInputDataSource {
1779
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1780
+ type: "File";
1781
+ /** The path of the file. */
1782
+ path?: string;
1783
+ }
1784
+
1101
1785
  /** Describes a blob input data source that contains reference data. */
1102
1786
  export interface BlobReferenceInputDataSource extends ReferenceInputDataSource {
1103
1787
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1112,6 +1796,28 @@ export interface BlobReferenceInputDataSource extends ReferenceInputDataSource {
1112
1796
  dateFormat?: string;
1113
1797
  /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
1114
1798
  timeFormat?: string;
1799
+ /** Authentication Mode. */
1800
+ authenticationMode?: AuthenticationMode;
1801
+ /** The name of the blob input. */
1802
+ blobName?: string;
1803
+ /** The path pattern of the delta snapshot. */
1804
+ deltaPathPattern?: string;
1805
+ /** The partition count of the blob input data source. Range 1 - 256. */
1806
+ sourcePartitionCount?: number;
1807
+ /** The refresh interval of the blob input data source. */
1808
+ fullSnapshotRefreshRate?: string;
1809
+ /** The interval that the user generates a delta snapshot of this reference blob input data source. */
1810
+ deltaSnapshotRefreshRate?: string;
1811
+ }
1812
+
1813
+ /** Describes a raw input data source that contains reference data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job. */
1814
+ export interface RawReferenceInputDataSource extends ReferenceInputDataSource {
1815
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1816
+ type: "Raw";
1817
+ /** The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
1818
+ payload?: string;
1819
+ /** The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
1820
+ payloadUri?: string;
1115
1821
  }
1116
1822
 
1117
1823
  /** Describes an Azure SQL database reference input data source. */
@@ -1127,8 +1833,6 @@ export interface AzureSqlReferenceInputDataSource
1127
1833
  user?: string;
1128
1834
  /** This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance. */
1129
1835
  password?: string;
1130
- /** This element is associated with the datasource element. The name of the table in the Azure SQL database.. */
1131
- table?: string;
1132
1836
  /** Indicates the type of data refresh option. */
1133
1837
  refreshType?: RefreshType;
1134
1838
  /** This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format. */
@@ -1137,24 +1841,39 @@ export interface AzureSqlReferenceInputDataSource
1137
1841
  fullSnapshotQuery?: string;
1138
1842
  /** This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database. */
1139
1843
  deltaSnapshotQuery?: string;
1844
+ /** Authentication Mode. */
1845
+ authenticationMode?: AuthenticationMode;
1140
1846
  }
1141
1847
 
1142
1848
  /** The properties that are associated with a blob input containing stream data. */
1143
1849
  export interface BlobStreamInputDataSourceProperties
1144
1850
  extends BlobDataSourceProperties {
1145
- /** The partition count of the blob input data source. Range 1 - 256. */
1851
+ /** The partition count of the blob input data source. Range 1 - 1024. */
1146
1852
  sourcePartitionCount?: number;
1147
1853
  }
1148
1854
 
1149
1855
  /** The properties that are associated with a blob input containing reference data. */
1150
1856
  export interface BlobReferenceInputDataSourceProperties
1151
- extends BlobDataSourceProperties {}
1857
+ extends BlobDataSourceProperties {
1858
+ /** The name of the blob input. */
1859
+ blobName?: string;
1860
+ /** The path pattern of the delta snapshot. */
1861
+ deltaPathPattern?: string;
1862
+ /** The partition count of the blob input data source. Range 1 - 256. */
1863
+ sourcePartitionCount?: number;
1864
+ /** The refresh interval of the blob input data source. */
1865
+ fullSnapshotRefreshRate?: string;
1866
+ /** The interval that the user generates a delta snapshot of this reference blob input data source. */
1867
+ deltaSnapshotRefreshRate?: string;
1868
+ }
1152
1869
 
1153
1870
  /** The properties that are associated with a blob output. */
1154
1871
  export interface BlobOutputDataSourceProperties
1155
1872
  extends BlobDataSourceProperties {
1156
- /** Authentication Mode. */
1157
- authenticationMode?: AuthenticationMode;
1873
+ /** Blob path prefix. */
1874
+ blobPathPrefix?: string;
1875
+ /** Blob write mode. */
1876
+ blobWriteMode?: BlobWriteMode;
1158
1877
  }
1159
1878
 
1160
1879
  /** The common properties that are associated with Event Hub data sources. */
@@ -1162,6 +1881,8 @@ export interface EventHubDataSourceProperties
1162
1881
  extends ServiceBusDataSourceProperties {
1163
1882
  /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
1164
1883
  eventHubName?: string;
1884
+ /** The partition count of the event hub data source. Range 1 - 256. */
1885
+ partitionCount?: number;
1165
1886
  }
1166
1887
 
1167
1888
  /** The properties that are associated with a Service Bus Queue output. */
@@ -1186,6 +1907,14 @@ export interface ServiceBusTopicOutputDataSourceProperties
1186
1907
  systemPropertyColumns?: { [propertyName: string]: string };
1187
1908
  }
1188
1909
 
1910
+ /** The properties that are associated with a gateway message bus input containing stream data. */
1911
+ export interface GatewayMessageBusStreamInputDataSourceProperties
1912
+ extends GatewayMessageBusSourceProperties {}
1913
+
1914
+ /** The properties that are associated with a Gateway Message Bus. */
1915
+ export interface GatewayMessageBusOutputDataSourceProperties
1916
+ extends GatewayMessageBusSourceProperties {}
1917
+
1189
1918
  /** The properties that are associated with an Azure SQL database output. */
1190
1919
  export interface AzureSqlDatabaseOutputDataSourceProperties
1191
1920
  extends AzureSqlDatabaseDataSourceProperties {}
@@ -1194,6 +1923,10 @@ export interface AzureSqlDatabaseOutputDataSourceProperties
1194
1923
  export interface AzureSynapseOutputDataSourceProperties
1195
1924
  extends AzureSynapseDataSourceProperties {}
1196
1925
 
1926
+ /** The properties that are associated with a PostgreSQL output. */
1927
+ export interface PostgreSQLOutputDataSourceProperties
1928
+ extends PostgreSQLDataSourceProperties {}
1929
+
1197
1930
  /** The properties that are associated with a Power BI output. */
1198
1931
  export interface PowerBIOutputDataSourceProperties
1199
1932
  extends OAuthBasedDataSourceProperties {
@@ -1226,37 +1959,14 @@ export interface AzureDataLakeStoreOutputDataSourceProperties
1226
1959
  authenticationMode?: AuthenticationMode;
1227
1960
  }
1228
1961
 
1229
- /** The binding to an Azure Machine Learning web service. */
1230
- export interface AzureMachineLearningWebServiceFunctionBinding
1231
- extends FunctionBinding {
1232
- /** Polymorphic discriminator, which specifies the different types this object can be */
1233
- type: "Microsoft.MachineLearning/WebService";
1234
- /** The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
1235
- endpoint?: string;
1236
- /** The API key used to authenticate with Request-Response endpoint. */
1237
- apiKey?: string;
1238
- /** The inputs for the Azure Machine Learning web service endpoint. */
1239
- inputs?: AzureMachineLearningWebServiceInputs;
1240
- /** A list of outputs from the Azure Machine Learning web service endpoint execution. */
1241
- outputs?: AzureMachineLearningWebServiceOutputColumn[];
1242
- /** Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000. */
1243
- batchSize?: number;
1244
- }
1245
-
1246
- /** The binding to a JavaScript function. */
1247
- export interface JavaScriptFunctionBinding extends FunctionBinding {
1248
- /** Polymorphic discriminator, which specifies the different types this object can be */
1249
- type: "Microsoft.StreamAnalytics/JavascriptUdf";
1250
- /** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }' */
1251
- script?: string;
1252
- }
1253
-
1254
1962
  /** A streaming job object, containing all information associated with the named streaming job. */
1255
1963
  export interface StreamingJob extends TrackedResource {
1256
- /** Describes the system-assigned managed identity assigned to this job that can be used to authenticate with inputs and outputs. */
1257
- identity?: Identity;
1258
1964
  /** Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests. */
1259
1965
  sku?: Sku;
1966
+ /** Describes the managed identity assigned to this job that can be used to authenticate with inputs and outputs. */
1967
+ identity?: Identity;
1968
+ /** Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests. */
1969
+ skuPropertiesSku?: Sku;
1260
1970
  /**
1261
1971
  * A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the streaming job.
1262
1972
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1317,6 +2027,8 @@ export interface StreamingJob extends TrackedResource {
1317
2027
  jobStorageAccount?: JobStorageAccount;
1318
2028
  /** Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. . */
1319
2029
  contentStoragePolicy?: ContentStoragePolicy;
2030
+ /** The storage account where the custom code artifacts are located. */
2031
+ externals?: External;
1320
2032
  /** The cluster which streaming jobs will run on. */
1321
2033
  cluster?: ClusterInfo;
1322
2034
  }
@@ -1330,47 +2042,19 @@ export interface Cluster extends TrackedResource {
1330
2042
  * NOTE: This property will not be serialized. It can only be populated by the server.
1331
2043
  */
1332
2044
  readonly etag?: string;
1333
- /**
1334
- * The date this cluster was created.
1335
- * NOTE: This property will not be serialized. It can only be populated by the server.
1336
- */
1337
- readonly createdDate?: Date;
1338
- /**
1339
- * Unique identifier for the cluster.
1340
- * NOTE: This property will not be serialized. It can only be populated by the server.
1341
- */
1342
- readonly clusterId?: string;
1343
- /**
1344
- * The status of the cluster provisioning. The three terminal states are: Succeeded, Failed and Canceled
1345
- * NOTE: This property will not be serialized. It can only be populated by the server.
1346
- */
1347
- readonly provisioningState?: ClusterProvisioningState;
1348
- /**
1349
- * Represents the number of streaming units currently being used on the cluster.
1350
- * NOTE: This property will not be serialized. It can only be populated by the server.
1351
- */
1352
- readonly capacityAllocated?: number;
1353
- /**
1354
- * Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the jobs were running, this would be the capacity allocated.
1355
- * NOTE: This property will not be serialized. It can only be populated by the server.
1356
- */
1357
- readonly capacityAssigned?: number;
2045
+ /** The properties associated with a Stream Analytics cluster. */
2046
+ properties?: ClusterProperties;
1358
2047
  }
1359
2048
 
1360
2049
  /** Complete information about the private endpoint. */
1361
2050
  export interface PrivateEndpoint extends ProxyResource {
2051
+ /** The properties associated with a private endpoint. */
2052
+ properties?: PrivateEndpointProperties;
1362
2053
  /**
1363
2054
  * Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
1364
2055
  * NOTE: This property will not be serialized. It can only be populated by the server.
1365
2056
  */
1366
2057
  readonly etag?: string;
1367
- /**
1368
- * The date when this private endpoint was created.
1369
- * NOTE: This property will not be serialized. It can only be populated by the server.
1370
- */
1371
- readonly createdDate?: string;
1372
- /** A list of connections to the remote resource. Immutable after it is set. */
1373
- manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[];
1374
2058
  }
1375
2059
 
1376
2060
  /** The properties that are associated with a Event Hub input containing stream data. */
@@ -1378,6 +2062,8 @@ export interface EventHubStreamInputDataSourceProperties
1378
2062
  extends EventHubDataSourceProperties {
1379
2063
  /** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
1380
2064
  consumerGroupName?: string;
2065
+ /** The number of messages that the message receiver can simultaneously request. */
2066
+ prefetchCount?: number;
1381
2067
  }
1382
2068
 
1383
2069
  /** The properties that are associated with an Event Hub output. */
@@ -1389,21 +2075,21 @@ export interface EventHubOutputDataSourceProperties
1389
2075
  propertyColumns?: string[];
1390
2076
  }
1391
2077
 
1392
- /** Defines headers for StreamingJobs_createOrReplace operation. */
1393
- export interface StreamingJobsCreateOrReplaceHeaders {
1394
- /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
2078
+ /** Defines headers for Functions_createOrReplace operation. */
2079
+ export interface FunctionsCreateOrReplaceHeaders {
2080
+ /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
1395
2081
  eTag?: string;
1396
2082
  }
1397
2083
 
1398
- /** Defines headers for StreamingJobs_update operation. */
1399
- export interface StreamingJobsUpdateHeaders {
1400
- /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
2084
+ /** Defines headers for Functions_update operation. */
2085
+ export interface FunctionsUpdateHeaders {
2086
+ /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
1401
2087
  eTag?: string;
1402
2088
  }
1403
2089
 
1404
- /** Defines headers for StreamingJobs_get operation. */
1405
- export interface StreamingJobsGetHeaders {
1406
- /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
2090
+ /** Defines headers for Functions_get operation. */
2091
+ export interface FunctionsGetHeaders {
2092
+ /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
1407
2093
  eTag?: string;
1408
2094
  }
1409
2095
 
@@ -1443,6 +2129,24 @@ export interface OutputsGetHeaders {
1443
2129
  eTag?: string;
1444
2130
  }
1445
2131
 
2132
+ /** Defines headers for StreamingJobs_createOrReplace operation. */
2133
+ export interface StreamingJobsCreateOrReplaceHeaders {
2134
+ /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
2135
+ eTag?: string;
2136
+ }
2137
+
2138
+ /** Defines headers for StreamingJobs_update operation. */
2139
+ export interface StreamingJobsUpdateHeaders {
2140
+ /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
2141
+ eTag?: string;
2142
+ }
2143
+
2144
+ /** Defines headers for StreamingJobs_get operation. */
2145
+ export interface StreamingJobsGetHeaders {
2146
+ /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
2147
+ eTag?: string;
2148
+ }
2149
+
1446
2150
  /** Defines headers for Transformations_createOrReplace operation. */
1447
2151
  export interface TransformationsCreateOrReplaceHeaders {
1448
2152
  /** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
@@ -1461,28 +2165,100 @@ export interface TransformationsGetHeaders {
1461
2165
  eTag?: string;
1462
2166
  }
1463
2167
 
1464
- /** Defines headers for Functions_createOrReplace operation. */
1465
- export interface FunctionsCreateOrReplaceHeaders {
1466
- /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
1467
- eTag?: string;
2168
+ /** Known values of {@link EventSerializationType} that the service accepts. */
2169
+ export enum KnownEventSerializationType {
2170
+ /** Csv */
2171
+ Csv = "Csv",
2172
+ /** Avro */
2173
+ Avro = "Avro",
2174
+ /** Json */
2175
+ Json = "Json",
2176
+ /** CustomClr */
2177
+ CustomClr = "CustomClr",
2178
+ /** Parquet */
2179
+ Parquet = "Parquet",
2180
+ /** Delta */
2181
+ Delta = "Delta",
1468
2182
  }
1469
2183
 
1470
- /** Defines headers for Functions_update operation. */
1471
- export interface FunctionsUpdateHeaders {
1472
- /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
1473
- eTag?: string;
2184
+ /**
2185
+ * Defines values for EventSerializationType. \
2186
+ * {@link KnownEventSerializationType} can be used interchangeably with EventSerializationType,
2187
+ * this enum contains the known values that the service supports.
2188
+ * ### Known values supported by the service
2189
+ * **Csv** \
2190
+ * **Avro** \
2191
+ * **Json** \
2192
+ * **CustomClr** \
2193
+ * **Parquet** \
2194
+ * **Delta**
2195
+ */
2196
+ export type EventSerializationType = string;
2197
+
2198
+ /** Known values of {@link CompressionType} that the service accepts. */
2199
+ export enum KnownCompressionType {
2200
+ /** None */
2201
+ None = "None",
2202
+ /** GZip */
2203
+ GZip = "GZip",
2204
+ /** Deflate */
2205
+ Deflate = "Deflate",
1474
2206
  }
1475
2207
 
1476
- /** Defines headers for Functions_get operation. */
1477
- export interface FunctionsGetHeaders {
1478
- /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
1479
- eTag?: string;
2208
+ /**
2209
+ * Defines values for CompressionType. \
2210
+ * {@link KnownCompressionType} can be used interchangeably with CompressionType,
2211
+ * this enum contains the known values that the service supports.
2212
+ * ### Known values supported by the service
2213
+ * **None** \
2214
+ * **GZip** \
2215
+ * **Deflate**
2216
+ */
2217
+ export type CompressionType = string;
2218
+
2219
+ /** Known values of {@link InputWatermarkMode} that the service accepts. */
2220
+ export enum KnownInputWatermarkMode {
2221
+ /** None */
2222
+ None = "None",
2223
+ /** ReadWatermark */
2224
+ ReadWatermark = "ReadWatermark",
2225
+ }
2226
+
2227
+ /**
2228
+ * Defines values for InputWatermarkMode. \
2229
+ * {@link KnownInputWatermarkMode} can be used interchangeably with InputWatermarkMode,
2230
+ * this enum contains the known values that the service supports.
2231
+ * ### Known values supported by the service
2232
+ * **None** \
2233
+ * **ReadWatermark**
2234
+ */
2235
+ export type InputWatermarkMode = string;
2236
+
2237
+ /** Known values of {@link OutputWatermarkMode} that the service accepts. */
2238
+ export enum KnownOutputWatermarkMode {
2239
+ /** None */
2240
+ None = "None",
2241
+ /** SendCurrentPartitionWatermark */
2242
+ SendCurrentPartitionWatermark = "SendCurrentPartitionWatermark",
2243
+ /** SendLowestWatermarkAcrossPartitions */
2244
+ SendLowestWatermarkAcrossPartitions = "SendLowestWatermarkAcrossPartitions",
1480
2245
  }
1481
2246
 
2247
+ /**
2248
+ * Defines values for OutputWatermarkMode. \
2249
+ * {@link KnownOutputWatermarkMode} can be used interchangeably with OutputWatermarkMode,
2250
+ * this enum contains the known values that the service supports.
2251
+ * ### Known values supported by the service
2252
+ * **None** \
2253
+ * **SendCurrentPartitionWatermark** \
2254
+ * **SendLowestWatermarkAcrossPartitions**
2255
+ */
2256
+ export type OutputWatermarkMode = string;
2257
+
1482
2258
  /** Known values of {@link SkuName} that the service accepts. */
1483
2259
  export enum KnownSkuName {
1484
2260
  /** Standard */
1485
- Standard = "Standard"
2261
+ Standard = "Standard",
1486
2262
  }
1487
2263
 
1488
2264
  /**
@@ -1499,7 +2275,7 @@ export enum KnownJobType {
1499
2275
  /** Cloud */
1500
2276
  Cloud = "Cloud",
1501
2277
  /** Edge */
1502
- Edge = "Edge"
2278
+ Edge = "Edge",
1503
2279
  }
1504
2280
 
1505
2281
  /**
@@ -1519,7 +2295,7 @@ export enum KnownOutputStartMode {
1519
2295
  /** CustomTime */
1520
2296
  CustomTime = "CustomTime",
1521
2297
  /** LastOutputEventTime */
1522
- LastOutputEventTime = "LastOutputEventTime"
2298
+ LastOutputEventTime = "LastOutputEventTime",
1523
2299
  }
1524
2300
 
1525
2301
  /**
@@ -1538,7 +2314,7 @@ export enum KnownEventsOutOfOrderPolicy {
1538
2314
  /** Adjust */
1539
2315
  Adjust = "Adjust",
1540
2316
  /** Drop */
1541
- Drop = "Drop"
2317
+ Drop = "Drop",
1542
2318
  }
1543
2319
 
1544
2320
  /**
@@ -1556,7 +2332,7 @@ export enum KnownOutputErrorPolicy {
1556
2332
  /** Stop */
1557
2333
  Stop = "Stop",
1558
2334
  /** Drop */
1559
- Drop = "Drop"
2335
+ Drop = "Drop",
1560
2336
  }
1561
2337
 
1562
2338
  /**
@@ -1574,7 +2350,7 @@ export enum KnownCompatibilityLevel {
1574
2350
  /** One0 */
1575
2351
  One0 = "1.0",
1576
2352
  /** One2 */
1577
- One2 = "1.2"
2353
+ One2 = "1.2",
1578
2354
  }
1579
2355
 
1580
2356
  /**
@@ -1587,51 +2363,6 @@ export enum KnownCompatibilityLevel {
1587
2363
  */
1588
2364
  export type CompatibilityLevel = string;
1589
2365
 
1590
- /** Known values of {@link EventSerializationType} that the service accepts. */
1591
- export enum KnownEventSerializationType {
1592
- /** Csv */
1593
- Csv = "Csv",
1594
- /** Avro */
1595
- Avro = "Avro",
1596
- /** Json */
1597
- Json = "Json",
1598
- /** Parquet */
1599
- Parquet = "Parquet"
1600
- }
1601
-
1602
- /**
1603
- * Defines values for EventSerializationType. \
1604
- * {@link KnownEventSerializationType} can be used interchangeably with EventSerializationType,
1605
- * this enum contains the known values that the service supports.
1606
- * ### Known values supported by the service
1607
- * **Csv** \
1608
- * **Avro** \
1609
- * **Json** \
1610
- * **Parquet**
1611
- */
1612
- export type EventSerializationType = string;
1613
-
1614
- /** Known values of {@link CompressionType} that the service accepts. */
1615
- export enum KnownCompressionType {
1616
- /** None */
1617
- None = "None",
1618
- /** GZip */
1619
- GZip = "GZip",
1620
- /** Deflate */
1621
- Deflate = "Deflate"
1622
- }
1623
-
1624
- /**
1625
- * Defines values for CompressionType. \
1626
- * {@link KnownCompressionType} can be used interchangeably with CompressionType,
1627
- * this enum contains the known values that the service supports.
1628
- * ### Known values supported by the service
1629
- * **None** \
1630
- * **GZip** \
1631
- * **Deflate**
1632
- */
1633
- export type CompressionType = string;
1634
-
1635
2366
  /** Known values of {@link AuthenticationMode} that the service accepts. */
1636
2367
  export enum KnownAuthenticationMode {
1637
2368
  /** Msi */
@@ -1639,7 +2370,7 @@ export enum KnownAuthenticationMode {
1639
2370
  /** UserToken */
1640
2371
  UserToken = "UserToken",
1641
2372
  /** ConnectionString */
1642
- ConnectionString = "ConnectionString"
2373
+ ConnectionString = "ConnectionString",
1643
2374
  }
1644
2375
 
1645
2376
  /**
@@ -1658,7 +2389,7 @@ export enum KnownContentStoragePolicy {
1658
2389
  /** SystemAccount */
1659
2390
  SystemAccount = "SystemAccount",
1660
2391
  /** JobStorageAccount */
1661
- JobStorageAccount = "JobStorageAccount"
2392
+ JobStorageAccount = "JobStorageAccount",
1662
2393
  }
1663
2394
 
1664
2395
  /**
@@ -1671,10 +2402,133 @@ export enum KnownContentStoragePolicy {
1671
2402
  */
1672
2403
  export type ContentStoragePolicy = string;
1673
2404
 
1674
- /** Known values of {@link ClusterSkuName} that the service accepts. */
2405
+ /** Known values of {@link UpdatableUdfRefreshType} that the service accepts. */
2406
+ export enum KnownUpdatableUdfRefreshType {
2407
+ /** Blocking */
2408
+ Blocking = "Blocking",
2409
+ /** Nonblocking */
2410
+ Nonblocking = "Nonblocking",
2411
+ }
2412
+
2413
+ /**
2414
+ * Defines values for UpdatableUdfRefreshType. \
2415
+ * {@link KnownUpdatableUdfRefreshType} can be used interchangeably with UpdatableUdfRefreshType,
2416
+ * this enum contains the known values that the service supports.
2417
+ * ### Known values supported by the service
2418
+ * **Blocking** \
2419
+ * **Nonblocking**
2420
+ */
2421
+ export type UpdatableUdfRefreshType = string;
2422
+
2423
+ /** Known values of {@link ResourceType} that the service accepts. */
2424
+ export enum KnownResourceType {
2425
+ /** MicrosoftStreamAnalyticsStreamingjobs */
2426
+ MicrosoftStreamAnalyticsStreamingjobs = "Microsoft.StreamAnalytics/streamingjobs",
2427
+ }
2428
+
2429
+ /**
2430
+ * Defines values for ResourceType. \
2431
+ * {@link KnownResourceType} can be used interchangeably with ResourceType,
2432
+ * this enum contains the known values that the service supports.
2433
+ * ### Known values supported by the service
2434
+ * **Microsoft.StreamAnalytics\/streamingjobs**
2435
+ */
2436
+ export type ResourceType = string;
2437
+
2438
+ /** Known values of {@link SkuCapacityScaleType} that the service accepts. */
2439
+ export enum KnownSkuCapacityScaleType {
2440
+ /** Supported scale type automatic. */
2441
+ Automatic = "automatic",
2442
+ /** Supported scale type manual. */
2443
+ Manual = "manual",
2444
+ /** Scaling not supported. */
2445
+ None = "none",
2446
+ }
2447
+
2448
+ /**
2449
+ * Defines values for SkuCapacityScaleType. \
2450
+ * {@link KnownSkuCapacityScaleType} can be used interchangeably with SkuCapacityScaleType,
2451
+ * this enum contains the known values that the service supports.
2452
+ * ### Known values supported by the service
2453
+ * **automatic**: Supported scale type automatic. \
2454
+ * **manual**: Supported scale type manual. \
2455
+ * **none**: Scaling not supported.
2456
+ */
2457
+ export type SkuCapacityScaleType = string;
2458
+
2459
+ /** Known values of {@link QueryTestingResultStatus} that the service accepts. */
2460
+ export enum KnownQueryTestingResultStatus {
2461
+ /** The query testing operation was initiated. */
2462
+ Started = "Started",
2463
+ /** The query testing operation succeeded. */
2464
+ Success = "Success",
2465
+ /** The query testing operation failed due to a compiler error. */
2466
+ CompilerError = "CompilerError",
2467
+ /** The query testing operation failed due to a runtime error. */
2468
+ RuntimeError = "RuntimeError",
2469
+ /** The query testing operation failed due to a timeout. */
2470
+ Timeout = "Timeout",
2471
+ /** The query testing operation failed due to an unknown error . */
2472
+ UnknownError = "UnknownError",
2473
+ }
2474
+
2475
+ /**
2476
+ * Defines values for QueryTestingResultStatus. \
2477
+ * {@link KnownQueryTestingResultStatus} can be used interchangeably with QueryTestingResultStatus,
2478
+ * this enum contains the known values that the service supports.
2479
+ * ### Known values supported by the service
2480
+ * **Started**: The query testing operation was initiated. \
2481
+ * **Success**: The query testing operation succeeded. \
2482
+ * **CompilerError**: The query testing operation failed due to a compiler error. \
2483
+ * **RuntimeError**: The query testing operation failed due to a runtime error. \
2484
+ * **Timeout**: The query testing operation failed due to a timeout. \
2485
+ * **UnknownError**: The query testing operation failed due to an unknown error .
2486
+ */
2487
+ export type QueryTestingResultStatus = string;
2488
+
2489
+ /** Known values of {@link SampleInputResultStatus} that the service accepts. */
2490
+ export enum KnownSampleInputResultStatus {
2491
+ /** The sample input operation successfully read all the events in the range. */
2492
+ ReadAllEventsInRange = "ReadAllEventsInRange",
2493
+ /** The sample input operation found no events in the range. */
2494
+ NoEventsFoundInRange = "NoEventsFoundInRange",
2495
+ /** The sample input operation failed to connect to the input. */
2496
+ ErrorConnectingToInput = "ErrorConnectingToInput",
2497
+ }
2498
+
2499
+ /**
2500
+ * Defines values for SampleInputResultStatus. \
2501
+ * {@link KnownSampleInputResultStatus} can be used interchangeably with SampleInputResultStatus,
2502
+ * this enum contains the known values that the service supports.
2503
+ * ### Known values supported by the service
2504
+ * **ReadAllEventsInRange**: The sample input operation successfully read all the events in the range. \
2505
+ * **NoEventsFoundInRange**: The sample input operation found no events in the range. \
2506
+ * **ErrorConnectingToInput**: The sample input operation failed to connect to the input.
2507
+ */
2508
+ export type SampleInputResultStatus = string;
2509
+
2510
+ /** Known values of {@link TestDatasourceResultStatus} that the service accepts. */
2511
+ export enum KnownTestDatasourceResultStatus {
2512
+ /** The test datasource operation succeeded. */
2513
+ TestSucceeded = "TestSucceeded",
2514
+ /** The test datasource operation failed. */
2515
+ TestFailed = "TestFailed",
2516
+ }
2517
+
2518
+ /**
2519
+ * Defines values for TestDatasourceResultStatus. \
2520
+ * {@link KnownTestDatasourceResultStatus} can be used interchangeably with TestDatasourceResultStatus,
2521
+ * this enum contains the known values that the service supports.
2522
+ * ### Known values supported by the service
2523
+ * **TestSucceeded**: The test datasource operation succeeded. \
2524
+ * **TestFailed**: The test datasource operation failed.
2525
+ */
2526
+ export type TestDatasourceResultStatus = string;
2527
+
2528
+ /** Known values of {@link ClusterSkuName} that the service accepts. */
1675
2529
  export enum KnownClusterSkuName {
1676
2530
  /** The default SKU. */
1677
- Default = "Default"
2531
+ Default = "Default",
1678
2532
  }
1679
2533
 
1680
2534
  /**
@@ -1695,7 +2549,7 @@ export enum KnownClusterProvisioningState {
1695
2549
  /** The cluster provisioning was canceled. */
1696
2550
  Canceled = "Canceled",
1697
2551
  /** The cluster provisioning was inprogress. */
1698
- InProgress = "InProgress"
2552
+ InProgress = "InProgress",
1699
2553
  }
1700
2554
 
1701
2555
  /**
@@ -1731,7 +2585,7 @@ export enum KnownJobState {
1731
2585
  /** The job is currently in the Restarting state. */
1732
2586
  Restarting = "Restarting",
1733
2587
  /** The job is currently in the Scaling state. */
1734
- Scaling = "Scaling"
2588
+ Scaling = "Scaling",
1735
2589
  }
1736
2590
 
1737
2591
  /**
@@ -1752,10 +2606,28 @@ export enum KnownJobState {
1752
2606
  */
1753
2607
  export type JobState = string;
1754
2608
 
2609
+ /** Known values of {@link UpdateMode} that the service accepts. */
2610
+ export enum KnownUpdateMode {
2611
+ /** Static */
2612
+ Static = "Static",
2613
+ /** Refreshable */
2614
+ Refreshable = "Refreshable",
2615
+ }
2616
+
2617
+ /**
2618
+ * Defines values for UpdateMode. \
2619
+ * {@link KnownUpdateMode} can be used interchangeably with UpdateMode,
2620
+ * this enum contains the known values that the service supports.
2621
+ * ### Known values supported by the service
2622
+ * **Static** \
2623
+ * **Refreshable**
2624
+ */
2625
+ export type UpdateMode = string;
2626
+
1755
2627
  /** Known values of {@link Encoding} that the service accepts. */
1756
2628
  export enum KnownEncoding {
1757
2629
  /** UTF8 */
1758
- UTF8 = "UTF8"
2630
+ UTF8 = "UTF8",
1759
2631
  }
1760
2632
 
1761
2633
  /**
@@ -1772,7 +2644,7 @@ export enum KnownJsonOutputSerializationFormat {
1772
2644
  /** LineSeparated */
1773
2645
  LineSeparated = "LineSeparated",
1774
2646
  /** Array */
1775
- Array = "Array"
2647
+ Array = "Array",
1776
2648
  }
1777
2649
 
1778
2650
  /**
@@ -1792,7 +2664,7 @@ export enum KnownRefreshType {
1792
2664
  /** RefreshPeriodicallyWithFull */
1793
2665
  RefreshPeriodicallyWithFull = "RefreshPeriodicallyWithFull",
1794
2666
  /** RefreshPeriodicallyWithDelta */
1795
- RefreshPeriodicallyWithDelta = "RefreshPeriodicallyWithDelta"
2667
+ RefreshPeriodicallyWithDelta = "RefreshPeriodicallyWithDelta",
1796
2668
  }
1797
2669
 
1798
2670
  /**
@@ -1806,131 +2678,116 @@ export enum KnownRefreshType {
1806
2678
  */
1807
2679
  export type RefreshType = string;
1808
2680
 
1809
- /** Optional parameters. */
1810
- export interface OperationsListOptionalParams
1811
- extends coreClient.OperationOptions {}
2681
+ /** Known values of {@link EventGridEventSchemaType} that the service accepts. */
2682
+ export enum KnownEventGridEventSchemaType {
2683
+ /** EventGridEventSchema */
2684
+ EventGridEventSchema = "EventGridEventSchema",
2685
+ /** CloudEventSchema */
2686
+ CloudEventSchema = "CloudEventSchema",
2687
+ }
1812
2688
 
1813
- /** Contains response data for the list operation. */
1814
- export type OperationsListResponse = OperationListResult;
2689
+ /**
2690
+ * Defines values for EventGridEventSchemaType. \
2691
+ * {@link KnownEventGridEventSchemaType} can be used interchangeably with EventGridEventSchemaType,
2692
+ * this enum contains the known values that the service supports.
2693
+ * ### Known values supported by the service
2694
+ * **EventGridEventSchema** \
2695
+ * **CloudEventSchema**
2696
+ */
2697
+ export type EventGridEventSchemaType = string;
1815
2698
 
1816
- /** Optional parameters. */
1817
- export interface OperationsListNextOptionalParams
1818
- extends coreClient.OperationOptions {}
2699
+ /** Known values of {@link BlobWriteMode} that the service accepts. */
2700
+ export enum KnownBlobWriteMode {
2701
+ /** Append */
2702
+ Append = "Append",
2703
+ /** Once */
2704
+ Once = "Once",
2705
+ }
1819
2706
 
1820
- /** Contains response data for the listNext operation. */
1821
- export type OperationsListNextResponse = OperationListResult;
2707
+ /**
2708
+ * Defines values for BlobWriteMode. \
2709
+ * {@link KnownBlobWriteMode} can be used interchangeably with BlobWriteMode,
2710
+ * this enum contains the known values that the service supports.
2711
+ * ### Known values supported by the service
2712
+ * **Append** \
2713
+ * **Once**
2714
+ */
2715
+ export type BlobWriteMode = string;
1822
2716
 
1823
2717
  /** Optional parameters. */
1824
- export interface StreamingJobsCreateOrReplaceOptionalParams
2718
+ export interface FunctionsCreateOrReplaceOptionalParams
1825
2719
  extends coreClient.OperationOptions {
1826
- /** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2720
+ /** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
1827
2721
  ifMatch?: string;
1828
- /** Set to '*' to allow a new streaming job to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
2722
+ /** Set to '*' to allow a new function to be created, but to prevent updating an existing function. Other values will result in a 412 Pre-condition Failed response. */
1829
2723
  ifNoneMatch?: string;
1830
- /** Delay to wait until next poll, in milliseconds. */
1831
- updateIntervalInMs?: number;
1832
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1833
- resumeFrom?: string;
1834
2724
  }
1835
2725
 
1836
2726
  /** Contains response data for the createOrReplace operation. */
1837
- export type StreamingJobsCreateOrReplaceResponse = StreamingJobsCreateOrReplaceHeaders &
1838
- StreamingJob;
2727
+ export type FunctionsCreateOrReplaceResponse = FunctionsCreateOrReplaceHeaders &
2728
+ FunctionModel;
1839
2729
 
1840
2730
  /** Optional parameters. */
1841
- export interface StreamingJobsUpdateOptionalParams
2731
+ export interface FunctionsUpdateOptionalParams
1842
2732
  extends coreClient.OperationOptions {
1843
- /** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2733
+ /** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
1844
2734
  ifMatch?: string;
1845
2735
  }
1846
2736
 
1847
2737
  /** Contains response data for the update operation. */
1848
- export type StreamingJobsUpdateResponse = StreamingJobsUpdateHeaders &
1849
- StreamingJob;
2738
+ export type FunctionsUpdateResponse = FunctionsUpdateHeaders & FunctionModel;
1850
2739
 
1851
2740
  /** Optional parameters. */
1852
- export interface StreamingJobsDeleteOptionalParams
1853
- extends coreClient.OperationOptions {
1854
- /** Delay to wait until next poll, in milliseconds. */
1855
- updateIntervalInMs?: number;
1856
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1857
- resumeFrom?: string;
1858
- }
2741
+ export interface FunctionsDeleteOptionalParams
2742
+ extends coreClient.OperationOptions {}
1859
2743
 
1860
2744
  /** Optional parameters. */
1861
- export interface StreamingJobsGetOptionalParams
1862
- extends coreClient.OperationOptions {
1863
- /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
1864
- expand?: string;
1865
- }
2745
+ export interface FunctionsGetOptionalParams
2746
+ extends coreClient.OperationOptions {}
1866
2747
 
1867
2748
  /** Contains response data for the get operation. */
1868
- export type StreamingJobsGetResponse = StreamingJobsGetHeaders & StreamingJob;
1869
-
1870
- /** Optional parameters. */
1871
- export interface StreamingJobsListByResourceGroupOptionalParams
1872
- extends coreClient.OperationOptions {
1873
- /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
1874
- expand?: string;
1875
- }
1876
-
1877
- /** Contains response data for the listByResourceGroup operation. */
1878
- export type StreamingJobsListByResourceGroupResponse = StreamingJobListResult;
2749
+ export type FunctionsGetResponse = FunctionsGetHeaders & FunctionModel;
1879
2750
 
1880
2751
  /** Optional parameters. */
1881
- export interface StreamingJobsListOptionalParams
2752
+ export interface FunctionsListByStreamingJobOptionalParams
1882
2753
  extends coreClient.OperationOptions {
1883
- /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
1884
- expand?: string;
2754
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
2755
+ select?: string;
1885
2756
  }
1886
2757
 
1887
- /** Contains response data for the list operation. */
1888
- export type StreamingJobsListResponse = StreamingJobListResult;
2758
+ /** Contains response data for the listByStreamingJob operation. */
2759
+ export type FunctionsListByStreamingJobResponse = FunctionListResult;
1889
2760
 
1890
2761
  /** Optional parameters. */
1891
- export interface StreamingJobsStartOptionalParams
2762
+ export interface FunctionsTestOptionalParams
1892
2763
  extends coreClient.OperationOptions {
1893
- /** Parameters applicable to a start streaming job operation. */
1894
- startJobParameters?: StartStreamingJobParameters;
2764
+ /** If the function specified does not already exist, this parameter must contain the full function definition intended to be tested. If the function specified already exists, this parameter can be left null to test the existing function as is or if specified, the properties specified will overwrite the corresponding properties in the existing function (exactly like a PATCH operation) and the resulting function will be tested. */
2765
+ function?: FunctionModel;
1895
2766
  /** Delay to wait until next poll, in milliseconds. */
1896
2767
  updateIntervalInMs?: number;
1897
2768
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1898
2769
  resumeFrom?: string;
1899
2770
  }
1900
2771
 
1901
- /** Optional parameters. */
1902
- export interface StreamingJobsStopOptionalParams
1903
- extends coreClient.OperationOptions {
1904
- /** Delay to wait until next poll, in milliseconds. */
1905
- updateIntervalInMs?: number;
1906
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1907
- resumeFrom?: string;
1908
- }
2772
+ /** Contains response data for the test operation. */
2773
+ export type FunctionsTestResponse = ResourceTestStatus;
1909
2774
 
1910
2775
  /** Optional parameters. */
1911
- export interface StreamingJobsScaleOptionalParams
2776
+ export interface FunctionsRetrieveDefaultDefinitionOptionalParams
1912
2777
  extends coreClient.OperationOptions {
1913
- /** Parameters applicable to a scale streaming job operation. */
1914
- scaleJobParameters?: ScaleStreamingJobParameters;
1915
- /** Delay to wait until next poll, in milliseconds. */
1916
- updateIntervalInMs?: number;
1917
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1918
- resumeFrom?: string;
2778
+ /** Parameters used to specify the type of function to retrieve the default definition for. */
2779
+ functionRetrieveDefaultDefinitionParameters?: FunctionRetrieveDefaultDefinitionParametersUnion;
1919
2780
  }
1920
2781
 
1921
- /** Optional parameters. */
1922
- export interface StreamingJobsListByResourceGroupNextOptionalParams
1923
- extends coreClient.OperationOptions {}
1924
-
1925
- /** Contains response data for the listByResourceGroupNext operation. */
1926
- export type StreamingJobsListByResourceGroupNextResponse = StreamingJobListResult;
2782
+ /** Contains response data for the retrieveDefaultDefinition operation. */
2783
+ export type FunctionsRetrieveDefaultDefinitionResponse = FunctionModel;
1927
2784
 
1928
2785
  /** Optional parameters. */
1929
- export interface StreamingJobsListNextOptionalParams
2786
+ export interface FunctionsListByStreamingJobNextOptionalParams
1930
2787
  extends coreClient.OperationOptions {}
1931
2788
 
1932
- /** Contains response data for the listNext operation. */
1933
- export type StreamingJobsListNextResponse = StreamingJobListResult;
2789
+ /** Contains response data for the listByStreamingJobNext operation. */
2790
+ export type FunctionsListByStreamingJobNextResponse = FunctionListResult;
1934
2791
 
1935
2792
  /** Optional parameters. */
1936
2793
  export interface InputsCreateOrReplaceOptionalParams
@@ -2059,118 +2916,238 @@ export interface OutputsListByStreamingJobNextOptionalParams
2059
2916
  export type OutputsListByStreamingJobNextResponse = OutputListResult;
2060
2917
 
2061
2918
  /** Optional parameters. */
2062
- export interface TransformationsCreateOrReplaceOptionalParams
2919
+ export interface OperationsListOptionalParams
2920
+ extends coreClient.OperationOptions {}
2921
+
2922
+ /** Contains response data for the list operation. */
2923
+ export type OperationsListResponse = OperationListResult;
2924
+
2925
+ /** Optional parameters. */
2926
+ export interface OperationsListNextOptionalParams
2927
+ extends coreClient.OperationOptions {}
2928
+
2929
+ /** Contains response data for the listNext operation. */
2930
+ export type OperationsListNextResponse = OperationListResult;
2931
+
2932
+ /** Optional parameters. */
2933
+ export interface StreamingJobsCreateOrReplaceOptionalParams
2063
2934
  extends coreClient.OperationOptions {
2064
- /** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2935
+ /** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2065
2936
  ifMatch?: string;
2066
- /** Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response. */
2937
+ /** Set to '*' to allow a new streaming job to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
2067
2938
  ifNoneMatch?: string;
2939
+ /** Delay to wait until next poll, in milliseconds. */
2940
+ updateIntervalInMs?: number;
2941
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2942
+ resumeFrom?: string;
2068
2943
  }
2069
2944
 
2070
2945
  /** Contains response data for the createOrReplace operation. */
2071
- export type TransformationsCreateOrReplaceResponse = TransformationsCreateOrReplaceHeaders &
2072
- Transformation;
2946
+ export type StreamingJobsCreateOrReplaceResponse =
2947
+ StreamingJobsCreateOrReplaceHeaders & StreamingJob;
2073
2948
 
2074
2949
  /** Optional parameters. */
2075
- export interface TransformationsUpdateOptionalParams
2950
+ export interface StreamingJobsUpdateOptionalParams
2076
2951
  extends coreClient.OperationOptions {
2077
- /** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2952
+ /** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2078
2953
  ifMatch?: string;
2079
2954
  }
2080
2955
 
2081
2956
  /** Contains response data for the update operation. */
2082
- export type TransformationsUpdateResponse = TransformationsUpdateHeaders &
2083
- Transformation;
2957
+ export type StreamingJobsUpdateResponse = StreamingJobsUpdateHeaders &
2958
+ StreamingJob;
2084
2959
 
2085
2960
  /** Optional parameters. */
2086
- export interface TransformationsGetOptionalParams
2087
- extends coreClient.OperationOptions {}
2961
+ export interface StreamingJobsDeleteOptionalParams
2962
+ extends coreClient.OperationOptions {
2963
+ /** Delay to wait until next poll, in milliseconds. */
2964
+ updateIntervalInMs?: number;
2965
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2966
+ resumeFrom?: string;
2967
+ }
2968
+
2969
+ /** Optional parameters. */
2970
+ export interface StreamingJobsGetOptionalParams
2971
+ extends coreClient.OperationOptions {
2972
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
2973
+ expand?: string;
2974
+ }
2088
2975
 
2089
2976
  /** Contains response data for the get operation. */
2090
- export type TransformationsGetResponse = TransformationsGetHeaders &
2091
- Transformation;
2977
+ export type StreamingJobsGetResponse = StreamingJobsGetHeaders & StreamingJob;
2092
2978
 
2093
2979
  /** Optional parameters. */
2094
- export interface FunctionsCreateOrReplaceOptionalParams
2980
+ export interface StreamingJobsListByResourceGroupOptionalParams
2095
2981
  extends coreClient.OperationOptions {
2096
- /** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2097
- ifMatch?: string;
2098
- /** Set to '*' to allow a new function to be created, but to prevent updating an existing function. Other values will result in a 412 Pre-condition Failed response. */
2099
- ifNoneMatch?: string;
2982
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
2983
+ expand?: string;
2100
2984
  }
2101
2985
 
2102
- /** Contains response data for the createOrReplace operation. */
2103
- export type FunctionsCreateOrReplaceResponse = FunctionsCreateOrReplaceHeaders &
2104
- FunctionModel;
2986
+ /** Contains response data for the listByResourceGroup operation. */
2987
+ export type StreamingJobsListByResourceGroupResponse = StreamingJobListResult;
2105
2988
 
2106
2989
  /** Optional parameters. */
2107
- export interface FunctionsUpdateOptionalParams
2990
+ export interface StreamingJobsListOptionalParams
2108
2991
  extends coreClient.OperationOptions {
2109
- /** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
2110
- ifMatch?: string;
2992
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
2993
+ expand?: string;
2111
2994
  }
2112
2995
 
2113
- /** Contains response data for the update operation. */
2114
- export type FunctionsUpdateResponse = FunctionsUpdateHeaders & FunctionModel;
2996
+ /** Contains response data for the list operation. */
2997
+ export type StreamingJobsListResponse = StreamingJobListResult;
2115
2998
 
2116
2999
  /** Optional parameters. */
2117
- export interface FunctionsDeleteOptionalParams
3000
+ export interface StreamingJobsStartOptionalParams
3001
+ extends coreClient.OperationOptions {
3002
+ /** Parameters applicable to a start streaming job operation. */
3003
+ startJobParameters?: StartStreamingJobParameters;
3004
+ /** Delay to wait until next poll, in milliseconds. */
3005
+ updateIntervalInMs?: number;
3006
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3007
+ resumeFrom?: string;
3008
+ }
3009
+
3010
+ /** Optional parameters. */
3011
+ export interface StreamingJobsStopOptionalParams
3012
+ extends coreClient.OperationOptions {
3013
+ /** Delay to wait until next poll, in milliseconds. */
3014
+ updateIntervalInMs?: number;
3015
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3016
+ resumeFrom?: string;
3017
+ }
3018
+
3019
+ /** Optional parameters. */
3020
+ export interface StreamingJobsScaleOptionalParams
3021
+ extends coreClient.OperationOptions {
3022
+ /** Parameters applicable to a scale streaming job operation. */
3023
+ scaleJobParameters?: ScaleStreamingJobParameters;
3024
+ /** Delay to wait until next poll, in milliseconds. */
3025
+ updateIntervalInMs?: number;
3026
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3027
+ resumeFrom?: string;
3028
+ }
3029
+
3030
+ /** Optional parameters. */
3031
+ export interface StreamingJobsListByResourceGroupNextOptionalParams
2118
3032
  extends coreClient.OperationOptions {}
2119
3033
 
3034
+ /** Contains response data for the listByResourceGroupNext operation. */
3035
+ export type StreamingJobsListByResourceGroupNextResponse =
3036
+ StreamingJobListResult;
3037
+
2120
3038
  /** Optional parameters. */
2121
- export interface FunctionsGetOptionalParams
3039
+ export interface StreamingJobsListNextOptionalParams
2122
3040
  extends coreClient.OperationOptions {}
2123
3041
 
2124
- /** Contains response data for the get operation. */
2125
- export type FunctionsGetResponse = FunctionsGetHeaders & FunctionModel;
3042
+ /** Contains response data for the listNext operation. */
3043
+ export type StreamingJobsListNextResponse = StreamingJobListResult;
2126
3044
 
2127
3045
  /** Optional parameters. */
2128
- export interface FunctionsListByStreamingJobOptionalParams
3046
+ export interface SkuListOptionalParams extends coreClient.OperationOptions {}
3047
+
3048
+ /** Contains response data for the list operation. */
3049
+ export type SkuListResponse = GetStreamingJobSkuResults;
3050
+
3051
+ /** Optional parameters. */
3052
+ export interface SkuListNextOptionalParams
3053
+ extends coreClient.OperationOptions {}
3054
+
3055
+ /** Contains response data for the listNext operation. */
3056
+ export type SkuListNextResponse = GetStreamingJobSkuResults;
3057
+
3058
+ /** Optional parameters. */
3059
+ export interface SubscriptionsListQuotasOptionalParams
3060
+ extends coreClient.OperationOptions {}
3061
+
3062
+ /** Contains response data for the listQuotas operation. */
3063
+ export type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult;
3064
+
3065
+ /** Optional parameters. */
3066
+ export interface SubscriptionsTestQueryOptionalParams
2129
3067
  extends coreClient.OperationOptions {
2130
- /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
2131
- select?: string;
3068
+ /** Delay to wait until next poll, in milliseconds. */
3069
+ updateIntervalInMs?: number;
3070
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3071
+ resumeFrom?: string;
2132
3072
  }
2133
3073
 
2134
- /** Contains response data for the listByStreamingJob operation. */
2135
- export type FunctionsListByStreamingJobResponse = FunctionListResult;
3074
+ /** Contains response data for the testQuery operation. */
3075
+ export type SubscriptionsTestQueryResponse = QueryTestingResult;
2136
3076
 
2137
3077
  /** Optional parameters. */
2138
- export interface FunctionsTestOptionalParams
3078
+ export interface SubscriptionsCompileQueryOptionalParams
3079
+ extends coreClient.OperationOptions {}
3080
+
3081
+ /** Contains response data for the compileQuery operation. */
3082
+ export type SubscriptionsCompileQueryResponse = QueryCompilationResult;
3083
+
3084
+ /** Optional parameters. */
3085
+ export interface SubscriptionsSampleInputOptionalParams
2139
3086
  extends coreClient.OperationOptions {
2140
- /** If the function specified does not already exist, this parameter must contain the full function definition intended to be tested. If the function specified already exists, this parameter can be left null to test the existing function as is or if specified, the properties specified will overwrite the corresponding properties in the existing function (exactly like a PATCH operation) and the resulting function will be tested. */
2141
- functionParam?: FunctionModel;
2142
3087
  /** Delay to wait until next poll, in milliseconds. */
2143
3088
  updateIntervalInMs?: number;
2144
3089
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2145
3090
  resumeFrom?: string;
2146
3091
  }
2147
3092
 
2148
- /** Contains response data for the test operation. */
2149
- export type FunctionsTestResponse = ResourceTestStatus;
3093
+ /** Contains response data for the sampleInput operation. */
3094
+ export type SubscriptionsSampleInputResponse = SampleInputResult;
2150
3095
 
2151
3096
  /** Optional parameters. */
2152
- export interface FunctionsRetrieveDefaultDefinitionOptionalParams
3097
+ export interface SubscriptionsTestInputOptionalParams
2153
3098
  extends coreClient.OperationOptions {
2154
- /** Parameters used to specify the type of function to retrieve the default definition for. */
2155
- functionRetrieveDefaultDefinitionParameters?: FunctionRetrieveDefaultDefinitionParametersUnion;
3099
+ /** Delay to wait until next poll, in milliseconds. */
3100
+ updateIntervalInMs?: number;
3101
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3102
+ resumeFrom?: string;
2156
3103
  }
2157
3104
 
2158
- /** Contains response data for the retrieveDefaultDefinition operation. */
2159
- export type FunctionsRetrieveDefaultDefinitionResponse = FunctionModel;
3105
+ /** Contains response data for the testInput operation. */
3106
+ export type SubscriptionsTestInputResponse = TestDatasourceResult;
2160
3107
 
2161
3108
  /** Optional parameters. */
2162
- export interface FunctionsListByStreamingJobNextOptionalParams
2163
- extends coreClient.OperationOptions {}
3109
+ export interface SubscriptionsTestOutputOptionalParams
3110
+ extends coreClient.OperationOptions {
3111
+ /** Delay to wait until next poll, in milliseconds. */
3112
+ updateIntervalInMs?: number;
3113
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3114
+ resumeFrom?: string;
3115
+ }
2164
3116
 
2165
- /** Contains response data for the listByStreamingJobNext operation. */
2166
- export type FunctionsListByStreamingJobNextResponse = FunctionListResult;
3117
+ /** Contains response data for the testOutput operation. */
3118
+ export type SubscriptionsTestOutputResponse = TestDatasourceResult;
2167
3119
 
2168
3120
  /** Optional parameters. */
2169
- export interface SubscriptionsListQuotasOptionalParams
3121
+ export interface TransformationsCreateOrReplaceOptionalParams
3122
+ extends coreClient.OperationOptions {
3123
+ /** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
3124
+ ifMatch?: string;
3125
+ /** Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response. */
3126
+ ifNoneMatch?: string;
3127
+ }
3128
+
3129
+ /** Contains response data for the createOrReplace operation. */
3130
+ export type TransformationsCreateOrReplaceResponse =
3131
+ TransformationsCreateOrReplaceHeaders & Transformation;
3132
+
3133
+ /** Optional parameters. */
3134
+ export interface TransformationsUpdateOptionalParams
3135
+ extends coreClient.OperationOptions {
3136
+ /** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
3137
+ ifMatch?: string;
3138
+ }
3139
+
3140
+ /** Contains response data for the update operation. */
3141
+ export type TransformationsUpdateResponse = TransformationsUpdateHeaders &
3142
+ Transformation;
3143
+
3144
+ /** Optional parameters. */
3145
+ export interface TransformationsGetOptionalParams
2170
3146
  extends coreClient.OperationOptions {}
2171
3147
 
2172
- /** Contains response data for the listQuotas operation. */
2173
- export type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult;
3148
+ /** Contains response data for the get operation. */
3149
+ export type TransformationsGetResponse = TransformationsGetHeaders &
3150
+ Transformation;
2174
3151
 
2175
3152
  /** Optional parameters. */
2176
3153
  export interface ClustersCreateOrUpdateOptionalParams
@@ -2300,15 +3277,14 @@ export interface PrivateEndpointsListByClusterNextOptionalParams
2300
3277
  extends coreClient.OperationOptions {}
2301
3278
 
2302
3279
  /** Contains response data for the listByClusterNext operation. */
2303
- export type PrivateEndpointsListByClusterNextResponse = PrivateEndpointListResult;
3280
+ export type PrivateEndpointsListByClusterNextResponse =
3281
+ PrivateEndpointListResult;
2304
3282
 
2305
3283
  /** Optional parameters. */
2306
3284
  export interface StreamAnalyticsManagementClientOptionalParams
2307
3285
  extends coreClient.ServiceClientOptions {
2308
3286
  /** server parameter */
2309
3287
  $host?: string;
2310
- /** Api Version */
2311
- apiVersion?: string;
2312
3288
  /** Overrides client endpoint. */
2313
3289
  endpoint?: string;
2314
3290
  }