@azure/arm-streamanalytics 3.0.0 → 4.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/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -84
- package/dist/index.js +6818 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1940 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +132 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +155 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1412 -2137
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +34 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +260 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +137 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +627 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/functions.d.ts +107 -0
- package/dist-esm/src/operations/functions.d.ts.map +1 -0
- package/dist-esm/src/operations/functions.js +416 -0
- package/dist-esm/src/operations/functions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -4
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/inputs.d.ts +94 -0
- package/dist-esm/src/operations/inputs.d.ts.map +1 -0
- package/dist-esm/src/operations/inputs.js +377 -0
- package/dist-esm/src/operations/inputs.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/outputs.d.ts +95 -0
- package/dist-esm/src/operations/outputs.d.ts.map +1 -0
- package/dist-esm/src/operations/outputs.js +378 -0
- package/dist-esm/src/operations/outputs.js.map +1 -0
- package/dist-esm/src/operations/privateEndpoints.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpoints.js +295 -0
- package/dist-esm/src/operations/privateEndpoints.js.map +1 -0
- package/dist-esm/src/operations/streamingJobs.d.ts +151 -0
- package/dist-esm/src/operations/streamingJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/streamingJobs.js +692 -0
- package/dist-esm/src/operations/streamingJobs.js.map +1 -0
- package/dist-esm/src/operations/subscriptions.d.ts +21 -0
- package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/subscriptions.js +53 -0
- package/dist-esm/src/operations/subscriptions.js.map +1 -0
- package/dist-esm/src/operations/transformations.d.ts +46 -0
- package/dist-esm/src/operations/transformations.d.ts.map +1 -0
- package/dist-esm/src/operations/transformations.js +160 -0
- package/dist-esm/src/operations/transformations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +84 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/functions.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/functions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/functions.js +9 -0
- package/dist-esm/src/operationsInterfaces/functions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +17 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/inputs.d.ts +69 -0
- package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/inputs.js} +2 -1
- package/dist-esm/src/operationsInterfaces/inputs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/outputs.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outputs.js +9 -0
- package/dist-esm/src/operationsInterfaces/outputs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +115 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/transformations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/transformations.js +9 -0
- package/dist-esm/src/operationsInterfaces/transformations.js.map +1 -0
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts +26 -0
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/streamAnalyticsManagementClient.js +59 -0
- package/dist-esm/src/streamAnalyticsManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-streamanalytics.api.md +1598 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -12
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1943 -4505
- package/src/models/mappers.ts +1393 -2127
- package/src/models/parameters.ts +180 -90
- package/src/operations/clusters.ts +640 -393
- package/src/operations/functions.ts +366 -375
- package/src/operations/index.ts +5 -6
- package/src/operations/inputs.ts +337 -326
- package/src/operations/operations.ts +85 -73
- package/src/operations/outputs.ts +337 -325
- package/src/operations/privateEndpoints.ts +276 -209
- package/src/operations/streamingJobs.ts +686 -398
- package/src/operations/subscriptions.ts +36 -376
- package/src/operations/transformations.ts +104 -162
- package/src/operationsInterfaces/clusters.ts +157 -0
- package/src/operationsInterfaces/functions.ts +148 -0
- package/src/operationsInterfaces/index.ts +17 -0
- package/src/operationsInterfaces/inputs.ts +128 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/outputs.ts +129 -0
- package/src/operationsInterfaces/privateEndpoints.ts +90 -0
- package/src/operationsInterfaces/streamingJobs.ts +199 -0
- package/src/operationsInterfaces/subscriptions.ts +27 -0
- package/src/operationsInterfaces/transformations.ts +71 -0
- package/src/streamAnalyticsManagementClient.ts +97 -49
- package/tsconfig.json +3 -3
- package/types/arm-streamanalytics.d.ts +2730 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-streamanalytics.js +0 -7772
- package/dist/arm-streamanalytics.js.map +0 -1
- package/dist/arm-streamanalytics.min.js +0 -1
- package/dist/arm-streamanalytics.min.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/functionsMappers.d.ts +0 -2
- package/esm/models/functionsMappers.d.ts.map +0 -1
- package/esm/models/functionsMappers.js +0 -9
- package/esm/models/functionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4514
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/inputsMappers.d.ts +0 -2
- package/esm/models/inputsMappers.d.ts.map +0 -1
- package/esm/models/inputsMappers.js +0 -9
- package/esm/models/inputsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -185
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/outputsMappers.d.ts +0 -2
- package/esm/models/outputsMappers.d.ts.map +0 -1
- package/esm/models/outputsMappers.js +0 -9
- package/esm/models/outputsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -20
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -216
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointsMappers.d.ts +0 -2
- package/esm/models/privateEndpointsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointsMappers.js +0 -9
- package/esm/models/privateEndpointsMappers.js.map +0 -1
- package/esm/models/streamingJobsMappers.d.ts +0 -2
- package/esm/models/streamingJobsMappers.d.ts.map +0 -1
- package/esm/models/streamingJobsMappers.js +0 -9
- package/esm/models/streamingJobsMappers.js.map +0 -1
- package/esm/models/subscriptionsMappers.d.ts +0 -2
- package/esm/models/subscriptionsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionsMappers.js +0 -9
- package/esm/models/subscriptionsMappers.js.map +0 -1
- package/esm/models/transformationsMappers.d.ts +0 -2
- package/esm/models/transformationsMappers.d.ts.map +0 -1
- package/esm/models/transformationsMappers.js +0 -9
- package/esm/models/transformationsMappers.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -201
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -406
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/functions.d.ts +0 -215
- package/esm/operations/functions.d.ts.map +0 -1
- package/esm/operations/functions.js +0 -348
- package/esm/operations/functions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/inputs.d.ts +0 -189
- package/esm/operations/inputs.d.ts.map +0 -1
- package/esm/operations/inputs.js +0 -306
- package/esm/operations/inputs.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/outputs.d.ts +0 -189
- package/esm/operations/outputs.d.ts.map +0 -1
- package/esm/operations/outputs.js +0 -306
- package/esm/operations/outputs.js.map +0 -1
- package/esm/operations/privateEndpoints.d.ts +0 -125
- package/esm/operations/privateEndpoints.d.ts.map +0 -1
- package/esm/operations/privateEndpoints.js +0 -216
- package/esm/operations/privateEndpoints.js.map +0 -1
- package/esm/operations/streamingJobs.d.ts +0 -210
- package/esm/operations/streamingJobs.d.ts.map +0 -1
- package/esm/operations/streamingJobs.js +0 -440
- package/esm/operations/streamingJobs.js.map +0 -1
- package/esm/operations/subscriptions.d.ts +0 -138
- package/esm/operations/subscriptions.d.ts.map +0 -1
- package/esm/operations/subscriptions.js +0 -311
- package/esm/operations/subscriptions.js.map +0 -1
- package/esm/operations/transformations.d.ts +0 -106
- package/esm/operations/transformations.d.ts.map +0 -1
- package/esm/operations/transformations.js +0 -149
- package/esm/operations/transformations.js.map +0 -1
- package/esm/streamAnalyticsManagementClient.d.ts +0 -32
- package/esm/streamAnalyticsManagementClient.d.ts.map +0 -1
- package/esm/streamAnalyticsManagementClient.js +0 -45
- package/esm/streamAnalyticsManagementClient.js.map +0 -1
- package/esm/streamAnalyticsManagementClientContext.d.ts +0 -21
- package/esm/streamAnalyticsManagementClientContext.d.ts.map +0 -1
- package/esm/streamAnalyticsManagementClientContext.js +0 -59
- package/esm/streamAnalyticsManagementClientContext.js.map +0 -1
- package/src/models/clustersMappers.ts +0 -96
- package/src/models/functionsMappers.ts +0 -104
- package/src/models/inputsMappers.ts +0 -99
- package/src/models/outputsMappers.ts +0 -99
- package/src/models/privateEndpointsMappers.ts +0 -94
- package/src/models/streamingJobsMappers.ts +0 -98
- package/src/models/subscriptionsMappers.ts +0 -104
- package/src/models/transformationsMappers.ts +0 -96
- package/src/streamAnalyticsManagementClientContext.ts +0 -65
|
@@ -3,246 +3,55 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/subscriptionsMappers";
|
|
9
|
+
import { Subscriptions } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
14
12
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
13
|
+
import { StreamAnalyticsManagementClient } from "../streamAnalyticsManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
SubscriptionsListQuotasOptionalParams,
|
|
16
|
+
SubscriptionsListQuotasResponse
|
|
17
|
+
} from "../models";
|
|
16
18
|
|
|
17
|
-
/** Class
|
|
18
|
-
export class Subscriptions {
|
|
19
|
-
private readonly client:
|
|
19
|
+
/** Class containing Subscriptions operations. */
|
|
20
|
+
export class SubscriptionsImpl implements Subscriptions {
|
|
21
|
+
private readonly client: StreamAnalyticsManagementClient;
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
24
|
+
* Initialize a new instance of the class Subscriptions class.
|
|
25
|
+
* @param client Reference to the service client
|
|
24
26
|
*/
|
|
25
|
-
constructor(client:
|
|
27
|
+
constructor(client: StreamAnalyticsManagementClient) {
|
|
26
28
|
this.client = client;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
/**
|
|
30
32
|
* Retrieves the subscription's current quota information in a particular region.
|
|
31
|
-
* @param location The region
|
|
32
|
-
* Stream Analytics is supported in here:
|
|
33
|
-
*
|
|
34
|
-
* @
|
|
33
|
+
* @param location The region in which to retrieve the subscription's quota information. You can find
|
|
34
|
+
* out which regions Azure Stream Analytics is supported in here:
|
|
35
|
+
* https://azure.microsoft.com/en-us/regions/
|
|
36
|
+
* @param options The options parameters.
|
|
35
37
|
*/
|
|
36
|
-
listQuotas(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* @param callback The callback
|
|
41
|
-
*/
|
|
42
|
-
listQuotas(location: string, callback: msRest.ServiceCallback<Models.SubscriptionQuotasListResult>): void;
|
|
43
|
-
/**
|
|
44
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
45
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
46
|
-
* @param options The optional parameters
|
|
47
|
-
* @param callback The callback
|
|
48
|
-
*/
|
|
49
|
-
listQuotas(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SubscriptionQuotasListResult>): void;
|
|
50
|
-
listQuotas(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SubscriptionQuotasListResult>, callback?: msRest.ServiceCallback<Models.SubscriptionQuotasListResult>): Promise<Models.SubscriptionsListQuotasResponse> {
|
|
51
|
-
return this.client.sendOperationRequest(
|
|
52
|
-
{
|
|
53
|
-
location,
|
|
54
|
-
options
|
|
55
|
-
},
|
|
56
|
-
listQuotasOperationSpec,
|
|
57
|
-
callback) as Promise<Models.SubscriptionsListQuotasResponse>;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Test the Stream Analytics query on a sample input.
|
|
62
|
-
* @param testQuery The query testing object that defines the input, output, and transformation for
|
|
63
|
-
* the query testing.
|
|
64
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
65
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<Models.SubscriptionsTestQueryMethodResponse>
|
|
68
|
-
*/
|
|
69
|
-
testQueryMethod(testQuery: Models.TestQuery, location: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsTestQueryMethodResponse> {
|
|
70
|
-
return this.beginTestQueryMethod(testQuery,location,options)
|
|
71
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.SubscriptionsTestQueryMethodResponse>;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Compile the Stream Analytics query.
|
|
76
|
-
* @param compileQuery The query compilation object which defines the input, output, and
|
|
77
|
-
* transformation for the query compilation.
|
|
78
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
79
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
80
|
-
* @param [options] The optional parameters
|
|
81
|
-
* @returns Promise<Models.SubscriptionsCompileQueryMethodResponse>
|
|
82
|
-
*/
|
|
83
|
-
compileQueryMethod(compileQuery: Models.CompileQuery, location: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsCompileQueryMethodResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* @param compileQuery The query compilation object which defines the input, output, and
|
|
86
|
-
* transformation for the query compilation.
|
|
87
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
88
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
89
|
-
* @param callback The callback
|
|
90
|
-
*/
|
|
91
|
-
compileQueryMethod(compileQuery: Models.CompileQuery, location: string, callback: msRest.ServiceCallback<Models.QueryCompilationResult>): void;
|
|
92
|
-
/**
|
|
93
|
-
* @param compileQuery The query compilation object which defines the input, output, and
|
|
94
|
-
* transformation for the query compilation.
|
|
95
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
96
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
97
|
-
* @param options The optional parameters
|
|
98
|
-
* @param callback The callback
|
|
99
|
-
*/
|
|
100
|
-
compileQueryMethod(compileQuery: Models.CompileQuery, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.QueryCompilationResult>): void;
|
|
101
|
-
compileQueryMethod(compileQuery: Models.CompileQuery, location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.QueryCompilationResult>, callback?: msRest.ServiceCallback<Models.QueryCompilationResult>): Promise<Models.SubscriptionsCompileQueryMethodResponse> {
|
|
38
|
+
listQuotas(
|
|
39
|
+
location: string,
|
|
40
|
+
options?: SubscriptionsListQuotasOptionalParams
|
|
41
|
+
): Promise<SubscriptionsListQuotasResponse> {
|
|
102
42
|
return this.client.sendOperationRequest(
|
|
103
|
-
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
options
|
|
107
|
-
},
|
|
108
|
-
compileQueryMethodOperationSpec,
|
|
109
|
-
callback) as Promise<Models.SubscriptionsCompileQueryMethodResponse>;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Sample the Stream Analytics input data.
|
|
114
|
-
* @param sampleInput Defines the necessary parameters for sampling the Stream Analytics input
|
|
115
|
-
* data.
|
|
116
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
117
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
118
|
-
* @param [options] The optional parameters
|
|
119
|
-
* @returns Promise<Models.SubscriptionsSampleInputMethodResponse>
|
|
120
|
-
*/
|
|
121
|
-
sampleInputMethod(sampleInput: Models.SampleInput, location: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsSampleInputMethodResponse> {
|
|
122
|
-
return this.beginSampleInputMethod(sampleInput,location,options)
|
|
123
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.SubscriptionsSampleInputMethodResponse>;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Test the Stream Analytics input.
|
|
128
|
-
* @param testInput Defines the necessary parameters for testing the Stream Analytics input.
|
|
129
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
130
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
131
|
-
* @param [options] The optional parameters
|
|
132
|
-
* @returns Promise<Models.SubscriptionsTestInputMethodResponse>
|
|
133
|
-
*/
|
|
134
|
-
testInputMethod(testInput: Models.TestInput, location: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsTestInputMethodResponse> {
|
|
135
|
-
return this.beginTestInputMethod(testInput,location,options)
|
|
136
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.SubscriptionsTestInputMethodResponse>;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Test the Stream Analytics output.
|
|
141
|
-
* @param testOutput Defines the necessary parameters for testing the Stream Analytics output.
|
|
142
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
143
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
144
|
-
* @param [options] The optional parameters
|
|
145
|
-
* @returns Promise<Models.SubscriptionsTestOutputMethodResponse>
|
|
146
|
-
*/
|
|
147
|
-
testOutputMethod(testOutput: Models.TestOutput, location: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionsTestOutputMethodResponse> {
|
|
148
|
-
return this.beginTestOutputMethod(testOutput,location,options)
|
|
149
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.SubscriptionsTestOutputMethodResponse>;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Test the Stream Analytics query on a sample input.
|
|
154
|
-
* @param testQuery The query testing object that defines the input, output, and transformation for
|
|
155
|
-
* the query testing.
|
|
156
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
157
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
158
|
-
* @param [options] The optional parameters
|
|
159
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
160
|
-
*/
|
|
161
|
-
beginTestQueryMethod(testQuery: Models.TestQuery, location: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
162
|
-
return this.client.sendLRORequest(
|
|
163
|
-
{
|
|
164
|
-
testQuery,
|
|
165
|
-
location,
|
|
166
|
-
options
|
|
167
|
-
},
|
|
168
|
-
beginTestQueryMethodOperationSpec,
|
|
169
|
-
options);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Sample the Stream Analytics input data.
|
|
174
|
-
* @param sampleInput Defines the necessary parameters for sampling the Stream Analytics input
|
|
175
|
-
* data.
|
|
176
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
177
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
178
|
-
* @param [options] The optional parameters
|
|
179
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
180
|
-
*/
|
|
181
|
-
beginSampleInputMethod(sampleInput: Models.SampleInput, location: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
182
|
-
return this.client.sendLRORequest(
|
|
183
|
-
{
|
|
184
|
-
sampleInput,
|
|
185
|
-
location,
|
|
186
|
-
options
|
|
187
|
-
},
|
|
188
|
-
beginSampleInputMethodOperationSpec,
|
|
189
|
-
options);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Test the Stream Analytics input.
|
|
194
|
-
* @param testInput Defines the necessary parameters for testing the Stream Analytics input.
|
|
195
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
196
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
197
|
-
* @param [options] The optional parameters
|
|
198
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
199
|
-
*/
|
|
200
|
-
beginTestInputMethod(testInput: Models.TestInput, location: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
201
|
-
return this.client.sendLRORequest(
|
|
202
|
-
{
|
|
203
|
-
testInput,
|
|
204
|
-
location,
|
|
205
|
-
options
|
|
206
|
-
},
|
|
207
|
-
beginTestInputMethodOperationSpec,
|
|
208
|
-
options);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Test the Stream Analytics output.
|
|
213
|
-
* @param testOutput Defines the necessary parameters for testing the Stream Analytics output.
|
|
214
|
-
* @param location The region to which the request is sent. You can find out which regions Azure
|
|
215
|
-
* Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/
|
|
216
|
-
* @param [options] The optional parameters
|
|
217
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
218
|
-
*/
|
|
219
|
-
beginTestOutputMethod(testOutput: Models.TestOutput, location: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
220
|
-
return this.client.sendLRORequest(
|
|
221
|
-
{
|
|
222
|
-
testOutput,
|
|
223
|
-
location,
|
|
224
|
-
options
|
|
225
|
-
},
|
|
226
|
-
beginTestOutputMethodOperationSpec,
|
|
227
|
-
options);
|
|
43
|
+
{ location, options },
|
|
44
|
+
listQuotasOperationSpec
|
|
45
|
+
);
|
|
228
46
|
}
|
|
229
47
|
}
|
|
230
|
-
|
|
231
48
|
// Operation Specifications
|
|
232
|
-
const serializer =
|
|
233
|
-
|
|
49
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
50
|
+
|
|
51
|
+
const listQuotasOperationSpec: coreClient.OperationSpec = {
|
|
52
|
+
path:
|
|
53
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/quotas",
|
|
234
54
|
httpMethod: "GET",
|
|
235
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/quotas",
|
|
236
|
-
urlParameters: [
|
|
237
|
-
Parameters.location,
|
|
238
|
-
Parameters.subscriptionId
|
|
239
|
-
],
|
|
240
|
-
queryParameters: [
|
|
241
|
-
Parameters.apiVersion0
|
|
242
|
-
],
|
|
243
|
-
headerParameters: [
|
|
244
|
-
Parameters.acceptLanguage
|
|
245
|
-
],
|
|
246
55
|
responses: {
|
|
247
56
|
200: {
|
|
248
57
|
bodyMapper: Mappers.SubscriptionQuotasListResult
|
|
@@ -251,161 +60,12 @@ const listQuotasOperationSpec: msRest.OperationSpec = {
|
|
|
251
60
|
bodyMapper: Mappers.ErrorModel
|
|
252
61
|
}
|
|
253
62
|
},
|
|
254
|
-
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
const compileQueryMethodOperationSpec: msRest.OperationSpec = {
|
|
258
|
-
httpMethod: "POST",
|
|
259
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/compileQuery",
|
|
260
|
-
urlParameters: [
|
|
261
|
-
Parameters.location,
|
|
262
|
-
Parameters.subscriptionId
|
|
263
|
-
],
|
|
264
|
-
queryParameters: [
|
|
265
|
-
Parameters.apiVersion0
|
|
266
|
-
],
|
|
267
|
-
headerParameters: [
|
|
268
|
-
Parameters.acceptLanguage
|
|
269
|
-
],
|
|
270
|
-
requestBody: {
|
|
271
|
-
parameterPath: "compileQuery",
|
|
272
|
-
mapper: {
|
|
273
|
-
...Mappers.CompileQuery,
|
|
274
|
-
required: true
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
responses: {
|
|
278
|
-
200: {
|
|
279
|
-
bodyMapper: Mappers.QueryCompilationResult
|
|
280
|
-
},
|
|
281
|
-
default: {
|
|
282
|
-
bodyMapper: Mappers.ErrorModel
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
serializer
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
const beginTestQueryMethodOperationSpec: msRest.OperationSpec = {
|
|
289
|
-
httpMethod: "POST",
|
|
290
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testQuery",
|
|
291
|
-
urlParameters: [
|
|
292
|
-
Parameters.location,
|
|
293
|
-
Parameters.subscriptionId
|
|
294
|
-
],
|
|
295
|
-
queryParameters: [
|
|
296
|
-
Parameters.apiVersion0
|
|
297
|
-
],
|
|
298
|
-
headerParameters: [
|
|
299
|
-
Parameters.acceptLanguage
|
|
300
|
-
],
|
|
301
|
-
requestBody: {
|
|
302
|
-
parameterPath: "testQuery",
|
|
303
|
-
mapper: {
|
|
304
|
-
...Mappers.TestQuery,
|
|
305
|
-
required: true
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
responses: {
|
|
309
|
-
200: {
|
|
310
|
-
bodyMapper: Mappers.QueryTestingResult
|
|
311
|
-
},
|
|
312
|
-
202: {},
|
|
313
|
-
default: {
|
|
314
|
-
bodyMapper: Mappers.ErrorModel
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
serializer
|
|
318
|
-
};
|
|
319
|
-
|
|
320
|
-
const beginSampleInputMethodOperationSpec: msRest.OperationSpec = {
|
|
321
|
-
httpMethod: "POST",
|
|
322
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/sampleInput",
|
|
63
|
+
queryParameters: [Parameters.apiVersion],
|
|
323
64
|
urlParameters: [
|
|
324
|
-
Parameters
|
|
325
|
-
Parameters.subscriptionId
|
|
326
|
-
|
|
327
|
-
queryParameters: [
|
|
328
|
-
Parameters.apiVersion0
|
|
65
|
+
Parameters.$host,
|
|
66
|
+
Parameters.subscriptionId,
|
|
67
|
+
Parameters.location
|
|
329
68
|
],
|
|
330
|
-
headerParameters: [
|
|
331
|
-
Parameters.acceptLanguage
|
|
332
|
-
],
|
|
333
|
-
requestBody: {
|
|
334
|
-
parameterPath: "sampleInput",
|
|
335
|
-
mapper: {
|
|
336
|
-
...Mappers.SampleInput,
|
|
337
|
-
required: true
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
responses: {
|
|
341
|
-
202: {
|
|
342
|
-
bodyMapper: Mappers.SampleInputResult
|
|
343
|
-
},
|
|
344
|
-
default: {
|
|
345
|
-
bodyMapper: Mappers.ErrorModel
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
serializer
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
const beginTestInputMethodOperationSpec: msRest.OperationSpec = {
|
|
352
|
-
httpMethod: "POST",
|
|
353
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testInput",
|
|
354
|
-
urlParameters: [
|
|
355
|
-
Parameters.location,
|
|
356
|
-
Parameters.subscriptionId
|
|
357
|
-
],
|
|
358
|
-
queryParameters: [
|
|
359
|
-
Parameters.apiVersion0
|
|
360
|
-
],
|
|
361
|
-
headerParameters: [
|
|
362
|
-
Parameters.acceptLanguage
|
|
363
|
-
],
|
|
364
|
-
requestBody: {
|
|
365
|
-
parameterPath: "testInput",
|
|
366
|
-
mapper: {
|
|
367
|
-
...Mappers.TestInput,
|
|
368
|
-
required: true
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
responses: {
|
|
372
|
-
202: {
|
|
373
|
-
bodyMapper: Mappers.TestDatasourceResult
|
|
374
|
-
},
|
|
375
|
-
default: {
|
|
376
|
-
bodyMapper: Mappers.ErrorModel
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
serializer
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
const beginTestOutputMethodOperationSpec: msRest.OperationSpec = {
|
|
383
|
-
httpMethod: "POST",
|
|
384
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/testOutput",
|
|
385
|
-
urlParameters: [
|
|
386
|
-
Parameters.location,
|
|
387
|
-
Parameters.subscriptionId
|
|
388
|
-
],
|
|
389
|
-
queryParameters: [
|
|
390
|
-
Parameters.apiVersion0
|
|
391
|
-
],
|
|
392
|
-
headerParameters: [
|
|
393
|
-
Parameters.acceptLanguage
|
|
394
|
-
],
|
|
395
|
-
requestBody: {
|
|
396
|
-
parameterPath: "testOutput",
|
|
397
|
-
mapper: {
|
|
398
|
-
...Mappers.TestOutput,
|
|
399
|
-
required: true
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
responses: {
|
|
403
|
-
202: {
|
|
404
|
-
bodyMapper: Mappers.TestDatasourceResult
|
|
405
|
-
},
|
|
406
|
-
default: {
|
|
407
|
-
bodyMapper: Mappers.ErrorModel
|
|
408
|
-
}
|
|
409
|
-
},
|
|
69
|
+
headerParameters: [Parameters.accept],
|
|
410
70
|
serializer
|
|
411
71
|
};
|