@azure/arm-machinelearningcompute 2.1.1 → 3.0.0-beta.1
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 +21 -0
- package/README.md +69 -83
- package/dist/index.js +1821 -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/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js +31 -0
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js.map +1 -0
- package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteOperationalizationCluster.js +31 -0
- package/dist-esm/samples-dev/deleteOperationalizationCluster.js.map +1 -0
- package/dist-esm/samples-dev/getOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/getOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/getOperationalizationCluster.js +31 -0
- package/dist-esm/samples-dev/getOperationalizationCluster.js.map +1 -0
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js +31 -0
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js.map +1 -0
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js +43 -0
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts +2 -0
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js +29 -0
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js.map +1 -0
- package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchOperationalizationCluster.js +34 -0
- package/dist-esm/samples-dev/patchOperationalizationCluster.js.map +1 -0
- package/dist-esm/samples-dev/putOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/putOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/putOperationalizationCluster.js +54 -0
- package/dist-esm/samples-dev/putOperationalizationCluster.js.map +1 -0
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts +2 -0
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js +31 -0
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.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/machineLearningComputeManagementClient.d.ts +19 -0
- package/dist-esm/src/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist-esm/src/machineLearningComputeManagementClient.js +52 -0
- package/dist-esm/src/machineLearningComputeManagementClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +637 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +101 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +32 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +347 -401
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +130 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/machineLearningCompute.d.ts +18 -0
- package/dist-esm/src/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist-esm/src/operations/machineLearningCompute.js +43 -0
- package/dist-esm/src/operations/machineLearningCompute.js.map +1 -0
- package/dist-esm/src/operations/operationalizationClusters.d.ts +130 -0
- package/dist-esm/src/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist-esm/src/operations/operationalizationClusters.js +579 -0
- package/dist-esm/src/operations/operationalizationClusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm/models/machineLearningComputeMappers.js → dist-esm/src/operationsInterfaces/index.js} +3 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/machineLearningCompute.js} +2 -1
- package/dist-esm/src/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.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 +80 -33
- package/review/arm-machinelearningcompute.api.md +545 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/machineLearningComputeManagementClient.ts +68 -34
- package/src/models/index.ts +518 -800
- package/src/models/mappers.ts +357 -411
- package/src/models/parameters.ts +89 -45
- package/src/operations/index.ts +1 -2
- package/src/operations/machineLearningCompute.ts +29 -43
- package/src/operations/operationalizationClusters.ts +589 -461
- package/src/{models/machineLearningComputeMappers.ts → operationsInterfaces/index.ts} +2 -6
- package/src/operationsInterfaces/machineLearningCompute.ts +23 -0
- package/src/operationsInterfaces/operationalizationClusters.ts +189 -0
- package/tsconfig.json +5 -4
- package/types/arm-machinelearningcompute.d.ts +826 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-machinelearningcompute.js +0 -1764
- package/dist/arm-machinelearningcompute.js.map +0 -1
- package/dist/arm-machinelearningcompute.min.js +0 -1
- package/dist/arm-machinelearningcompute.min.js.map +0 -1
- package/esm/machineLearningComputeManagementClient.d.ts +0 -25
- package/esm/machineLearningComputeManagementClient.d.ts.map +0 -1
- package/esm/machineLearningComputeManagementClient.js +0 -38
- package/esm/machineLearningComputeManagementClient.js.map +0 -1
- package/esm/machineLearningComputeManagementClientContext.d.ts +0 -22
- package/esm/machineLearningComputeManagementClientContext.d.ts.map +0 -1
- package/esm/machineLearningComputeManagementClientContext.js +0 -60
- package/esm/machineLearningComputeManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -925
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/machineLearningComputeMappers.d.ts +0 -2
- package/esm/models/machineLearningComputeMappers.d.ts.map +0 -1
- package/esm/models/machineLearningComputeMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -34
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationalizationClustersMappers.d.ts +0 -2
- package/esm/models/operationalizationClustersMappers.d.ts.map +0 -1
- package/esm/models/operationalizationClustersMappers.js +0 -9
- package/esm/models/operationalizationClustersMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -104
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/machineLearningCompute.d.ts +0 -28
- package/esm/operations/machineLearningCompute.d.ts.map +0 -1
- package/esm/operations/machineLearningCompute.js +0 -50
- package/esm/operations/machineLearningCompute.js.map +0 -1
- package/esm/operations/operationalizationClusters.d.ts +0 -223
- package/esm/operations/operationalizationClusters.d.ts.map +0 -1
- package/esm/operations/operationalizationClusters.js +0 -441
- package/esm/operations/operationalizationClusters.js.map +0 -1
- package/src/machineLearningComputeManagementClientContext.ts +0 -67
- package/src/models/operationalizationClustersMappers.ts +0 -39
|
@@ -3,414 +3,590 @@
|
|
|
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 { OperationalizationClusters } 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 { MachineLearningComputeManagementClient } from "../machineLearningComputeManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
OperationalizationCluster,
|
|
19
|
+
OperationalizationClustersListByResourceGroupNextOptionalParams,
|
|
20
|
+
OperationalizationClustersListByResourceGroupOptionalParams,
|
|
21
|
+
OperationalizationClustersListBySubscriptionIdNextOptionalParams,
|
|
22
|
+
OperationalizationClustersListBySubscriptionIdOptionalParams,
|
|
23
|
+
OperationalizationClustersCreateOrUpdateOptionalParams,
|
|
24
|
+
OperationalizationClustersCreateOrUpdateResponse,
|
|
25
|
+
OperationalizationClustersGetOptionalParams,
|
|
26
|
+
OperationalizationClustersGetResponse,
|
|
27
|
+
OperationalizationClusterUpdateParameters,
|
|
28
|
+
OperationalizationClustersUpdateOptionalParams,
|
|
29
|
+
OperationalizationClustersUpdateResponse,
|
|
30
|
+
OperationalizationClustersDeleteOptionalParams,
|
|
31
|
+
OperationalizationClustersDeleteResponse,
|
|
32
|
+
OperationalizationClustersListKeysOptionalParams,
|
|
33
|
+
OperationalizationClustersListKeysResponse,
|
|
34
|
+
OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams,
|
|
35
|
+
OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse,
|
|
36
|
+
OperationalizationClustersUpdateSystemServicesOptionalParams,
|
|
37
|
+
OperationalizationClustersUpdateSystemServicesResponse,
|
|
38
|
+
OperationalizationClustersListByResourceGroupResponse,
|
|
39
|
+
OperationalizationClustersListBySubscriptionIdResponse,
|
|
40
|
+
OperationalizationClustersListByResourceGroupNextResponse,
|
|
41
|
+
OperationalizationClustersListBySubscriptionIdNextResponse
|
|
42
|
+
} from "../models";
|
|
16
43
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
44
|
+
/// <reference lib="esnext.asynciterable" />
|
|
45
|
+
/** Class containing OperationalizationClusters operations. */
|
|
46
|
+
export class OperationalizationClustersImpl
|
|
47
|
+
implements OperationalizationClusters {
|
|
48
|
+
private readonly client: MachineLearningComputeManagementClient;
|
|
20
49
|
|
|
21
50
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
51
|
+
* Initialize a new instance of the class OperationalizationClusters class.
|
|
52
|
+
* @param client Reference to the service client
|
|
24
53
|
*/
|
|
25
|
-
constructor(client:
|
|
54
|
+
constructor(client: MachineLearningComputeManagementClient) {
|
|
26
55
|
this.client = client;
|
|
27
56
|
}
|
|
28
57
|
|
|
29
58
|
/**
|
|
30
|
-
*
|
|
59
|
+
* Gets the clusters in the specified resource group.
|
|
31
60
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
32
|
-
* @param
|
|
33
|
-
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.OperationalizationClustersCreateOrUpdateResponse>
|
|
61
|
+
* @param options The options parameters.
|
|
36
62
|
*/
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
63
|
+
public listByResourceGroup(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
66
|
+
): PagedAsyncIterableIterator<OperationalizationCluster> {
|
|
67
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
68
|
+
return {
|
|
69
|
+
next() {
|
|
70
|
+
return iter.next();
|
|
71
|
+
},
|
|
72
|
+
[Symbol.asyncIterator]() {
|
|
73
|
+
return this;
|
|
74
|
+
},
|
|
75
|
+
byPage: () => {
|
|
76
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
40
79
|
}
|
|
41
80
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
53
|
-
* @param clusterName The name of the cluster.
|
|
54
|
-
* @param callback The callback
|
|
55
|
-
*/
|
|
56
|
-
get(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<Models.OperationalizationCluster>): void;
|
|
57
|
-
/**
|
|
58
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
59
|
-
* @param clusterName The name of the cluster.
|
|
60
|
-
* @param options The optional parameters
|
|
61
|
-
* @param callback The callback
|
|
62
|
-
*/
|
|
63
|
-
get(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationalizationCluster>): void;
|
|
64
|
-
get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationalizationCluster>, callback?: msRest.ServiceCallback<Models.OperationalizationCluster>): Promise<Models.OperationalizationClustersGetResponse> {
|
|
65
|
-
return this.client.sendOperationRequest(
|
|
66
|
-
{
|
|
81
|
+
private async *listByResourceGroupPagingPage(
|
|
82
|
+
resourceGroupName: string,
|
|
83
|
+
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
84
|
+
): AsyncIterableIterator<OperationalizationCluster[]> {
|
|
85
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
86
|
+
yield result.value || [];
|
|
87
|
+
let continuationToken = result.nextLink;
|
|
88
|
+
while (continuationToken) {
|
|
89
|
+
result = await this._listByResourceGroupNext(
|
|
67
90
|
resourceGroupName,
|
|
68
|
-
|
|
91
|
+
continuationToken,
|
|
69
92
|
options
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
93
|
+
);
|
|
94
|
+
continuationToken = result.nextLink;
|
|
95
|
+
yield result.value || [];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
private async *listByResourceGroupPagingAll(
|
|
100
|
+
resourceGroupName: string,
|
|
101
|
+
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
102
|
+
): AsyncIterableIterator<OperationalizationCluster> {
|
|
103
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
104
|
+
resourceGroupName,
|
|
105
|
+
options
|
|
106
|
+
)) {
|
|
107
|
+
yield* page;
|
|
108
|
+
}
|
|
73
109
|
}
|
|
74
110
|
|
|
75
111
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
79
|
-
* @param clusterName The name of the cluster.
|
|
80
|
-
* @param parameters The parameters supplied to patch the cluster.
|
|
81
|
-
* @param [options] The optional parameters
|
|
82
|
-
* @returns Promise<Models.OperationalizationClustersUpdateResponse>
|
|
83
|
-
*/
|
|
84
|
-
update(resourceGroupName: string, clusterName: string, parameters: Models.OperationalizationClusterUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.OperationalizationClustersUpdateResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
87
|
-
* @param clusterName The name of the cluster.
|
|
88
|
-
* @param parameters The parameters supplied to patch the cluster.
|
|
89
|
-
* @param callback The callback
|
|
90
|
-
*/
|
|
91
|
-
update(resourceGroupName: string, clusterName: string, parameters: Models.OperationalizationClusterUpdateParameters, callback: msRest.ServiceCallback<Models.OperationalizationCluster>): void;
|
|
92
|
-
/**
|
|
93
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
94
|
-
* @param clusterName The name of the cluster.
|
|
95
|
-
* @param parameters The parameters supplied to patch the cluster.
|
|
96
|
-
* @param options The optional parameters
|
|
97
|
-
* @param callback The callback
|
|
112
|
+
* Gets the operationalization clusters in the specified subscription.
|
|
113
|
+
* @param options The options parameters.
|
|
98
114
|
*/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
115
|
+
public listBySubscriptionId(
|
|
116
|
+
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
117
|
+
): PagedAsyncIterableIterator<OperationalizationCluster> {
|
|
118
|
+
const iter = this.listBySubscriptionIdPagingAll(options);
|
|
119
|
+
return {
|
|
120
|
+
next() {
|
|
121
|
+
return iter.next();
|
|
122
|
+
},
|
|
123
|
+
[Symbol.asyncIterator]() {
|
|
124
|
+
return this;
|
|
107
125
|
},
|
|
108
|
-
|
|
109
|
-
|
|
126
|
+
byPage: () => {
|
|
127
|
+
return this.listBySubscriptionIdPagingPage(options);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
110
130
|
}
|
|
111
131
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
132
|
+
private async *listBySubscriptionIdPagingPage(
|
|
133
|
+
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
134
|
+
): AsyncIterableIterator<OperationalizationCluster[]> {
|
|
135
|
+
let result = await this._listBySubscriptionId(options);
|
|
136
|
+
yield result.value || [];
|
|
137
|
+
let continuationToken = result.nextLink;
|
|
138
|
+
while (continuationToken) {
|
|
139
|
+
result = await this._listBySubscriptionIdNext(continuationToken, options);
|
|
140
|
+
continuationToken = result.nextLink;
|
|
141
|
+
yield result.value || [];
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
private async *listBySubscriptionIdPagingAll(
|
|
146
|
+
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
147
|
+
): AsyncIterableIterator<OperationalizationCluster> {
|
|
148
|
+
for await (const page of this.listBySubscriptionIdPagingPage(options)) {
|
|
149
|
+
yield* page;
|
|
150
|
+
}
|
|
122
151
|
}
|
|
123
152
|
|
|
124
153
|
/**
|
|
125
|
-
*
|
|
126
|
-
* a long running operation because it fetches keys from dependencies.
|
|
154
|
+
* Create or update an operationalization cluster.
|
|
127
155
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
128
156
|
* @param clusterName The name of the cluster.
|
|
129
|
-
* @param
|
|
130
|
-
* @
|
|
157
|
+
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
158
|
+
* @param options The options parameters.
|
|
131
159
|
*/
|
|
132
|
-
|
|
160
|
+
async beginCreateOrUpdate(
|
|
161
|
+
resourceGroupName: string,
|
|
162
|
+
clusterName: string,
|
|
163
|
+
parameters: OperationalizationCluster,
|
|
164
|
+
options?: OperationalizationClustersCreateOrUpdateOptionalParams
|
|
165
|
+
): Promise<
|
|
166
|
+
PollerLike<
|
|
167
|
+
PollOperationState<OperationalizationClustersCreateOrUpdateResponse>,
|
|
168
|
+
OperationalizationClustersCreateOrUpdateResponse
|
|
169
|
+
>
|
|
170
|
+
> {
|
|
171
|
+
const directSendOperation = async (
|
|
172
|
+
args: coreClient.OperationArguments,
|
|
173
|
+
spec: coreClient.OperationSpec
|
|
174
|
+
): Promise<OperationalizationClustersCreateOrUpdateResponse> => {
|
|
175
|
+
return this.client.sendOperationRequest(args, spec);
|
|
176
|
+
};
|
|
177
|
+
const sendOperation = async (
|
|
178
|
+
args: coreClient.OperationArguments,
|
|
179
|
+
spec: coreClient.OperationSpec
|
|
180
|
+
) => {
|
|
181
|
+
let currentRawResponse:
|
|
182
|
+
| coreClient.FullOperationResponse
|
|
183
|
+
| undefined = undefined;
|
|
184
|
+
const providedCallback = args.options?.onResponse;
|
|
185
|
+
const callback: coreClient.RawResponseCallback = (
|
|
186
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
187
|
+
flatResponse: unknown
|
|
188
|
+
) => {
|
|
189
|
+
currentRawResponse = rawResponse;
|
|
190
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
191
|
+
};
|
|
192
|
+
const updatedArgs = {
|
|
193
|
+
...args,
|
|
194
|
+
options: {
|
|
195
|
+
...args.options,
|
|
196
|
+
onResponse: callback
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
200
|
+
return {
|
|
201
|
+
flatResponse,
|
|
202
|
+
rawResponse: {
|
|
203
|
+
statusCode: currentRawResponse!.status,
|
|
204
|
+
body: currentRawResponse!.parsedBody,
|
|
205
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
const lro = new LroImpl(
|
|
211
|
+
sendOperation,
|
|
212
|
+
{ resourceGroupName, clusterName, parameters, options },
|
|
213
|
+
createOrUpdateOperationSpec
|
|
214
|
+
);
|
|
215
|
+
return new LroEngine(lro, {
|
|
216
|
+
resumeFrom: options?.resumeFrom,
|
|
217
|
+
intervalInMs: options?.updateIntervalInMs
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
|
|
133
221
|
/**
|
|
222
|
+
* Create or update an operationalization cluster.
|
|
134
223
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
135
224
|
* @param clusterName The name of the cluster.
|
|
136
|
-
* @param
|
|
225
|
+
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
226
|
+
* @param options The options parameters.
|
|
137
227
|
*/
|
|
138
|
-
|
|
228
|
+
async beginCreateOrUpdateAndWait(
|
|
229
|
+
resourceGroupName: string,
|
|
230
|
+
clusterName: string,
|
|
231
|
+
parameters: OperationalizationCluster,
|
|
232
|
+
options?: OperationalizationClustersCreateOrUpdateOptionalParams
|
|
233
|
+
): Promise<OperationalizationClustersCreateOrUpdateResponse> {
|
|
234
|
+
const poller = await this.beginCreateOrUpdate(
|
|
235
|
+
resourceGroupName,
|
|
236
|
+
clusterName,
|
|
237
|
+
parameters,
|
|
238
|
+
options
|
|
239
|
+
);
|
|
240
|
+
return poller.pollUntilDone();
|
|
241
|
+
}
|
|
242
|
+
|
|
139
243
|
/**
|
|
244
|
+
* Gets the operationalization cluster resource view. Note that the credentials are not returned by
|
|
245
|
+
* this call. Call ListKeys to get them.
|
|
140
246
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
141
247
|
* @param clusterName The name of the cluster.
|
|
142
|
-
* @param options The
|
|
143
|
-
* @param callback The callback
|
|
248
|
+
* @param options The options parameters.
|
|
144
249
|
*/
|
|
145
|
-
|
|
146
|
-
|
|
250
|
+
get(
|
|
251
|
+
resourceGroupName: string,
|
|
252
|
+
clusterName: string,
|
|
253
|
+
options?: OperationalizationClustersGetOptionalParams
|
|
254
|
+
): Promise<OperationalizationClustersGetResponse> {
|
|
147
255
|
return this.client.sendOperationRequest(
|
|
148
|
-
{
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
options
|
|
152
|
-
},
|
|
153
|
-
listKeysOperationSpec,
|
|
154
|
-
callback) as Promise<Models.OperationalizationClustersListKeysResponse>;
|
|
256
|
+
{ resourceGroupName, clusterName, options },
|
|
257
|
+
getOperationSpec
|
|
258
|
+
);
|
|
155
259
|
}
|
|
156
260
|
|
|
157
261
|
/**
|
|
158
|
-
*
|
|
262
|
+
* The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update
|
|
263
|
+
* other properties.
|
|
159
264
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
160
265
|
* @param clusterName The name of the cluster.
|
|
161
|
-
* @param
|
|
162
|
-
* @
|
|
163
|
-
*/
|
|
164
|
-
checkSystemServicesUpdatesAvailable(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse>;
|
|
165
|
-
/**
|
|
166
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
167
|
-
* @param clusterName The name of the cluster.
|
|
168
|
-
* @param callback The callback
|
|
169
|
-
*/
|
|
170
|
-
checkSystemServicesUpdatesAvailable(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<Models.CheckSystemServicesUpdatesAvailableResponse>): void;
|
|
171
|
-
/**
|
|
172
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
173
|
-
* @param clusterName The name of the cluster.
|
|
174
|
-
* @param options The optional parameters
|
|
175
|
-
* @param callback The callback
|
|
266
|
+
* @param parameters The parameters supplied to patch the cluster.
|
|
267
|
+
* @param options The options parameters.
|
|
176
268
|
*/
|
|
177
|
-
|
|
178
|
-
|
|
269
|
+
update(
|
|
270
|
+
resourceGroupName: string,
|
|
271
|
+
clusterName: string,
|
|
272
|
+
parameters: OperationalizationClusterUpdateParameters,
|
|
273
|
+
options?: OperationalizationClustersUpdateOptionalParams
|
|
274
|
+
): Promise<OperationalizationClustersUpdateResponse> {
|
|
179
275
|
return this.client.sendOperationRequest(
|
|
180
|
-
{
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
options
|
|
184
|
-
},
|
|
185
|
-
checkSystemServicesUpdatesAvailableOperationSpec,
|
|
186
|
-
callback) as Promise<Models.OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse>;
|
|
276
|
+
{ resourceGroupName, clusterName, parameters, options },
|
|
277
|
+
updateOperationSpec
|
|
278
|
+
);
|
|
187
279
|
}
|
|
188
280
|
|
|
189
281
|
/**
|
|
190
|
-
*
|
|
282
|
+
* Deletes the specified cluster.
|
|
191
283
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
192
284
|
* @param clusterName The name of the cluster.
|
|
193
|
-
* @param
|
|
194
|
-
* @returns Promise<Models.OperationalizationClustersUpdateSystemServicesResponse>
|
|
285
|
+
* @param options The options parameters.
|
|
195
286
|
*/
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
287
|
+
async beginDelete(
|
|
288
|
+
resourceGroupName: string,
|
|
289
|
+
clusterName: string,
|
|
290
|
+
options?: OperationalizationClustersDeleteOptionalParams
|
|
291
|
+
): Promise<
|
|
292
|
+
PollerLike<
|
|
293
|
+
PollOperationState<OperationalizationClustersDeleteResponse>,
|
|
294
|
+
OperationalizationClustersDeleteResponse
|
|
295
|
+
>
|
|
296
|
+
> {
|
|
297
|
+
const directSendOperation = async (
|
|
298
|
+
args: coreClient.OperationArguments,
|
|
299
|
+
spec: coreClient.OperationSpec
|
|
300
|
+
): Promise<OperationalizationClustersDeleteResponse> => {
|
|
301
|
+
return this.client.sendOperationRequest(args, spec);
|
|
302
|
+
};
|
|
303
|
+
const sendOperation = async (
|
|
304
|
+
args: coreClient.OperationArguments,
|
|
305
|
+
spec: coreClient.OperationSpec
|
|
306
|
+
) => {
|
|
307
|
+
let currentRawResponse:
|
|
308
|
+
| coreClient.FullOperationResponse
|
|
309
|
+
| undefined = undefined;
|
|
310
|
+
const providedCallback = args.options?.onResponse;
|
|
311
|
+
const callback: coreClient.RawResponseCallback = (
|
|
312
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
313
|
+
flatResponse: unknown
|
|
314
|
+
) => {
|
|
315
|
+
currentRawResponse = rawResponse;
|
|
316
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
317
|
+
};
|
|
318
|
+
const updatedArgs = {
|
|
319
|
+
...args,
|
|
320
|
+
options: {
|
|
321
|
+
...args.options,
|
|
322
|
+
onResponse: callback
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
326
|
+
return {
|
|
327
|
+
flatResponse,
|
|
328
|
+
rawResponse: {
|
|
329
|
+
statusCode: currentRawResponse!.status,
|
|
330
|
+
body: currentRawResponse!.parsedBody,
|
|
331
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
const lro = new LroImpl(
|
|
337
|
+
sendOperation,
|
|
338
|
+
{ resourceGroupName, clusterName, options },
|
|
339
|
+
deleteOperationSpec
|
|
340
|
+
);
|
|
341
|
+
return new LroEngine(lro, {
|
|
342
|
+
resumeFrom: options?.resumeFrom,
|
|
343
|
+
intervalInMs: options?.updateIntervalInMs
|
|
344
|
+
});
|
|
199
345
|
}
|
|
200
346
|
|
|
201
347
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
204
|
-
* @param [options] The optional parameters
|
|
205
|
-
* @returns Promise<Models.OperationalizationClustersListByResourceGroupResponse>
|
|
206
|
-
*/
|
|
207
|
-
listByResourceGroup(resourceGroupName: string, options?: Models.OperationalizationClustersListByResourceGroupOptionalParams): Promise<Models.OperationalizationClustersListByResourceGroupResponse>;
|
|
208
|
-
/**
|
|
209
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
210
|
-
* @param callback The callback
|
|
211
|
-
*/
|
|
212
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.PaginatedOperationalizationClustersList>): void;
|
|
213
|
-
/**
|
|
348
|
+
* Deletes the specified cluster.
|
|
214
349
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
215
|
-
* @param
|
|
216
|
-
* @param
|
|
350
|
+
* @param clusterName The name of the cluster.
|
|
351
|
+
* @param options The options parameters.
|
|
217
352
|
*/
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
353
|
+
async beginDeleteAndWait(
|
|
354
|
+
resourceGroupName: string,
|
|
355
|
+
clusterName: string,
|
|
356
|
+
options?: OperationalizationClustersDeleteOptionalParams
|
|
357
|
+
): Promise<OperationalizationClustersDeleteResponse> {
|
|
358
|
+
const poller = await this.beginDelete(
|
|
359
|
+
resourceGroupName,
|
|
360
|
+
clusterName,
|
|
361
|
+
options
|
|
362
|
+
);
|
|
363
|
+
return poller.pollUntilDone();
|
|
227
364
|
}
|
|
228
365
|
|
|
229
366
|
/**
|
|
230
|
-
* Gets the
|
|
231
|
-
*
|
|
232
|
-
* @
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* @param callback The callback
|
|
237
|
-
*/
|
|
238
|
-
listBySubscriptionId(callback: msRest.ServiceCallback<Models.PaginatedOperationalizationClustersList>): void;
|
|
239
|
-
/**
|
|
240
|
-
* @param options The optional parameters
|
|
241
|
-
* @param callback The callback
|
|
367
|
+
* Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a
|
|
368
|
+
* long running operation because it fetches keys from dependencies.
|
|
369
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
370
|
+
* @param clusterName The name of the cluster.
|
|
371
|
+
* @param options The options parameters.
|
|
242
372
|
*/
|
|
243
|
-
|
|
244
|
-
|
|
373
|
+
listKeys(
|
|
374
|
+
resourceGroupName: string,
|
|
375
|
+
clusterName: string,
|
|
376
|
+
options?: OperationalizationClustersListKeysOptionalParams
|
|
377
|
+
): Promise<OperationalizationClustersListKeysResponse> {
|
|
245
378
|
return this.client.sendOperationRequest(
|
|
246
|
-
{
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
listBySubscriptionIdOperationSpec,
|
|
250
|
-
callback) as Promise<Models.OperationalizationClustersListBySubscriptionIdResponse>;
|
|
379
|
+
{ resourceGroupName, clusterName, options },
|
|
380
|
+
listKeysOperationSpec
|
|
381
|
+
);
|
|
251
382
|
}
|
|
252
383
|
|
|
253
384
|
/**
|
|
254
|
-
*
|
|
385
|
+
* Checks if updates are available for system services in the cluster.
|
|
255
386
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
256
387
|
* @param clusterName The name of the cluster.
|
|
257
|
-
* @param
|
|
258
|
-
* @param [options] The optional parameters
|
|
259
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
388
|
+
* @param options The options parameters.
|
|
260
389
|
*/
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
390
|
+
checkSystemServicesUpdatesAvailable(
|
|
391
|
+
resourceGroupName: string,
|
|
392
|
+
clusterName: string,
|
|
393
|
+
options?: OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams
|
|
394
|
+
): Promise<
|
|
395
|
+
OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse
|
|
396
|
+
> {
|
|
397
|
+
return this.client.sendOperationRequest(
|
|
398
|
+
{ resourceGroupName, clusterName, options },
|
|
399
|
+
checkSystemServicesUpdatesAvailableOperationSpec
|
|
400
|
+
);
|
|
271
401
|
}
|
|
272
402
|
|
|
273
403
|
/**
|
|
274
|
-
*
|
|
404
|
+
* Updates system services in a cluster.
|
|
275
405
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
276
406
|
* @param clusterName The name of the cluster.
|
|
277
|
-
* @param
|
|
278
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
407
|
+
* @param options The options parameters.
|
|
279
408
|
*/
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
409
|
+
async beginUpdateSystemServices(
|
|
410
|
+
resourceGroupName: string,
|
|
411
|
+
clusterName: string,
|
|
412
|
+
options?: OperationalizationClustersUpdateSystemServicesOptionalParams
|
|
413
|
+
): Promise<
|
|
414
|
+
PollerLike<
|
|
415
|
+
PollOperationState<
|
|
416
|
+
OperationalizationClustersUpdateSystemServicesResponse
|
|
417
|
+
>,
|
|
418
|
+
OperationalizationClustersUpdateSystemServicesResponse
|
|
419
|
+
>
|
|
420
|
+
> {
|
|
421
|
+
const directSendOperation = async (
|
|
422
|
+
args: coreClient.OperationArguments,
|
|
423
|
+
spec: coreClient.OperationSpec
|
|
424
|
+
): Promise<OperationalizationClustersUpdateSystemServicesResponse> => {
|
|
425
|
+
return this.client.sendOperationRequest(args, spec);
|
|
426
|
+
};
|
|
427
|
+
const sendOperation = async (
|
|
428
|
+
args: coreClient.OperationArguments,
|
|
429
|
+
spec: coreClient.OperationSpec
|
|
430
|
+
) => {
|
|
431
|
+
let currentRawResponse:
|
|
432
|
+
| coreClient.FullOperationResponse
|
|
433
|
+
| undefined = undefined;
|
|
434
|
+
const providedCallback = args.options?.onResponse;
|
|
435
|
+
const callback: coreClient.RawResponseCallback = (
|
|
436
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
437
|
+
flatResponse: unknown
|
|
438
|
+
) => {
|
|
439
|
+
currentRawResponse = rawResponse;
|
|
440
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
441
|
+
};
|
|
442
|
+
const updatedArgs = {
|
|
443
|
+
...args,
|
|
444
|
+
options: {
|
|
445
|
+
...args.options,
|
|
446
|
+
onResponse: callback
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
450
|
+
return {
|
|
451
|
+
flatResponse,
|
|
452
|
+
rawResponse: {
|
|
453
|
+
statusCode: currentRawResponse!.status,
|
|
454
|
+
body: currentRawResponse!.parsedBody,
|
|
455
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
const lro = new LroImpl(
|
|
461
|
+
sendOperation,
|
|
462
|
+
{ resourceGroupName, clusterName, options },
|
|
463
|
+
updateSystemServicesOperationSpec
|
|
464
|
+
);
|
|
465
|
+
return new LroEngine(lro, {
|
|
466
|
+
resumeFrom: options?.resumeFrom,
|
|
467
|
+
intervalInMs: options?.updateIntervalInMs
|
|
468
|
+
});
|
|
289
469
|
}
|
|
290
470
|
|
|
291
471
|
/**
|
|
292
472
|
* Updates system services in a cluster.
|
|
293
473
|
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
294
474
|
* @param clusterName The name of the cluster.
|
|
295
|
-
* @param
|
|
296
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
475
|
+
* @param options The options parameters.
|
|
297
476
|
*/
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
options
|
|
477
|
+
async beginUpdateSystemServicesAndWait(
|
|
478
|
+
resourceGroupName: string,
|
|
479
|
+
clusterName: string,
|
|
480
|
+
options?: OperationalizationClustersUpdateSystemServicesOptionalParams
|
|
481
|
+
): Promise<OperationalizationClustersUpdateSystemServicesResponse> {
|
|
482
|
+
const poller = await this.beginUpdateSystemServices(
|
|
483
|
+
resourceGroupName,
|
|
484
|
+
clusterName,
|
|
485
|
+
options
|
|
486
|
+
);
|
|
487
|
+
return poller.pollUntilDone();
|
|
307
488
|
}
|
|
308
489
|
|
|
309
490
|
/**
|
|
310
491
|
* Gets the clusters in the specified resource group.
|
|
311
|
-
* @param
|
|
312
|
-
* @param
|
|
313
|
-
* @returns Promise<Models.OperationalizationClustersListByResourceGroupNextResponse>
|
|
314
|
-
*/
|
|
315
|
-
listByResourceGroupNext(nextPageLink: string, options?: Models.OperationalizationClustersListByResourceGroupNextOptionalParams): Promise<Models.OperationalizationClustersListByResourceGroupNextResponse>;
|
|
316
|
-
/**
|
|
317
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
318
|
-
* @param callback The callback
|
|
319
|
-
*/
|
|
320
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PaginatedOperationalizationClustersList>): void;
|
|
321
|
-
/**
|
|
322
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
323
|
-
* @param options The optional parameters
|
|
324
|
-
* @param callback The callback
|
|
492
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
493
|
+
* @param options The options parameters.
|
|
325
494
|
*/
|
|
326
|
-
|
|
327
|
-
|
|
495
|
+
private _listByResourceGroup(
|
|
496
|
+
resourceGroupName: string,
|
|
497
|
+
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
498
|
+
): Promise<OperationalizationClustersListByResourceGroupResponse> {
|
|
328
499
|
return this.client.sendOperationRequest(
|
|
329
|
-
{
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
},
|
|
333
|
-
listByResourceGroupNextOperationSpec,
|
|
334
|
-
callback) as Promise<Models.OperationalizationClustersListByResourceGroupNextResponse>;
|
|
500
|
+
{ resourceGroupName, options },
|
|
501
|
+
listByResourceGroupOperationSpec
|
|
502
|
+
);
|
|
335
503
|
}
|
|
336
504
|
|
|
337
505
|
/**
|
|
338
506
|
* Gets the operationalization clusters in the specified subscription.
|
|
339
|
-
* @param
|
|
340
|
-
* @param [options] The optional parameters
|
|
341
|
-
* @returns Promise<Models.OperationalizationClustersListBySubscriptionIdNextResponse>
|
|
507
|
+
* @param options The options parameters.
|
|
342
508
|
*/
|
|
343
|
-
|
|
509
|
+
private _listBySubscriptionId(
|
|
510
|
+
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
511
|
+
): Promise<OperationalizationClustersListBySubscriptionIdResponse> {
|
|
512
|
+
return this.client.sendOperationRequest(
|
|
513
|
+
{ options },
|
|
514
|
+
listBySubscriptionIdOperationSpec
|
|
515
|
+
);
|
|
516
|
+
}
|
|
517
|
+
|
|
344
518
|
/**
|
|
345
|
-
*
|
|
346
|
-
* @param
|
|
519
|
+
* ListByResourceGroupNext
|
|
520
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
521
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
522
|
+
* @param options The options parameters.
|
|
347
523
|
*/
|
|
348
|
-
|
|
524
|
+
private _listByResourceGroupNext(
|
|
525
|
+
resourceGroupName: string,
|
|
526
|
+
nextLink: string,
|
|
527
|
+
options?: OperationalizationClustersListByResourceGroupNextOptionalParams
|
|
528
|
+
): Promise<OperationalizationClustersListByResourceGroupNextResponse> {
|
|
529
|
+
return this.client.sendOperationRequest(
|
|
530
|
+
{ resourceGroupName, nextLink, options },
|
|
531
|
+
listByResourceGroupNextOperationSpec
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
|
|
349
535
|
/**
|
|
350
|
-
*
|
|
351
|
-
* @param
|
|
352
|
-
* @param
|
|
536
|
+
* ListBySubscriptionIdNext
|
|
537
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
|
|
538
|
+
* @param options The options parameters.
|
|
353
539
|
*/
|
|
354
|
-
|
|
355
|
-
|
|
540
|
+
private _listBySubscriptionIdNext(
|
|
541
|
+
nextLink: string,
|
|
542
|
+
options?: OperationalizationClustersListBySubscriptionIdNextOptionalParams
|
|
543
|
+
): Promise<OperationalizationClustersListBySubscriptionIdNextResponse> {
|
|
356
544
|
return this.client.sendOperationRequest(
|
|
357
|
-
{
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
},
|
|
361
|
-
listBySubscriptionIdNextOperationSpec,
|
|
362
|
-
callback) as Promise<Models.OperationalizationClustersListBySubscriptionIdNextResponse>;
|
|
545
|
+
{ nextLink, options },
|
|
546
|
+
listBySubscriptionIdNextOperationSpec
|
|
547
|
+
);
|
|
363
548
|
}
|
|
364
549
|
}
|
|
365
|
-
|
|
366
550
|
// Operation Specifications
|
|
367
|
-
const serializer =
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
path:
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
Parameters.resourceGroupName,
|
|
374
|
-
Parameters.clusterName
|
|
375
|
-
],
|
|
376
|
-
queryParameters: [
|
|
377
|
-
Parameters.apiVersion
|
|
378
|
-
],
|
|
379
|
-
headerParameters: [
|
|
380
|
-
Parameters.acceptLanguage
|
|
381
|
-
],
|
|
551
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
552
|
+
|
|
553
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
554
|
+
path:
|
|
555
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
556
|
+
httpMethod: "PUT",
|
|
382
557
|
responses: {
|
|
383
558
|
200: {
|
|
384
559
|
bodyMapper: Mappers.OperationalizationCluster
|
|
385
560
|
},
|
|
561
|
+
201: {
|
|
562
|
+
bodyMapper: Mappers.OperationalizationCluster
|
|
563
|
+
},
|
|
564
|
+
202: {
|
|
565
|
+
bodyMapper: Mappers.OperationalizationCluster
|
|
566
|
+
},
|
|
567
|
+
204: {
|
|
568
|
+
bodyMapper: Mappers.OperationalizationCluster
|
|
569
|
+
},
|
|
386
570
|
default: {
|
|
387
571
|
bodyMapper: Mappers.ErrorResponseWrapper
|
|
388
572
|
}
|
|
389
573
|
},
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
394
|
-
httpMethod: "PATCH",
|
|
395
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
574
|
+
requestBody: Parameters.parameters,
|
|
575
|
+
queryParameters: [Parameters.apiVersion],
|
|
396
576
|
urlParameters: [
|
|
577
|
+
Parameters.$host,
|
|
397
578
|
Parameters.subscriptionId,
|
|
398
579
|
Parameters.resourceGroupName,
|
|
399
580
|
Parameters.clusterName
|
|
400
581
|
],
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
mapper: {
|
|
410
|
-
...Mappers.OperationalizationClusterUpdateParameters,
|
|
411
|
-
required: true
|
|
412
|
-
}
|
|
413
|
-
},
|
|
582
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
583
|
+
mediaType: "json",
|
|
584
|
+
serializer
|
|
585
|
+
};
|
|
586
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
587
|
+
path:
|
|
588
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
589
|
+
httpMethod: "GET",
|
|
414
590
|
responses: {
|
|
415
591
|
200: {
|
|
416
592
|
bodyMapper: Mappers.OperationalizationCluster
|
|
@@ -419,249 +595,201 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
|
419
595
|
bodyMapper: Mappers.ErrorResponseWrapper
|
|
420
596
|
}
|
|
421
597
|
},
|
|
422
|
-
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
const listKeysOperationSpec: msRest.OperationSpec = {
|
|
426
|
-
httpMethod: "POST",
|
|
427
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
|
|
598
|
+
queryParameters: [Parameters.apiVersion],
|
|
428
599
|
urlParameters: [
|
|
600
|
+
Parameters.$host,
|
|
429
601
|
Parameters.subscriptionId,
|
|
430
602
|
Parameters.resourceGroupName,
|
|
431
603
|
Parameters.clusterName
|
|
432
604
|
],
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
605
|
+
headerParameters: [Parameters.accept],
|
|
606
|
+
serializer
|
|
607
|
+
};
|
|
608
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
609
|
+
path:
|
|
610
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
611
|
+
httpMethod: "PATCH",
|
|
439
612
|
responses: {
|
|
440
613
|
200: {
|
|
441
|
-
bodyMapper: Mappers.
|
|
614
|
+
bodyMapper: Mappers.OperationalizationCluster
|
|
442
615
|
},
|
|
443
616
|
default: {
|
|
444
|
-
bodyMapper: Mappers.
|
|
617
|
+
bodyMapper: Mappers.ErrorResponseWrapper
|
|
445
618
|
}
|
|
446
619
|
},
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
const checkSystemServicesUpdatesAvailableOperationSpec: msRest.OperationSpec = {
|
|
451
|
-
httpMethod: "POST",
|
|
452
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
|
|
620
|
+
requestBody: Parameters.parameters1,
|
|
621
|
+
queryParameters: [Parameters.apiVersion],
|
|
453
622
|
urlParameters: [
|
|
623
|
+
Parameters.$host,
|
|
454
624
|
Parameters.subscriptionId,
|
|
455
625
|
Parameters.resourceGroupName,
|
|
456
626
|
Parameters.clusterName
|
|
457
627
|
],
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
628
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
629
|
+
mediaType: "json",
|
|
630
|
+
serializer
|
|
631
|
+
};
|
|
632
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
633
|
+
path:
|
|
634
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
635
|
+
httpMethod: "DELETE",
|
|
464
636
|
responses: {
|
|
465
637
|
200: {
|
|
466
|
-
|
|
638
|
+
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
639
|
+
},
|
|
640
|
+
201: {
|
|
641
|
+
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
642
|
+
},
|
|
643
|
+
202: {
|
|
644
|
+
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
645
|
+
},
|
|
646
|
+
204: {
|
|
647
|
+
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
467
648
|
},
|
|
468
649
|
default: {
|
|
469
|
-
bodyMapper: Mappers.
|
|
650
|
+
bodyMapper: Mappers.ErrorResponseWrapper
|
|
470
651
|
}
|
|
471
652
|
},
|
|
472
|
-
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
476
|
-
httpMethod: "GET",
|
|
477
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
|
|
653
|
+
queryParameters: [Parameters.apiVersion, Parameters.deleteAll],
|
|
478
654
|
urlParameters: [
|
|
655
|
+
Parameters.$host,
|
|
479
656
|
Parameters.subscriptionId,
|
|
480
|
-
Parameters.resourceGroupName
|
|
481
|
-
|
|
482
|
-
queryParameters: [
|
|
483
|
-
Parameters.apiVersion,
|
|
484
|
-
Parameters.skiptoken
|
|
485
|
-
],
|
|
486
|
-
headerParameters: [
|
|
487
|
-
Parameters.acceptLanguage
|
|
657
|
+
Parameters.resourceGroupName,
|
|
658
|
+
Parameters.clusterName
|
|
488
659
|
],
|
|
489
|
-
|
|
490
|
-
200: {
|
|
491
|
-
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
492
|
-
},
|
|
493
|
-
default: {
|
|
494
|
-
bodyMapper: Mappers.CloudError
|
|
495
|
-
}
|
|
496
|
-
},
|
|
660
|
+
headerParameters: [Parameters.accept],
|
|
497
661
|
serializer
|
|
498
662
|
};
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
urlParameters: [
|
|
504
|
-
Parameters.subscriptionId
|
|
505
|
-
],
|
|
506
|
-
queryParameters: [
|
|
507
|
-
Parameters.apiVersion,
|
|
508
|
-
Parameters.skiptoken
|
|
509
|
-
],
|
|
510
|
-
headerParameters: [
|
|
511
|
-
Parameters.acceptLanguage
|
|
512
|
-
],
|
|
663
|
+
const listKeysOperationSpec: coreClient.OperationSpec = {
|
|
664
|
+
path:
|
|
665
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
|
|
666
|
+
httpMethod: "POST",
|
|
513
667
|
responses: {
|
|
514
668
|
200: {
|
|
515
|
-
bodyMapper: Mappers.
|
|
516
|
-
},
|
|
517
|
-
default: {
|
|
518
|
-
bodyMapper: Mappers.CloudError
|
|
669
|
+
bodyMapper: Mappers.OperationalizationClusterCredentials
|
|
519
670
|
}
|
|
520
671
|
},
|
|
521
|
-
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
525
|
-
httpMethod: "PUT",
|
|
526
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
672
|
+
queryParameters: [Parameters.apiVersion],
|
|
527
673
|
urlParameters: [
|
|
674
|
+
Parameters.$host,
|
|
528
675
|
Parameters.subscriptionId,
|
|
529
676
|
Parameters.resourceGroupName,
|
|
530
677
|
Parameters.clusterName
|
|
531
678
|
],
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
parameterPath: "parameters",
|
|
540
|
-
mapper: {
|
|
541
|
-
...Mappers.OperationalizationCluster,
|
|
542
|
-
required: true
|
|
543
|
-
}
|
|
544
|
-
},
|
|
679
|
+
headerParameters: [Parameters.accept],
|
|
680
|
+
serializer
|
|
681
|
+
};
|
|
682
|
+
const checkSystemServicesUpdatesAvailableOperationSpec: coreClient.OperationSpec = {
|
|
683
|
+
path:
|
|
684
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
|
|
685
|
+
httpMethod: "POST",
|
|
545
686
|
responses: {
|
|
546
687
|
200: {
|
|
547
|
-
bodyMapper: Mappers.
|
|
548
|
-
},
|
|
549
|
-
201: {
|
|
550
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
551
|
-
},
|
|
552
|
-
default: {
|
|
553
|
-
bodyMapper: Mappers.ErrorResponseWrapper
|
|
688
|
+
bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse
|
|
554
689
|
}
|
|
555
690
|
},
|
|
556
|
-
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
560
|
-
httpMethod: "DELETE",
|
|
561
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
691
|
+
queryParameters: [Parameters.apiVersion],
|
|
562
692
|
urlParameters: [
|
|
693
|
+
Parameters.$host,
|
|
563
694
|
Parameters.subscriptionId,
|
|
564
695
|
Parameters.resourceGroupName,
|
|
565
696
|
Parameters.clusterName
|
|
566
697
|
],
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
698
|
+
headerParameters: [Parameters.accept],
|
|
699
|
+
serializer
|
|
700
|
+
};
|
|
701
|
+
const updateSystemServicesOperationSpec: coreClient.OperationSpec = {
|
|
702
|
+
path:
|
|
703
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
|
|
704
|
+
httpMethod: "POST",
|
|
574
705
|
responses: {
|
|
706
|
+
200: {
|
|
707
|
+
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
708
|
+
},
|
|
709
|
+
201: {
|
|
710
|
+
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
711
|
+
},
|
|
575
712
|
202: {
|
|
576
|
-
|
|
713
|
+
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
577
714
|
},
|
|
578
715
|
204: {
|
|
579
|
-
|
|
580
|
-
},
|
|
581
|
-
default: {
|
|
582
|
-
bodyMapper: Mappers.ErrorResponseWrapper,
|
|
583
|
-
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
716
|
+
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
584
717
|
}
|
|
585
718
|
},
|
|
586
|
-
|
|
587
|
-
};
|
|
588
|
-
|
|
589
|
-
const beginUpdateSystemServicesOperationSpec: msRest.OperationSpec = {
|
|
590
|
-
httpMethod: "POST",
|
|
591
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
|
|
719
|
+
queryParameters: [Parameters.apiVersion],
|
|
592
720
|
urlParameters: [
|
|
721
|
+
Parameters.$host,
|
|
593
722
|
Parameters.subscriptionId,
|
|
594
723
|
Parameters.resourceGroupName,
|
|
595
724
|
Parameters.clusterName
|
|
596
725
|
],
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
726
|
+
headerParameters: [Parameters.accept],
|
|
727
|
+
serializer
|
|
728
|
+
};
|
|
729
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
730
|
+
path:
|
|
731
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
|
|
732
|
+
httpMethod: "GET",
|
|
603
733
|
responses: {
|
|
604
734
|
200: {
|
|
605
|
-
bodyMapper: Mappers.
|
|
606
|
-
headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders
|
|
607
|
-
},
|
|
608
|
-
202: {
|
|
609
|
-
headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders
|
|
610
|
-
},
|
|
611
|
-
default: {
|
|
612
|
-
bodyMapper: Mappers.CloudError,
|
|
613
|
-
headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders
|
|
735
|
+
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
614
736
|
}
|
|
615
737
|
},
|
|
738
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
739
|
+
urlParameters: [
|
|
740
|
+
Parameters.$host,
|
|
741
|
+
Parameters.subscriptionId,
|
|
742
|
+
Parameters.resourceGroupName
|
|
743
|
+
],
|
|
744
|
+
headerParameters: [Parameters.accept],
|
|
616
745
|
serializer
|
|
617
746
|
};
|
|
618
|
-
|
|
619
|
-
|
|
747
|
+
const listBySubscriptionIdOperationSpec: coreClient.OperationSpec = {
|
|
748
|
+
path:
|
|
749
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
|
|
620
750
|
httpMethod: "GET",
|
|
621
|
-
baseUrl: "https://management.azure.com",
|
|
622
|
-
path: "{nextLink}",
|
|
623
|
-
urlParameters: [
|
|
624
|
-
Parameters.nextPageLink
|
|
625
|
-
],
|
|
626
|
-
queryParameters: [
|
|
627
|
-
Parameters.apiVersion,
|
|
628
|
-
Parameters.skiptoken
|
|
629
|
-
],
|
|
630
|
-
headerParameters: [
|
|
631
|
-
Parameters.acceptLanguage
|
|
632
|
-
],
|
|
633
751
|
responses: {
|
|
634
752
|
200: {
|
|
635
753
|
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
636
|
-
},
|
|
637
|
-
default: {
|
|
638
|
-
bodyMapper: Mappers.CloudError
|
|
639
754
|
}
|
|
640
755
|
},
|
|
756
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
757
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
758
|
+
headerParameters: [Parameters.accept],
|
|
641
759
|
serializer
|
|
642
760
|
};
|
|
643
|
-
|
|
644
|
-
const listBySubscriptionIdNextOperationSpec: msRest.OperationSpec = {
|
|
645
|
-
httpMethod: "GET",
|
|
646
|
-
baseUrl: "https://management.azure.com",
|
|
761
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
647
762
|
path: "{nextLink}",
|
|
763
|
+
httpMethod: "GET",
|
|
764
|
+
responses: {
|
|
765
|
+
200: {
|
|
766
|
+
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
648
770
|
urlParameters: [
|
|
649
|
-
Parameters
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
Parameters.
|
|
653
|
-
Parameters.skiptoken
|
|
654
|
-
],
|
|
655
|
-
headerParameters: [
|
|
656
|
-
Parameters.acceptLanguage
|
|
771
|
+
Parameters.$host,
|
|
772
|
+
Parameters.subscriptionId,
|
|
773
|
+
Parameters.resourceGroupName,
|
|
774
|
+
Parameters.nextLink
|
|
657
775
|
],
|
|
776
|
+
headerParameters: [Parameters.accept],
|
|
777
|
+
serializer
|
|
778
|
+
};
|
|
779
|
+
const listBySubscriptionIdNextOperationSpec: coreClient.OperationSpec = {
|
|
780
|
+
path: "{nextLink}",
|
|
781
|
+
httpMethod: "GET",
|
|
658
782
|
responses: {
|
|
659
783
|
200: {
|
|
660
784
|
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
661
|
-
},
|
|
662
|
-
default: {
|
|
663
|
-
bodyMapper: Mappers.CloudError
|
|
664
785
|
}
|
|
665
786
|
},
|
|
787
|
+
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
788
|
+
urlParameters: [
|
|
789
|
+
Parameters.$host,
|
|
790
|
+
Parameters.subscriptionId,
|
|
791
|
+
Parameters.nextLink
|
|
792
|
+
],
|
|
793
|
+
headerParameters: [Parameters.accept],
|
|
666
794
|
serializer
|
|
667
795
|
};
|