@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
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Inputs } from "../operationsInterfaces";
|
|
3
|
+
import { StreamAnalyticsManagementClient } from "../streamAnalyticsManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { Input, InputsListByStreamingJobOptionalParams, InputsCreateOrReplaceOptionalParams, InputsCreateOrReplaceResponse, InputsUpdateOptionalParams, InputsUpdateResponse, InputsDeleteOptionalParams, InputsGetOptionalParams, InputsGetResponse, InputsTestOptionalParams, InputsTestResponse } from "../models";
|
|
6
|
+
/** Class containing Inputs operations. */
|
|
7
|
+
export declare class InputsImpl implements Inputs {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Inputs class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: StreamAnalyticsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists all of the inputs under the specified streaming job.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param jobName The name of the streaming job.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, options?: InputsListByStreamingJobOptionalParams): PagedAsyncIterableIterator<Input>;
|
|
21
|
+
private listByStreamingJobPagingPage;
|
|
22
|
+
private listByStreamingJobPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Creates an input or replaces an already existing input under an existing streaming job.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param jobName The name of the streaming job.
|
|
27
|
+
* @param inputName The name of the input.
|
|
28
|
+
* @param input The definition of the input that will be used to create a new input or replace the
|
|
29
|
+
* existing one under the streaming job.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
createOrReplace(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsCreateOrReplaceOptionalParams): Promise<InputsCreateOrReplaceResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Updates an existing input under an existing streaming job. This can be used to partially update (ie.
|
|
35
|
+
* update one or two properties) an input without affecting the rest the job or input definition.
|
|
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 input An Input object. The properties specified here will overwrite the corresponding
|
|
40
|
+
* properties in the existing input (ie. Those properties will be updated). Any properties that are set
|
|
41
|
+
* to null here will mean that the corresponding property in the existing input will remain the same
|
|
42
|
+
* and not change as a result of this PATCH operation.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
update(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsUpdateOptionalParams): Promise<InputsUpdateResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Deletes an input from the streaming job.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param jobName The name of the streaming job.
|
|
50
|
+
* @param inputName The name of the input.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
delete(resourceGroupName: string, jobName: string, inputName: string, options?: InputsDeleteOptionalParams): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Gets details about the specified input.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param jobName The name of the streaming job.
|
|
58
|
+
* @param inputName The name of the input.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
get(resourceGroupName: string, jobName: string, inputName: string, options?: InputsGetOptionalParams): Promise<InputsGetResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Lists all of the inputs under the specified streaming job.
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
+
* @param jobName The name of the streaming job.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
private _listByStreamingJob;
|
|
69
|
+
/**
|
|
70
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
71
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
+
* @param jobName The name of the streaming job.
|
|
73
|
+
* @param inputName The name of the input.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginTest(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise<PollerLike<PollOperationState<InputsTestResponse>, InputsTestResponse>>;
|
|
77
|
+
/**
|
|
78
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics 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 options parameters.
|
|
83
|
+
*/
|
|
84
|
+
beginTestAndWait(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise<InputsTestResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* ListByStreamingJobNext
|
|
87
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
88
|
+
* @param jobName The name of the streaming job.
|
|
89
|
+
* @param nextLink The nextLink from the previous successful call to the ListByStreamingJob method.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
private _listByStreamingJobNext;
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../src/operations/inputs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,KAAK,EAEL,sCAAsC,EACtC,mCAAmC,EACnC,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EAEjB,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;;OAKG;IACI,kBAAkB,CACvB,iBAA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,EACjB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAU9B;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;CAWhC"}
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
/*
|
|
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 regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing Inputs operations. */
|
|
16
|
+
export class InputsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class Inputs class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Lists all of the inputs under the specified streaming job.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param jobName The name of the streaming job.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByStreamingJob(resourceGroupName, jobName, options) {
|
|
31
|
+
const iter = this.listByStreamingJobPagingAll(resourceGroupName, jobName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listByStreamingJobPagingPage(resourceGroupName, jobName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listByStreamingJobPagingPage(resourceGroupName, jobName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listByStreamingJobPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._listByStreamingJob(resourceGroupName, jobName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._listByStreamingJobNext(resourceGroupName, jobName, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
listByStreamingJobPagingAll(resourceGroupName, jobName, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* listByStreamingJobPagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.listByStreamingJobPagingPage(resourceGroupName, jobName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Creates an input or replaces an already existing input under an existing streaming job.
|
|
76
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
+
* @param jobName The name of the streaming job.
|
|
78
|
+
* @param inputName The name of the input.
|
|
79
|
+
* @param input The definition of the input that will be used to create a new input or replace the
|
|
80
|
+
* existing one under the streaming job.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
createOrReplace(resourceGroupName, jobName, inputName, input, options) {
|
|
84
|
+
return this.client.sendOperationRequest({ resourceGroupName, jobName, inputName, input, options }, createOrReplaceOperationSpec);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Updates an existing input under an existing streaming job. This can be used to partially update (ie.
|
|
88
|
+
* update one or two properties) an input without affecting the rest the job or input definition.
|
|
89
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
90
|
+
* @param jobName The name of the streaming job.
|
|
91
|
+
* @param inputName The name of the input.
|
|
92
|
+
* @param input An Input object. The properties specified here will overwrite the corresponding
|
|
93
|
+
* properties in the existing input (ie. Those properties will be updated). Any properties that are set
|
|
94
|
+
* to null here will mean that the corresponding property in the existing input will remain the same
|
|
95
|
+
* and not change as a result of this PATCH operation.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
update(resourceGroupName, jobName, inputName, input, options) {
|
|
99
|
+
return this.client.sendOperationRequest({ resourceGroupName, jobName, inputName, input, options }, updateOperationSpec);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Deletes an input from the streaming job.
|
|
103
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
104
|
+
* @param jobName The name of the streaming job.
|
|
105
|
+
* @param inputName The name of the input.
|
|
106
|
+
* @param options The options parameters.
|
|
107
|
+
*/
|
|
108
|
+
delete(resourceGroupName, jobName, inputName, options) {
|
|
109
|
+
return this.client.sendOperationRequest({ resourceGroupName, jobName, inputName, options }, deleteOperationSpec);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Gets details about the specified input.
|
|
113
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
+
* @param jobName The name of the streaming job.
|
|
115
|
+
* @param inputName The name of the input.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
get(resourceGroupName, jobName, inputName, options) {
|
|
119
|
+
return this.client.sendOperationRequest({ resourceGroupName, jobName, inputName, options }, getOperationSpec);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Lists all of the inputs under the specified streaming job.
|
|
123
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
+
* @param jobName The name of the streaming job.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
_listByStreamingJob(resourceGroupName, jobName, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ resourceGroupName, jobName, options }, listByStreamingJobOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
132
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
133
|
+
* @param jobName The name of the streaming job.
|
|
134
|
+
* @param inputName The name of the input.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
beginTest(resourceGroupName, jobName, inputName, options) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
return this.client.sendOperationRequest(args, spec);
|
|
141
|
+
});
|
|
142
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
var _a;
|
|
144
|
+
let currentRawResponse = undefined;
|
|
145
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
146
|
+
const callback = (rawResponse, flatResponse) => {
|
|
147
|
+
currentRawResponse = rawResponse;
|
|
148
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
149
|
+
};
|
|
150
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
151
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
152
|
+
return {
|
|
153
|
+
flatResponse,
|
|
154
|
+
rawResponse: {
|
|
155
|
+
statusCode: currentRawResponse.status,
|
|
156
|
+
body: currentRawResponse.parsedBody,
|
|
157
|
+
headers: currentRawResponse.headers.toJSON()
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, jobName, inputName, options }, testOperationSpec);
|
|
162
|
+
return new LroEngine(lro, {
|
|
163
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
164
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
170
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
171
|
+
* @param jobName The name of the streaming job.
|
|
172
|
+
* @param inputName The name of the input.
|
|
173
|
+
* @param options The options parameters.
|
|
174
|
+
*/
|
|
175
|
+
beginTestAndWait(resourceGroupName, jobName, inputName, options) {
|
|
176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
177
|
+
const poller = yield this.beginTest(resourceGroupName, jobName, inputName, options);
|
|
178
|
+
return poller.pollUntilDone();
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* ListByStreamingJobNext
|
|
183
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
184
|
+
* @param jobName The name of the streaming job.
|
|
185
|
+
* @param nextLink The nextLink from the previous successful call to the ListByStreamingJob method.
|
|
186
|
+
* @param options The options parameters.
|
|
187
|
+
*/
|
|
188
|
+
_listByStreamingJobNext(resourceGroupName, jobName, nextLink, options) {
|
|
189
|
+
return this.client.sendOperationRequest({ resourceGroupName, jobName, nextLink, options }, listByStreamingJobNextOperationSpec);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
// Operation Specifications
|
|
193
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
194
|
+
const createOrReplaceOperationSpec = {
|
|
195
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
196
|
+
httpMethod: "PUT",
|
|
197
|
+
responses: {
|
|
198
|
+
200: {
|
|
199
|
+
bodyMapper: Mappers.Input,
|
|
200
|
+
headersMapper: Mappers.InputsCreateOrReplaceHeaders
|
|
201
|
+
},
|
|
202
|
+
201: {
|
|
203
|
+
bodyMapper: Mappers.Input,
|
|
204
|
+
headersMapper: Mappers.InputsCreateOrReplaceHeaders
|
|
205
|
+
},
|
|
206
|
+
default: {
|
|
207
|
+
bodyMapper: Mappers.ErrorModel
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
requestBody: Parameters.input,
|
|
211
|
+
queryParameters: [Parameters.apiVersion],
|
|
212
|
+
urlParameters: [
|
|
213
|
+
Parameters.$host,
|
|
214
|
+
Parameters.subscriptionId,
|
|
215
|
+
Parameters.resourceGroupName,
|
|
216
|
+
Parameters.jobName,
|
|
217
|
+
Parameters.inputName
|
|
218
|
+
],
|
|
219
|
+
headerParameters: [
|
|
220
|
+
Parameters.accept,
|
|
221
|
+
Parameters.contentType,
|
|
222
|
+
Parameters.ifMatch,
|
|
223
|
+
Parameters.ifNoneMatch
|
|
224
|
+
],
|
|
225
|
+
mediaType: "json",
|
|
226
|
+
serializer
|
|
227
|
+
};
|
|
228
|
+
const updateOperationSpec = {
|
|
229
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
230
|
+
httpMethod: "PATCH",
|
|
231
|
+
responses: {
|
|
232
|
+
200: {
|
|
233
|
+
bodyMapper: Mappers.Input,
|
|
234
|
+
headersMapper: Mappers.InputsUpdateHeaders
|
|
235
|
+
},
|
|
236
|
+
default: {
|
|
237
|
+
bodyMapper: Mappers.ErrorModel
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
requestBody: Parameters.input,
|
|
241
|
+
queryParameters: [Parameters.apiVersion],
|
|
242
|
+
urlParameters: [
|
|
243
|
+
Parameters.$host,
|
|
244
|
+
Parameters.subscriptionId,
|
|
245
|
+
Parameters.resourceGroupName,
|
|
246
|
+
Parameters.jobName,
|
|
247
|
+
Parameters.inputName
|
|
248
|
+
],
|
|
249
|
+
headerParameters: [
|
|
250
|
+
Parameters.accept,
|
|
251
|
+
Parameters.contentType,
|
|
252
|
+
Parameters.ifMatch
|
|
253
|
+
],
|
|
254
|
+
mediaType: "json",
|
|
255
|
+
serializer
|
|
256
|
+
};
|
|
257
|
+
const deleteOperationSpec = {
|
|
258
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
259
|
+
httpMethod: "DELETE",
|
|
260
|
+
responses: {
|
|
261
|
+
200: {},
|
|
262
|
+
204: {},
|
|
263
|
+
default: {
|
|
264
|
+
bodyMapper: Mappers.ErrorModel
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
queryParameters: [Parameters.apiVersion],
|
|
268
|
+
urlParameters: [
|
|
269
|
+
Parameters.$host,
|
|
270
|
+
Parameters.subscriptionId,
|
|
271
|
+
Parameters.resourceGroupName,
|
|
272
|
+
Parameters.jobName,
|
|
273
|
+
Parameters.inputName
|
|
274
|
+
],
|
|
275
|
+
headerParameters: [Parameters.accept],
|
|
276
|
+
serializer
|
|
277
|
+
};
|
|
278
|
+
const getOperationSpec = {
|
|
279
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}",
|
|
280
|
+
httpMethod: "GET",
|
|
281
|
+
responses: {
|
|
282
|
+
200: {
|
|
283
|
+
bodyMapper: Mappers.Input,
|
|
284
|
+
headersMapper: Mappers.InputsGetHeaders
|
|
285
|
+
},
|
|
286
|
+
default: {
|
|
287
|
+
bodyMapper: Mappers.ErrorModel
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
queryParameters: [Parameters.apiVersion],
|
|
291
|
+
urlParameters: [
|
|
292
|
+
Parameters.$host,
|
|
293
|
+
Parameters.subscriptionId,
|
|
294
|
+
Parameters.resourceGroupName,
|
|
295
|
+
Parameters.jobName,
|
|
296
|
+
Parameters.inputName
|
|
297
|
+
],
|
|
298
|
+
headerParameters: [Parameters.accept],
|
|
299
|
+
serializer
|
|
300
|
+
};
|
|
301
|
+
const listByStreamingJobOperationSpec = {
|
|
302
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs",
|
|
303
|
+
httpMethod: "GET",
|
|
304
|
+
responses: {
|
|
305
|
+
200: {
|
|
306
|
+
bodyMapper: Mappers.InputListResult
|
|
307
|
+
},
|
|
308
|
+
default: {
|
|
309
|
+
bodyMapper: Mappers.ErrorModel
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
queryParameters: [Parameters.apiVersion, Parameters.select],
|
|
313
|
+
urlParameters: [
|
|
314
|
+
Parameters.$host,
|
|
315
|
+
Parameters.subscriptionId,
|
|
316
|
+
Parameters.resourceGroupName,
|
|
317
|
+
Parameters.jobName
|
|
318
|
+
],
|
|
319
|
+
headerParameters: [Parameters.accept],
|
|
320
|
+
serializer
|
|
321
|
+
};
|
|
322
|
+
const testOperationSpec = {
|
|
323
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}/test",
|
|
324
|
+
httpMethod: "POST",
|
|
325
|
+
responses: {
|
|
326
|
+
200: {
|
|
327
|
+
bodyMapper: Mappers.ResourceTestStatus
|
|
328
|
+
},
|
|
329
|
+
201: {
|
|
330
|
+
bodyMapper: Mappers.ResourceTestStatus
|
|
331
|
+
},
|
|
332
|
+
202: {
|
|
333
|
+
bodyMapper: Mappers.ResourceTestStatus
|
|
334
|
+
},
|
|
335
|
+
204: {
|
|
336
|
+
bodyMapper: Mappers.ResourceTestStatus
|
|
337
|
+
},
|
|
338
|
+
default: {
|
|
339
|
+
bodyMapper: Mappers.ErrorModel
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
requestBody: Parameters.input1,
|
|
343
|
+
queryParameters: [Parameters.apiVersion],
|
|
344
|
+
urlParameters: [
|
|
345
|
+
Parameters.$host,
|
|
346
|
+
Parameters.subscriptionId,
|
|
347
|
+
Parameters.resourceGroupName,
|
|
348
|
+
Parameters.jobName,
|
|
349
|
+
Parameters.inputName
|
|
350
|
+
],
|
|
351
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
352
|
+
mediaType: "json",
|
|
353
|
+
serializer
|
|
354
|
+
};
|
|
355
|
+
const listByStreamingJobNextOperationSpec = {
|
|
356
|
+
path: "{nextLink}",
|
|
357
|
+
httpMethod: "GET",
|
|
358
|
+
responses: {
|
|
359
|
+
200: {
|
|
360
|
+
bodyMapper: Mappers.InputListResult
|
|
361
|
+
},
|
|
362
|
+
default: {
|
|
363
|
+
bodyMapper: Mappers.ErrorModel
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
queryParameters: [Parameters.apiVersion, Parameters.select],
|
|
367
|
+
urlParameters: [
|
|
368
|
+
Parameters.$host,
|
|
369
|
+
Parameters.nextLink,
|
|
370
|
+
Parameters.subscriptionId,
|
|
371
|
+
Parameters.resourceGroupName,
|
|
372
|
+
Parameters.jobName
|
|
373
|
+
],
|
|
374
|
+
headerParameters: [Parameters.accept],
|
|
375
|
+
serializer
|
|
376
|
+
};
|
|
377
|
+
//# sourceMappingURL=inputs.js.map
|
|
@@ -0,0 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T,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces";
|
|
3
|
+
import { StreamAnalyticsManagementClient } from "../streamAnalyticsManagementClient";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: StreamAnalyticsManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all of the available Stream Analytics related operations.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists all of the available Stream Analytics related operations.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* ListNext
|
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listNext;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
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 regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Operations operations. */
|
|
14
|
+
export class OperationsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Operations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists all of the available Stream Analytics related operations.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._list(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
listPagingAll(options) {
|
|
53
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
54
|
+
var e_1, _a;
|
|
55
|
+
try {
|
|
56
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
+
const page = _c.value;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Lists all of the available Stream Analytics related operations.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
_list(options) {
|
|
75
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* ListNext
|
|
79
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
_listNext(nextLink, options) {
|
|
83
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
// Operation Specifications
|
|
87
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
88
|
+
const listOperationSpec = {
|
|
89
|
+
path: "/providers/Microsoft.StreamAnalytics/operations",
|
|
90
|
+
httpMethod: "GET",
|
|
91
|
+
responses: {
|
|
92
|
+
200: {
|
|
93
|
+
bodyMapper: Mappers.OperationListResult
|
|
94
|
+
},
|
|
95
|
+
default: {
|
|
96
|
+
bodyMapper: Mappers.ErrorModel
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
queryParameters: [Parameters.apiVersion],
|
|
100
|
+
urlParameters: [Parameters.$host],
|
|
101
|
+
headerParameters: [Parameters.accept],
|
|
102
|
+
serializer
|
|
103
|
+
};
|
|
104
|
+
const listNextOperationSpec = {
|
|
105
|
+
path: "{nextLink}",
|
|
106
|
+
httpMethod: "GET",
|
|
107
|
+
responses: {
|
|
108
|
+
200: {
|
|
109
|
+
bodyMapper: Mappers.OperationListResult
|
|
110
|
+
},
|
|
111
|
+
default: {
|
|
112
|
+
bodyMapper: Mappers.ErrorModel
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
queryParameters: [Parameters.apiVersion],
|
|
116
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
117
|
+
headerParameters: [Parameters.accept],
|
|
118
|
+
serializer
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC;;YAEtC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACvC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAC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