@azure/arm-streamanalytics 3.0.0-beta.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/{LICENSE → LICENSE.txt} +1 -1
- package/README.md +84 -66
- package/dist/arm-streamanalytics.js +7772 -0
- package/dist/arm-streamanalytics.js.map +1 -0
- package/dist/arm-streamanalytics.min.js +1 -0
- package/dist/arm-streamanalytics.min.js.map +1 -0
- package/esm/models/clustersMappers.d.ts +2 -0
- package/esm/models/clustersMappers.d.ts.map +1 -0
- package/esm/models/clustersMappers.js +9 -0
- package/esm/models/clustersMappers.js.map +1 -0
- package/esm/models/functionsMappers.d.ts +2 -0
- package/esm/models/functionsMappers.d.ts.map +1 -0
- package/esm/models/functionsMappers.js +9 -0
- package/esm/models/functionsMappers.js.map +1 -0
- package/esm/models/index.d.ts +4514 -0
- package/esm/models/index.d.ts.map +1 -0
- package/{dist-esm/src/operationsInterfaces/inputs.js → esm/models/index.js} +1 -2
- package/esm/models/index.js.map +1 -0
- package/esm/models/inputsMappers.d.ts +2 -0
- package/esm/models/inputsMappers.d.ts.map +1 -0
- package/esm/models/inputsMappers.js +9 -0
- package/esm/models/inputsMappers.js.map +1 -0
- package/esm/models/mappers.d.ts +185 -0
- package/esm/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → esm}/models/mappers.js +2184 -2272
- package/esm/models/mappers.js.map +1 -0
- package/esm/models/operationsMappers.d.ts +2 -0
- package/esm/models/operationsMappers.d.ts.map +1 -0
- package/esm/models/operationsMappers.js +9 -0
- package/esm/models/operationsMappers.js.map +1 -0
- package/esm/models/outputsMappers.d.ts +2 -0
- package/esm/models/outputsMappers.d.ts.map +1 -0
- package/esm/models/outputsMappers.js +9 -0
- package/esm/models/outputsMappers.js.map +1 -0
- package/esm/models/parameters.d.ts +20 -0
- package/esm/models/parameters.d.ts.map +1 -0
- package/esm/models/parameters.js +216 -0
- package/esm/models/parameters.js.map +1 -0
- package/esm/models/privateEndpointsMappers.d.ts +2 -0
- package/esm/models/privateEndpointsMappers.d.ts.map +1 -0
- package/esm/models/privateEndpointsMappers.js +9 -0
- package/esm/models/privateEndpointsMappers.js.map +1 -0
- package/esm/models/streamingJobsMappers.d.ts +2 -0
- package/esm/models/streamingJobsMappers.d.ts.map +1 -0
- package/esm/models/streamingJobsMappers.js +9 -0
- package/esm/models/streamingJobsMappers.js.map +1 -0
- package/esm/models/subscriptionsMappers.d.ts +2 -0
- package/esm/models/subscriptionsMappers.d.ts.map +1 -0
- package/esm/models/subscriptionsMappers.js +9 -0
- package/esm/models/subscriptionsMappers.js.map +1 -0
- package/esm/models/transformationsMappers.d.ts +2 -0
- package/esm/models/transformationsMappers.d.ts.map +1 -0
- package/esm/models/transformationsMappers.js +9 -0
- package/esm/models/transformationsMappers.js.map +1 -0
- package/esm/operations/clusters.d.ts +201 -0
- package/esm/operations/clusters.d.ts.map +1 -0
- package/esm/operations/clusters.js +406 -0
- package/esm/operations/clusters.js.map +1 -0
- package/esm/operations/functions.d.ts +215 -0
- package/esm/operations/functions.d.ts.map +1 -0
- package/esm/operations/functions.js +348 -0
- package/esm/operations/functions.js.map +1 -0
- package/{dist-esm/src → esm}/operations/index.d.ts +0 -0
- package/esm/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/operationsInterfaces → esm/operations}/index.js +2 -1
- package/esm/operations/index.js.map +1 -0
- package/esm/operations/inputs.d.ts +189 -0
- package/esm/operations/inputs.d.ts.map +1 -0
- package/esm/operations/inputs.js +306 -0
- package/esm/operations/inputs.js.map +1 -0
- package/esm/operations/operations.d.ts +46 -0
- package/esm/operations/operations.d.ts.map +1 -0
- package/esm/operations/operations.js +79 -0
- package/esm/operations/operations.js.map +1 -0
- package/esm/operations/outputs.d.ts +189 -0
- package/esm/operations/outputs.d.ts.map +1 -0
- package/esm/operations/outputs.js +306 -0
- package/esm/operations/outputs.js.map +1 -0
- package/esm/operations/privateEndpoints.d.ts +125 -0
- package/esm/operations/privateEndpoints.d.ts.map +1 -0
- package/esm/operations/privateEndpoints.js +216 -0
- package/esm/operations/privateEndpoints.js.map +1 -0
- package/esm/operations/streamingJobs.d.ts +210 -0
- package/esm/operations/streamingJobs.d.ts.map +1 -0
- package/esm/operations/streamingJobs.js +440 -0
- package/esm/operations/streamingJobs.js.map +1 -0
- package/esm/operations/subscriptions.d.ts +138 -0
- package/esm/operations/subscriptions.d.ts.map +1 -0
- package/esm/operations/subscriptions.js +311 -0
- package/esm/operations/subscriptions.js.map +1 -0
- package/esm/operations/transformations.d.ts +106 -0
- package/esm/operations/transformations.d.ts.map +1 -0
- package/esm/operations/transformations.js +149 -0
- package/esm/operations/transformations.js.map +1 -0
- package/esm/streamAnalyticsManagementClient.d.ts +32 -0
- package/esm/streamAnalyticsManagementClient.d.ts.map +1 -0
- package/esm/streamAnalyticsManagementClient.js +45 -0
- package/esm/streamAnalyticsManagementClient.js.map +1 -0
- package/esm/streamAnalyticsManagementClientContext.d.ts +21 -0
- package/esm/streamAnalyticsManagementClientContext.d.ts.map +1 -0
- package/esm/streamAnalyticsManagementClientContext.js +59 -0
- package/esm/streamAnalyticsManagementClientContext.js.map +1 -0
- package/package.json +32 -64
- package/rollup.config.js +30 -181
- package/src/models/clustersMappers.ts +96 -0
- package/src/models/functionsMappers.ts +104 -0
- package/src/models/index.ts +4273 -2134
- package/src/models/inputsMappers.ts +99 -0
- package/src/models/mappers.ts +2193 -2349
- package/{dist-esm/src/operationsInterfaces/operations.js → src/models/operationsMappers.ts} +13 -2
- package/src/models/outputsMappers.ts +99 -0
- package/src/models/parameters.ts +92 -218
- package/src/models/privateEndpointsMappers.ts +94 -0
- package/src/models/streamingJobsMappers.ts +98 -0
- package/src/models/subscriptionsMappers.ts +104 -0
- package/src/models/transformationsMappers.ts +96 -0
- package/src/operations/clusters.ts +390 -637
- package/src/operations/functions.ts +372 -363
- package/src/operations/index.ts +2 -1
- package/src/operations/inputs.ts +323 -334
- package/src/operations/operations.ts +70 -82
- package/src/operations/outputs.ts +322 -334
- package/src/operations/privateEndpoints.ts +206 -273
- package/src/operations/streamingJobs.ts +410 -596
- package/src/operations/subscriptions.ts +282 -466
- package/src/operations/transformations.ts +159 -101
- package/src/streamAnalyticsManagementClient.ts +47 -52
- package/src/streamAnalyticsManagementClientContext.ts +40 -43
- package/tsconfig.json +3 -3
- package/CHANGELOG.md +0 -14
- package/dist/index.js +0 -8017
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -16
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -2307
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -152
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -194
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -39
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -287
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/clusters.d.ts +0 -137
- package/dist-esm/src/operations/clusters.d.ts.map +0 -1
- package/dist-esm/src/operations/clusters.js +0 -627
- package/dist-esm/src/operations/clusters.js.map +0 -1
- package/dist-esm/src/operations/functions.d.ts +0 -107
- package/dist-esm/src/operations/functions.d.ts.map +0 -1
- package/dist-esm/src/operations/functions.js +0 -416
- package/dist-esm/src/operations/functions.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/inputs.d.ts +0 -94
- package/dist-esm/src/operations/inputs.d.ts.map +0 -1
- package/dist-esm/src/operations/inputs.js +0 -377
- package/dist-esm/src/operations/inputs.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -120
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/outputs.d.ts +0 -95
- package/dist-esm/src/operations/outputs.d.ts.map +0 -1
- package/dist-esm/src/operations/outputs.js +0 -378
- package/dist-esm/src/operations/outputs.js.map +0 -1
- package/dist-esm/src/operations/privateEndpoints.d.ts +0 -73
- package/dist-esm/src/operations/privateEndpoints.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpoints.js +0 -295
- package/dist-esm/src/operations/privateEndpoints.js.map +0 -1
- package/dist-esm/src/operations/streamingJobs.d.ts +0 -137
- package/dist-esm/src/operations/streamingJobs.d.ts.map +0 -1
- package/dist-esm/src/operations/streamingJobs.js +0 -619
- package/dist-esm/src/operations/streamingJobs.js.map +0 -1
- package/dist-esm/src/operations/subscriptions.d.ts +0 -96
- package/dist-esm/src/operations/subscriptions.d.ts.map +0 -1
- package/dist-esm/src/operations/subscriptions.js +0 -422
- package/dist-esm/src/operations/subscriptions.js.map +0 -1
- package/dist-esm/src/operations/transformations.d.ts +0 -46
- package/dist-esm/src/operations/transformations.d.ts.map +0 -1
- package/dist-esm/src/operations/transformations.js +0 -160
- package/dist-esm/src/operations/transformations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +0 -84
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/clusters.js +0 -9
- package/dist-esm/src/operationsInterfaces/clusters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/functions.d.ts +0 -82
- package/dist-esm/src/operationsInterfaces/functions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/functions.js +0 -9
- package/dist-esm/src/operationsInterfaces/functions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/inputs.d.ts +0 -69
- package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/inputs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/outputs.d.ts +0 -70
- package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/outputs.js +0 -9
- package/dist-esm/src/operationsInterfaces/outputs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +0 -48
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js +0 -9
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +0 -101
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/streamingJobs.js +0 -9
- package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +0 -88
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscriptions.js +0 -9
- package/dist-esm/src/operationsInterfaces/subscriptions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/transformations.d.ts +0 -38
- package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/transformations.js +0 -9
- package/dist-esm/src/operationsInterfaces/transformations.js.map +0 -1
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts +0 -23
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/streamAnalyticsManagementClient.js +0 -30
- package/dist-esm/src/streamAnalyticsManagementClient.js.map +0 -1
- package/dist-esm/src/streamAnalyticsManagementClientContext.d.ts +0 -15
- package/dist-esm/src/streamAnalyticsManagementClientContext.d.ts.map +0 -1
- package/dist-esm/src/streamAnalyticsManagementClientContext.js +0 -48
- package/dist-esm/src/streamAnalyticsManagementClientContext.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/review/arm-streamanalytics.api.md +0 -1865
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -34
- package/src/operationsInterfaces/clusters.ts +0 -157
- package/src/operationsInterfaces/functions.ts +0 -148
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/inputs.ts +0 -128
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/outputs.ts +0 -129
- package/src/operationsInterfaces/privateEndpoints.ts +0 -90
- package/src/operationsInterfaces/streamingJobs.ts +0 -176
- package/src/operationsInterfaces/subscriptions.ts +0 -173
- package/src/operationsInterfaces/transformations.ts +0 -71
- package/types/arm-streamanalytics.d.ts +0 -3207
- package/types/tsdoc-metadata.json +0 -11
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
+
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
+
import * as Models from "../models";
|
|
4
|
+
import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
|
|
5
|
+
/** Class representing a Inputs. */
|
|
6
|
+
export declare class Inputs {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Create a Inputs.
|
|
10
|
+
* @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: StreamAnalyticsManagementClientContext);
|
|
13
|
+
/**
|
|
14
|
+
* Creates an input or replaces an already existing input under an existing streaming job.
|
|
15
|
+
* @param input The definition of the input that will be used to create a new input or replace the
|
|
16
|
+
* existing one under the streaming job.
|
|
17
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
18
|
+
* @param jobName The name of the streaming job.
|
|
19
|
+
* @param inputName The name of the input.
|
|
20
|
+
* @param [options] The optional parameters
|
|
21
|
+
* @returns Promise<Models.InputsCreateOrReplaceResponse>
|
|
22
|
+
*/
|
|
23
|
+
createOrReplace(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsCreateOrReplaceOptionalParams): Promise<Models.InputsCreateOrReplaceResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* @param input The definition of the input that will be used to create a new input or replace the
|
|
26
|
+
* existing one under the streaming job.
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param jobName The name of the streaming job.
|
|
29
|
+
* @param inputName The name of the input.
|
|
30
|
+
* @param callback The callback
|
|
31
|
+
*/
|
|
32
|
+
createOrReplace(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, callback: msRest.ServiceCallback<Models.Input>): void;
|
|
33
|
+
/**
|
|
34
|
+
* @param input The definition of the input that will be used to create a new input or replace the
|
|
35
|
+
* existing one under the streaming job.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param jobName The name of the streaming job.
|
|
38
|
+
* @param inputName The name of the input.
|
|
39
|
+
* @param options The optional parameters
|
|
40
|
+
* @param callback The callback
|
|
41
|
+
*/
|
|
42
|
+
createOrReplace(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options: Models.InputsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback<Models.Input>): void;
|
|
43
|
+
/**
|
|
44
|
+
* Updates an existing input under an existing streaming job. This can be used to partially update
|
|
45
|
+
* (ie. update one or two properties) an input without affecting the rest the job or input
|
|
46
|
+
* definition.
|
|
47
|
+
* @param input An Input object. The properties specified here will overwrite the corresponding
|
|
48
|
+
* properties in the existing input (ie. Those properties will be updated). Any properties that are
|
|
49
|
+
* set to null here will mean that the corresponding property in the existing input will remain the
|
|
50
|
+
* same and not change as a result of this PATCH operation.
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param jobName The name of the streaming job.
|
|
53
|
+
* @param inputName The name of the input.
|
|
54
|
+
* @param [options] The optional parameters
|
|
55
|
+
* @returns Promise<Models.InputsUpdateResponse>
|
|
56
|
+
*/
|
|
57
|
+
update(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsUpdateOptionalParams): Promise<Models.InputsUpdateResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* @param input An Input object. The properties specified here will overwrite the corresponding
|
|
60
|
+
* properties in the existing input (ie. Those properties will be updated). Any properties that are
|
|
61
|
+
* set to null here will mean that the corresponding property in the existing input will remain the
|
|
62
|
+
* same and not change as a result of this PATCH operation.
|
|
63
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
64
|
+
* @param jobName The name of the streaming job.
|
|
65
|
+
* @param inputName The name of the input.
|
|
66
|
+
* @param callback The callback
|
|
67
|
+
*/
|
|
68
|
+
update(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, callback: msRest.ServiceCallback<Models.Input>): void;
|
|
69
|
+
/**
|
|
70
|
+
* @param input An Input object. The properties specified here will overwrite the corresponding
|
|
71
|
+
* properties in the existing input (ie. Those properties will be updated). Any properties that are
|
|
72
|
+
* set to null here will mean that the corresponding property in the existing input will remain the
|
|
73
|
+
* same and not change as a result of this PATCH operation.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param jobName The name of the streaming job.
|
|
76
|
+
* @param inputName The name of the input.
|
|
77
|
+
* @param options The optional parameters
|
|
78
|
+
* @param callback The callback
|
|
79
|
+
*/
|
|
80
|
+
update(input: Models.Input, resourceGroupName: string, jobName: string, inputName: string, options: Models.InputsUpdateOptionalParams, callback: msRest.ServiceCallback<Models.Input>): void;
|
|
81
|
+
/**
|
|
82
|
+
* Deletes an input from the streaming job.
|
|
83
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
+
* @param jobName The name of the streaming job.
|
|
85
|
+
* @param inputName The name of the input.
|
|
86
|
+
* @param [options] The optional parameters
|
|
87
|
+
* @returns Promise<msRest.RestResponse>
|
|
88
|
+
*/
|
|
89
|
+
deleteMethod(resourceGroupName: string, jobName: string, inputName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
+
* @param jobName The name of the streaming job.
|
|
93
|
+
* @param inputName The name of the input.
|
|
94
|
+
* @param callback The callback
|
|
95
|
+
*/
|
|
96
|
+
deleteMethod(resourceGroupName: string, jobName: string, inputName: string, callback: msRest.ServiceCallback<void>): void;
|
|
97
|
+
/**
|
|
98
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
+
* @param jobName The name of the streaming job.
|
|
100
|
+
* @param inputName The name of the input.
|
|
101
|
+
* @param options The optional parameters
|
|
102
|
+
* @param callback The callback
|
|
103
|
+
*/
|
|
104
|
+
deleteMethod(resourceGroupName: string, jobName: string, inputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
105
|
+
/**
|
|
106
|
+
* Gets details about the specified input.
|
|
107
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
108
|
+
* @param jobName The name of the streaming job.
|
|
109
|
+
* @param inputName The name of the input.
|
|
110
|
+
* @param [options] The optional parameters
|
|
111
|
+
* @returns Promise<Models.InputsGetResponse>
|
|
112
|
+
*/
|
|
113
|
+
get(resourceGroupName: string, jobName: string, inputName: string, options?: msRest.RequestOptionsBase): Promise<Models.InputsGetResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
116
|
+
* @param jobName The name of the streaming job.
|
|
117
|
+
* @param inputName The name of the input.
|
|
118
|
+
* @param callback The callback
|
|
119
|
+
*/
|
|
120
|
+
get(resourceGroupName: string, jobName: string, inputName: string, callback: msRest.ServiceCallback<Models.Input>): void;
|
|
121
|
+
/**
|
|
122
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
+
* @param jobName The name of the streaming job.
|
|
124
|
+
* @param inputName The name of the input.
|
|
125
|
+
* @param options The optional parameters
|
|
126
|
+
* @param callback The callback
|
|
127
|
+
*/
|
|
128
|
+
get(resourceGroupName: string, jobName: string, inputName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Input>): void;
|
|
129
|
+
/**
|
|
130
|
+
* Lists all of the inputs under the specified streaming job.
|
|
131
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
132
|
+
* @param jobName The name of the streaming job.
|
|
133
|
+
* @param [options] The optional parameters
|
|
134
|
+
* @returns Promise<Models.InputsListByStreamingJobResponse>
|
|
135
|
+
*/
|
|
136
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.InputsListByStreamingJobOptionalParams): Promise<Models.InputsListByStreamingJobResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
139
|
+
* @param jobName The name of the streaming job.
|
|
140
|
+
* @param callback The callback
|
|
141
|
+
*/
|
|
142
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, callback: msRest.ServiceCallback<Models.InputListResult>): void;
|
|
143
|
+
/**
|
|
144
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
145
|
+
* @param jobName The name of the streaming job.
|
|
146
|
+
* @param options The optional parameters
|
|
147
|
+
* @param callback The callback
|
|
148
|
+
*/
|
|
149
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, options: Models.InputsListByStreamingJobOptionalParams, callback: msRest.ServiceCallback<Models.InputListResult>): void;
|
|
150
|
+
/**
|
|
151
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics
|
|
152
|
+
* service.
|
|
153
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
154
|
+
* @param jobName The name of the streaming job.
|
|
155
|
+
* @param inputName The name of the input.
|
|
156
|
+
* @param [options] The optional parameters
|
|
157
|
+
* @returns Promise<Models.InputsTestResponse>
|
|
158
|
+
*/
|
|
159
|
+
test(resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsTestOptionalParams): Promise<Models.InputsTestResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics
|
|
162
|
+
* service.
|
|
163
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
164
|
+
* @param jobName The name of the streaming job.
|
|
165
|
+
* @param inputName The name of the input.
|
|
166
|
+
* @param [options] The optional parameters
|
|
167
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
168
|
+
*/
|
|
169
|
+
beginTest(resourceGroupName: string, jobName: string, inputName: string, options?: Models.InputsBeginTestOptionalParams): Promise<msRestAzure.LROPoller>;
|
|
170
|
+
/**
|
|
171
|
+
* Lists all of the inputs under the specified streaming job.
|
|
172
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
173
|
+
* @param [options] The optional parameters
|
|
174
|
+
* @returns Promise<Models.InputsListByStreamingJobNextResponse>
|
|
175
|
+
*/
|
|
176
|
+
listByStreamingJobNext(nextPageLink: string, options?: Models.InputsListByStreamingJobNextOptionalParams): Promise<Models.InputsListByStreamingJobNextResponse>;
|
|
177
|
+
/**
|
|
178
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
179
|
+
* @param callback The callback
|
|
180
|
+
*/
|
|
181
|
+
listByStreamingJobNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.InputListResult>): void;
|
|
182
|
+
/**
|
|
183
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
184
|
+
* @param options The optional parameters
|
|
185
|
+
* @param callback The callback
|
|
186
|
+
*/
|
|
187
|
+
listByStreamingJobNext(nextPageLink: string, options: Models.InputsListByStreamingJobNextOptionalParams, callback: msRest.ServiceCallback<Models.InputListResult>): void;
|
|
188
|
+
}
|
|
189
|
+
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../src/operations/inputs.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,sCAAsC,EAAE,MAAM,2CAA2C,CAAC;AAEnG,mCAAmC;AACnC,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyC;IAEhE;;;OAGG;gBACS,MAAM,EAAE,sCAAsC;IAI1D;;;;;;;;;OASG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,mCAAmC,GAAG,OAAO,CAAC,MAAM,CAAC,6BAA6B,CAAC;IACxM;;;;;;;OAOG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,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microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
+
* regenerated.
|
|
8
|
+
*/
|
|
9
|
+
import { __assign } from "tslib";
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
import * as Mappers from "../models/inputsMappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
/** Class representing a Inputs. */
|
|
14
|
+
var Inputs = /** @class */ (function () {
|
|
15
|
+
/**
|
|
16
|
+
* Create a Inputs.
|
|
17
|
+
* @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
|
|
18
|
+
*/
|
|
19
|
+
function Inputs(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
Inputs.prototype.createOrReplace = function (input, resourceGroupName, jobName, inputName, options, callback) {
|
|
23
|
+
return this.client.sendOperationRequest({
|
|
24
|
+
input: input,
|
|
25
|
+
resourceGroupName: resourceGroupName,
|
|
26
|
+
jobName: jobName,
|
|
27
|
+
inputName: inputName,
|
|
28
|
+
options: options
|
|
29
|
+
}, createOrReplaceOperationSpec, callback);
|
|
30
|
+
};
|
|
31
|
+
Inputs.prototype.update = function (input, resourceGroupName, jobName, inputName, options, callback) {
|
|
32
|
+
return this.client.sendOperationRequest({
|
|
33
|
+
input: input,
|
|
34
|
+
resourceGroupName: resourceGroupName,
|
|
35
|
+
jobName: jobName,
|
|
36
|
+
inputName: inputName,
|
|
37
|
+
options: options
|
|
38
|
+
}, updateOperationSpec, callback);
|
|
39
|
+
};
|
|
40
|
+
Inputs.prototype.deleteMethod = function (resourceGroupName, jobName, inputName, options, callback) {
|
|
41
|
+
return this.client.sendOperationRequest({
|
|
42
|
+
resourceGroupName: resourceGroupName,
|
|
43
|
+
jobName: jobName,
|
|
44
|
+
inputName: inputName,
|
|
45
|
+
options: options
|
|
46
|
+
}, deleteMethodOperationSpec, callback);
|
|
47
|
+
};
|
|
48
|
+
Inputs.prototype.get = function (resourceGroupName, jobName, inputName, options, callback) {
|
|
49
|
+
return this.client.sendOperationRequest({
|
|
50
|
+
resourceGroupName: resourceGroupName,
|
|
51
|
+
jobName: jobName,
|
|
52
|
+
inputName: inputName,
|
|
53
|
+
options: options
|
|
54
|
+
}, getOperationSpec, callback);
|
|
55
|
+
};
|
|
56
|
+
Inputs.prototype.listByStreamingJob = function (resourceGroupName, jobName, options, callback) {
|
|
57
|
+
return this.client.sendOperationRequest({
|
|
58
|
+
resourceGroupName: resourceGroupName,
|
|
59
|
+
jobName: jobName,
|
|
60
|
+
options: options
|
|
61
|
+
}, listByStreamingJobOperationSpec, callback);
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics
|
|
65
|
+
* service.
|
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
+
* @param jobName The name of the streaming job.
|
|
68
|
+
* @param inputName The name of the input.
|
|
69
|
+
* @param [options] The optional parameters
|
|
70
|
+
* @returns Promise<Models.InputsTestResponse>
|
|
71
|
+
*/
|
|
72
|
+
Inputs.prototype.test = function (resourceGroupName, jobName, inputName, options) {
|
|
73
|
+
return this.beginTest(resourceGroupName, jobName, inputName, options)
|
|
74
|
+
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics
|
|
78
|
+
* service.
|
|
79
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
|
+
* @param jobName The name of the streaming job.
|
|
81
|
+
* @param inputName The name of the input.
|
|
82
|
+
* @param [options] The optional parameters
|
|
83
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
84
|
+
*/
|
|
85
|
+
Inputs.prototype.beginTest = function (resourceGroupName, jobName, inputName, options) {
|
|
86
|
+
return this.client.sendLRORequest({
|
|
87
|
+
resourceGroupName: resourceGroupName,
|
|
88
|
+
jobName: jobName,
|
|
89
|
+
inputName: inputName,
|
|
90
|
+
options: options
|
|
91
|
+
}, beginTestOperationSpec, options);
|
|
92
|
+
};
|
|
93
|
+
Inputs.prototype.listByStreamingJobNext = function (nextPageLink, options, callback) {
|
|
94
|
+
return this.client.sendOperationRequest({
|
|
95
|
+
nextPageLink: nextPageLink,
|
|
96
|
+
options: options
|
|
97
|
+
}, listByStreamingJobNextOperationSpec, callback);
|
|
98
|
+
};
|
|
99
|
+
return Inputs;
|
|
100
|
+
}());
|
|
101
|
+
export { Inputs };
|
|
102
|
+
// Operation Specifications
|
|
103
|
+
var serializer = new msRest.Serializer(Mappers);
|
|
104
|
+
var createOrReplaceOperationSpec = {
|
|
105
|
+
httpMethod: "PUT",
|
|
106
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
107
|
+
urlParameters: [
|
|
108
|
+
Parameters.subscriptionId,
|
|
109
|
+
Parameters.resourceGroupName,
|
|
110
|
+
Parameters.jobName,
|
|
111
|
+
Parameters.inputName
|
|
112
|
+
],
|
|
113
|
+
queryParameters: [
|
|
114
|
+
Parameters.apiVersion0
|
|
115
|
+
],
|
|
116
|
+
headerParameters: [
|
|
117
|
+
Parameters.ifMatch,
|
|
118
|
+
Parameters.ifNoneMatch,
|
|
119
|
+
Parameters.acceptLanguage
|
|
120
|
+
],
|
|
121
|
+
requestBody: {
|
|
122
|
+
parameterPath: "input",
|
|
123
|
+
mapper: __assign(__assign({}, Mappers.Input), { required: true })
|
|
124
|
+
},
|
|
125
|
+
responses: {
|
|
126
|
+
200: {
|
|
127
|
+
bodyMapper: Mappers.Input,
|
|
128
|
+
headersMapper: Mappers.InputsCreateOrReplaceHeaders
|
|
129
|
+
},
|
|
130
|
+
201: {
|
|
131
|
+
bodyMapper: Mappers.Input,
|
|
132
|
+
headersMapper: Mappers.InputsCreateOrReplaceHeaders
|
|
133
|
+
},
|
|
134
|
+
default: {
|
|
135
|
+
bodyMapper: Mappers.ErrorModel,
|
|
136
|
+
headersMapper: Mappers.InputsCreateOrReplaceHeaders
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
serializer: serializer
|
|
140
|
+
};
|
|
141
|
+
var updateOperationSpec = {
|
|
142
|
+
httpMethod: "PATCH",
|
|
143
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
144
|
+
urlParameters: [
|
|
145
|
+
Parameters.subscriptionId,
|
|
146
|
+
Parameters.resourceGroupName,
|
|
147
|
+
Parameters.jobName,
|
|
148
|
+
Parameters.inputName
|
|
149
|
+
],
|
|
150
|
+
queryParameters: [
|
|
151
|
+
Parameters.apiVersion0
|
|
152
|
+
],
|
|
153
|
+
headerParameters: [
|
|
154
|
+
Parameters.ifMatch,
|
|
155
|
+
Parameters.acceptLanguage
|
|
156
|
+
],
|
|
157
|
+
requestBody: {
|
|
158
|
+
parameterPath: "input",
|
|
159
|
+
mapper: __assign(__assign({}, Mappers.Input), { required: true })
|
|
160
|
+
},
|
|
161
|
+
responses: {
|
|
162
|
+
200: {
|
|
163
|
+
bodyMapper: Mappers.Input,
|
|
164
|
+
headersMapper: Mappers.InputsUpdateHeaders
|
|
165
|
+
},
|
|
166
|
+
default: {
|
|
167
|
+
bodyMapper: Mappers.ErrorModel,
|
|
168
|
+
headersMapper: Mappers.InputsUpdateHeaders
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
serializer: serializer
|
|
172
|
+
};
|
|
173
|
+
var deleteMethodOperationSpec = {
|
|
174
|
+
httpMethod: "DELETE",
|
|
175
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
176
|
+
urlParameters: [
|
|
177
|
+
Parameters.subscriptionId,
|
|
178
|
+
Parameters.resourceGroupName,
|
|
179
|
+
Parameters.jobName,
|
|
180
|
+
Parameters.inputName
|
|
181
|
+
],
|
|
182
|
+
queryParameters: [
|
|
183
|
+
Parameters.apiVersion0
|
|
184
|
+
],
|
|
185
|
+
headerParameters: [
|
|
186
|
+
Parameters.acceptLanguage
|
|
187
|
+
],
|
|
188
|
+
responses: {
|
|
189
|
+
200: {},
|
|
190
|
+
204: {},
|
|
191
|
+
default: {
|
|
192
|
+
bodyMapper: Mappers.ErrorModel
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
serializer: serializer
|
|
196
|
+
};
|
|
197
|
+
var getOperationSpec = {
|
|
198
|
+
httpMethod: "GET",
|
|
199
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
200
|
+
urlParameters: [
|
|
201
|
+
Parameters.subscriptionId,
|
|
202
|
+
Parameters.resourceGroupName,
|
|
203
|
+
Parameters.jobName,
|
|
204
|
+
Parameters.inputName
|
|
205
|
+
],
|
|
206
|
+
queryParameters: [
|
|
207
|
+
Parameters.apiVersion0
|
|
208
|
+
],
|
|
209
|
+
headerParameters: [
|
|
210
|
+
Parameters.acceptLanguage
|
|
211
|
+
],
|
|
212
|
+
responses: {
|
|
213
|
+
200: {
|
|
214
|
+
bodyMapper: Mappers.Input,
|
|
215
|
+
headersMapper: Mappers.InputsGetHeaders
|
|
216
|
+
},
|
|
217
|
+
default: {
|
|
218
|
+
bodyMapper: Mappers.ErrorModel,
|
|
219
|
+
headersMapper: Mappers.InputsGetHeaders
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
serializer: serializer
|
|
223
|
+
};
|
|
224
|
+
var listByStreamingJobOperationSpec = {
|
|
225
|
+
httpMethod: "GET",
|
|
226
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs",
|
|
227
|
+
urlParameters: [
|
|
228
|
+
Parameters.subscriptionId,
|
|
229
|
+
Parameters.resourceGroupName,
|
|
230
|
+
Parameters.jobName
|
|
231
|
+
],
|
|
232
|
+
queryParameters: [
|
|
233
|
+
Parameters.select,
|
|
234
|
+
Parameters.apiVersion0
|
|
235
|
+
],
|
|
236
|
+
headerParameters: [
|
|
237
|
+
Parameters.acceptLanguage
|
|
238
|
+
],
|
|
239
|
+
responses: {
|
|
240
|
+
200: {
|
|
241
|
+
bodyMapper: Mappers.InputListResult
|
|
242
|
+
},
|
|
243
|
+
default: {
|
|
244
|
+
bodyMapper: Mappers.ErrorModel
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
serializer: serializer
|
|
248
|
+
};
|
|
249
|
+
var beginTestOperationSpec = {
|
|
250
|
+
httpMethod: "POST",
|
|
251
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}/test",
|
|
252
|
+
urlParameters: [
|
|
253
|
+
Parameters.subscriptionId,
|
|
254
|
+
Parameters.resourceGroupName,
|
|
255
|
+
Parameters.jobName,
|
|
256
|
+
Parameters.inputName
|
|
257
|
+
],
|
|
258
|
+
queryParameters: [
|
|
259
|
+
Parameters.apiVersion0
|
|
260
|
+
],
|
|
261
|
+
headerParameters: [
|
|
262
|
+
Parameters.acceptLanguage
|
|
263
|
+
],
|
|
264
|
+
requestBody: {
|
|
265
|
+
parameterPath: [
|
|
266
|
+
"options",
|
|
267
|
+
"input"
|
|
268
|
+
],
|
|
269
|
+
mapper: Mappers.Input
|
|
270
|
+
},
|
|
271
|
+
responses: {
|
|
272
|
+
200: {
|
|
273
|
+
bodyMapper: Mappers.ResourceTestStatus
|
|
274
|
+
},
|
|
275
|
+
202: {},
|
|
276
|
+
default: {
|
|
277
|
+
bodyMapper: Mappers.ErrorModel
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
serializer: serializer
|
|
281
|
+
};
|
|
282
|
+
var listByStreamingJobNextOperationSpec = {
|
|
283
|
+
httpMethod: "GET",
|
|
284
|
+
baseUrl: "https://management.azure.com",
|
|
285
|
+
path: "{nextLink}",
|
|
286
|
+
urlParameters: [
|
|
287
|
+
Parameters.nextPageLink
|
|
288
|
+
],
|
|
289
|
+
queryParameters: [
|
|
290
|
+
Parameters.select,
|
|
291
|
+
Parameters.apiVersion0
|
|
292
|
+
],
|
|
293
|
+
headerParameters: [
|
|
294
|
+
Parameters.acceptLanguage
|
|
295
|
+
],
|
|
296
|
+
responses: {
|
|
297
|
+
200: {
|
|
298
|
+
bodyMapper: Mappers.InputListResult
|
|
299
|
+
},
|
|
300
|
+
default: {
|
|
301
|
+
bodyMapper: Mappers.ErrorModel
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
serializer: serializer
|
|
305
|
+
};
|
|
306
|
+
//# sourceMappingURL=inputs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/operations/inputs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,mCAAmC;AACnC;IAGE;;;OAGG;IACH,gBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAgCD,gCAAe,GAAf,UAAgB,KAAmB,EAAE,iBAAyB,EAAE,OAAe,EAAE,SAAiB,EAAE,OAA2F,EAAE,QAA+C;QAC9O,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,KAAK,OAAA;YACL,iBAAiB,mBAAA;YACjB,OAAO,SAAA;YACP,SAAS,WAAA;YACT,OAAO,SAAA;SACR,EACD,4BAA4B,EAC5B,QAAQ,CAAkD,CAAC;IAC/D,CAAC;IAwCD,uBA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AE,MAAM;IAClB,IAAI,EAAE,uJAAuJ;IAC7J,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;KACrB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,SAAS;YACT,OAAO;SACR;QACD,MAAM,EAAE,OAAO,CAAC,KAAK;KACtB;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,mCAAmC,GAAyB;IAChE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
+
import * as Models from "../models";
|
|
3
|
+
import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
|
|
4
|
+
/** Class representing a Operations. */
|
|
5
|
+
export declare class Operations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Create a Operations.
|
|
9
|
+
* @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: StreamAnalyticsManagementClientContext);
|
|
12
|
+
/**
|
|
13
|
+
* Lists all of the available Stream Analytics related operations.
|
|
14
|
+
* @param [options] The optional parameters
|
|
15
|
+
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
+
*/
|
|
17
|
+
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* @param callback The callback
|
|
20
|
+
*/
|
|
21
|
+
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
22
|
+
/**
|
|
23
|
+
* @param options The optional parameters
|
|
24
|
+
* @param callback The callback
|
|
25
|
+
*/
|
|
26
|
+
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
27
|
+
/**
|
|
28
|
+
* Lists all of the available Stream Analytics related operations.
|
|
29
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
+
* @param [options] The optional parameters
|
|
31
|
+
* @returns Promise<Models.OperationsListNextResponse>
|
|
32
|
+
*/
|
|
33
|
+
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
+
* @param callback The callback
|
|
37
|
+
*/
|
|
38
|
+
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
39
|
+
/**
|
|
40
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
+
* @param options The optional parameters
|
|
42
|
+
* @param callback The callback
|
|
43
|
+
*/
|
|
44
|
+
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=operations.d.ts.map
|
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|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
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.
|
|
8
|
+
*/
|
|
9
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
+
import * as Mappers from "../models/operationsMappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/** Class representing a Operations. */
|
|
13
|
+
var Operations = /** @class */ (function () {
|
|
14
|
+
/**
|
|
15
|
+
* Create a Operations.
|
|
16
|
+
* @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
|
|
17
|
+
*/
|
|
18
|
+
function Operations(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
Operations.prototype.list = function (options, callback) {
|
|
22
|
+
return this.client.sendOperationRequest({
|
|
23
|
+
options: options
|
|
24
|
+
}, listOperationSpec, callback);
|
|
25
|
+
};
|
|
26
|
+
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
27
|
+
return this.client.sendOperationRequest({
|
|
28
|
+
nextPageLink: nextPageLink,
|
|
29
|
+
options: options
|
|
30
|
+
}, listNextOperationSpec, callback);
|
|
31
|
+
};
|
|
32
|
+
return Operations;
|
|
33
|
+
}());
|
|
34
|
+
export { Operations };
|
|
35
|
+
// Operation Specifications
|
|
36
|
+
var serializer = new msRest.Serializer(Mappers);
|
|
37
|
+
var listOperationSpec = {
|
|
38
|
+
httpMethod: "GET",
|
|
39
|
+
path: "providers/Microsoft.StreamAnalytics/operations",
|
|
40
|
+
queryParameters: [
|
|
41
|
+
Parameters.apiVersion0
|
|
42
|
+
],
|
|
43
|
+
headerParameters: [
|
|
44
|
+
Parameters.acceptLanguage
|
|
45
|
+
],
|
|
46
|
+
responses: {
|
|
47
|
+
200: {
|
|
48
|
+
bodyMapper: Mappers.OperationListResult
|
|
49
|
+
},
|
|
50
|
+
default: {
|
|
51
|
+
bodyMapper: Mappers.ErrorModel
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
serializer: serializer
|
|
55
|
+
};
|
|
56
|
+
var listNextOperationSpec = {
|
|
57
|
+
httpMethod: "GET",
|
|
58
|
+
baseUrl: "https://management.azure.com",
|
|
59
|
+
path: "{nextLink}",
|
|
60
|
+
urlParameters: [
|
|
61
|
+
Parameters.nextPageLink
|
|
62
|
+
],
|
|
63
|
+
queryParameters: [
|
|
64
|
+
Parameters.apiVersion0
|
|
65
|
+
],
|
|
66
|
+
headerParameters: [
|
|
67
|
+
Parameters.acceptLanguage
|
|
68
|
+
],
|
|
69
|
+
responses: {
|
|
70
|
+
200: {
|
|
71
|
+
bodyMapper: Mappers.OperationListResult
|
|
72
|
+
},
|
|
73
|
+
default: {
|
|
74
|
+
bodyMapper: Mappers.ErrorModel
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
serializer: serializer
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,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