@azure/arm-streamanalytics 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/dist/arm-streamanalytics.js +1050 -216
- package/dist/arm-streamanalytics.js.map +1 -1
- package/dist/arm-streamanalytics.min.js +1 -1
- package/dist/arm-streamanalytics.min.js.map +1 -1
- package/esm/models/clustersMappers.d.ts +1 -1
- package/esm/models/clustersMappers.d.ts.map +1 -1
- package/esm/models/clustersMappers.js +1 -1
- package/esm/models/clustersMappers.js.map +1 -1
- package/esm/models/functionsMappers.d.ts +1 -1
- package/esm/models/functionsMappers.d.ts.map +1 -1
- package/esm/models/functionsMappers.js +1 -1
- package/esm/models/functionsMappers.js.map +1 -1
- package/esm/models/index.d.ts +584 -92
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/inputsMappers.d.ts +1 -1
- package/esm/models/inputsMappers.d.ts.map +1 -1
- package/esm/models/inputsMappers.js +1 -1
- package/esm/models/inputsMappers.js.map +1 -1
- package/esm/models/mappers.d.ts +24 -5
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +648 -160
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/operationsMappers.d.ts +1 -1
- package/esm/models/operationsMappers.d.ts.map +1 -1
- package/esm/models/operationsMappers.js +1 -1
- package/esm/models/operationsMappers.js.map +1 -1
- package/esm/models/outputsMappers.d.ts +1 -1
- package/esm/models/outputsMappers.d.ts.map +1 -1
- package/esm/models/outputsMappers.js +1 -1
- package/esm/models/outputsMappers.js.map +1 -1
- package/esm/models/privateEndpointsMappers.d.ts +1 -1
- package/esm/models/privateEndpointsMappers.d.ts.map +1 -1
- package/esm/models/privateEndpointsMappers.js +1 -1
- package/esm/models/privateEndpointsMappers.js.map +1 -1
- package/esm/models/streamingJobsMappers.d.ts +1 -1
- package/esm/models/streamingJobsMappers.d.ts.map +1 -1
- package/esm/models/streamingJobsMappers.js +1 -1
- package/esm/models/streamingJobsMappers.js.map +1 -1
- package/esm/models/subscriptionsMappers.d.ts +1 -1
- package/esm/models/subscriptionsMappers.d.ts.map +1 -1
- package/esm/models/subscriptionsMappers.js +1 -1
- package/esm/models/subscriptionsMappers.js.map +1 -1
- package/esm/models/transformationsMappers.d.ts +1 -1
- package/esm/models/transformationsMappers.d.ts.map +1 -1
- package/esm/models/transformationsMappers.js +1 -1
- package/esm/models/transformationsMappers.js.map +1 -1
- package/esm/operations/functions.js +9 -9
- package/esm/operations/inputs.js +7 -7
- package/esm/operations/operations.js +2 -2
- package/esm/operations/outputs.js +7 -7
- package/esm/operations/streamingJobs.js +10 -10
- package/esm/operations/subscriptions.d.ts +110 -9
- package/esm/operations/subscriptions.d.ts.map +1 -1
- package/esm/operations/subscriptions.js +257 -1
- package/esm/operations/subscriptions.js.map +1 -1
- package/esm/operations/transformations.js +3 -3
- package/esm/streamAnalyticsManagementClientContext.d.ts +1 -1
- package/esm/streamAnalyticsManagementClientContext.d.ts.map +1 -1
- package/esm/streamAnalyticsManagementClientContext.js +1 -1
- package/esm/streamAnalyticsManagementClientContext.js.map +1 -1
- package/package.json +1 -1
- package/src/models/clustersMappers.ts +6 -0
- package/src/models/functionsMappers.ts +9 -1
- package/src/models/index.ts +637 -108
- package/src/models/inputsMappers.ts +9 -1
- package/src/models/mappers.ts +682 -154
- package/src/models/operationsMappers.ts +7 -2
- package/src/models/outputsMappers.ts +9 -1
- package/src/models/privateEndpointsMappers.ts +6 -0
- package/src/models/streamingJobsMappers.ts +9 -1
- package/src/models/subscriptionsMappers.ts +19 -1
- package/src/models/transformationsMappers.ts +9 -1
- package/src/operations/functions.ts +9 -9
- package/src/operations/inputs.ts +7 -7
- package/src/operations/operations.ts +2 -2
- package/src/operations/outputs.ts +7 -7
- package/src/operations/streamingJobs.ts +10 -10
- package/src/operations/subscriptions.ts +334 -10
- package/src/operations/transformations.ts +3 -3
- package/src/streamAnalyticsManagementClientContext.ts +2 -2
package/esm/models/index.d.ts
CHANGED
|
@@ -418,6 +418,53 @@ export interface AggregateFunctionProperties {
|
|
|
418
418
|
output?: FunctionOutput;
|
|
419
419
|
binding?: FunctionBindingUnion;
|
|
420
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* Common error details representation.
|
|
423
|
+
*/
|
|
424
|
+
export interface ErrorDetails {
|
|
425
|
+
/**
|
|
426
|
+
* Error code.
|
|
427
|
+
*/
|
|
428
|
+
code?: string;
|
|
429
|
+
/**
|
|
430
|
+
* Error target.
|
|
431
|
+
*/
|
|
432
|
+
target?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Error message.
|
|
435
|
+
*/
|
|
436
|
+
message?: string;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Error definition properties.
|
|
440
|
+
*/
|
|
441
|
+
export interface ErrorError {
|
|
442
|
+
/**
|
|
443
|
+
* Error code.
|
|
444
|
+
*/
|
|
445
|
+
code?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Error message.
|
|
448
|
+
*/
|
|
449
|
+
message?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Error target.
|
|
452
|
+
*/
|
|
453
|
+
target?: string;
|
|
454
|
+
/**
|
|
455
|
+
* Error details.
|
|
456
|
+
*/
|
|
457
|
+
details?: ErrorDetails[];
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Common error representation.
|
|
461
|
+
*/
|
|
462
|
+
export interface ErrorModel {
|
|
463
|
+
/**
|
|
464
|
+
* Error definition properties.
|
|
465
|
+
*/
|
|
466
|
+
error?: ErrorError;
|
|
467
|
+
}
|
|
421
468
|
/**
|
|
422
469
|
* Describes the error that occurred.
|
|
423
470
|
*/
|
|
@@ -551,7 +598,7 @@ export interface Input extends SubResource {
|
|
|
551
598
|
/**
|
|
552
599
|
* Contains the possible cases for StreamInputDataSource.
|
|
553
600
|
*/
|
|
554
|
-
export declare type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource;
|
|
601
|
+
export declare type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource | RawStreamInputDataSource;
|
|
555
602
|
/**
|
|
556
603
|
* Describes an input data source that contains stream data.
|
|
557
604
|
*/
|
|
@@ -601,7 +648,7 @@ export interface StreamInputProperties {
|
|
|
601
648
|
/**
|
|
602
649
|
* Contains the possible cases for ReferenceInputDataSource.
|
|
603
650
|
*/
|
|
604
|
-
export declare type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | AzureSqlReferenceInputDataSource;
|
|
651
|
+
export declare type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | RawReferenceInputDataSource | AzureSqlReferenceInputDataSource;
|
|
605
652
|
/**
|
|
606
653
|
* Describes an input data source that contains reference data.
|
|
607
654
|
*/
|
|
@@ -800,6 +847,27 @@ export interface IoTHubStreamInputDataSource {
|
|
|
800
847
|
*/
|
|
801
848
|
endpoint?: string;
|
|
802
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* Describes a raw input data source that contains stream data. This data source type is only
|
|
852
|
+
* applicable/usable when using the query testing API. You cannot create a job with this data
|
|
853
|
+
* source type or add an input of this data source type to an existing job.
|
|
854
|
+
*/
|
|
855
|
+
export interface RawStreamInputDataSource {
|
|
856
|
+
/**
|
|
857
|
+
* Polymorphic Discriminator
|
|
858
|
+
*/
|
|
859
|
+
type: "Raw";
|
|
860
|
+
/**
|
|
861
|
+
* The JSON serialized content of the input data. Either payload or payloadUri must be set, but
|
|
862
|
+
* not both.
|
|
863
|
+
*/
|
|
864
|
+
payload?: string;
|
|
865
|
+
/**
|
|
866
|
+
* The SAS URL to a blob containing the JSON serialized content of the input data. Either payload
|
|
867
|
+
* or payloadUri must be set, but not both.
|
|
868
|
+
*/
|
|
869
|
+
payloadUri?: string;
|
|
870
|
+
}
|
|
803
871
|
/**
|
|
804
872
|
* Describes a blob input data source that contains reference data.
|
|
805
873
|
*/
|
|
@@ -837,6 +905,27 @@ export interface BlobReferenceInputDataSource {
|
|
|
837
905
|
*/
|
|
838
906
|
timeFormat?: string;
|
|
839
907
|
}
|
|
908
|
+
/**
|
|
909
|
+
* Describes a raw input data source that contains reference data. This data source type is only
|
|
910
|
+
* applicable/usable when using the query testing API. You cannot create a job with this data
|
|
911
|
+
* source type or add an input of this data source type to an existing job.
|
|
912
|
+
*/
|
|
913
|
+
export interface RawReferenceInputDataSource {
|
|
914
|
+
/**
|
|
915
|
+
* Polymorphic Discriminator
|
|
916
|
+
*/
|
|
917
|
+
type: "Raw";
|
|
918
|
+
/**
|
|
919
|
+
* The JSON serialized content of the input data. Either payload or payloadUri must be set, but
|
|
920
|
+
* not both.
|
|
921
|
+
*/
|
|
922
|
+
payload?: string;
|
|
923
|
+
/**
|
|
924
|
+
* The SAS URL to a blob containing the JSON serialized content of the input data. Either payload
|
|
925
|
+
* or payloadUri must be set, but not both.
|
|
926
|
+
*/
|
|
927
|
+
payloadUri?: string;
|
|
928
|
+
}
|
|
840
929
|
/**
|
|
841
930
|
* The properties that are associated with an Azure Storage account
|
|
842
931
|
*/
|
|
@@ -1022,7 +1111,7 @@ export interface Identity {
|
|
|
1022
1111
|
type?: string;
|
|
1023
1112
|
}
|
|
1024
1113
|
/**
|
|
1025
|
-
*
|
|
1114
|
+
* Describes Azure SQL database reference input data source properties.
|
|
1026
1115
|
*/
|
|
1027
1116
|
export interface AzureSqlReferenceInputDataSourceProperties {
|
|
1028
1117
|
/**
|
|
@@ -1086,7 +1175,7 @@ export interface AzureSqlReferenceInputDataSource {
|
|
|
1086
1175
|
/**
|
|
1087
1176
|
* Contains the possible cases for OutputDataSource.
|
|
1088
1177
|
*/
|
|
1089
|
-
export declare type OutputDataSourceUnion = OutputDataSource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
|
|
1178
|
+
export declare type OutputDataSourceUnion = OutputDataSource | RawOutputDatasource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
|
|
1090
1179
|
/**
|
|
1091
1180
|
* Describes the data source that output will be written to.
|
|
1092
1181
|
*/
|
|
@@ -1127,6 +1216,23 @@ export interface Output extends SubResource {
|
|
|
1127
1216
|
*/
|
|
1128
1217
|
readonly etag?: string;
|
|
1129
1218
|
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Describes a raw output data source. This data source type is only applicable/usable when using
|
|
1221
|
+
* the query testing API. You cannot create a job with this data source type or add an output of
|
|
1222
|
+
* this data source type to an existing job.
|
|
1223
|
+
*/
|
|
1224
|
+
export interface RawOutputDatasource {
|
|
1225
|
+
/**
|
|
1226
|
+
* Polymorphic Discriminator
|
|
1227
|
+
*/
|
|
1228
|
+
type: "Raw";
|
|
1229
|
+
/**
|
|
1230
|
+
* The SAS URL to a blob where the output should be written. If this property is not set, output
|
|
1231
|
+
* data will be written into a temporary storage, and a SAS URL to that temporary storage will be
|
|
1232
|
+
* included in the result.
|
|
1233
|
+
*/
|
|
1234
|
+
payloadUri?: string;
|
|
1235
|
+
}
|
|
1130
1236
|
/**
|
|
1131
1237
|
* Describes a blob output data source.
|
|
1132
1238
|
*/
|
|
@@ -1718,46 +1824,6 @@ export interface External {
|
|
|
1718
1824
|
container?: string;
|
|
1719
1825
|
path?: string;
|
|
1720
1826
|
}
|
|
1721
|
-
/**
|
|
1722
|
-
* Contains the localized display information for this particular operation / action.
|
|
1723
|
-
*/
|
|
1724
|
-
export interface OperationDisplay {
|
|
1725
|
-
/**
|
|
1726
|
-
* The localized friendly form of the resource provider name.
|
|
1727
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1728
|
-
*/
|
|
1729
|
-
readonly provider?: string;
|
|
1730
|
-
/**
|
|
1731
|
-
* The localized friendly form of the resource type related to this action/operation.
|
|
1732
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1733
|
-
*/
|
|
1734
|
-
readonly resource?: string;
|
|
1735
|
-
/**
|
|
1736
|
-
* The localized friendly name for the operation.
|
|
1737
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1738
|
-
*/
|
|
1739
|
-
readonly operation?: string;
|
|
1740
|
-
/**
|
|
1741
|
-
* The localized friendly description for the operation.
|
|
1742
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1743
|
-
*/
|
|
1744
|
-
readonly description?: string;
|
|
1745
|
-
}
|
|
1746
|
-
/**
|
|
1747
|
-
* A Stream Analytics REST API operation
|
|
1748
|
-
*/
|
|
1749
|
-
export interface Operation {
|
|
1750
|
-
/**
|
|
1751
|
-
* The name of the operation being performed on this particular object.
|
|
1752
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1753
|
-
*/
|
|
1754
|
-
readonly name?: string;
|
|
1755
|
-
/**
|
|
1756
|
-
* Contains the localized display information for this particular operation / action.
|
|
1757
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1758
|
-
*/
|
|
1759
|
-
readonly display?: OperationDisplay;
|
|
1760
|
-
}
|
|
1761
1827
|
/**
|
|
1762
1828
|
* The properties that are associated with a SKU.
|
|
1763
1829
|
*/
|
|
@@ -1810,7 +1876,7 @@ export interface ClusterInfo {
|
|
|
1810
1876
|
id?: string;
|
|
1811
1877
|
}
|
|
1812
1878
|
/**
|
|
1813
|
-
*
|
|
1879
|
+
* The base resource definition
|
|
1814
1880
|
*/
|
|
1815
1881
|
export interface Resource extends BaseResource {
|
|
1816
1882
|
/**
|
|
@@ -2040,6 +2106,294 @@ export interface SubscriptionQuotasListResult {
|
|
|
2040
2106
|
*/
|
|
2041
2107
|
readonly value?: SubscriptionQuota[];
|
|
2042
2108
|
}
|
|
2109
|
+
/**
|
|
2110
|
+
* Diagnostics information related to query testing.
|
|
2111
|
+
*/
|
|
2112
|
+
export interface TestQueryDiagnostics {
|
|
2113
|
+
/**
|
|
2114
|
+
* The SAS URI to the container or directory.
|
|
2115
|
+
*/
|
|
2116
|
+
writeUri: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* The path to the subdirectory.
|
|
2119
|
+
*/
|
|
2120
|
+
path?: string;
|
|
2121
|
+
}
|
|
2122
|
+
/**
|
|
2123
|
+
* The request object for query testing.
|
|
2124
|
+
*/
|
|
2125
|
+
export interface TestQuery {
|
|
2126
|
+
/**
|
|
2127
|
+
* Diagnostics information related to query testing.
|
|
2128
|
+
*/
|
|
2129
|
+
diagnostics?: TestQueryDiagnostics;
|
|
2130
|
+
/**
|
|
2131
|
+
* Stream analytics job object which defines the input, output, and transformation for the query
|
|
2132
|
+
* testing.
|
|
2133
|
+
*/
|
|
2134
|
+
streamingJob: StreamingJob;
|
|
2135
|
+
}
|
|
2136
|
+
/**
|
|
2137
|
+
* The result of the query testing request.
|
|
2138
|
+
*/
|
|
2139
|
+
export interface QueryTestingResult extends ErrorModel {
|
|
2140
|
+
/**
|
|
2141
|
+
* The status of the query testing request. Possible values include: 'Started', 'Success',
|
|
2142
|
+
* 'CompilerError', 'RuntimeError', 'Timeout', 'UnknownError'
|
|
2143
|
+
*/
|
|
2144
|
+
status?: QueryTestingResultStatus;
|
|
2145
|
+
/**
|
|
2146
|
+
* The SAS URL to the outputs payload.
|
|
2147
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2148
|
+
*/
|
|
2149
|
+
readonly outputUri?: string;
|
|
2150
|
+
}
|
|
2151
|
+
/**
|
|
2152
|
+
* An input for the query compilation.
|
|
2153
|
+
*/
|
|
2154
|
+
export interface QueryInput {
|
|
2155
|
+
/**
|
|
2156
|
+
* The name of the input.
|
|
2157
|
+
*/
|
|
2158
|
+
name: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* The type of the input, can be Stream or Reference.
|
|
2161
|
+
*/
|
|
2162
|
+
type: string;
|
|
2163
|
+
}
|
|
2164
|
+
/**
|
|
2165
|
+
* A function for the query compilation.
|
|
2166
|
+
*/
|
|
2167
|
+
export interface QueryFunction {
|
|
2168
|
+
/**
|
|
2169
|
+
* The name of the function.
|
|
2170
|
+
*/
|
|
2171
|
+
name: string;
|
|
2172
|
+
/**
|
|
2173
|
+
* The type of the function.
|
|
2174
|
+
*/
|
|
2175
|
+
type: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* The type of the function binding.
|
|
2178
|
+
*/
|
|
2179
|
+
bindingType: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* The inputs for the function.
|
|
2182
|
+
*/
|
|
2183
|
+
inputs: FunctionInput[];
|
|
2184
|
+
/**
|
|
2185
|
+
* An output for the function.
|
|
2186
|
+
*/
|
|
2187
|
+
output: FunctionOutput;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
* The query compilation object which defines the input, output, and transformation for the query
|
|
2191
|
+
* compilation.
|
|
2192
|
+
*/
|
|
2193
|
+
export interface CompileQuery {
|
|
2194
|
+
/**
|
|
2195
|
+
* The query to compile.
|
|
2196
|
+
*/
|
|
2197
|
+
query: string;
|
|
2198
|
+
/**
|
|
2199
|
+
* The inputs for the query compilation.
|
|
2200
|
+
*/
|
|
2201
|
+
inputs?: QueryInput[];
|
|
2202
|
+
/**
|
|
2203
|
+
* The functions for the query compilation.
|
|
2204
|
+
*/
|
|
2205
|
+
functions?: QueryFunction[];
|
|
2206
|
+
/**
|
|
2207
|
+
* Describes the type of the job. Valid values are `Cloud` and 'Edge'. Possible values include:
|
|
2208
|
+
* 'Cloud', 'Edge'
|
|
2209
|
+
*/
|
|
2210
|
+
jobType: JobType;
|
|
2211
|
+
/**
|
|
2212
|
+
* The query to compile. Possible values include: '1.0'
|
|
2213
|
+
*/
|
|
2214
|
+
compatibilityLevel?: CompatibilityLevel;
|
|
2215
|
+
}
|
|
2216
|
+
/**
|
|
2217
|
+
* An error produced by the compiler.
|
|
2218
|
+
*/
|
|
2219
|
+
export interface QueryCompilationError {
|
|
2220
|
+
/**
|
|
2221
|
+
* The content of the error message.
|
|
2222
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2223
|
+
*/
|
|
2224
|
+
readonly message?: string;
|
|
2225
|
+
/**
|
|
2226
|
+
* Describes the error location in the original query. Not set if isGlobal is true.
|
|
2227
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2228
|
+
*/
|
|
2229
|
+
readonly startLine?: number;
|
|
2230
|
+
/**
|
|
2231
|
+
* Describes the error location in the original query. Not set if isGlobal is true.
|
|
2232
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2233
|
+
*/
|
|
2234
|
+
readonly startColumn?: number;
|
|
2235
|
+
/**
|
|
2236
|
+
* Describes the error location in the original query. Not set if isGlobal is true.
|
|
2237
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2238
|
+
*/
|
|
2239
|
+
readonly endLine?: number;
|
|
2240
|
+
/**
|
|
2241
|
+
* Describes the error location in the original query. Not set if isGlobal is true.
|
|
2242
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2243
|
+
*/
|
|
2244
|
+
readonly endColumn?: number;
|
|
2245
|
+
/**
|
|
2246
|
+
* Whether the error is not for a specific part but for the entire query.
|
|
2247
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2248
|
+
*/
|
|
2249
|
+
readonly isGlobal?: boolean;
|
|
2250
|
+
}
|
|
2251
|
+
/**
|
|
2252
|
+
* The result of the query compilation request.
|
|
2253
|
+
*/
|
|
2254
|
+
export interface QueryCompilationResult {
|
|
2255
|
+
/**
|
|
2256
|
+
* Error messages produced by the compiler.
|
|
2257
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2258
|
+
*/
|
|
2259
|
+
readonly errors?: QueryCompilationError[];
|
|
2260
|
+
/**
|
|
2261
|
+
* Warning messages produced by the compiler.
|
|
2262
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2263
|
+
*/
|
|
2264
|
+
readonly warnings?: string[];
|
|
2265
|
+
/**
|
|
2266
|
+
* All input names used by the query.
|
|
2267
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2268
|
+
*/
|
|
2269
|
+
readonly inputs?: string[];
|
|
2270
|
+
/**
|
|
2271
|
+
* All output names used by the query.
|
|
2272
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2273
|
+
*/
|
|
2274
|
+
readonly outputs?: string[];
|
|
2275
|
+
/**
|
|
2276
|
+
* All function names used by the query.
|
|
2277
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2278
|
+
*/
|
|
2279
|
+
readonly functions?: string[];
|
|
2280
|
+
}
|
|
2281
|
+
/**
|
|
2282
|
+
* The stream analytics input to sample.
|
|
2283
|
+
*/
|
|
2284
|
+
export interface SampleInput {
|
|
2285
|
+
/**
|
|
2286
|
+
* The stream analytics input to sample.
|
|
2287
|
+
*/
|
|
2288
|
+
input?: Input;
|
|
2289
|
+
/**
|
|
2290
|
+
* Defaults to the default ASA job compatibility level. Today it is 1.2
|
|
2291
|
+
*/
|
|
2292
|
+
compatibilityLevel?: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* The SAS URI of the storage blob for service to write the sampled events to. If this parameter
|
|
2295
|
+
* is not provided, service will write events to he system account and share a temporary SAS URI
|
|
2296
|
+
* to it.
|
|
2297
|
+
*/
|
|
2298
|
+
eventsUri?: string;
|
|
2299
|
+
/**
|
|
2300
|
+
* Defaults to en-US.
|
|
2301
|
+
*/
|
|
2302
|
+
dataLocale?: string;
|
|
2303
|
+
}
|
|
2304
|
+
/**
|
|
2305
|
+
* The result of the sample input request.
|
|
2306
|
+
*/
|
|
2307
|
+
export interface SampleInputResult extends ErrorModel {
|
|
2308
|
+
/**
|
|
2309
|
+
* The status of the sample input request. Possible values include: 'ReadAllEventsInRange',
|
|
2310
|
+
* 'NoEventsFoundInRange', 'ErrorConnectingToInput'
|
|
2311
|
+
*/
|
|
2312
|
+
status?: SampleInputResultStatus;
|
|
2313
|
+
/**
|
|
2314
|
+
* Diagnostics messages. E.g. message indicating some partitions from the input have no data.
|
|
2315
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2316
|
+
*/
|
|
2317
|
+
readonly diagnostics?: string[];
|
|
2318
|
+
/**
|
|
2319
|
+
* A SAS URL to download the sampled input data.
|
|
2320
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2321
|
+
*/
|
|
2322
|
+
readonly eventsDownloadUrl?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* The timestamp for the last event in the data. It is in DateTime format.
|
|
2325
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2326
|
+
*/
|
|
2327
|
+
readonly lastArrivalTime?: string;
|
|
2328
|
+
}
|
|
2329
|
+
/**
|
|
2330
|
+
* A stream analytics input.
|
|
2331
|
+
*/
|
|
2332
|
+
export interface TestInput {
|
|
2333
|
+
/**
|
|
2334
|
+
* The stream analytics input to test.
|
|
2335
|
+
*/
|
|
2336
|
+
input: Input;
|
|
2337
|
+
}
|
|
2338
|
+
/**
|
|
2339
|
+
* A stream analytics output.
|
|
2340
|
+
*/
|
|
2341
|
+
export interface TestOutput {
|
|
2342
|
+
/**
|
|
2343
|
+
* The stream analytics output to test.
|
|
2344
|
+
*/
|
|
2345
|
+
output: Output;
|
|
2346
|
+
}
|
|
2347
|
+
/**
|
|
2348
|
+
* The result of the test input or output request.
|
|
2349
|
+
*/
|
|
2350
|
+
export interface TestDatasourceResult extends ErrorModel {
|
|
2351
|
+
/**
|
|
2352
|
+
* The status of the sample output request. Possible values include: 'TestSucceeded',
|
|
2353
|
+
* 'TestFailed'
|
|
2354
|
+
*/
|
|
2355
|
+
status?: TestDatasourceResultStatus;
|
|
2356
|
+
}
|
|
2357
|
+
/**
|
|
2358
|
+
* Contains the localized display information for this particular operation / action.
|
|
2359
|
+
*/
|
|
2360
|
+
export interface OperationDisplay {
|
|
2361
|
+
/**
|
|
2362
|
+
* The localized friendly form of the resource provider name.
|
|
2363
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2364
|
+
*/
|
|
2365
|
+
readonly provider?: string;
|
|
2366
|
+
/**
|
|
2367
|
+
* The localized friendly form of the resource type related to this action/operation.
|
|
2368
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2369
|
+
*/
|
|
2370
|
+
readonly resource?: string;
|
|
2371
|
+
/**
|
|
2372
|
+
* The localized friendly name for the operation.
|
|
2373
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2374
|
+
*/
|
|
2375
|
+
readonly operation?: string;
|
|
2376
|
+
/**
|
|
2377
|
+
* The localized friendly description for the operation.
|
|
2378
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2379
|
+
*/
|
|
2380
|
+
readonly description?: string;
|
|
2381
|
+
}
|
|
2382
|
+
/**
|
|
2383
|
+
* A Stream Analytics REST API operation
|
|
2384
|
+
*/
|
|
2385
|
+
export interface Operation {
|
|
2386
|
+
/**
|
|
2387
|
+
* The name of the operation being performed on this particular object.
|
|
2388
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2389
|
+
*/
|
|
2390
|
+
readonly name?: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* Contains the localized display information for this particular operation / action.
|
|
2393
|
+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
2394
|
+
*/
|
|
2395
|
+
readonly display?: OperationDisplay;
|
|
2396
|
+
}
|
|
2043
2397
|
/**
|
|
2044
2398
|
* The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT
|
|
2045
2399
|
* (CreateOrUpdate) requests.
|
|
@@ -2124,53 +2478,6 @@ export interface ClusterJob {
|
|
|
2124
2478
|
*/
|
|
2125
2479
|
jobState?: JobState;
|
|
2126
2480
|
}
|
|
2127
|
-
/**
|
|
2128
|
-
* Common error details representation.
|
|
2129
|
-
*/
|
|
2130
|
-
export interface ErrorDetails {
|
|
2131
|
-
/**
|
|
2132
|
-
* Error code.
|
|
2133
|
-
*/
|
|
2134
|
-
code?: string;
|
|
2135
|
-
/**
|
|
2136
|
-
* Error target.
|
|
2137
|
-
*/
|
|
2138
|
-
target?: string;
|
|
2139
|
-
/**
|
|
2140
|
-
* Error message.
|
|
2141
|
-
*/
|
|
2142
|
-
message?: string;
|
|
2143
|
-
}
|
|
2144
|
-
/**
|
|
2145
|
-
* Error definition properties.
|
|
2146
|
-
*/
|
|
2147
|
-
export interface ErrorError {
|
|
2148
|
-
/**
|
|
2149
|
-
* Error code.
|
|
2150
|
-
*/
|
|
2151
|
-
code?: string;
|
|
2152
|
-
/**
|
|
2153
|
-
* Error message.
|
|
2154
|
-
*/
|
|
2155
|
-
message?: string;
|
|
2156
|
-
/**
|
|
2157
|
-
* Error target.
|
|
2158
|
-
*/
|
|
2159
|
-
target?: string;
|
|
2160
|
-
/**
|
|
2161
|
-
* Error details.
|
|
2162
|
-
*/
|
|
2163
|
-
details?: ErrorDetails[];
|
|
2164
|
-
}
|
|
2165
|
-
/**
|
|
2166
|
-
* Common error representation.
|
|
2167
|
-
*/
|
|
2168
|
-
export interface ErrorModel {
|
|
2169
|
-
/**
|
|
2170
|
-
* Error definition properties.
|
|
2171
|
-
*/
|
|
2172
|
-
error?: ErrorError;
|
|
2173
|
-
}
|
|
2174
2481
|
/**
|
|
2175
2482
|
* A collection of read-only information about the state of the connection to the private remote
|
|
2176
2483
|
* resource.
|
|
@@ -3037,6 +3344,29 @@ export declare type CompatibilityLevel = '1.0';
|
|
|
3037
3344
|
* @enum {string}
|
|
3038
3345
|
*/
|
|
3039
3346
|
export declare type ContentStoragePolicy = 'SystemAccount' | 'JobStorageAccount';
|
|
3347
|
+
/**
|
|
3348
|
+
* Defines values for QueryTestingResultStatus.
|
|
3349
|
+
* Possible values include: 'Started', 'Success', 'CompilerError', 'RuntimeError', 'Timeout',
|
|
3350
|
+
* 'UnknownError'
|
|
3351
|
+
* @readonly
|
|
3352
|
+
* @enum {string}
|
|
3353
|
+
*/
|
|
3354
|
+
export declare type QueryTestingResultStatus = 'Started' | 'Success' | 'CompilerError' | 'RuntimeError' | 'Timeout' | 'UnknownError';
|
|
3355
|
+
/**
|
|
3356
|
+
* Defines values for SampleInputResultStatus.
|
|
3357
|
+
* Possible values include: 'ReadAllEventsInRange', 'NoEventsFoundInRange',
|
|
3358
|
+
* 'ErrorConnectingToInput'
|
|
3359
|
+
* @readonly
|
|
3360
|
+
* @enum {string}
|
|
3361
|
+
*/
|
|
3362
|
+
export declare type SampleInputResultStatus = 'ReadAllEventsInRange' | 'NoEventsFoundInRange' | 'ErrorConnectingToInput';
|
|
3363
|
+
/**
|
|
3364
|
+
* Defines values for TestDatasourceResultStatus.
|
|
3365
|
+
* Possible values include: 'TestSucceeded', 'TestFailed'
|
|
3366
|
+
* @readonly
|
|
3367
|
+
* @enum {string}
|
|
3368
|
+
*/
|
|
3369
|
+
export declare type TestDatasourceResultStatus = 'TestSucceeded' | 'TestFailed';
|
|
3040
3370
|
/**
|
|
3041
3371
|
* Defines values for ClusterSkuName.
|
|
3042
3372
|
* Possible values include: 'Default'
|
|
@@ -3647,6 +3977,168 @@ export declare type SubscriptionsListQuotasResponse = SubscriptionQuotasListResu
|
|
|
3647
3977
|
parsedBody: SubscriptionQuotasListResult;
|
|
3648
3978
|
};
|
|
3649
3979
|
};
|
|
3980
|
+
/**
|
|
3981
|
+
* Contains response data for the testQueryMethod operation.
|
|
3982
|
+
*/
|
|
3983
|
+
export declare type SubscriptionsTestQueryMethodResponse = QueryTestingResult & {
|
|
3984
|
+
/**
|
|
3985
|
+
* The underlying HTTP response.
|
|
3986
|
+
*/
|
|
3987
|
+
_response: msRest.HttpResponse & {
|
|
3988
|
+
/**
|
|
3989
|
+
* The response body as text (string format)
|
|
3990
|
+
*/
|
|
3991
|
+
bodyAsText: string;
|
|
3992
|
+
/**
|
|
3993
|
+
* The response body as parsed JSON or XML
|
|
3994
|
+
*/
|
|
3995
|
+
parsedBody: QueryTestingResult;
|
|
3996
|
+
};
|
|
3997
|
+
};
|
|
3998
|
+
/**
|
|
3999
|
+
* Contains response data for the compileQueryMethod operation.
|
|
4000
|
+
*/
|
|
4001
|
+
export declare type SubscriptionsCompileQueryMethodResponse = QueryCompilationResult & {
|
|
4002
|
+
/**
|
|
4003
|
+
* The underlying HTTP response.
|
|
4004
|
+
*/
|
|
4005
|
+
_response: msRest.HttpResponse & {
|
|
4006
|
+
/**
|
|
4007
|
+
* The response body as text (string format)
|
|
4008
|
+
*/
|
|
4009
|
+
bodyAsText: string;
|
|
4010
|
+
/**
|
|
4011
|
+
* The response body as parsed JSON or XML
|
|
4012
|
+
*/
|
|
4013
|
+
parsedBody: QueryCompilationResult;
|
|
4014
|
+
};
|
|
4015
|
+
};
|
|
4016
|
+
/**
|
|
4017
|
+
* Contains response data for the sampleInputMethod operation.
|
|
4018
|
+
*/
|
|
4019
|
+
export declare type SubscriptionsSampleInputMethodResponse = SampleInputResult & {
|
|
4020
|
+
/**
|
|
4021
|
+
* The underlying HTTP response.
|
|
4022
|
+
*/
|
|
4023
|
+
_response: msRest.HttpResponse & {
|
|
4024
|
+
/**
|
|
4025
|
+
* The response body as text (string format)
|
|
4026
|
+
*/
|
|
4027
|
+
bodyAsText: string;
|
|
4028
|
+
/**
|
|
4029
|
+
* The response body as parsed JSON or XML
|
|
4030
|
+
*/
|
|
4031
|
+
parsedBody: SampleInputResult;
|
|
4032
|
+
};
|
|
4033
|
+
};
|
|
4034
|
+
/**
|
|
4035
|
+
* Contains response data for the testInputMethod operation.
|
|
4036
|
+
*/
|
|
4037
|
+
export declare type SubscriptionsTestInputMethodResponse = TestDatasourceResult & {
|
|
4038
|
+
/**
|
|
4039
|
+
* The underlying HTTP response.
|
|
4040
|
+
*/
|
|
4041
|
+
_response: msRest.HttpResponse & {
|
|
4042
|
+
/**
|
|
4043
|
+
* The response body as text (string format)
|
|
4044
|
+
*/
|
|
4045
|
+
bodyAsText: string;
|
|
4046
|
+
/**
|
|
4047
|
+
* The response body as parsed JSON or XML
|
|
4048
|
+
*/
|
|
4049
|
+
parsedBody: TestDatasourceResult;
|
|
4050
|
+
};
|
|
4051
|
+
};
|
|
4052
|
+
/**
|
|
4053
|
+
* Contains response data for the testOutputMethod operation.
|
|
4054
|
+
*/
|
|
4055
|
+
export declare type SubscriptionsTestOutputMethodResponse = TestDatasourceResult & {
|
|
4056
|
+
/**
|
|
4057
|
+
* The underlying HTTP response.
|
|
4058
|
+
*/
|
|
4059
|
+
_response: msRest.HttpResponse & {
|
|
4060
|
+
/**
|
|
4061
|
+
* The response body as text (string format)
|
|
4062
|
+
*/
|
|
4063
|
+
bodyAsText: string;
|
|
4064
|
+
/**
|
|
4065
|
+
* The response body as parsed JSON or XML
|
|
4066
|
+
*/
|
|
4067
|
+
parsedBody: TestDatasourceResult;
|
|
4068
|
+
};
|
|
4069
|
+
};
|
|
4070
|
+
/**
|
|
4071
|
+
* Contains response data for the beginTestQueryMethod operation.
|
|
4072
|
+
*/
|
|
4073
|
+
export declare type SubscriptionsBeginTestQueryMethodResponse = QueryTestingResult & {
|
|
4074
|
+
/**
|
|
4075
|
+
* The underlying HTTP response.
|
|
4076
|
+
*/
|
|
4077
|
+
_response: msRest.HttpResponse & {
|
|
4078
|
+
/**
|
|
4079
|
+
* The response body as text (string format)
|
|
4080
|
+
*/
|
|
4081
|
+
bodyAsText: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* The response body as parsed JSON or XML
|
|
4084
|
+
*/
|
|
4085
|
+
parsedBody: QueryTestingResult;
|
|
4086
|
+
};
|
|
4087
|
+
};
|
|
4088
|
+
/**
|
|
4089
|
+
* Contains response data for the beginSampleInputMethod operation.
|
|
4090
|
+
*/
|
|
4091
|
+
export declare type SubscriptionsBeginSampleInputMethodResponse = SampleInputResult & {
|
|
4092
|
+
/**
|
|
4093
|
+
* The underlying HTTP response.
|
|
4094
|
+
*/
|
|
4095
|
+
_response: msRest.HttpResponse & {
|
|
4096
|
+
/**
|
|
4097
|
+
* The response body as text (string format)
|
|
4098
|
+
*/
|
|
4099
|
+
bodyAsText: string;
|
|
4100
|
+
/**
|
|
4101
|
+
* The response body as parsed JSON or XML
|
|
4102
|
+
*/
|
|
4103
|
+
parsedBody: SampleInputResult;
|
|
4104
|
+
};
|
|
4105
|
+
};
|
|
4106
|
+
/**
|
|
4107
|
+
* Contains response data for the beginTestInputMethod operation.
|
|
4108
|
+
*/
|
|
4109
|
+
export declare type SubscriptionsBeginTestInputMethodResponse = TestDatasourceResult & {
|
|
4110
|
+
/**
|
|
4111
|
+
* The underlying HTTP response.
|
|
4112
|
+
*/
|
|
4113
|
+
_response: msRest.HttpResponse & {
|
|
4114
|
+
/**
|
|
4115
|
+
* The response body as text (string format)
|
|
4116
|
+
*/
|
|
4117
|
+
bodyAsText: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* The response body as parsed JSON or XML
|
|
4120
|
+
*/
|
|
4121
|
+
parsedBody: TestDatasourceResult;
|
|
4122
|
+
};
|
|
4123
|
+
};
|
|
4124
|
+
/**
|
|
4125
|
+
* Contains response data for the beginTestOutputMethod operation.
|
|
4126
|
+
*/
|
|
4127
|
+
export declare type SubscriptionsBeginTestOutputMethodResponse = TestDatasourceResult & {
|
|
4128
|
+
/**
|
|
4129
|
+
* The underlying HTTP response.
|
|
4130
|
+
*/
|
|
4131
|
+
_response: msRest.HttpResponse & {
|
|
4132
|
+
/**
|
|
4133
|
+
* The response body as text (string format)
|
|
4134
|
+
*/
|
|
4135
|
+
bodyAsText: string;
|
|
4136
|
+
/**
|
|
4137
|
+
* The response body as parsed JSON or XML
|
|
4138
|
+
*/
|
|
4139
|
+
parsedBody: TestDatasourceResult;
|
|
4140
|
+
};
|
|
4141
|
+
};
|
|
3650
4142
|
/**
|
|
3651
4143
|
* Contains response data for the createOrReplace operation.
|
|
3652
4144
|
*/
|