@azure/arm-streamanalytics 3.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -84
- package/dist/index.js +6818 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1940 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +132 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +155 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1412 -2137
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +34 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +260 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +137 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +627 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/functions.d.ts +107 -0
- package/dist-esm/src/operations/functions.d.ts.map +1 -0
- package/dist-esm/src/operations/functions.js +416 -0
- package/dist-esm/src/operations/functions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -4
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/inputs.d.ts +94 -0
- package/dist-esm/src/operations/inputs.d.ts.map +1 -0
- package/dist-esm/src/operations/inputs.js +377 -0
- package/dist-esm/src/operations/inputs.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/outputs.d.ts +95 -0
- package/dist-esm/src/operations/outputs.d.ts.map +1 -0
- package/dist-esm/src/operations/outputs.js +378 -0
- package/dist-esm/src/operations/outputs.js.map +1 -0
- package/dist-esm/src/operations/privateEndpoints.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpoints.js +295 -0
- package/dist-esm/src/operations/privateEndpoints.js.map +1 -0
- package/dist-esm/src/operations/streamingJobs.d.ts +151 -0
- package/dist-esm/src/operations/streamingJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/streamingJobs.js +692 -0
- package/dist-esm/src/operations/streamingJobs.js.map +1 -0
- package/dist-esm/src/operations/subscriptions.d.ts +21 -0
- package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/subscriptions.js +53 -0
- package/dist-esm/src/operations/subscriptions.js.map +1 -0
- package/dist-esm/src/operations/transformations.d.ts +46 -0
- package/dist-esm/src/operations/transformations.d.ts.map +1 -0
- package/dist-esm/src/operations/transformations.js +160 -0
- package/dist-esm/src/operations/transformations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +84 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/functions.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/functions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/functions.js +9 -0
- package/dist-esm/src/operationsInterfaces/functions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +17 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/inputs.d.ts +69 -0
- package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/inputs.js} +2 -1
- package/dist-esm/src/operationsInterfaces/inputs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/outputs.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outputs.js +9 -0
- package/dist-esm/src/operationsInterfaces/outputs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +115 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/transformations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/transformations.js +9 -0
- package/dist-esm/src/operationsInterfaces/transformations.js.map +1 -0
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts +26 -0
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/streamAnalyticsManagementClient.js +59 -0
- package/dist-esm/src/streamAnalyticsManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-streamanalytics.api.md +1598 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -12
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1943 -4505
- package/src/models/mappers.ts +1393 -2127
- package/src/models/parameters.ts +180 -90
- package/src/operations/clusters.ts +640 -393
- package/src/operations/functions.ts +366 -375
- package/src/operations/index.ts +5 -6
- package/src/operations/inputs.ts +337 -326
- package/src/operations/operations.ts +85 -73
- package/src/operations/outputs.ts +337 -325
- package/src/operations/privateEndpoints.ts +276 -209
- package/src/operations/streamingJobs.ts +686 -398
- package/src/operations/subscriptions.ts +36 -376
- package/src/operations/transformations.ts +104 -162
- package/src/operationsInterfaces/clusters.ts +157 -0
- package/src/operationsInterfaces/functions.ts +148 -0
- package/src/operationsInterfaces/index.ts +17 -0
- package/src/operationsInterfaces/inputs.ts +128 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/outputs.ts +129 -0
- package/src/operationsInterfaces/privateEndpoints.ts +90 -0
- package/src/operationsInterfaces/streamingJobs.ts +199 -0
- package/src/operationsInterfaces/subscriptions.ts +27 -0
- package/src/operationsInterfaces/transformations.ts +71 -0
- package/src/streamAnalyticsManagementClient.ts +97 -49
- package/tsconfig.json +3 -3
- package/types/arm-streamanalytics.d.ts +2730 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-streamanalytics.js +0 -7772
- package/dist/arm-streamanalytics.js.map +0 -1
- package/dist/arm-streamanalytics.min.js +0 -1
- package/dist/arm-streamanalytics.min.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/functionsMappers.d.ts +0 -2
- package/esm/models/functionsMappers.d.ts.map +0 -1
- package/esm/models/functionsMappers.js +0 -9
- package/esm/models/functionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4514
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/inputsMappers.d.ts +0 -2
- package/esm/models/inputsMappers.d.ts.map +0 -1
- package/esm/models/inputsMappers.js +0 -9
- package/esm/models/inputsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -185
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/outputsMappers.d.ts +0 -2
- package/esm/models/outputsMappers.d.ts.map +0 -1
- package/esm/models/outputsMappers.js +0 -9
- package/esm/models/outputsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -20
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -216
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointsMappers.d.ts +0 -2
- package/esm/models/privateEndpointsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointsMappers.js +0 -9
- package/esm/models/privateEndpointsMappers.js.map +0 -1
- package/esm/models/streamingJobsMappers.d.ts +0 -2
- package/esm/models/streamingJobsMappers.d.ts.map +0 -1
- package/esm/models/streamingJobsMappers.js +0 -9
- package/esm/models/streamingJobsMappers.js.map +0 -1
- package/esm/models/subscriptionsMappers.d.ts +0 -2
- package/esm/models/subscriptionsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionsMappers.js +0 -9
- package/esm/models/subscriptionsMappers.js.map +0 -1
- package/esm/models/transformationsMappers.d.ts +0 -2
- package/esm/models/transformationsMappers.d.ts.map +0 -1
- package/esm/models/transformationsMappers.js +0 -9
- package/esm/models/transformationsMappers.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -201
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -406
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/functions.d.ts +0 -215
- package/esm/operations/functions.d.ts.map +0 -1
- package/esm/operations/functions.js +0 -348
- package/esm/operations/functions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/inputs.d.ts +0 -189
- package/esm/operations/inputs.d.ts.map +0 -1
- package/esm/operations/inputs.js +0 -306
- package/esm/operations/inputs.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/outputs.d.ts +0 -189
- package/esm/operations/outputs.d.ts.map +0 -1
- package/esm/operations/outputs.js +0 -306
- package/esm/operations/outputs.js.map +0 -1
- package/esm/operations/privateEndpoints.d.ts +0 -125
- package/esm/operations/privateEndpoints.d.ts.map +0 -1
- package/esm/operations/privateEndpoints.js +0 -216
- package/esm/operations/privateEndpoints.js.map +0 -1
- package/esm/operations/streamingJobs.d.ts +0 -210
- package/esm/operations/streamingJobs.d.ts.map +0 -1
- package/esm/operations/streamingJobs.js +0 -440
- package/esm/operations/streamingJobs.js.map +0 -1
- package/esm/operations/subscriptions.d.ts +0 -138
- package/esm/operations/subscriptions.d.ts.map +0 -1
- package/esm/operations/subscriptions.js +0 -311
- package/esm/operations/subscriptions.js.map +0 -1
- package/esm/operations/transformations.d.ts +0 -106
- package/esm/operations/transformations.d.ts.map +0 -1
- package/esm/operations/transformations.js +0 -149
- package/esm/operations/transformations.js.map +0 -1
- package/esm/streamAnalyticsManagementClient.d.ts +0 -32
- package/esm/streamAnalyticsManagementClient.d.ts.map +0 -1
- package/esm/streamAnalyticsManagementClient.js +0 -45
- package/esm/streamAnalyticsManagementClient.js.map +0 -1
- package/esm/streamAnalyticsManagementClientContext.d.ts +0 -21
- package/esm/streamAnalyticsManagementClientContext.d.ts.map +0 -1
- package/esm/streamAnalyticsManagementClientContext.js +0 -59
- package/esm/streamAnalyticsManagementClientContext.js.map +0 -1
- package/src/models/clustersMappers.ts +0 -96
- package/src/models/functionsMappers.ts +0 -104
- package/src/models/inputsMappers.ts +0 -99
- package/src/models/outputsMappers.ts +0 -99
- package/src/models/privateEndpointsMappers.ts +0 -94
- package/src/models/streamingJobsMappers.ts +0 -98
- package/src/models/subscriptionsMappers.ts +0 -104
- package/src/models/transformationsMappers.ts +0 -96
- package/src/streamAnalyticsManagementClientContext.ts +0 -65
|
@@ -3,121 +3,95 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { Transformations } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { StreamAnalyticsManagementClient } from "../streamAnalyticsManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
Transformation,
|
|
16
|
+
TransformationsCreateOrReplaceOptionalParams,
|
|
17
|
+
TransformationsCreateOrReplaceResponse,
|
|
18
|
+
TransformationsUpdateOptionalParams,
|
|
19
|
+
TransformationsUpdateResponse,
|
|
20
|
+
TransformationsGetOptionalParams,
|
|
21
|
+
TransformationsGetResponse
|
|
22
|
+
} from "../models";
|
|
15
23
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class Transformations {
|
|
18
|
-
private readonly client:
|
|
24
|
+
/** Class containing Transformations operations. */
|
|
25
|
+
export class TransformationsImpl implements Transformations {
|
|
26
|
+
private readonly client: StreamAnalyticsManagementClient;
|
|
19
27
|
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
29
|
+
* Initialize a new instance of the class Transformations class.
|
|
30
|
+
* @param client Reference to the service client
|
|
23
31
|
*/
|
|
24
|
-
constructor(client:
|
|
32
|
+
constructor(client: StreamAnalyticsManagementClient) {
|
|
25
33
|
this.client = client;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
/**
|
|
29
|
-
* Creates a transformation or replaces an already existing transformation under an existing
|
|
30
|
-
*
|
|
31
|
-
* @param transformation The definition of the transformation that will be used to create a new
|
|
32
|
-
* transformation or replace the existing one under the streaming job.
|
|
37
|
+
* Creates a transformation or replaces an already existing transformation under an existing streaming
|
|
38
|
+
* job.
|
|
33
39
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
40
|
* @param jobName The name of the streaming job.
|
|
35
41
|
* @param transformationName The name of the transformation.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.TransformationsCreateOrReplaceResponse>
|
|
38
|
-
*/
|
|
39
|
-
createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsCreateOrReplaceOptionalParams): Promise<Models.TransformationsCreateOrReplaceResponse>;
|
|
40
|
-
/**
|
|
41
42
|
* @param transformation The definition of the transformation that will be used to create a new
|
|
42
|
-
*
|
|
43
|
-
* @param
|
|
44
|
-
* @param jobName The name of the streaming job.
|
|
45
|
-
* @param transformationName The name of the transformation.
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, callback: msRest.ServiceCallback<Models.Transformation>): void;
|
|
49
|
-
/**
|
|
50
|
-
* @param transformation The definition of the transformation that will be used to create a new
|
|
51
|
-
* transformation or replace the existing one under the streaming job.
|
|
52
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
-
* @param jobName The name of the streaming job.
|
|
54
|
-
* @param transformationName The name of the transformation.
|
|
55
|
-
* @param options The optional parameters
|
|
56
|
-
* @param callback The callback
|
|
43
|
+
* transformation or replace the existing one under the streaming job.
|
|
44
|
+
* @param options The options parameters.
|
|
57
45
|
*/
|
|
58
|
-
createOrReplace(
|
|
59
|
-
|
|
46
|
+
createOrReplace(
|
|
47
|
+
resourceGroupName: string,
|
|
48
|
+
jobName: string,
|
|
49
|
+
transformationName: string,
|
|
50
|
+
transformation: Transformation,
|
|
51
|
+
options?: TransformationsCreateOrReplaceOptionalParams
|
|
52
|
+
): Promise<TransformationsCreateOrReplaceResponse> {
|
|
60
53
|
return this.client.sendOperationRequest(
|
|
61
54
|
{
|
|
62
|
-
transformation,
|
|
63
55
|
resourceGroupName,
|
|
64
56
|
jobName,
|
|
65
57
|
transformationName,
|
|
58
|
+
transformation,
|
|
66
59
|
options
|
|
67
60
|
},
|
|
68
|
-
createOrReplaceOperationSpec
|
|
69
|
-
|
|
61
|
+
createOrReplaceOperationSpec
|
|
62
|
+
);
|
|
70
63
|
}
|
|
71
64
|
|
|
72
65
|
/**
|
|
73
|
-
* Updates an existing transformation under an existing streaming job. This can be used to
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @param transformation A Transformation object. The properties specified here will overwrite the
|
|
77
|
-
* corresponding properties in the existing transformation (ie. Those properties will be updated).
|
|
78
|
-
* Any properties that are set to null here will mean that the corresponding property in the
|
|
79
|
-
* existing transformation will remain the same and not change as a result of this PATCH operation.
|
|
66
|
+
* Updates an existing transformation under an existing streaming job. This can be used to partially
|
|
67
|
+
* update (ie. update one or two properties) a transformation without affecting the rest the job or
|
|
68
|
+
* transformation definition.
|
|
80
69
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
81
70
|
* @param jobName The name of the streaming job.
|
|
82
71
|
* @param transformationName The name of the transformation.
|
|
83
|
-
* @param [options] The optional parameters
|
|
84
|
-
* @returns Promise<Models.TransformationsUpdateResponse>
|
|
85
|
-
*/
|
|
86
|
-
update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsUpdateOptionalParams): Promise<Models.TransformationsUpdateResponse>;
|
|
87
|
-
/**
|
|
88
72
|
* @param transformation A Transformation object. The properties specified here will overwrite the
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* @param
|
|
93
|
-
* @param jobName The name of the streaming job.
|
|
94
|
-
* @param transformationName The name of the transformation.
|
|
95
|
-
* @param callback The callback
|
|
73
|
+
* corresponding properties in the existing transformation (ie. Those properties will be updated). Any
|
|
74
|
+
* properties that are set to null here will mean that the corresponding property in the existing
|
|
75
|
+
* transformation will remain the same and not change as a result of this PATCH operation.
|
|
76
|
+
* @param options The options parameters.
|
|
96
77
|
*/
|
|
97
|
-
update(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
* @param jobName The name of the streaming job.
|
|
105
|
-
* @param transformationName The name of the transformation.
|
|
106
|
-
* @param options The optional parameters
|
|
107
|
-
* @param callback The callback
|
|
108
|
-
*/
|
|
109
|
-
update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options: Models.TransformationsUpdateOptionalParams, callback: msRest.ServiceCallback<Models.Transformation>): void;
|
|
110
|
-
update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsUpdateOptionalParams | msRest.ServiceCallback<Models.Transformation>, callback?: msRest.ServiceCallback<Models.Transformation>): Promise<Models.TransformationsUpdateResponse> {
|
|
78
|
+
update(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
jobName: string,
|
|
81
|
+
transformationName: string,
|
|
82
|
+
transformation: Transformation,
|
|
83
|
+
options?: TransformationsUpdateOptionalParams
|
|
84
|
+
): Promise<TransformationsUpdateResponse> {
|
|
111
85
|
return this.client.sendOperationRequest(
|
|
112
86
|
{
|
|
113
|
-
transformation,
|
|
114
87
|
resourceGroupName,
|
|
115
88
|
jobName,
|
|
116
89
|
transformationName,
|
|
90
|
+
transformation,
|
|
117
91
|
options
|
|
118
92
|
},
|
|
119
|
-
updateOperationSpec
|
|
120
|
-
|
|
93
|
+
updateOperationSpec
|
|
94
|
+
);
|
|
121
95
|
}
|
|
122
96
|
|
|
123
97
|
/**
|
|
@@ -125,64 +99,27 @@ export class Transformations {
|
|
|
125
99
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
126
100
|
* @param jobName The name of the streaming job.
|
|
127
101
|
* @param transformationName The name of the transformation.
|
|
128
|
-
* @param
|
|
129
|
-
* @returns Promise<Models.TransformationsGetResponse>
|
|
130
|
-
*/
|
|
131
|
-
get(resourceGroupName: string, jobName: string, transformationName: string, options?: msRest.RequestOptionsBase): Promise<Models.TransformationsGetResponse>;
|
|
132
|
-
/**
|
|
133
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
134
|
-
* @param jobName The name of the streaming job.
|
|
135
|
-
* @param transformationName The name of the transformation.
|
|
136
|
-
* @param callback The callback
|
|
102
|
+
* @param options The options parameters.
|
|
137
103
|
*/
|
|
138
|
-
get(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
* @param callback The callback
|
|
145
|
-
*/
|
|
146
|
-
get(resourceGroupName: string, jobName: string, transformationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Transformation>): void;
|
|
147
|
-
get(resourceGroupName: string, jobName: string, transformationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Transformation>, callback?: msRest.ServiceCallback<Models.Transformation>): Promise<Models.TransformationsGetResponse> {
|
|
104
|
+
get(
|
|
105
|
+
resourceGroupName: string,
|
|
106
|
+
jobName: string,
|
|
107
|
+
transformationName: string,
|
|
108
|
+
options?: TransformationsGetOptionalParams
|
|
109
|
+
): Promise<TransformationsGetResponse> {
|
|
148
110
|
return this.client.sendOperationRequest(
|
|
149
|
-
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
transformationName,
|
|
153
|
-
options
|
|
154
|
-
},
|
|
155
|
-
getOperationSpec,
|
|
156
|
-
callback) as Promise<Models.TransformationsGetResponse>;
|
|
111
|
+
{ resourceGroupName, jobName, transformationName, options },
|
|
112
|
+
getOperationSpec
|
|
113
|
+
);
|
|
157
114
|
}
|
|
158
115
|
}
|
|
159
|
-
|
|
160
116
|
// Operation Specifications
|
|
161
|
-
const serializer =
|
|
162
|
-
|
|
117
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
118
|
+
|
|
119
|
+
const createOrReplaceOperationSpec: coreClient.OperationSpec = {
|
|
120
|
+
path:
|
|
121
|
+
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
163
122
|
httpMethod: "PUT",
|
|
164
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
165
|
-
urlParameters: [
|
|
166
|
-
Parameters.subscriptionId,
|
|
167
|
-
Parameters.resourceGroupName,
|
|
168
|
-
Parameters.jobName,
|
|
169
|
-
Parameters.transformationName
|
|
170
|
-
],
|
|
171
|
-
queryParameters: [
|
|
172
|
-
Parameters.apiVersion0
|
|
173
|
-
],
|
|
174
|
-
headerParameters: [
|
|
175
|
-
Parameters.ifMatch,
|
|
176
|
-
Parameters.ifNoneMatch,
|
|
177
|
-
Parameters.acceptLanguage
|
|
178
|
-
],
|
|
179
|
-
requestBody: {
|
|
180
|
-
parameterPath: "transformation",
|
|
181
|
-
mapper: {
|
|
182
|
-
...Mappers.Transformation,
|
|
183
|
-
required: true
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
123
|
responses: {
|
|
187
124
|
200: {
|
|
188
125
|
bodyMapper: Mappers.Transformation,
|
|
@@ -193,73 +130,78 @@ const createOrReplaceOperationSpec: msRest.OperationSpec = {
|
|
|
193
130
|
headersMapper: Mappers.TransformationsCreateOrReplaceHeaders
|
|
194
131
|
},
|
|
195
132
|
default: {
|
|
196
|
-
bodyMapper: Mappers.ErrorModel
|
|
197
|
-
headersMapper: Mappers.TransformationsCreateOrReplaceHeaders
|
|
133
|
+
bodyMapper: Mappers.ErrorModel
|
|
198
134
|
}
|
|
199
135
|
},
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
204
|
-
httpMethod: "PATCH",
|
|
205
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
136
|
+
requestBody: Parameters.transformation,
|
|
137
|
+
queryParameters: [Parameters.apiVersion],
|
|
206
138
|
urlParameters: [
|
|
139
|
+
Parameters.$host,
|
|
207
140
|
Parameters.subscriptionId,
|
|
208
141
|
Parameters.resourceGroupName,
|
|
209
142
|
Parameters.jobName,
|
|
210
143
|
Parameters.transformationName
|
|
211
144
|
],
|
|
212
|
-
queryParameters: [
|
|
213
|
-
Parameters.apiVersion0
|
|
214
|
-
],
|
|
215
145
|
headerParameters: [
|
|
146
|
+
Parameters.accept,
|
|
147
|
+
Parameters.contentType,
|
|
216
148
|
Parameters.ifMatch,
|
|
217
|
-
Parameters.
|
|
149
|
+
Parameters.ifNoneMatch
|
|
218
150
|
],
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}
|
|
225
|
-
|
|
151
|
+
mediaType: "json",
|
|
152
|
+
serializer
|
|
153
|
+
};
|
|
154
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
155
|
+
path:
|
|
156
|
+
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
157
|
+
httpMethod: "PATCH",
|
|
226
158
|
responses: {
|
|
227
159
|
200: {
|
|
228
160
|
bodyMapper: Mappers.Transformation,
|
|
229
161
|
headersMapper: Mappers.TransformationsUpdateHeaders
|
|
230
162
|
},
|
|
231
163
|
default: {
|
|
232
|
-
bodyMapper: Mappers.ErrorModel
|
|
233
|
-
headersMapper: Mappers.TransformationsUpdateHeaders
|
|
164
|
+
bodyMapper: Mappers.ErrorModel
|
|
234
165
|
}
|
|
235
166
|
},
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
240
|
-
httpMethod: "GET",
|
|
241
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
167
|
+
requestBody: Parameters.transformation,
|
|
168
|
+
queryParameters: [Parameters.apiVersion],
|
|
242
169
|
urlParameters: [
|
|
170
|
+
Parameters.$host,
|
|
243
171
|
Parameters.subscriptionId,
|
|
244
172
|
Parameters.resourceGroupName,
|
|
245
173
|
Parameters.jobName,
|
|
246
174
|
Parameters.transformationName
|
|
247
175
|
],
|
|
248
|
-
queryParameters: [
|
|
249
|
-
Parameters.apiVersion0
|
|
250
|
-
],
|
|
251
176
|
headerParameters: [
|
|
252
|
-
Parameters.
|
|
177
|
+
Parameters.accept,
|
|
178
|
+
Parameters.contentType,
|
|
179
|
+
Parameters.ifMatch
|
|
253
180
|
],
|
|
181
|
+
mediaType: "json",
|
|
182
|
+
serializer
|
|
183
|
+
};
|
|
184
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
185
|
+
path:
|
|
186
|
+
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
187
|
+
httpMethod: "GET",
|
|
254
188
|
responses: {
|
|
255
189
|
200: {
|
|
256
190
|
bodyMapper: Mappers.Transformation,
|
|
257
191
|
headersMapper: Mappers.TransformationsGetHeaders
|
|
258
192
|
},
|
|
259
193
|
default: {
|
|
260
|
-
bodyMapper: Mappers.ErrorModel
|
|
261
|
-
headersMapper: Mappers.TransformationsGetHeaders
|
|
194
|
+
bodyMapper: Mappers.ErrorModel
|
|
262
195
|
}
|
|
263
196
|
},
|
|
197
|
+
queryParameters: [Parameters.apiVersion],
|
|
198
|
+
urlParameters: [
|
|
199
|
+
Parameters.$host,
|
|
200
|
+
Parameters.subscriptionId,
|
|
201
|
+
Parameters.resourceGroupName,
|
|
202
|
+
Parameters.jobName,
|
|
203
|
+
Parameters.transformationName
|
|
204
|
+
],
|
|
205
|
+
headerParameters: [Parameters.accept],
|
|
264
206
|
serializer
|
|
265
207
|
};
|
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
Cluster,
|
|
13
|
+
ClustersListBySubscriptionOptionalParams,
|
|
14
|
+
ClustersListByResourceGroupOptionalParams,
|
|
15
|
+
ClusterJob,
|
|
16
|
+
ClustersListStreamingJobsOptionalParams,
|
|
17
|
+
ClustersCreateOrUpdateOptionalParams,
|
|
18
|
+
ClustersCreateOrUpdateResponse,
|
|
19
|
+
ClustersUpdateOptionalParams,
|
|
20
|
+
ClustersUpdateResponse,
|
|
21
|
+
ClustersGetOptionalParams,
|
|
22
|
+
ClustersGetResponse,
|
|
23
|
+
ClustersDeleteOptionalParams
|
|
24
|
+
} from "../models";
|
|
25
|
+
|
|
26
|
+
/// <reference lib="esnext.asynciterable" />
|
|
27
|
+
/** Interface representing a Clusters. */
|
|
28
|
+
export interface Clusters {
|
|
29
|
+
/**
|
|
30
|
+
* Lists all of the clusters in the given subscription.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listBySubscription(
|
|
34
|
+
options?: ClustersListBySubscriptionOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<Cluster>;
|
|
36
|
+
/**
|
|
37
|
+
* Lists all of the clusters in the given resource group.
|
|
38
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
listByResourceGroup(
|
|
42
|
+
resourceGroupName: string,
|
|
43
|
+
options?: ClustersListByResourceGroupOptionalParams
|
|
44
|
+
): PagedAsyncIterableIterator<Cluster>;
|
|
45
|
+
/**
|
|
46
|
+
* Lists all of the streaming jobs in the given cluster.
|
|
47
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
|
+
* @param clusterName The name of the cluster.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
listStreamingJobs(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
clusterName: string,
|
|
54
|
+
options?: ClustersListStreamingJobsOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<ClusterJob>;
|
|
56
|
+
/**
|
|
57
|
+
* Creates a Stream Analytics Cluster or replaces an already existing cluster.
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param clusterName The name of the cluster.
|
|
60
|
+
* @param cluster The definition of the cluster that will be used to create a new cluster or replace
|
|
61
|
+
* the existing one.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
beginCreateOrUpdate(
|
|
65
|
+
resourceGroupName: string,
|
|
66
|
+
clusterName: string,
|
|
67
|
+
cluster: Cluster,
|
|
68
|
+
options?: ClustersCreateOrUpdateOptionalParams
|
|
69
|
+
): Promise<
|
|
70
|
+
PollerLike<
|
|
71
|
+
PollOperationState<ClustersCreateOrUpdateResponse>,
|
|
72
|
+
ClustersCreateOrUpdateResponse
|
|
73
|
+
>
|
|
74
|
+
>;
|
|
75
|
+
/**
|
|
76
|
+
* Creates a Stream Analytics Cluster or replaces an already existing cluster.
|
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param clusterName The name of the cluster.
|
|
79
|
+
* @param cluster The definition of the cluster that will be used to create a new cluster or replace
|
|
80
|
+
* the existing one.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
beginCreateOrUpdateAndWait(
|
|
84
|
+
resourceGroupName: string,
|
|
85
|
+
clusterName: string,
|
|
86
|
+
cluster: Cluster,
|
|
87
|
+
options?: ClustersCreateOrUpdateOptionalParams
|
|
88
|
+
): Promise<ClustersCreateOrUpdateResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
|
|
91
|
+
* a cluster without affecting the rest of the cluster definition.
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param clusterName The name of the cluster.
|
|
94
|
+
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
95
|
+
* existing cluster (ie. Those properties will be updated).
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
beginUpdate(
|
|
99
|
+
resourceGroupName: string,
|
|
100
|
+
clusterName: string,
|
|
101
|
+
cluster: Cluster,
|
|
102
|
+
options?: ClustersUpdateOptionalParams
|
|
103
|
+
): Promise<
|
|
104
|
+
PollerLike<
|
|
105
|
+
PollOperationState<ClustersUpdateResponse>,
|
|
106
|
+
ClustersUpdateResponse
|
|
107
|
+
>
|
|
108
|
+
>;
|
|
109
|
+
/**
|
|
110
|
+
* Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
|
|
111
|
+
* a cluster without affecting the rest of the cluster definition.
|
|
112
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
|
+
* @param clusterName The name of the cluster.
|
|
114
|
+
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
115
|
+
* existing cluster (ie. Those properties will be updated).
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
beginUpdateAndWait(
|
|
119
|
+
resourceGroupName: string,
|
|
120
|
+
clusterName: string,
|
|
121
|
+
cluster: Cluster,
|
|
122
|
+
options?: ClustersUpdateOptionalParams
|
|
123
|
+
): Promise<ClustersUpdateResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* Gets information about the specified cluster.
|
|
126
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
127
|
+
* @param clusterName The name of the cluster.
|
|
128
|
+
* @param options The options parameters.
|
|
129
|
+
*/
|
|
130
|
+
get(
|
|
131
|
+
resourceGroupName: string,
|
|
132
|
+
clusterName: string,
|
|
133
|
+
options?: ClustersGetOptionalParams
|
|
134
|
+
): Promise<ClustersGetResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Deletes the specified cluster.
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
|
+
* @param clusterName The name of the cluster.
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
beginDelete(
|
|
142
|
+
resourceGroupName: string,
|
|
143
|
+
clusterName: string,
|
|
144
|
+
options?: ClustersDeleteOptionalParams
|
|
145
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
146
|
+
/**
|
|
147
|
+
* Deletes the specified cluster.
|
|
148
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
149
|
+
* @param clusterName The name of the cluster.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
beginDeleteAndWait(
|
|
153
|
+
resourceGroupName: string,
|
|
154
|
+
clusterName: string,
|
|
155
|
+
options?: ClustersDeleteOptionalParams
|
|
156
|
+
): Promise<void>;
|
|
157
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
FunctionModel,
|
|
13
|
+
FunctionsListByStreamingJobOptionalParams,
|
|
14
|
+
FunctionsCreateOrReplaceOptionalParams,
|
|
15
|
+
FunctionsCreateOrReplaceResponse,
|
|
16
|
+
FunctionsUpdateOptionalParams,
|
|
17
|
+
FunctionsUpdateResponse,
|
|
18
|
+
FunctionsDeleteOptionalParams,
|
|
19
|
+
FunctionsGetOptionalParams,
|
|
20
|
+
FunctionsGetResponse,
|
|
21
|
+
FunctionsTestOptionalParams,
|
|
22
|
+
FunctionsTestResponse,
|
|
23
|
+
FunctionsRetrieveDefaultDefinitionOptionalParams,
|
|
24
|
+
FunctionsRetrieveDefaultDefinitionResponse
|
|
25
|
+
} from "../models";
|
|
26
|
+
|
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
|
28
|
+
/** Interface representing a Functions. */
|
|
29
|
+
export interface Functions {
|
|
30
|
+
/**
|
|
31
|
+
* Lists all of the functions under the specified streaming job.
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param jobName The name of the streaming job.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listByStreamingJob(
|
|
37
|
+
resourceGroupName: string,
|
|
38
|
+
jobName: string,
|
|
39
|
+
options?: FunctionsListByStreamingJobOptionalParams
|
|
40
|
+
): PagedAsyncIterableIterator<FunctionModel>;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a function or replaces an already existing function under an existing streaming job.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param jobName The name of the streaming job.
|
|
45
|
+
* @param functionName The name of the function.
|
|
46
|
+
* @param functionParam The definition of the function that will be used to create a new function or
|
|
47
|
+
* replace the existing one under the streaming job.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
createOrReplace(
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
jobName: string,
|
|
53
|
+
functionName: string,
|
|
54
|
+
functionParam: FunctionModel,
|
|
55
|
+
options?: FunctionsCreateOrReplaceOptionalParams
|
|
56
|
+
): Promise<FunctionsCreateOrReplaceResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Updates an existing function under an existing streaming job. This can be used to partially update
|
|
59
|
+
* (ie. update one or two properties) a function without affecting the rest the job or function
|
|
60
|
+
* definition.
|
|
61
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
+
* @param jobName The name of the streaming job.
|
|
63
|
+
* @param functionName The name of the function.
|
|
64
|
+
* @param functionParam A function object. The properties specified here will overwrite the
|
|
65
|
+
* corresponding properties in the existing function (ie. Those properties will be updated). Any
|
|
66
|
+
* properties that are set to null here will mean that the corresponding property in the existing
|
|
67
|
+
* function will remain the same and not change as a result of this PATCH operation.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
update(
|
|
71
|
+
resourceGroupName: string,
|
|
72
|
+
jobName: string,
|
|
73
|
+
functionName: string,
|
|
74
|
+
functionParam: FunctionModel,
|
|
75
|
+
options?: FunctionsUpdateOptionalParams
|
|
76
|
+
): Promise<FunctionsUpdateResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Deletes a function from the streaming job.
|
|
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 functionName The name of the function.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
delete(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
jobName: string,
|
|
87
|
+
functionName: string,
|
|
88
|
+
options?: FunctionsDeleteOptionalParams
|
|
89
|
+
): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Gets details about the specified function.
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param jobName The name of the streaming job.
|
|
94
|
+
* @param functionName The name of the function.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
get(
|
|
98
|
+
resourceGroupName: string,
|
|
99
|
+
jobName: string,
|
|
100
|
+
functionName: string,
|
|
101
|
+
options?: FunctionsGetOptionalParams
|
|
102
|
+
): Promise<FunctionsGetResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Tests if the information provided for a function is valid. This can range from testing the
|
|
105
|
+
* connection to the underlying web service behind the function or making sure the function code
|
|
106
|
+
* provided is syntactically correct.
|
|
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 functionName The name of the function.
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
beginTest(
|
|
113
|
+
resourceGroupName: string,
|
|
114
|
+
jobName: string,
|
|
115
|
+
functionName: string,
|
|
116
|
+
options?: FunctionsTestOptionalParams
|
|
117
|
+
): Promise<
|
|
118
|
+
PollerLike<PollOperationState<FunctionsTestResponse>, FunctionsTestResponse>
|
|
119
|
+
>;
|
|
120
|
+
/**
|
|
121
|
+
* Tests if the information provided for a function is valid. This can range from testing the
|
|
122
|
+
* connection to the underlying web service behind the function or making sure the function code
|
|
123
|
+
* provided is syntactically correct.
|
|
124
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
125
|
+
* @param jobName The name of the streaming job.
|
|
126
|
+
* @param functionName The name of the function.
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
beginTestAndWait(
|
|
130
|
+
resourceGroupName: string,
|
|
131
|
+
jobName: string,
|
|
132
|
+
functionName: string,
|
|
133
|
+
options?: FunctionsTestOptionalParams
|
|
134
|
+
): Promise<FunctionsTestResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Retrieves the default definition of a function based on the parameters specified.
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
|
+
* @param jobName The name of the streaming job.
|
|
139
|
+
* @param functionName The name of the function.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
retrieveDefaultDefinition(
|
|
143
|
+
resourceGroupName: string,
|
|
144
|
+
jobName: string,
|
|
145
|
+
functionName: string,
|
|
146
|
+
options?: FunctionsRetrieveDefaultDefinitionOptionalParams
|
|
147
|
+
): Promise<FunctionsRetrieveDefaultDefinitionResponse>;
|
|
148
|
+
}
|