@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
|
@@ -3,95 +3,121 @@
|
|
|
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
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
+
* regenerated.
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
11
|
-
import * as Mappers from "../models/
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
import * as Models from "../models";
|
|
12
|
+
import * as Mappers from "../models/transformationsMappers";
|
|
12
13
|
import * as Parameters from "../models/parameters";
|
|
13
14
|
import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
|
|
14
|
-
import {
|
|
15
|
-
Transformation,
|
|
16
|
-
TransformationsCreateOrReplaceOptionalParams,
|
|
17
|
-
TransformationsCreateOrReplaceResponse,
|
|
18
|
-
TransformationsUpdateOptionalParams,
|
|
19
|
-
TransformationsUpdateResponse,
|
|
20
|
-
TransformationsGetOptionalParams,
|
|
21
|
-
TransformationsGetResponse
|
|
22
|
-
} from "../models";
|
|
23
15
|
|
|
24
|
-
/** Class
|
|
25
|
-
export class
|
|
16
|
+
/** Class representing a Transformations. */
|
|
17
|
+
export class Transformations {
|
|
26
18
|
private readonly client: StreamAnalyticsManagementClientContext;
|
|
27
19
|
|
|
28
20
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @param client Reference to the service client
|
|
21
|
+
* Create a Transformations.
|
|
22
|
+
* @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
|
|
31
23
|
*/
|
|
32
24
|
constructor(client: StreamAnalyticsManagementClientContext) {
|
|
33
25
|
this.client = client;
|
|
34
26
|
}
|
|
35
27
|
|
|
36
28
|
/**
|
|
37
|
-
* Creates a transformation or replaces an already existing transformation under an existing
|
|
38
|
-
* job.
|
|
29
|
+
* Creates a transformation or replaces an already existing transformation under an existing
|
|
30
|
+
* streaming job.
|
|
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.
|
|
39
33
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
34
|
* @param jobName The name of the streaming job.
|
|
41
35
|
* @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
|
+
/**
|
|
42
41
|
* @param transformation The definition of the transformation that will be used to create a new
|
|
43
|
-
*
|
|
44
|
-
* @param
|
|
42
|
+
* transformation or replace the existing one under the 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 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
|
|
45
57
|
*/
|
|
46
|
-
createOrReplace(
|
|
47
|
-
|
|
48
|
-
jobName: string,
|
|
49
|
-
transformationName: string,
|
|
50
|
-
transformation: Transformation,
|
|
51
|
-
options?: TransformationsCreateOrReplaceOptionalParams
|
|
52
|
-
): Promise<TransformationsCreateOrReplaceResponse> {
|
|
58
|
+
createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options: Models.TransformationsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback<Models.Transformation>): void;
|
|
59
|
+
createOrReplace(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, options?: Models.TransformationsCreateOrReplaceOptionalParams | msRest.ServiceCallback<Models.Transformation>, callback?: msRest.ServiceCallback<Models.Transformation>): Promise<Models.TransformationsCreateOrReplaceResponse> {
|
|
53
60
|
return this.client.sendOperationRequest(
|
|
54
61
|
{
|
|
62
|
+
transformation,
|
|
55
63
|
resourceGroupName,
|
|
56
64
|
jobName,
|
|
57
65
|
transformationName,
|
|
58
|
-
transformation,
|
|
59
66
|
options
|
|
60
67
|
},
|
|
61
|
-
createOrReplaceOperationSpec
|
|
62
|
-
|
|
68
|
+
createOrReplaceOperationSpec,
|
|
69
|
+
callback) as Promise<Models.TransformationsCreateOrReplaceResponse>;
|
|
63
70
|
}
|
|
64
71
|
|
|
65
72
|
/**
|
|
66
|
-
* Updates an existing transformation under an existing streaming job. This can be used to
|
|
67
|
-
* update (ie. update one or two properties) a transformation without affecting the rest
|
|
68
|
-
* transformation definition.
|
|
73
|
+
* Updates an existing transformation under an existing streaming job. This can be used to
|
|
74
|
+
* partially update (ie. update one or two properties) a transformation without affecting the rest
|
|
75
|
+
* the job or transformation definition.
|
|
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.
|
|
69
80
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
70
81
|
* @param jobName The name of the streaming job.
|
|
71
82
|
* @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
|
+
/**
|
|
72
88
|
* @param transformation A Transformation object. The properties specified here will overwrite the
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @param
|
|
89
|
+
* corresponding properties in the existing transformation (ie. Those properties will be updated).
|
|
90
|
+
* Any properties that are set to null here will mean that the corresponding property in the
|
|
91
|
+
* existing transformation will remain the same and not change as a result of this PATCH operation.
|
|
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 transformationName The name of the transformation.
|
|
95
|
+
* @param callback The callback
|
|
77
96
|
*/
|
|
78
|
-
update(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
97
|
+
update(transformation: Models.Transformation, resourceGroupName: string, jobName: string, transformationName: string, callback: msRest.ServiceCallback<Models.Transformation>): void;
|
|
98
|
+
/**
|
|
99
|
+
* @param transformation A Transformation object. The properties specified here will overwrite the
|
|
100
|
+
* corresponding properties in the existing transformation (ie. Those properties will be updated).
|
|
101
|
+
* Any properties that are set to null here will mean that the corresponding property in the
|
|
102
|
+
* existing transformation will remain the same and not change as a result of this PATCH operation.
|
|
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 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> {
|
|
85
111
|
return this.client.sendOperationRequest(
|
|
86
112
|
{
|
|
113
|
+
transformation,
|
|
87
114
|
resourceGroupName,
|
|
88
115
|
jobName,
|
|
89
116
|
transformationName,
|
|
90
|
-
transformation,
|
|
91
117
|
options
|
|
92
118
|
},
|
|
93
|
-
updateOperationSpec
|
|
94
|
-
|
|
119
|
+
updateOperationSpec,
|
|
120
|
+
callback) as Promise<Models.TransformationsUpdateResponse>;
|
|
95
121
|
}
|
|
96
122
|
|
|
97
123
|
/**
|
|
@@ -99,27 +125,64 @@ export class TransformationsImpl implements Transformations {
|
|
|
99
125
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
126
|
* @param jobName The name of the streaming job.
|
|
101
127
|
* @param transformationName The name of the transformation.
|
|
102
|
-
* @param options The
|
|
128
|
+
* @param [options] The optional parameters
|
|
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
|
|
103
137
|
*/
|
|
104
|
-
get(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
138
|
+
get(resourceGroupName: string, jobName: string, transformationName: string, callback: msRest.ServiceCallback<Models.Transformation>): void;
|
|
139
|
+
/**
|
|
140
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
141
|
+
* @param jobName The name of the streaming job.
|
|
142
|
+
* @param transformationName The name of the transformation.
|
|
143
|
+
* @param options The optional parameters
|
|
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> {
|
|
110
148
|
return this.client.sendOperationRequest(
|
|
111
|
-
{
|
|
112
|
-
|
|
113
|
-
|
|
149
|
+
{
|
|
150
|
+
resourceGroupName,
|
|
151
|
+
jobName,
|
|
152
|
+
transformationName,
|
|
153
|
+
options
|
|
154
|
+
},
|
|
155
|
+
getOperationSpec,
|
|
156
|
+
callback) as Promise<Models.TransformationsGetResponse>;
|
|
114
157
|
}
|
|
115
158
|
}
|
|
116
|
-
// Operation Specifications
|
|
117
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
118
159
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
160
|
+
// Operation Specifications
|
|
161
|
+
const serializer = new msRest.Serializer(Mappers);
|
|
162
|
+
const createOrReplaceOperationSpec: msRest.OperationSpec = {
|
|
122
163
|
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
|
+
},
|
|
123
186
|
responses: {
|
|
124
187
|
200: {
|
|
125
188
|
bodyMapper: Mappers.Transformation,
|
|
@@ -130,78 +193,73 @@ const createOrReplaceOperationSpec: coreClient.OperationSpec = {
|
|
|
130
193
|
headersMapper: Mappers.TransformationsCreateOrReplaceHeaders
|
|
131
194
|
},
|
|
132
195
|
default: {
|
|
133
|
-
bodyMapper: Mappers.ErrorModel
|
|
196
|
+
bodyMapper: Mappers.ErrorModel,
|
|
197
|
+
headersMapper: Mappers.TransformationsCreateOrReplaceHeaders
|
|
134
198
|
}
|
|
135
199
|
},
|
|
136
|
-
|
|
137
|
-
|
|
200
|
+
serializer
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
const updateOperationSpec: msRest.OperationSpec = {
|
|
204
|
+
httpMethod: "PATCH",
|
|
205
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
138
206
|
urlParameters: [
|
|
139
|
-
Parameters.$host,
|
|
140
207
|
Parameters.subscriptionId,
|
|
141
208
|
Parameters.resourceGroupName,
|
|
142
209
|
Parameters.jobName,
|
|
143
210
|
Parameters.transformationName
|
|
144
211
|
],
|
|
212
|
+
queryParameters: [
|
|
213
|
+
Parameters.apiVersion0
|
|
214
|
+
],
|
|
145
215
|
headerParameters: [
|
|
146
|
-
Parameters.contentType,
|
|
147
|
-
Parameters.accept,
|
|
148
216
|
Parameters.ifMatch,
|
|
149
|
-
Parameters.
|
|
217
|
+
Parameters.acceptLanguage
|
|
150
218
|
],
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
219
|
+
requestBody: {
|
|
220
|
+
parameterPath: "transformation",
|
|
221
|
+
mapper: {
|
|
222
|
+
...Mappers.Transformation,
|
|
223
|
+
required: true
|
|
224
|
+
}
|
|
225
|
+
},
|
|
158
226
|
responses: {
|
|
159
227
|
200: {
|
|
160
228
|
bodyMapper: Mappers.Transformation,
|
|
161
229
|
headersMapper: Mappers.TransformationsUpdateHeaders
|
|
162
230
|
},
|
|
163
231
|
default: {
|
|
164
|
-
bodyMapper: Mappers.ErrorModel
|
|
232
|
+
bodyMapper: Mappers.ErrorModel,
|
|
233
|
+
headersMapper: Mappers.TransformationsUpdateHeaders
|
|
165
234
|
}
|
|
166
235
|
},
|
|
167
|
-
|
|
168
|
-
|
|
236
|
+
serializer
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
const getOperationSpec: msRest.OperationSpec = {
|
|
240
|
+
httpMethod: "GET",
|
|
241
|
+
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/transformations/{transformationName}",
|
|
169
242
|
urlParameters: [
|
|
170
|
-
Parameters.$host,
|
|
171
243
|
Parameters.subscriptionId,
|
|
172
244
|
Parameters.resourceGroupName,
|
|
173
245
|
Parameters.jobName,
|
|
174
246
|
Parameters.transformationName
|
|
175
247
|
],
|
|
248
|
+
queryParameters: [
|
|
249
|
+
Parameters.apiVersion0
|
|
250
|
+
],
|
|
176
251
|
headerParameters: [
|
|
177
|
-
Parameters.
|
|
178
|
-
Parameters.accept,
|
|
179
|
-
Parameters.ifMatch
|
|
252
|
+
Parameters.acceptLanguage
|
|
180
253
|
],
|
|
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",
|
|
188
254
|
responses: {
|
|
189
255
|
200: {
|
|
190
256
|
bodyMapper: Mappers.Transformation,
|
|
191
257
|
headersMapper: Mappers.TransformationsGetHeaders
|
|
192
258
|
},
|
|
193
259
|
default: {
|
|
194
|
-
bodyMapper: Mappers.ErrorModel
|
|
260
|
+
bodyMapper: Mappers.ErrorModel,
|
|
261
|
+
headersMapper: Mappers.TransformationsGetHeaders
|
|
195
262
|
}
|
|
196
263
|
},
|
|
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],
|
|
206
264
|
serializer
|
|
207
265
|
};
|
|
@@ -3,66 +3,61 @@
|
|
|
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
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
+
* regenerated.
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
|
-
import * as
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
StreamingJobsImpl,
|
|
15
|
-
SubscriptionsImpl,
|
|
16
|
-
TransformationsImpl,
|
|
17
|
-
OperationsImpl,
|
|
18
|
-
ClustersImpl,
|
|
19
|
-
PrivateEndpointsImpl
|
|
20
|
-
} from "./operations";
|
|
21
|
-
import {
|
|
22
|
-
Functions,
|
|
23
|
-
Inputs,
|
|
24
|
-
Outputs,
|
|
25
|
-
StreamingJobs,
|
|
26
|
-
Subscriptions,
|
|
27
|
-
Transformations,
|
|
28
|
-
Operations,
|
|
29
|
-
Clusters,
|
|
30
|
-
PrivateEndpoints
|
|
31
|
-
} from "./operationsInterfaces";
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
12
|
+
import * as Models from "./models";
|
|
13
|
+
import * as Mappers from "./models/mappers";
|
|
14
|
+
import * as operations from "./operations";
|
|
32
15
|
import { StreamAnalyticsManagementClientContext } from "./streamAnalyticsManagementClientContext";
|
|
33
|
-
import { StreamAnalyticsManagementClientOptionalParams } from "./models";
|
|
34
16
|
|
|
35
|
-
|
|
17
|
+
|
|
18
|
+
class StreamAnalyticsManagementClient extends StreamAnalyticsManagementClientContext {
|
|
19
|
+
// Operation groups
|
|
20
|
+
functions: operations.Functions;
|
|
21
|
+
inputs: operations.Inputs;
|
|
22
|
+
outputs: operations.Outputs;
|
|
23
|
+
streamingJobs: operations.StreamingJobs;
|
|
24
|
+
subscriptions: operations.Subscriptions;
|
|
25
|
+
transformations: operations.Transformations;
|
|
26
|
+
operations: operations.Operations;
|
|
27
|
+
clusters: operations.Clusters;
|
|
28
|
+
privateEndpoints: operations.PrivateEndpoints;
|
|
29
|
+
|
|
36
30
|
/**
|
|
37
31
|
* Initializes a new instance of the StreamAnalyticsManagementClient class.
|
|
38
|
-
* @param credentials
|
|
32
|
+
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
33
|
+
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
34
|
+
* more information about these credentials, see
|
|
35
|
+
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
36
|
+
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
37
|
+
* @azure/ms-rest-browserauth are also supported.
|
|
39
38
|
* @param subscriptionId The ID of the target subscription.
|
|
40
|
-
* @param options The parameter options
|
|
39
|
+
* @param [options] The parameter options
|
|
41
40
|
*/
|
|
42
|
-
constructor(
|
|
43
|
-
credentials: coreAuth.TokenCredential,
|
|
44
|
-
subscriptionId: string,
|
|
45
|
-
options?: StreamAnalyticsManagementClientOptionalParams
|
|
46
|
-
) {
|
|
41
|
+
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StreamAnalyticsManagementClientOptions) {
|
|
47
42
|
super(credentials, subscriptionId, options);
|
|
48
|
-
this.functions = new
|
|
49
|
-
this.inputs = new
|
|
50
|
-
this.outputs = new
|
|
51
|
-
this.streamingJobs = new
|
|
52
|
-
this.subscriptions = new
|
|
53
|
-
this.transformations = new
|
|
54
|
-
this.operations = new
|
|
55
|
-
this.clusters = new
|
|
56
|
-
this.privateEndpoints = new
|
|
43
|
+
this.functions = new operations.Functions(this);
|
|
44
|
+
this.inputs = new operations.Inputs(this);
|
|
45
|
+
this.outputs = new operations.Outputs(this);
|
|
46
|
+
this.streamingJobs = new operations.StreamingJobs(this);
|
|
47
|
+
this.subscriptions = new operations.Subscriptions(this);
|
|
48
|
+
this.transformations = new operations.Transformations(this);
|
|
49
|
+
this.operations = new operations.Operations(this);
|
|
50
|
+
this.clusters = new operations.Clusters(this);
|
|
51
|
+
this.privateEndpoints = new operations.PrivateEndpoints(this);
|
|
57
52
|
}
|
|
58
|
-
|
|
59
|
-
functions: Functions;
|
|
60
|
-
inputs: Inputs;
|
|
61
|
-
outputs: Outputs;
|
|
62
|
-
streamingJobs: StreamingJobs;
|
|
63
|
-
subscriptions: Subscriptions;
|
|
64
|
-
transformations: Transformations;
|
|
65
|
-
operations: Operations;
|
|
66
|
-
clusters: Clusters;
|
|
67
|
-
privateEndpoints: PrivateEndpoints;
|
|
68
53
|
}
|
|
54
|
+
|
|
55
|
+
// Operation Specifications
|
|
56
|
+
|
|
57
|
+
export {
|
|
58
|
+
StreamAnalyticsManagementClient,
|
|
59
|
+
StreamAnalyticsManagementClientContext,
|
|
60
|
+
Models as StreamAnalyticsManagementModels,
|
|
61
|
+
Mappers as StreamAnalyticsManagementMappers
|
|
62
|
+
};
|
|
63
|
+
export * from "./operations";
|
|
@@ -3,66 +3,63 @@
|
|
|
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
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
+
* regenerated.
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import
|
|
10
|
+
import * as Models from "./models";
|
|
11
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
+
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
const packageName = "@azure/arm-streamanalytics";
|
|
16
|
+
const packageVersion = "3.0.0";
|
|
17
|
+
|
|
18
|
+
export class StreamAnalyticsManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
+
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
15
20
|
subscriptionId: string;
|
|
16
21
|
|
|
17
22
|
/**
|
|
18
|
-
* Initializes a new instance of the
|
|
19
|
-
* @param credentials
|
|
23
|
+
* Initializes a new instance of the StreamAnalyticsManagementClient class.
|
|
24
|
+
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
25
|
+
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
26
|
+
* more information about these credentials, see
|
|
27
|
+
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
28
|
+
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
29
|
+
* @azure/ms-rest-browserauth are also supported.
|
|
20
30
|
* @param subscriptionId The ID of the target subscription.
|
|
21
|
-
* @param options The parameter options
|
|
31
|
+
* @param [options] The parameter options
|
|
22
32
|
*/
|
|
23
|
-
constructor(
|
|
24
|
-
credentials
|
|
25
|
-
|
|
26
|
-
options?: StreamAnalyticsManagementClientOptionalParams
|
|
27
|
-
) {
|
|
28
|
-
if (credentials === undefined) {
|
|
29
|
-
throw new Error("'credentials' cannot be null");
|
|
33
|
+
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StreamAnalyticsManagementClientOptions) {
|
|
34
|
+
if (credentials == undefined) {
|
|
35
|
+
throw new Error('\'credentials\' cannot be null.');
|
|
30
36
|
}
|
|
31
|
-
if (subscriptionId
|
|
32
|
-
throw new Error(
|
|
37
|
+
if (subscriptionId == undefined) {
|
|
38
|
+
throw new Error('\'subscriptionId\' cannot be null.');
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
// Initializing default values for options
|
|
36
41
|
if (!options) {
|
|
37
42
|
options = {};
|
|
38
43
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
44
|
+
if (!options.userAgent) {
|
|
45
|
+
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
46
|
+
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
47
|
+
}
|
|
43
48
|
|
|
44
|
-
|
|
45
|
-
const userAgentPrefix =
|
|
46
|
-
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
47
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
48
|
-
: `${packageDetails}`;
|
|
49
|
+
super(credentials, options);
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
...options,
|
|
56
|
-
userAgentOptions: {
|
|
57
|
-
userAgentPrefix
|
|
58
|
-
},
|
|
59
|
-
baseUri: options.endpoint || "https://management.azure.com"
|
|
60
|
-
};
|
|
61
|
-
super(optionsWithDefaults);
|
|
62
|
-
// Parameter assignments
|
|
51
|
+
this.acceptLanguage = 'en-US';
|
|
52
|
+
this.longRunningOperationRetryTimeout = 30;
|
|
53
|
+
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
54
|
+
this.requestContentType = "application/json; charset=utf-8";
|
|
55
|
+
this.credentials = credentials;
|
|
63
56
|
this.subscriptionId = subscriptionId;
|
|
64
57
|
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
59
|
+
this.acceptLanguage = options.acceptLanguage;
|
|
60
|
+
}
|
|
61
|
+
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
62
|
+
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
63
|
+
}
|
|
67
64
|
}
|
|
68
65
|
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"module": "es6",
|
|
4
4
|
"moduleResolution": "node",
|
|
5
5
|
"strict": true,
|
|
6
|
-
"target": "
|
|
6
|
+
"target": "es5",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"declarationMap": true,
|
|
9
9
|
"esModuleInterop": true,
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
12
|
"lib": ["es6", "dom"],
|
|
13
13
|
"declaration": true,
|
|
14
|
-
"outDir": "./
|
|
14
|
+
"outDir": "./esm",
|
|
15
15
|
"importHelpers": true
|
|
16
16
|
},
|
|
17
|
-
"include": ["./src/**/*.ts"
|
|
17
|
+
"include": ["./src/**/*.ts"],
|
|
18
18
|
"exclude": ["node_modules"]
|
|
19
19
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
## 3.0.0-beta.1 (2021-11-02)
|
|
2
|
-
|
|
3
|
-
This is the first preview for the new version of the `@azure/arm-streamanalytics` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
|
|
4
|
-
|
|
5
|
-
While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
|
|
6
|
-
|
|
7
|
-
Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
|
|
8
|
-
|
|
9
|
-
**Noteworthy changes and features**
|
|
10
|
-
- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
|
|
11
|
-
- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
|
|
12
|
-
- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
|
|
13
|
-
- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
|
|
14
|
-
- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
|