@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,540 +3,785 @@
|
|
|
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
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Clusters } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { StreamAnalyticsManagementClient } from "../streamAnalyticsManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
Cluster,
|
|
19
|
+
ClustersListBySubscriptionNextOptionalParams,
|
|
20
|
+
ClustersListBySubscriptionOptionalParams,
|
|
21
|
+
ClustersListByResourceGroupNextOptionalParams,
|
|
22
|
+
ClustersListByResourceGroupOptionalParams,
|
|
23
|
+
ClusterJob,
|
|
24
|
+
ClustersListStreamingJobsNextOptionalParams,
|
|
25
|
+
ClustersListStreamingJobsOptionalParams,
|
|
26
|
+
ClustersCreateOrUpdateOptionalParams,
|
|
27
|
+
ClustersCreateOrUpdateResponse,
|
|
28
|
+
ClustersUpdateOptionalParams,
|
|
29
|
+
ClustersUpdateResponse,
|
|
30
|
+
ClustersGetOptionalParams,
|
|
31
|
+
ClustersGetResponse,
|
|
32
|
+
ClustersDeleteOptionalParams,
|
|
33
|
+
ClustersListBySubscriptionResponse,
|
|
34
|
+
ClustersListByResourceGroupResponse,
|
|
35
|
+
ClustersListStreamingJobsResponse,
|
|
36
|
+
ClustersListBySubscriptionNextResponse,
|
|
37
|
+
ClustersListByResourceGroupNextResponse,
|
|
38
|
+
ClustersListStreamingJobsNextResponse
|
|
39
|
+
} from "../models";
|
|
16
40
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
41
|
+
/// <reference lib="esnext.asynciterable" />
|
|
42
|
+
/** Class containing Clusters operations. */
|
|
43
|
+
export class ClustersImpl implements Clusters {
|
|
44
|
+
private readonly client: StreamAnalyticsManagementClient;
|
|
20
45
|
|
|
21
46
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
47
|
+
* Initialize a new instance of the class Clusters class.
|
|
48
|
+
* @param client Reference to the service client
|
|
24
49
|
*/
|
|
25
|
-
constructor(client:
|
|
50
|
+
constructor(client: StreamAnalyticsManagementClient) {
|
|
26
51
|
this.client = client;
|
|
27
52
|
}
|
|
28
53
|
|
|
29
54
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @param
|
|
32
|
-
* replace the existing one.
|
|
33
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
-
* @param clusterName The name of the cluster.
|
|
35
|
-
* @param [options] The optional parameters
|
|
36
|
-
* @returns Promise<Models.ClustersCreateOrUpdateResponse>
|
|
55
|
+
* Lists all of the clusters in the given subscription.
|
|
56
|
+
* @param options The options parameters.
|
|
37
57
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
public listBySubscription(
|
|
59
|
+
options?: ClustersListBySubscriptionOptionalParams
|
|
60
|
+
): PagedAsyncIterableIterator<Cluster> {
|
|
61
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
62
|
+
return {
|
|
63
|
+
next() {
|
|
64
|
+
return iter.next();
|
|
65
|
+
},
|
|
66
|
+
[Symbol.asyncIterator]() {
|
|
67
|
+
return this;
|
|
68
|
+
},
|
|
69
|
+
byPage: () => {
|
|
70
|
+
return this.listBySubscriptionPagingPage(options);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
41
73
|
}
|
|
42
74
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
75
|
+
private async *listBySubscriptionPagingPage(
|
|
76
|
+
options?: ClustersListBySubscriptionOptionalParams
|
|
77
|
+
): AsyncIterableIterator<Cluster[]> {
|
|
78
|
+
let result = await this._listBySubscription(options);
|
|
79
|
+
yield result.value || [];
|
|
80
|
+
let continuationToken = result.nextLink;
|
|
81
|
+
while (continuationToken) {
|
|
82
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
83
|
+
continuationToken = result.nextLink;
|
|
84
|
+
yield result.value || [];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
private async *listBySubscriptionPagingAll(
|
|
89
|
+
options?: ClustersListBySubscriptionOptionalParams
|
|
90
|
+
): AsyncIterableIterator<Cluster> {
|
|
91
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
92
|
+
yield* page;
|
|
93
|
+
}
|
|
56
94
|
}
|
|
57
95
|
|
|
58
96
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
|
-
* @param clusterName The name of the cluster.
|
|
62
|
-
* @param [options] The optional parameters
|
|
63
|
-
* @returns Promise<Models.ClustersGetResponse>
|
|
64
|
-
*/
|
|
65
|
-
get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersGetResponse>;
|
|
66
|
-
/**
|
|
67
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
-
* @param clusterName The name of the cluster.
|
|
69
|
-
* @param callback The callback
|
|
70
|
-
*/
|
|
71
|
-
get(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
72
|
-
/**
|
|
97
|
+
* Lists all of the clusters in the given resource group.
|
|
73
98
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
-
* @param
|
|
75
|
-
* @param options The optional parameters
|
|
76
|
-
* @param callback The callback
|
|
99
|
+
* @param options The options parameters.
|
|
77
100
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
101
|
+
public listByResourceGroup(
|
|
102
|
+
resourceGroupName: string,
|
|
103
|
+
options?: ClustersListByResourceGroupOptionalParams
|
|
104
|
+
): PagedAsyncIterableIterator<Cluster> {
|
|
105
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
106
|
+
return {
|
|
107
|
+
next() {
|
|
108
|
+
return iter.next();
|
|
109
|
+
},
|
|
110
|
+
[Symbol.asyncIterator]() {
|
|
111
|
+
return this;
|
|
112
|
+
},
|
|
113
|
+
byPage: () => {
|
|
114
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
private async *listByResourceGroupPagingPage(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
options?: ClustersListByResourceGroupOptionalParams
|
|
122
|
+
): AsyncIterableIterator<Cluster[]> {
|
|
123
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
124
|
+
yield result.value || [];
|
|
125
|
+
let continuationToken = result.nextLink;
|
|
126
|
+
while (continuationToken) {
|
|
127
|
+
result = await this._listByResourceGroupNext(
|
|
82
128
|
resourceGroupName,
|
|
83
|
-
|
|
129
|
+
continuationToken,
|
|
84
130
|
options
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
131
|
+
);
|
|
132
|
+
continuationToken = result.nextLink;
|
|
133
|
+
yield result.value || [];
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
private async *listByResourceGroupPagingAll(
|
|
138
|
+
resourceGroupName: string,
|
|
139
|
+
options?: ClustersListByResourceGroupOptionalParams
|
|
140
|
+
): AsyncIterableIterator<Cluster> {
|
|
141
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
142
|
+
resourceGroupName,
|
|
143
|
+
options
|
|
144
|
+
)) {
|
|
145
|
+
yield* page;
|
|
146
|
+
}
|
|
88
147
|
}
|
|
89
148
|
|
|
90
149
|
/**
|
|
91
|
-
*
|
|
150
|
+
* Lists all of the streaming jobs in the given cluster.
|
|
92
151
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
152
|
* @param clusterName The name of the cluster.
|
|
94
|
-
* @param
|
|
95
|
-
* @returns Promise<msRest.RestResponse>
|
|
153
|
+
* @param options The options parameters.
|
|
96
154
|
*/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
155
|
+
public listStreamingJobs(
|
|
156
|
+
resourceGroupName: string,
|
|
157
|
+
clusterName: string,
|
|
158
|
+
options?: ClustersListStreamingJobsOptionalParams
|
|
159
|
+
): PagedAsyncIterableIterator<ClusterJob> {
|
|
160
|
+
const iter = this.listStreamingJobsPagingAll(
|
|
161
|
+
resourceGroupName,
|
|
162
|
+
clusterName,
|
|
163
|
+
options
|
|
164
|
+
);
|
|
165
|
+
return {
|
|
166
|
+
next() {
|
|
167
|
+
return iter.next();
|
|
168
|
+
},
|
|
169
|
+
[Symbol.asyncIterator]() {
|
|
170
|
+
return this;
|
|
171
|
+
},
|
|
172
|
+
byPage: () => {
|
|
173
|
+
return this.listStreamingJobsPagingPage(
|
|
174
|
+
resourceGroupName,
|
|
175
|
+
clusterName,
|
|
176
|
+
options
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
};
|
|
100
180
|
}
|
|
101
181
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
{
|
|
182
|
+
private async *listStreamingJobsPagingPage(
|
|
183
|
+
resourceGroupName: string,
|
|
184
|
+
clusterName: string,
|
|
185
|
+
options?: ClustersListStreamingJobsOptionalParams
|
|
186
|
+
): AsyncIterableIterator<ClusterJob[]> {
|
|
187
|
+
let result = await this._listStreamingJobs(
|
|
188
|
+
resourceGroupName,
|
|
189
|
+
clusterName,
|
|
190
|
+
options
|
|
191
|
+
);
|
|
192
|
+
yield result.value || [];
|
|
193
|
+
let continuationToken = result.nextLink;
|
|
194
|
+
while (continuationToken) {
|
|
195
|
+
result = await this._listStreamingJobsNext(
|
|
196
|
+
resourceGroupName,
|
|
197
|
+
clusterName,
|
|
198
|
+
continuationToken,
|
|
120
199
|
options
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
200
|
+
);
|
|
201
|
+
continuationToken = result.nextLink;
|
|
202
|
+
yield result.value || [];
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
private async *listStreamingJobsPagingAll(
|
|
207
|
+
resourceGroupName: string,
|
|
208
|
+
clusterName: string,
|
|
209
|
+
options?: ClustersListStreamingJobsOptionalParams
|
|
210
|
+
): AsyncIterableIterator<ClusterJob> {
|
|
211
|
+
for await (const page of this.listStreamingJobsPagingPage(
|
|
212
|
+
resourceGroupName,
|
|
213
|
+
clusterName,
|
|
214
|
+
options
|
|
215
|
+
)) {
|
|
216
|
+
yield* page;
|
|
217
|
+
}
|
|
124
218
|
}
|
|
125
219
|
|
|
126
220
|
/**
|
|
127
|
-
*
|
|
128
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
129
|
-
* @param [options] The optional parameters
|
|
130
|
-
* @returns Promise<Models.ClustersListByResourceGroupResponse>
|
|
131
|
-
*/
|
|
132
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersListByResourceGroupResponse>;
|
|
133
|
-
/**
|
|
134
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
135
|
-
* @param callback The callback
|
|
136
|
-
*/
|
|
137
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ClusterListResult>): void;
|
|
138
|
-
/**
|
|
221
|
+
* Creates a Stream Analytics Cluster or replaces an already existing cluster.
|
|
139
222
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
140
|
-
* @param
|
|
141
|
-
* @param
|
|
223
|
+
* @param clusterName The name of the cluster.
|
|
224
|
+
* @param cluster The definition of the cluster that will be used to create a new cluster or replace
|
|
225
|
+
* the existing one.
|
|
226
|
+
* @param options The options parameters.
|
|
142
227
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
228
|
+
async beginCreateOrUpdate(
|
|
229
|
+
resourceGroupName: string,
|
|
230
|
+
clusterName: string,
|
|
231
|
+
cluster: Cluster,
|
|
232
|
+
options?: ClustersCreateOrUpdateOptionalParams
|
|
233
|
+
): Promise<
|
|
234
|
+
PollerLike<
|
|
235
|
+
PollOperationState<ClustersCreateOrUpdateResponse>,
|
|
236
|
+
ClustersCreateOrUpdateResponse
|
|
237
|
+
>
|
|
238
|
+
> {
|
|
239
|
+
const directSendOperation = async (
|
|
240
|
+
args: coreClient.OperationArguments,
|
|
241
|
+
spec: coreClient.OperationSpec
|
|
242
|
+
): Promise<ClustersCreateOrUpdateResponse> => {
|
|
243
|
+
return this.client.sendOperationRequest(args, spec);
|
|
244
|
+
};
|
|
245
|
+
const sendOperation = async (
|
|
246
|
+
args: coreClient.OperationArguments,
|
|
247
|
+
spec: coreClient.OperationSpec
|
|
248
|
+
) => {
|
|
249
|
+
let currentRawResponse:
|
|
250
|
+
| coreClient.FullOperationResponse
|
|
251
|
+
| undefined = undefined;
|
|
252
|
+
const providedCallback = args.options?.onResponse;
|
|
253
|
+
const callback: coreClient.RawResponseCallback = (
|
|
254
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
255
|
+
flatResponse: unknown
|
|
256
|
+
) => {
|
|
257
|
+
currentRawResponse = rawResponse;
|
|
258
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
259
|
+
};
|
|
260
|
+
const updatedArgs = {
|
|
261
|
+
...args,
|
|
262
|
+
options: {
|
|
263
|
+
...args.options,
|
|
264
|
+
onResponse: callback
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
268
|
+
return {
|
|
269
|
+
flatResponse,
|
|
270
|
+
rawResponse: {
|
|
271
|
+
statusCode: currentRawResponse!.status,
|
|
272
|
+
body: currentRawResponse!.parsedBody,
|
|
273
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
const lro = new LroImpl(
|
|
279
|
+
sendOperation,
|
|
280
|
+
{ resourceGroupName, clusterName, cluster, options },
|
|
281
|
+
createOrUpdateOperationSpec
|
|
282
|
+
);
|
|
283
|
+
return new LroEngine(lro, {
|
|
284
|
+
resumeFrom: options?.resumeFrom,
|
|
285
|
+
intervalInMs: options?.updateIntervalInMs
|
|
286
|
+
});
|
|
152
287
|
}
|
|
153
288
|
|
|
154
289
|
/**
|
|
155
|
-
*
|
|
290
|
+
* Creates a Stream Analytics Cluster or replaces an already existing cluster.
|
|
156
291
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
157
292
|
* @param clusterName The name of the cluster.
|
|
158
|
-
* @param
|
|
159
|
-
*
|
|
293
|
+
* @param cluster The definition of the cluster that will be used to create a new cluster or replace
|
|
294
|
+
* the existing one.
|
|
295
|
+
* @param options The options parameters.
|
|
160
296
|
*/
|
|
161
|
-
|
|
297
|
+
async beginCreateOrUpdateAndWait(
|
|
298
|
+
resourceGroupName: string,
|
|
299
|
+
clusterName: string,
|
|
300
|
+
cluster: Cluster,
|
|
301
|
+
options?: ClustersCreateOrUpdateOptionalParams
|
|
302
|
+
): Promise<ClustersCreateOrUpdateResponse> {
|
|
303
|
+
const poller = await this.beginCreateOrUpdate(
|
|
304
|
+
resourceGroupName,
|
|
305
|
+
clusterName,
|
|
306
|
+
cluster,
|
|
307
|
+
options
|
|
308
|
+
);
|
|
309
|
+
return poller.pollUntilDone();
|
|
310
|
+
}
|
|
311
|
+
|
|
162
312
|
/**
|
|
313
|
+
* Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
|
|
314
|
+
* a cluster without affecting the rest of the cluster definition.
|
|
163
315
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
164
316
|
* @param clusterName The name of the cluster.
|
|
165
|
-
* @param
|
|
317
|
+
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
318
|
+
* existing cluster (ie. Those properties will be updated).
|
|
319
|
+
* @param options The options parameters.
|
|
166
320
|
*/
|
|
167
|
-
|
|
321
|
+
async beginUpdate(
|
|
322
|
+
resourceGroupName: string,
|
|
323
|
+
clusterName: string,
|
|
324
|
+
cluster: Cluster,
|
|
325
|
+
options?: ClustersUpdateOptionalParams
|
|
326
|
+
): Promise<
|
|
327
|
+
PollerLike<
|
|
328
|
+
PollOperationState<ClustersUpdateResponse>,
|
|
329
|
+
ClustersUpdateResponse
|
|
330
|
+
>
|
|
331
|
+
> {
|
|
332
|
+
const directSendOperation = async (
|
|
333
|
+
args: coreClient.OperationArguments,
|
|
334
|
+
spec: coreClient.OperationSpec
|
|
335
|
+
): Promise<ClustersUpdateResponse> => {
|
|
336
|
+
return this.client.sendOperationRequest(args, spec);
|
|
337
|
+
};
|
|
338
|
+
const sendOperation = async (
|
|
339
|
+
args: coreClient.OperationArguments,
|
|
340
|
+
spec: coreClient.OperationSpec
|
|
341
|
+
) => {
|
|
342
|
+
let currentRawResponse:
|
|
343
|
+
| coreClient.FullOperationResponse
|
|
344
|
+
| undefined = undefined;
|
|
345
|
+
const providedCallback = args.options?.onResponse;
|
|
346
|
+
const callback: coreClient.RawResponseCallback = (
|
|
347
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
348
|
+
flatResponse: unknown
|
|
349
|
+
) => {
|
|
350
|
+
currentRawResponse = rawResponse;
|
|
351
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
352
|
+
};
|
|
353
|
+
const updatedArgs = {
|
|
354
|
+
...args,
|
|
355
|
+
options: {
|
|
356
|
+
...args.options,
|
|
357
|
+
onResponse: callback
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
361
|
+
return {
|
|
362
|
+
flatResponse,
|
|
363
|
+
rawResponse: {
|
|
364
|
+
statusCode: currentRawResponse!.status,
|
|
365
|
+
body: currentRawResponse!.parsedBody,
|
|
366
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
const lro = new LroImpl(
|
|
372
|
+
sendOperation,
|
|
373
|
+
{ resourceGroupName, clusterName, cluster, options },
|
|
374
|
+
updateOperationSpec
|
|
375
|
+
);
|
|
376
|
+
return new LroEngine(lro, {
|
|
377
|
+
resumeFrom: options?.resumeFrom,
|
|
378
|
+
intervalInMs: options?.updateIntervalInMs
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
|
|
168
382
|
/**
|
|
383
|
+
* Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
|
|
384
|
+
* a cluster without affecting the rest of the cluster definition.
|
|
169
385
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
170
386
|
* @param clusterName The name of the cluster.
|
|
171
|
-
* @param
|
|
172
|
-
*
|
|
387
|
+
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
388
|
+
* existing cluster (ie. Those properties will be updated).
|
|
389
|
+
* @param options The options parameters.
|
|
173
390
|
*/
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
391
|
+
async beginUpdateAndWait(
|
|
392
|
+
resourceGroupName: string,
|
|
393
|
+
clusterName: string,
|
|
394
|
+
cluster: Cluster,
|
|
395
|
+
options?: ClustersUpdateOptionalParams
|
|
396
|
+
): Promise<ClustersUpdateResponse> {
|
|
397
|
+
const poller = await this.beginUpdate(
|
|
398
|
+
resourceGroupName,
|
|
399
|
+
clusterName,
|
|
400
|
+
cluster,
|
|
401
|
+
options
|
|
402
|
+
);
|
|
403
|
+
return poller.pollUntilDone();
|
|
184
404
|
}
|
|
185
405
|
|
|
186
406
|
/**
|
|
187
|
-
*
|
|
188
|
-
* @param cluster The definition of the cluster that will be used to create a new cluster or
|
|
189
|
-
* replace the existing one.
|
|
407
|
+
* Gets information about the specified cluster.
|
|
190
408
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
191
409
|
* @param clusterName The name of the cluster.
|
|
192
|
-
* @param
|
|
193
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
410
|
+
* @param options The options parameters.
|
|
194
411
|
*/
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
options);
|
|
412
|
+
get(
|
|
413
|
+
resourceGroupName: string,
|
|
414
|
+
clusterName: string,
|
|
415
|
+
options?: ClustersGetOptionalParams
|
|
416
|
+
): Promise<ClustersGetResponse> {
|
|
417
|
+
return this.client.sendOperationRequest(
|
|
418
|
+
{ resourceGroupName, clusterName, options },
|
|
419
|
+
getOperationSpec
|
|
420
|
+
);
|
|
205
421
|
}
|
|
206
422
|
|
|
207
423
|
/**
|
|
208
|
-
*
|
|
209
|
-
* properties) a cluster without affecting the rest of the cluster definition.
|
|
210
|
-
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
211
|
-
* existing cluster (ie. Those properties will be updated).
|
|
424
|
+
* Deletes the specified cluster.
|
|
212
425
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
213
426
|
* @param clusterName The name of the cluster.
|
|
214
|
-
* @param
|
|
215
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
427
|
+
* @param options The options parameters.
|
|
216
428
|
*/
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
429
|
+
async beginDelete(
|
|
430
|
+
resourceGroupName: string,
|
|
431
|
+
clusterName: string,
|
|
432
|
+
options?: ClustersDeleteOptionalParams
|
|
433
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
434
|
+
const directSendOperation = async (
|
|
435
|
+
args: coreClient.OperationArguments,
|
|
436
|
+
spec: coreClient.OperationSpec
|
|
437
|
+
): Promise<void> => {
|
|
438
|
+
return this.client.sendOperationRequest(args, spec);
|
|
439
|
+
};
|
|
440
|
+
const sendOperation = async (
|
|
441
|
+
args: coreClient.OperationArguments,
|
|
442
|
+
spec: coreClient.OperationSpec
|
|
443
|
+
) => {
|
|
444
|
+
let currentRawResponse:
|
|
445
|
+
| coreClient.FullOperationResponse
|
|
446
|
+
| undefined = undefined;
|
|
447
|
+
const providedCallback = args.options?.onResponse;
|
|
448
|
+
const callback: coreClient.RawResponseCallback = (
|
|
449
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
450
|
+
flatResponse: unknown
|
|
451
|
+
) => {
|
|
452
|
+
currentRawResponse = rawResponse;
|
|
453
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
454
|
+
};
|
|
455
|
+
const updatedArgs = {
|
|
456
|
+
...args,
|
|
457
|
+
options: {
|
|
458
|
+
...args.options,
|
|
459
|
+
onResponse: callback
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
463
|
+
return {
|
|
464
|
+
flatResponse,
|
|
465
|
+
rawResponse: {
|
|
466
|
+
statusCode: currentRawResponse!.status,
|
|
467
|
+
body: currentRawResponse!.parsedBody,
|
|
468
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
469
|
+
}
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
const lro = new LroImpl(
|
|
474
|
+
sendOperation,
|
|
475
|
+
{ resourceGroupName, clusterName, options },
|
|
476
|
+
deleteOperationSpec
|
|
477
|
+
);
|
|
478
|
+
return new LroEngine(lro, {
|
|
479
|
+
resumeFrom: options?.resumeFrom,
|
|
480
|
+
intervalInMs: options?.updateIntervalInMs
|
|
481
|
+
});
|
|
227
482
|
}
|
|
228
483
|
|
|
229
484
|
/**
|
|
230
485
|
* Deletes the specified cluster.
|
|
231
486
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
232
487
|
* @param clusterName The name of the cluster.
|
|
233
|
-
* @param
|
|
234
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
488
|
+
* @param options The options parameters.
|
|
235
489
|
*/
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
options
|
|
490
|
+
async beginDeleteAndWait(
|
|
491
|
+
resourceGroupName: string,
|
|
492
|
+
clusterName: string,
|
|
493
|
+
options?: ClustersDeleteOptionalParams
|
|
494
|
+
): Promise<void> {
|
|
495
|
+
const poller = await this.beginDelete(
|
|
496
|
+
resourceGroupName,
|
|
497
|
+
clusterName,
|
|
498
|
+
options
|
|
499
|
+
);
|
|
500
|
+
return poller.pollUntilDone();
|
|
245
501
|
}
|
|
246
502
|
|
|
247
503
|
/**
|
|
248
504
|
* Lists all of the clusters in the given subscription.
|
|
249
|
-
* @param
|
|
250
|
-
* @param [options] The optional parameters
|
|
251
|
-
* @returns Promise<Models.ClustersListBySubscriptionNextResponse>
|
|
505
|
+
* @param options The options parameters.
|
|
252
506
|
*/
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
* @param callback The callback
|
|
257
|
-
*/
|
|
258
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ClusterListResult>): void;
|
|
259
|
-
/**
|
|
260
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
261
|
-
* @param options The optional parameters
|
|
262
|
-
* @param callback The callback
|
|
263
|
-
*/
|
|
264
|
-
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterListResult>): void;
|
|
265
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ClusterListResult>, callback?: msRest.ServiceCallback<Models.ClusterListResult>): Promise<Models.ClustersListBySubscriptionNextResponse> {
|
|
507
|
+
private _listBySubscription(
|
|
508
|
+
options?: ClustersListBySubscriptionOptionalParams
|
|
509
|
+
): Promise<ClustersListBySubscriptionResponse> {
|
|
266
510
|
return this.client.sendOperationRequest(
|
|
267
|
-
{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
},
|
|
271
|
-
listBySubscriptionNextOperationSpec,
|
|
272
|
-
callback) as Promise<Models.ClustersListBySubscriptionNextResponse>;
|
|
511
|
+
{ options },
|
|
512
|
+
listBySubscriptionOperationSpec
|
|
513
|
+
);
|
|
273
514
|
}
|
|
274
515
|
|
|
275
516
|
/**
|
|
276
517
|
* Lists all of the clusters in the given resource group.
|
|
277
|
-
* @param
|
|
278
|
-
* @param
|
|
279
|
-
* @returns Promise<Models.ClustersListByResourceGroupNextResponse>
|
|
280
|
-
*/
|
|
281
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersListByResourceGroupNextResponse>;
|
|
282
|
-
/**
|
|
283
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
284
|
-
* @param callback The callback
|
|
518
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
519
|
+
* @param options The options parameters.
|
|
285
520
|
*/
|
|
286
|
-
|
|
521
|
+
private _listByResourceGroup(
|
|
522
|
+
resourceGroupName: string,
|
|
523
|
+
options?: ClustersListByResourceGroupOptionalParams
|
|
524
|
+
): Promise<ClustersListByResourceGroupResponse> {
|
|
525
|
+
return this.client.sendOperationRequest(
|
|
526
|
+
{ resourceGroupName, options },
|
|
527
|
+
listByResourceGroupOperationSpec
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
|
|
287
531
|
/**
|
|
288
|
-
*
|
|
289
|
-
* @param
|
|
290
|
-
* @param
|
|
532
|
+
* Lists all of the streaming jobs in the given cluster.
|
|
533
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
534
|
+
* @param clusterName The name of the cluster.
|
|
535
|
+
* @param options The options parameters.
|
|
291
536
|
*/
|
|
292
|
-
|
|
293
|
-
|
|
537
|
+
private _listStreamingJobs(
|
|
538
|
+
resourceGroupName: string,
|
|
539
|
+
clusterName: string,
|
|
540
|
+
options?: ClustersListStreamingJobsOptionalParams
|
|
541
|
+
): Promise<ClustersListStreamingJobsResponse> {
|
|
294
542
|
return this.client.sendOperationRequest(
|
|
295
|
-
{
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
},
|
|
299
|
-
listByResourceGroupNextOperationSpec,
|
|
300
|
-
callback) as Promise<Models.ClustersListByResourceGroupNextResponse>;
|
|
543
|
+
{ resourceGroupName, clusterName, options },
|
|
544
|
+
listStreamingJobsOperationSpec
|
|
545
|
+
);
|
|
301
546
|
}
|
|
302
547
|
|
|
303
548
|
/**
|
|
304
|
-
*
|
|
305
|
-
* @param
|
|
306
|
-
* @param
|
|
307
|
-
* @returns Promise<Models.ClustersListStreamingJobsNextResponse>
|
|
549
|
+
* ListBySubscriptionNext
|
|
550
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
551
|
+
* @param options The options parameters.
|
|
308
552
|
*/
|
|
309
|
-
|
|
553
|
+
private _listBySubscriptionNext(
|
|
554
|
+
nextLink: string,
|
|
555
|
+
options?: ClustersListBySubscriptionNextOptionalParams
|
|
556
|
+
): Promise<ClustersListBySubscriptionNextResponse> {
|
|
557
|
+
return this.client.sendOperationRequest(
|
|
558
|
+
{ nextLink, options },
|
|
559
|
+
listBySubscriptionNextOperationSpec
|
|
560
|
+
);
|
|
561
|
+
}
|
|
562
|
+
|
|
310
563
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @param
|
|
564
|
+
* ListByResourceGroupNext
|
|
565
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
566
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
567
|
+
* @param options The options parameters.
|
|
313
568
|
*/
|
|
314
|
-
|
|
569
|
+
private _listByResourceGroupNext(
|
|
570
|
+
resourceGroupName: string,
|
|
571
|
+
nextLink: string,
|
|
572
|
+
options?: ClustersListByResourceGroupNextOptionalParams
|
|
573
|
+
): Promise<ClustersListByResourceGroupNextResponse> {
|
|
574
|
+
return this.client.sendOperationRequest(
|
|
575
|
+
{ resourceGroupName, nextLink, options },
|
|
576
|
+
listByResourceGroupNextOperationSpec
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
|
|
315
580
|
/**
|
|
316
|
-
*
|
|
317
|
-
* @param
|
|
318
|
-
* @param
|
|
581
|
+
* ListStreamingJobsNext
|
|
582
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
583
|
+
* @param clusterName The name of the cluster.
|
|
584
|
+
* @param nextLink The nextLink from the previous successful call to the ListStreamingJobs method.
|
|
585
|
+
* @param options The options parameters.
|
|
319
586
|
*/
|
|
320
|
-
|
|
321
|
-
|
|
587
|
+
private _listStreamingJobsNext(
|
|
588
|
+
resourceGroupName: string,
|
|
589
|
+
clusterName: string,
|
|
590
|
+
nextLink: string,
|
|
591
|
+
options?: ClustersListStreamingJobsNextOptionalParams
|
|
592
|
+
): Promise<ClustersListStreamingJobsNextResponse> {
|
|
322
593
|
return this.client.sendOperationRequest(
|
|
323
|
-
{
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
},
|
|
327
|
-
listStreamingJobsNextOperationSpec,
|
|
328
|
-
callback) as Promise<Models.ClustersListStreamingJobsNextResponse>;
|
|
594
|
+
{ resourceGroupName, clusterName, nextLink, options },
|
|
595
|
+
listStreamingJobsNextOperationSpec
|
|
596
|
+
);
|
|
329
597
|
}
|
|
330
598
|
}
|
|
331
|
-
|
|
332
599
|
// Operation Specifications
|
|
333
|
-
const serializer =
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
path:
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
Parameters.resourceGroupName,
|
|
340
|
-
Parameters.clusterName
|
|
341
|
-
],
|
|
342
|
-
queryParameters: [
|
|
343
|
-
Parameters.apiVersion1
|
|
344
|
-
],
|
|
345
|
-
headerParameters: [
|
|
346
|
-
Parameters.acceptLanguage
|
|
347
|
-
],
|
|
600
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
601
|
+
|
|
602
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
603
|
+
path:
|
|
604
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
|
|
605
|
+
httpMethod: "PUT",
|
|
348
606
|
responses: {
|
|
349
607
|
200: {
|
|
350
608
|
bodyMapper: Mappers.Cluster
|
|
351
609
|
},
|
|
610
|
+
201: {
|
|
611
|
+
bodyMapper: Mappers.Cluster
|
|
612
|
+
},
|
|
613
|
+
202: {
|
|
614
|
+
bodyMapper: Mappers.Cluster
|
|
615
|
+
},
|
|
616
|
+
204: {
|
|
617
|
+
bodyMapper: Mappers.Cluster
|
|
618
|
+
},
|
|
352
619
|
default: {
|
|
353
620
|
bodyMapper: Mappers.ErrorModel
|
|
354
621
|
}
|
|
355
622
|
},
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
360
|
-
httpMethod: "GET",
|
|
361
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters",
|
|
623
|
+
requestBody: Parameters.cluster,
|
|
624
|
+
queryParameters: [Parameters.apiVersion],
|
|
362
625
|
urlParameters: [
|
|
363
|
-
Parameters
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
Parameters.
|
|
626
|
+
Parameters.$host,
|
|
627
|
+
Parameters.subscriptionId,
|
|
628
|
+
Parameters.resourceGroupName,
|
|
629
|
+
Parameters.clusterName
|
|
367
630
|
],
|
|
368
631
|
headerParameters: [
|
|
369
|
-
Parameters.
|
|
632
|
+
Parameters.accept,
|
|
633
|
+
Parameters.contentType,
|
|
634
|
+
Parameters.ifMatch,
|
|
635
|
+
Parameters.ifNoneMatch
|
|
370
636
|
],
|
|
637
|
+
mediaType: "json",
|
|
638
|
+
serializer
|
|
639
|
+
};
|
|
640
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
641
|
+
path:
|
|
642
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
|
|
643
|
+
httpMethod: "PATCH",
|
|
371
644
|
responses: {
|
|
372
645
|
200: {
|
|
373
|
-
bodyMapper: Mappers.
|
|
646
|
+
bodyMapper: Mappers.Cluster
|
|
647
|
+
},
|
|
648
|
+
201: {
|
|
649
|
+
bodyMapper: Mappers.Cluster
|
|
650
|
+
},
|
|
651
|
+
202: {
|
|
652
|
+
bodyMapper: Mappers.Cluster
|
|
653
|
+
},
|
|
654
|
+
204: {
|
|
655
|
+
bodyMapper: Mappers.Cluster
|
|
374
656
|
},
|
|
375
657
|
default: {
|
|
376
658
|
bodyMapper: Mappers.ErrorModel
|
|
377
659
|
}
|
|
378
660
|
},
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
383
|
-
httpMethod: "GET",
|
|
384
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters",
|
|
661
|
+
requestBody: Parameters.cluster,
|
|
662
|
+
queryParameters: [Parameters.apiVersion],
|
|
385
663
|
urlParameters: [
|
|
664
|
+
Parameters.$host,
|
|
386
665
|
Parameters.subscriptionId,
|
|
387
|
-
Parameters.resourceGroupName
|
|
388
|
-
|
|
389
|
-
queryParameters: [
|
|
390
|
-
Parameters.apiVersion1
|
|
666
|
+
Parameters.resourceGroupName,
|
|
667
|
+
Parameters.clusterName
|
|
391
668
|
],
|
|
392
669
|
headerParameters: [
|
|
393
|
-
Parameters.
|
|
670
|
+
Parameters.accept,
|
|
671
|
+
Parameters.contentType,
|
|
672
|
+
Parameters.ifMatch
|
|
394
673
|
],
|
|
674
|
+
mediaType: "json",
|
|
675
|
+
serializer
|
|
676
|
+
};
|
|
677
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
678
|
+
path:
|
|
679
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
|
|
680
|
+
httpMethod: "GET",
|
|
395
681
|
responses: {
|
|
396
682
|
200: {
|
|
397
|
-
bodyMapper: Mappers.
|
|
683
|
+
bodyMapper: Mappers.Cluster
|
|
398
684
|
},
|
|
399
685
|
default: {
|
|
400
686
|
bodyMapper: Mappers.ErrorModel
|
|
401
687
|
}
|
|
402
688
|
},
|
|
403
|
-
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
const listStreamingJobsOperationSpec: msRest.OperationSpec = {
|
|
407
|
-
httpMethod: "POST",
|
|
408
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}/listStreamingJobs",
|
|
689
|
+
queryParameters: [Parameters.apiVersion],
|
|
409
690
|
urlParameters: [
|
|
691
|
+
Parameters.$host,
|
|
410
692
|
Parameters.subscriptionId,
|
|
411
693
|
Parameters.resourceGroupName,
|
|
412
694
|
Parameters.clusterName
|
|
413
695
|
],
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
696
|
+
headerParameters: [Parameters.accept],
|
|
697
|
+
serializer
|
|
698
|
+
};
|
|
699
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
700
|
+
path:
|
|
701
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
|
|
702
|
+
httpMethod: "DELETE",
|
|
420
703
|
responses: {
|
|
421
|
-
200: {
|
|
422
|
-
|
|
423
|
-
},
|
|
704
|
+
200: {},
|
|
705
|
+
201: {},
|
|
706
|
+
202: {},
|
|
707
|
+
204: {},
|
|
424
708
|
default: {
|
|
425
709
|
bodyMapper: Mappers.ErrorModel
|
|
426
710
|
}
|
|
427
711
|
},
|
|
428
|
-
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
432
|
-
httpMethod: "PUT",
|
|
433
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
|
|
712
|
+
queryParameters: [Parameters.apiVersion],
|
|
434
713
|
urlParameters: [
|
|
714
|
+
Parameters.$host,
|
|
435
715
|
Parameters.subscriptionId,
|
|
436
716
|
Parameters.resourceGroupName,
|
|
437
717
|
Parameters.clusterName
|
|
438
718
|
],
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
],
|
|
447
|
-
requestBody: {
|
|
448
|
-
parameterPath: "cluster",
|
|
449
|
-
mapper: {
|
|
450
|
-
...Mappers.Cluster,
|
|
451
|
-
required: true
|
|
452
|
-
}
|
|
453
|
-
},
|
|
719
|
+
headerParameters: [Parameters.accept],
|
|
720
|
+
serializer
|
|
721
|
+
};
|
|
722
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
723
|
+
path:
|
|
724
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters",
|
|
725
|
+
httpMethod: "GET",
|
|
454
726
|
responses: {
|
|
455
727
|
200: {
|
|
456
|
-
bodyMapper: Mappers.
|
|
457
|
-
},
|
|
458
|
-
201: {
|
|
459
|
-
bodyMapper: Mappers.Cluster
|
|
728
|
+
bodyMapper: Mappers.ClusterListResult
|
|
460
729
|
},
|
|
461
730
|
default: {
|
|
462
731
|
bodyMapper: Mappers.ErrorModel
|
|
463
732
|
}
|
|
464
733
|
},
|
|
734
|
+
queryParameters: [Parameters.apiVersion],
|
|
735
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
736
|
+
headerParameters: [Parameters.accept],
|
|
465
737
|
serializer
|
|
466
738
|
};
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
urlParameters: [
|
|
472
|
-
Parameters.subscriptionId,
|
|
473
|
-
Parameters.resourceGroupName,
|
|
474
|
-
Parameters.clusterName
|
|
475
|
-
],
|
|
476
|
-
queryParameters: [
|
|
477
|
-
Parameters.apiVersion1
|
|
478
|
-
],
|
|
479
|
-
headerParameters: [
|
|
480
|
-
Parameters.ifMatch,
|
|
481
|
-
Parameters.acceptLanguage
|
|
482
|
-
],
|
|
483
|
-
requestBody: {
|
|
484
|
-
parameterPath: "cluster",
|
|
485
|
-
mapper: {
|
|
486
|
-
...Mappers.Cluster,
|
|
487
|
-
required: true
|
|
488
|
-
}
|
|
489
|
-
},
|
|
739
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
740
|
+
path:
|
|
741
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters",
|
|
742
|
+
httpMethod: "GET",
|
|
490
743
|
responses: {
|
|
491
744
|
200: {
|
|
492
|
-
bodyMapper: Mappers.
|
|
745
|
+
bodyMapper: Mappers.ClusterListResult
|
|
493
746
|
},
|
|
494
|
-
202: {},
|
|
495
747
|
default: {
|
|
496
748
|
bodyMapper: Mappers.ErrorModel
|
|
497
749
|
}
|
|
498
750
|
},
|
|
499
|
-
|
|
500
|
-
};
|
|
501
|
-
|
|
502
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
503
|
-
httpMethod: "DELETE",
|
|
504
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
|
|
751
|
+
queryParameters: [Parameters.apiVersion],
|
|
505
752
|
urlParameters: [
|
|
753
|
+
Parameters.$host,
|
|
506
754
|
Parameters.subscriptionId,
|
|
507
|
-
Parameters.resourceGroupName
|
|
508
|
-
Parameters.clusterName
|
|
509
|
-
],
|
|
510
|
-
queryParameters: [
|
|
511
|
-
Parameters.apiVersion1
|
|
512
|
-
],
|
|
513
|
-
headerParameters: [
|
|
514
|
-
Parameters.acceptLanguage
|
|
755
|
+
Parameters.resourceGroupName
|
|
515
756
|
],
|
|
757
|
+
headerParameters: [Parameters.accept],
|
|
758
|
+
serializer
|
|
759
|
+
};
|
|
760
|
+
const listStreamingJobsOperationSpec: coreClient.OperationSpec = {
|
|
761
|
+
path:
|
|
762
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}/listStreamingJobs",
|
|
763
|
+
httpMethod: "POST",
|
|
516
764
|
responses: {
|
|
517
|
-
200: {
|
|
518
|
-
|
|
519
|
-
|
|
765
|
+
200: {
|
|
766
|
+
bodyMapper: Mappers.ClusterJobListResult
|
|
767
|
+
},
|
|
520
768
|
default: {
|
|
521
769
|
bodyMapper: Mappers.ErrorModel
|
|
522
770
|
}
|
|
523
771
|
},
|
|
772
|
+
queryParameters: [Parameters.apiVersion],
|
|
773
|
+
urlParameters: [
|
|
774
|
+
Parameters.$host,
|
|
775
|
+
Parameters.subscriptionId,
|
|
776
|
+
Parameters.resourceGroupName,
|
|
777
|
+
Parameters.clusterName
|
|
778
|
+
],
|
|
779
|
+
headerParameters: [Parameters.accept],
|
|
524
780
|
serializer
|
|
525
781
|
};
|
|
526
|
-
|
|
527
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
528
|
-
httpMethod: "GET",
|
|
529
|
-
baseUrl: "https://management.azure.com",
|
|
782
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
530
783
|
path: "{nextLink}",
|
|
531
|
-
|
|
532
|
-
Parameters.nextPageLink
|
|
533
|
-
],
|
|
534
|
-
queryParameters: [
|
|
535
|
-
Parameters.apiVersion1
|
|
536
|
-
],
|
|
537
|
-
headerParameters: [
|
|
538
|
-
Parameters.acceptLanguage
|
|
539
|
-
],
|
|
784
|
+
httpMethod: "GET",
|
|
540
785
|
responses: {
|
|
541
786
|
200: {
|
|
542
787
|
bodyMapper: Mappers.ClusterListResult
|
|
@@ -545,22 +790,18 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
|
545
790
|
bodyMapper: Mappers.ErrorModel
|
|
546
791
|
}
|
|
547
792
|
},
|
|
793
|
+
queryParameters: [Parameters.apiVersion],
|
|
794
|
+
urlParameters: [
|
|
795
|
+
Parameters.$host,
|
|
796
|
+
Parameters.nextLink,
|
|
797
|
+
Parameters.subscriptionId
|
|
798
|
+
],
|
|
799
|
+
headerParameters: [Parameters.accept],
|
|
548
800
|
serializer
|
|
549
801
|
};
|
|
550
|
-
|
|
551
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
552
|
-
httpMethod: "GET",
|
|
553
|
-
baseUrl: "https://management.azure.com",
|
|
802
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
554
803
|
path: "{nextLink}",
|
|
555
|
-
|
|
556
|
-
Parameters.nextPageLink
|
|
557
|
-
],
|
|
558
|
-
queryParameters: [
|
|
559
|
-
Parameters.apiVersion1
|
|
560
|
-
],
|
|
561
|
-
headerParameters: [
|
|
562
|
-
Parameters.acceptLanguage
|
|
563
|
-
],
|
|
804
|
+
httpMethod: "GET",
|
|
564
805
|
responses: {
|
|
565
806
|
200: {
|
|
566
807
|
bodyMapper: Mappers.ClusterListResult
|
|
@@ -569,22 +810,19 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
|
569
810
|
bodyMapper: Mappers.ErrorModel
|
|
570
811
|
}
|
|
571
812
|
},
|
|
813
|
+
queryParameters: [Parameters.apiVersion],
|
|
814
|
+
urlParameters: [
|
|
815
|
+
Parameters.$host,
|
|
816
|
+
Parameters.nextLink,
|
|
817
|
+
Parameters.subscriptionId,
|
|
818
|
+
Parameters.resourceGroupName
|
|
819
|
+
],
|
|
820
|
+
headerParameters: [Parameters.accept],
|
|
572
821
|
serializer
|
|
573
822
|
};
|
|
574
|
-
|
|
575
|
-
const listStreamingJobsNextOperationSpec: msRest.OperationSpec = {
|
|
576
|
-
httpMethod: "POST",
|
|
577
|
-
baseUrl: "https://management.azure.com",
|
|
823
|
+
const listStreamingJobsNextOperationSpec: coreClient.OperationSpec = {
|
|
578
824
|
path: "{nextLink}",
|
|
579
|
-
|
|
580
|
-
Parameters.nextPageLink
|
|
581
|
-
],
|
|
582
|
-
queryParameters: [
|
|
583
|
-
Parameters.apiVersion1
|
|
584
|
-
],
|
|
585
|
-
headerParameters: [
|
|
586
|
-
Parameters.acceptLanguage
|
|
587
|
-
],
|
|
825
|
+
httpMethod: "GET",
|
|
588
826
|
responses: {
|
|
589
827
|
200: {
|
|
590
828
|
bodyMapper: Mappers.ClusterJobListResult
|
|
@@ -593,5 +831,14 @@ const listStreamingJobsNextOperationSpec: msRest.OperationSpec = {
|
|
|
593
831
|
bodyMapper: Mappers.ErrorModel
|
|
594
832
|
}
|
|
595
833
|
},
|
|
834
|
+
queryParameters: [Parameters.apiVersion],
|
|
835
|
+
urlParameters: [
|
|
836
|
+
Parameters.$host,
|
|
837
|
+
Parameters.nextLink,
|
|
838
|
+
Parameters.subscriptionId,
|
|
839
|
+
Parameters.resourceGroupName,
|
|
840
|
+
Parameters.clusterName
|
|
841
|
+
],
|
|
842
|
+
headerParameters: [Parameters.accept],
|
|
596
843
|
serializer
|
|
597
844
|
};
|