@azure/arm-commitmentplans 1.3.1 → 2.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 -80
- package/dist/index.js +1794 -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/azureMLCommitmentPlansManagementClient.d.ts +22 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.js +55 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.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/models/index.d.ts +522 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +27 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +24 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +352 -337
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +125 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/commitmentAssociations.d.ts +55 -0
- package/dist-esm/src/operations/commitmentAssociations.d.ts.map +1 -0
- package/dist-esm/src/operations/commitmentAssociations.js +203 -0
- package/dist-esm/src/operations/commitmentAssociations.js.map +1 -0
- package/dist-esm/src/operations/commitmentPlans.d.ts +84 -0
- package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
- package/dist-esm/src/operations/commitmentPlans.js +332 -0
- package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +87 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +26 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +87 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/usageHistory.d.ts +38 -0
- package/dist-esm/src/operations/usageHistory.d.ts.map +1 -0
- package/dist-esm/src/operations/usageHistory.js +131 -0
- package/dist-esm/src/operations/usageHistory.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.d.ts +30 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.js +9 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.js +9 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.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/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.js +9 -0
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.js +9 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.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 +74 -33
- package/review/arm-commitmentplans.api.md +405 -0
- package/rollup.config.js +184 -27
- package/src/azureMLCommitmentPlansManagementClient.ts +82 -41
- package/src/index.ts +12 -0
- package/src/models/index.ts +388 -745
- package/src/models/mappers.ts +354 -336
- package/src/models/parameters.ts +87 -35
- package/src/operations/commitmentAssociations.ts +183 -174
- package/src/operations/commitmentPlans.ts +277 -340
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +95 -0
- package/src/operations/skus.ts +65 -48
- package/src/operations/usageHistory.ts +135 -89
- package/src/operationsInterfaces/commitmentAssociations.ts +62 -0
- package/src/operationsInterfaces/commitmentPlans.ts +92 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/usageHistory.ts +26 -0
- package/tsconfig.json +6 -5
- package/types/arm-commitmentplans.d.ts +706 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-commitmentplans.js +0 -1659
- package/dist/arm-commitmentplans.js.map +0 -1
- package/dist/arm-commitmentplans.min.js +0 -1
- package/dist/arm-commitmentplans.min.js.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClient.d.ts +0 -27
- package/esm/azureMLCommitmentPlansManagementClient.d.ts.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClient.js +0 -41
- package/esm/azureMLCommitmentPlansManagementClient.js.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClientContext.d.ts +0 -22
- package/esm/azureMLCommitmentPlansManagementClientContext.d.ts.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClientContext.js +0 -61
- package/esm/azureMLCommitmentPlansManagementClientContext.js.map +0 -1
- package/esm/models/commitmentAssociationsMappers.d.ts +0 -2
- package/esm/models/commitmentAssociationsMappers.d.ts.map +0 -1
- package/esm/models/commitmentAssociationsMappers.js +0 -11
- package/esm/models/commitmentAssociationsMappers.js.map +0 -1
- package/esm/models/commitmentPlansMappers.d.ts +0 -2
- package/esm/models/commitmentPlansMappers.d.ts.map +0 -1
- package/esm/models/commitmentPlansMappers.js +0 -11
- package/esm/models/commitmentPlansMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -901
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -23
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.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 -93
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js +0 -11
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/usageHistoryMappers.d.ts +0 -2
- package/esm/models/usageHistoryMappers.d.ts.map +0 -1
- package/esm/models/usageHistoryMappers.js +0 -11
- package/esm/models/usageHistoryMappers.js.map +0 -1
- package/esm/operations/commitmentAssociations.d.ts +0 -103
- package/esm/operations/commitmentAssociations.d.ts.map +0 -1
- package/esm/operations/commitmentAssociations.js +0 -157
- package/esm/operations/commitmentAssociations.js.map +0 -1
- package/esm/operations/commitmentPlans.d.ts +0 -175
- package/esm/operations/commitmentPlans.d.ts.map +0 -1
- package/esm/operations/commitmentPlans.js +0 -273
- package/esm/operations/commitmentPlans.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/skus.d.ts +0 -28
- package/esm/operations/skus.d.ts.map +0 -1
- package/esm/operations/skus.js +0 -54
- package/esm/operations/skus.js.map +0 -1
- package/esm/operations/usageHistory.d.ts +0 -52
- package/esm/operations/usageHistory.d.ts.map +0 -1
- package/esm/operations/usageHistory.js +0 -85
- package/esm/operations/usageHistory.js.map +0 -1
- package/src/azureMLCommitmentPlansManagementClientContext.ts +0 -68
- package/src/models/commitmentAssociationsMappers.ts +0 -24
- package/src/models/commitmentPlansMappers.ts +0 -24
- package/src/models/skusMappers.ts +0 -20
- package/src/models/usageHistoryMappers.ts +0 -16
|
@@ -1,483 +1,420 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { CommitmentPlans } 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 { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
CommitmentPlan,
|
|
17
|
+
CommitmentPlansListNextOptionalParams,
|
|
18
|
+
CommitmentPlansListOptionalParams,
|
|
19
|
+
CommitmentPlansListInResourceGroupNextOptionalParams,
|
|
20
|
+
CommitmentPlansListInResourceGroupOptionalParams,
|
|
21
|
+
CommitmentPlansGetOptionalParams,
|
|
22
|
+
CommitmentPlansGetResponse,
|
|
23
|
+
CommitmentPlansCreateOrUpdateOptionalParams,
|
|
24
|
+
CommitmentPlansCreateOrUpdateResponse,
|
|
25
|
+
CommitmentPlansRemoveOptionalParams,
|
|
26
|
+
CommitmentPlanPatchPayload,
|
|
27
|
+
CommitmentPlansPatchOptionalParams,
|
|
28
|
+
CommitmentPlansPatchResponse,
|
|
29
|
+
CommitmentPlansListResponse,
|
|
30
|
+
CommitmentPlansListInResourceGroupResponse,
|
|
31
|
+
CommitmentPlansListNextResponse,
|
|
32
|
+
CommitmentPlansListInResourceGroupNextResponse
|
|
33
|
+
} from "../models";
|
|
16
34
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
35
|
+
/// <reference lib="esnext.asynciterable" />
|
|
36
|
+
/** Class containing CommitmentPlans operations. */
|
|
37
|
+
export class CommitmentPlansImpl implements CommitmentPlans {
|
|
38
|
+
private readonly client: AzureMLCommitmentPlansManagementClient;
|
|
20
39
|
|
|
21
40
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
41
|
+
* Initialize a new instance of the class CommitmentPlans class.
|
|
42
|
+
* @param client Reference to the service client
|
|
24
43
|
*/
|
|
25
|
-
constructor(client:
|
|
44
|
+
constructor(client: AzureMLCommitmentPlansManagementClient) {
|
|
26
45
|
this.client = client;
|
|
27
46
|
}
|
|
28
47
|
|
|
29
48
|
/**
|
|
30
|
-
* Retrieve
|
|
31
|
-
* @param
|
|
32
|
-
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
33
|
-
* @param [options] The optional parameters
|
|
34
|
-
* @returns Promise<Models.CommitmentPlansGetResponse>
|
|
35
|
-
*/
|
|
36
|
-
get(resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase): Promise<Models.CommitmentPlansGetResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* @param resourceGroupName The resource group name.
|
|
39
|
-
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
40
|
-
* @param callback The callback
|
|
49
|
+
* Retrieve all Azure ML commitment plans in a subscription.
|
|
50
|
+
* @param options The options parameters.
|
|
41
51
|
*/
|
|
42
|
-
|
|
52
|
+
public list(
|
|
53
|
+
options?: CommitmentPlansListOptionalParams
|
|
54
|
+
): PagedAsyncIterableIterator<CommitmentPlan> {
|
|
55
|
+
const iter = this.listPagingAll(options);
|
|
56
|
+
return {
|
|
57
|
+
next() {
|
|
58
|
+
return iter.next();
|
|
59
|
+
},
|
|
60
|
+
[Symbol.asyncIterator]() {
|
|
61
|
+
return this;
|
|
62
|
+
},
|
|
63
|
+
byPage: () => {
|
|
64
|
+
return this.listPagingPage(options);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
private async *listPagingPage(
|
|
70
|
+
options?: CommitmentPlansListOptionalParams
|
|
71
|
+
): AsyncIterableIterator<CommitmentPlan[]> {
|
|
72
|
+
let result = await this._list(options);
|
|
73
|
+
yield result.value || [];
|
|
74
|
+
let continuationToken = result.nextLink;
|
|
75
|
+
while (continuationToken) {
|
|
76
|
+
result = await this._listNext(continuationToken, options);
|
|
77
|
+
continuationToken = result.nextLink;
|
|
78
|
+
yield result.value || [];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
private async *listPagingAll(
|
|
83
|
+
options?: CommitmentPlansListOptionalParams
|
|
84
|
+
): AsyncIterableIterator<CommitmentPlan> {
|
|
85
|
+
for await (const page of this.listPagingPage(options)) {
|
|
86
|
+
yield* page;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
43
90
|
/**
|
|
91
|
+
* Retrieve all Azure ML commitment plans in a resource group.
|
|
44
92
|
* @param resourceGroupName The resource group name.
|
|
45
|
-
* @param
|
|
46
|
-
* @param options The optional parameters
|
|
47
|
-
* @param callback The callback
|
|
93
|
+
* @param options The options parameters.
|
|
48
94
|
*/
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
95
|
+
public listInResourceGroup(
|
|
96
|
+
resourceGroupName: string,
|
|
97
|
+
options?: CommitmentPlansListInResourceGroupOptionalParams
|
|
98
|
+
): PagedAsyncIterableIterator<CommitmentPlan> {
|
|
99
|
+
const iter = this.listInResourceGroupPagingAll(resourceGroupName, options);
|
|
100
|
+
return {
|
|
101
|
+
next() {
|
|
102
|
+
return iter.next();
|
|
103
|
+
},
|
|
104
|
+
[Symbol.asyncIterator]() {
|
|
105
|
+
return this;
|
|
106
|
+
},
|
|
107
|
+
byPage: () => {
|
|
108
|
+
return this.listInResourceGroupPagingPage(resourceGroupName, options);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
private async *listInResourceGroupPagingPage(
|
|
114
|
+
resourceGroupName: string,
|
|
115
|
+
options?: CommitmentPlansListInResourceGroupOptionalParams
|
|
116
|
+
): AsyncIterableIterator<CommitmentPlan[]> {
|
|
117
|
+
let result = await this._listInResourceGroup(resourceGroupName, options);
|
|
118
|
+
yield result.value || [];
|
|
119
|
+
let continuationToken = result.nextLink;
|
|
120
|
+
while (continuationToken) {
|
|
121
|
+
result = await this._listInResourceGroupNext(
|
|
53
122
|
resourceGroupName,
|
|
54
|
-
|
|
123
|
+
continuationToken,
|
|
55
124
|
options
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
125
|
+
);
|
|
126
|
+
continuationToken = result.nextLink;
|
|
127
|
+
yield result.value || [];
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
private async *listInResourceGroupPagingAll(
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
options?: CommitmentPlansListInResourceGroupOptionalParams
|
|
134
|
+
): AsyncIterableIterator<CommitmentPlan> {
|
|
135
|
+
for await (const page of this.listInResourceGroupPagingPage(
|
|
136
|
+
resourceGroupName,
|
|
137
|
+
options
|
|
138
|
+
)) {
|
|
139
|
+
yield* page;
|
|
140
|
+
}
|
|
59
141
|
}
|
|
60
142
|
|
|
61
143
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan.
|
|
144
|
+
* Retrieve an Azure ML commitment plan by its subscription, resource group and name.
|
|
64
145
|
* @param resourceGroupName The resource group name.
|
|
65
146
|
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
66
|
-
* @param
|
|
67
|
-
* @returns Promise<Models.CommitmentPlansCreateOrUpdateResponse>
|
|
147
|
+
* @param options The options parameters.
|
|
68
148
|
*/
|
|
69
|
-
|
|
149
|
+
get(
|
|
150
|
+
resourceGroupName: string,
|
|
151
|
+
commitmentPlanName: string,
|
|
152
|
+
options?: CommitmentPlansGetOptionalParams
|
|
153
|
+
): Promise<CommitmentPlansGetResponse> {
|
|
154
|
+
return this.client.sendOperationRequest(
|
|
155
|
+
{ resourceGroupName, commitmentPlanName, options },
|
|
156
|
+
getOperationSpec
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
|
|
70
160
|
/**
|
|
71
|
-
*
|
|
161
|
+
* Create a new Azure ML commitment plan resource or updates an existing one.
|
|
72
162
|
* @param resourceGroupName The resource group name.
|
|
73
163
|
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
74
|
-
* @param callback The callback
|
|
75
|
-
*/
|
|
76
|
-
createOrUpdate(createOrUpdatePayload: Models.CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback<Models.CommitmentPlan>): void;
|
|
77
|
-
/**
|
|
78
164
|
* @param createOrUpdatePayload The payload to create or update the Azure ML commitment plan.
|
|
79
|
-
* @param
|
|
80
|
-
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
81
|
-
* @param options The optional parameters
|
|
82
|
-
* @param callback The callback
|
|
165
|
+
* @param options The options parameters.
|
|
83
166
|
*/
|
|
84
|
-
createOrUpdate(
|
|
85
|
-
|
|
167
|
+
createOrUpdate(
|
|
168
|
+
resourceGroupName: string,
|
|
169
|
+
commitmentPlanName: string,
|
|
170
|
+
createOrUpdatePayload: CommitmentPlan,
|
|
171
|
+
options?: CommitmentPlansCreateOrUpdateOptionalParams
|
|
172
|
+
): Promise<CommitmentPlansCreateOrUpdateResponse> {
|
|
86
173
|
return this.client.sendOperationRequest(
|
|
87
|
-
{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
commitmentPlanName,
|
|
91
|
-
options
|
|
92
|
-
},
|
|
93
|
-
createOrUpdateOperationSpec,
|
|
94
|
-
callback) as Promise<Models.CommitmentPlansCreateOrUpdateResponse>;
|
|
174
|
+
{ resourceGroupName, commitmentPlanName, createOrUpdatePayload, options },
|
|
175
|
+
createOrUpdateOperationSpec
|
|
176
|
+
);
|
|
95
177
|
}
|
|
96
178
|
|
|
97
179
|
/**
|
|
98
180
|
* Remove an existing Azure ML commitment plan.
|
|
99
181
|
* @param resourceGroupName The resource group name.
|
|
100
182
|
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
101
|
-
* @param
|
|
102
|
-
* @returns Promise<msRest.RestResponse>
|
|
103
|
-
*/
|
|
104
|
-
remove(resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
105
|
-
/**
|
|
106
|
-
* @param resourceGroupName The resource group name.
|
|
107
|
-
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
108
|
-
* @param callback The callback
|
|
109
|
-
*/
|
|
110
|
-
remove(resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback<void>): void;
|
|
111
|
-
/**
|
|
112
|
-
* @param resourceGroupName The resource group name.
|
|
113
|
-
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
114
|
-
* @param options The optional parameters
|
|
115
|
-
* @param callback The callback
|
|
183
|
+
* @param options The options parameters.
|
|
116
184
|
*/
|
|
117
|
-
remove(
|
|
118
|
-
|
|
185
|
+
remove(
|
|
186
|
+
resourceGroupName: string,
|
|
187
|
+
commitmentPlanName: string,
|
|
188
|
+
options?: CommitmentPlansRemoveOptionalParams
|
|
189
|
+
): Promise<void> {
|
|
119
190
|
return this.client.sendOperationRequest(
|
|
120
|
-
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
options
|
|
124
|
-
},
|
|
125
|
-
removeOperationSpec,
|
|
126
|
-
callback);
|
|
191
|
+
{ resourceGroupName, commitmentPlanName, options },
|
|
192
|
+
removeOperationSpec
|
|
193
|
+
);
|
|
127
194
|
}
|
|
128
195
|
|
|
129
196
|
/**
|
|
130
197
|
* Patch an existing Azure ML commitment plan resource.
|
|
131
|
-
* @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU
|
|
132
|
-
* may be modified on an existing commitment plan.
|
|
133
198
|
* @param resourceGroupName The resource group name.
|
|
134
199
|
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
135
|
-
* @param
|
|
136
|
-
*
|
|
200
|
+
* @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU may
|
|
201
|
+
* be modified on an existing commitment plan.
|
|
202
|
+
* @param options The options parameters.
|
|
137
203
|
*/
|
|
138
|
-
patch(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
* @param callback The callback
|
|
145
|
-
*/
|
|
146
|
-
patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, callback: msRest.ServiceCallback<Models.CommitmentPlan>): void;
|
|
147
|
-
/**
|
|
148
|
-
* @param patchPayload The payload to use to patch the Azure ML commitment plan. Only tags and SKU
|
|
149
|
-
* may be modified on an existing commitment plan.
|
|
150
|
-
* @param resourceGroupName The resource group name.
|
|
151
|
-
* @param commitmentPlanName The Azure ML commitment plan name.
|
|
152
|
-
* @param options The optional parameters
|
|
153
|
-
* @param callback The callback
|
|
154
|
-
*/
|
|
155
|
-
patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CommitmentPlan>): void;
|
|
156
|
-
patch(patchPayload: Models.CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CommitmentPlan>, callback?: msRest.ServiceCallback<Models.CommitmentPlan>): Promise<Models.CommitmentPlansPatchResponse> {
|
|
204
|
+
patch(
|
|
205
|
+
resourceGroupName: string,
|
|
206
|
+
commitmentPlanName: string,
|
|
207
|
+
patchPayload: CommitmentPlanPatchPayload,
|
|
208
|
+
options?: CommitmentPlansPatchOptionalParams
|
|
209
|
+
): Promise<CommitmentPlansPatchResponse> {
|
|
157
210
|
return this.client.sendOperationRequest(
|
|
158
|
-
{
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
commitmentPlanName,
|
|
162
|
-
options
|
|
163
|
-
},
|
|
164
|
-
patchOperationSpec,
|
|
165
|
-
callback) as Promise<Models.CommitmentPlansPatchResponse>;
|
|
211
|
+
{ resourceGroupName, commitmentPlanName, patchPayload, options },
|
|
212
|
+
patchOperationSpec
|
|
213
|
+
);
|
|
166
214
|
}
|
|
167
215
|
|
|
168
216
|
/**
|
|
169
217
|
* Retrieve all Azure ML commitment plans in a subscription.
|
|
170
|
-
* @param
|
|
171
|
-
* @returns Promise<Models.CommitmentPlansListResponse>
|
|
172
|
-
*/
|
|
173
|
-
list(options?: Models.CommitmentPlansListOptionalParams): Promise<Models.CommitmentPlansListResponse>;
|
|
174
|
-
/**
|
|
175
|
-
* @param callback The callback
|
|
218
|
+
* @param options The options parameters.
|
|
176
219
|
*/
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
*/
|
|
182
|
-
list(options: Models.CommitmentPlansListOptionalParams, callback: msRest.ServiceCallback<Models.CommitmentPlanListResult>): void;
|
|
183
|
-
list(options?: Models.CommitmentPlansListOptionalParams | msRest.ServiceCallback<Models.CommitmentPlanListResult>, callback?: msRest.ServiceCallback<Models.CommitmentPlanListResult>): Promise<Models.CommitmentPlansListResponse> {
|
|
184
|
-
return this.client.sendOperationRequest(
|
|
185
|
-
{
|
|
186
|
-
options
|
|
187
|
-
},
|
|
188
|
-
listOperationSpec,
|
|
189
|
-
callback) as Promise<Models.CommitmentPlansListResponse>;
|
|
220
|
+
private _list(
|
|
221
|
+
options?: CommitmentPlansListOptionalParams
|
|
222
|
+
): Promise<CommitmentPlansListResponse> {
|
|
223
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
190
224
|
}
|
|
191
225
|
|
|
192
226
|
/**
|
|
193
227
|
* Retrieve all Azure ML commitment plans in a resource group.
|
|
194
228
|
* @param resourceGroupName The resource group name.
|
|
195
|
-
* @param
|
|
196
|
-
* @returns Promise<Models.CommitmentPlansListInResourceGroupResponse>
|
|
197
|
-
*/
|
|
198
|
-
listInResourceGroup(resourceGroupName: string, options?: Models.CommitmentPlansListInResourceGroupOptionalParams): Promise<Models.CommitmentPlansListInResourceGroupResponse>;
|
|
199
|
-
/**
|
|
200
|
-
* @param resourceGroupName The resource group name.
|
|
201
|
-
* @param callback The callback
|
|
202
|
-
*/
|
|
203
|
-
listInResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.CommitmentPlanListResult>): void;
|
|
204
|
-
/**
|
|
205
|
-
* @param resourceGroupName The resource group name.
|
|
206
|
-
* @param options The optional parameters
|
|
207
|
-
* @param callback The callback
|
|
229
|
+
* @param options The options parameters.
|
|
208
230
|
*/
|
|
209
|
-
|
|
210
|
-
|
|
231
|
+
private _listInResourceGroup(
|
|
232
|
+
resourceGroupName: string,
|
|
233
|
+
options?: CommitmentPlansListInResourceGroupOptionalParams
|
|
234
|
+
): Promise<CommitmentPlansListInResourceGroupResponse> {
|
|
211
235
|
return this.client.sendOperationRequest(
|
|
212
|
-
{
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
},
|
|
216
|
-
listInResourceGroupOperationSpec,
|
|
217
|
-
callback) as Promise<Models.CommitmentPlansListInResourceGroupResponse>;
|
|
236
|
+
{ resourceGroupName, options },
|
|
237
|
+
listInResourceGroupOperationSpec
|
|
238
|
+
);
|
|
218
239
|
}
|
|
219
240
|
|
|
220
241
|
/**
|
|
221
|
-
*
|
|
222
|
-
* @param
|
|
223
|
-
* @param
|
|
224
|
-
* @returns Promise<Models.CommitmentPlansListNextResponse>
|
|
225
|
-
*/
|
|
226
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.CommitmentPlansListNextResponse>;
|
|
227
|
-
/**
|
|
228
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
229
|
-
* @param callback The callback
|
|
242
|
+
* ListNext
|
|
243
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
244
|
+
* @param options The options parameters.
|
|
230
245
|
*/
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
* @param callback The callback
|
|
236
|
-
*/
|
|
237
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CommitmentPlanListResult>): void;
|
|
238
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CommitmentPlanListResult>, callback?: msRest.ServiceCallback<Models.CommitmentPlanListResult>): Promise<Models.CommitmentPlansListNextResponse> {
|
|
246
|
+
private _listNext(
|
|
247
|
+
nextLink: string,
|
|
248
|
+
options?: CommitmentPlansListNextOptionalParams
|
|
249
|
+
): Promise<CommitmentPlansListNextResponse> {
|
|
239
250
|
return this.client.sendOperationRequest(
|
|
240
|
-
{
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
},
|
|
244
|
-
listNextOperationSpec,
|
|
245
|
-
callback) as Promise<Models.CommitmentPlansListNextResponse>;
|
|
251
|
+
{ nextLink, options },
|
|
252
|
+
listNextOperationSpec
|
|
253
|
+
);
|
|
246
254
|
}
|
|
247
255
|
|
|
248
256
|
/**
|
|
249
|
-
*
|
|
250
|
-
* @param
|
|
251
|
-
* @param
|
|
252
|
-
* @
|
|
253
|
-
*/
|
|
254
|
-
listInResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.CommitmentPlansListInResourceGroupNextResponse>;
|
|
255
|
-
/**
|
|
256
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
257
|
-
* @param callback The callback
|
|
258
|
-
*/
|
|
259
|
-
listInResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.CommitmentPlanListResult>): void;
|
|
260
|
-
/**
|
|
261
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
262
|
-
* @param options The optional parameters
|
|
263
|
-
* @param callback The callback
|
|
257
|
+
* ListInResourceGroupNext
|
|
258
|
+
* @param resourceGroupName The resource group name.
|
|
259
|
+
* @param nextLink The nextLink from the previous successful call to the ListInResourceGroup method.
|
|
260
|
+
* @param options The options parameters.
|
|
264
261
|
*/
|
|
265
|
-
|
|
266
|
-
|
|
262
|
+
private _listInResourceGroupNext(
|
|
263
|
+
resourceGroupName: string,
|
|
264
|
+
nextLink: string,
|
|
265
|
+
options?: CommitmentPlansListInResourceGroupNextOptionalParams
|
|
266
|
+
): Promise<CommitmentPlansListInResourceGroupNextResponse> {
|
|
267
267
|
return this.client.sendOperationRequest(
|
|
268
|
-
{
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
},
|
|
272
|
-
listInResourceGroupNextOperationSpec,
|
|
273
|
-
callback) as Promise<Models.CommitmentPlansListInResourceGroupNextResponse>;
|
|
268
|
+
{ resourceGroupName, nextLink, options },
|
|
269
|
+
listInResourceGroupNextOperationSpec
|
|
270
|
+
);
|
|
274
271
|
}
|
|
275
272
|
}
|
|
276
|
-
|
|
277
273
|
// Operation Specifications
|
|
278
|
-
const serializer =
|
|
279
|
-
|
|
274
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
275
|
+
|
|
276
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
277
|
+
path:
|
|
278
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
280
279
|
httpMethod: "GET",
|
|
281
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
282
|
-
urlParameters: [
|
|
283
|
-
Parameters.subscriptionId,
|
|
284
|
-
Parameters.resourceGroupName,
|
|
285
|
-
Parameters.commitmentPlanName
|
|
286
|
-
],
|
|
287
|
-
queryParameters: [
|
|
288
|
-
Parameters.apiVersion
|
|
289
|
-
],
|
|
290
|
-
headerParameters: [
|
|
291
|
-
Parameters.acceptLanguage
|
|
292
|
-
],
|
|
293
280
|
responses: {
|
|
294
281
|
200: {
|
|
295
282
|
bodyMapper: Mappers.CommitmentPlan
|
|
296
|
-
},
|
|
297
|
-
default: {
|
|
298
|
-
bodyMapper: Mappers.CloudError
|
|
299
283
|
}
|
|
300
284
|
},
|
|
301
|
-
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
305
|
-
httpMethod: "PUT",
|
|
306
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
285
|
+
queryParameters: [Parameters.apiVersion],
|
|
307
286
|
urlParameters: [
|
|
287
|
+
Parameters.$host,
|
|
308
288
|
Parameters.subscriptionId,
|
|
309
289
|
Parameters.resourceGroupName,
|
|
310
290
|
Parameters.commitmentPlanName
|
|
311
291
|
],
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
parameterPath: "createOrUpdatePayload",
|
|
320
|
-
mapper: {
|
|
321
|
-
...Mappers.CommitmentPlan,
|
|
322
|
-
required: true
|
|
323
|
-
}
|
|
324
|
-
},
|
|
292
|
+
headerParameters: [Parameters.accept],
|
|
293
|
+
serializer
|
|
294
|
+
};
|
|
295
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
296
|
+
path:
|
|
297
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
298
|
+
httpMethod: "PUT",
|
|
325
299
|
responses: {
|
|
326
300
|
200: {
|
|
327
301
|
bodyMapper: Mappers.CommitmentPlan
|
|
328
302
|
},
|
|
329
303
|
201: {
|
|
330
304
|
bodyMapper: Mappers.CommitmentPlan
|
|
331
|
-
},
|
|
332
|
-
default: {
|
|
333
|
-
bodyMapper: Mappers.CloudError
|
|
334
305
|
}
|
|
335
306
|
},
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
const removeOperationSpec: msRest.OperationSpec = {
|
|
340
|
-
httpMethod: "DELETE",
|
|
341
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
307
|
+
requestBody: Parameters.createOrUpdatePayload,
|
|
308
|
+
queryParameters: [Parameters.apiVersion],
|
|
342
309
|
urlParameters: [
|
|
310
|
+
Parameters.$host,
|
|
343
311
|
Parameters.subscriptionId,
|
|
344
312
|
Parameters.resourceGroupName,
|
|
345
313
|
Parameters.commitmentPlanName
|
|
346
314
|
],
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
],
|
|
350
|
-
headerParameters: [
|
|
351
|
-
Parameters.acceptLanguage
|
|
352
|
-
],
|
|
353
|
-
responses: {
|
|
354
|
-
200: {},
|
|
355
|
-
default: {
|
|
356
|
-
bodyMapper: Mappers.CloudError
|
|
357
|
-
}
|
|
358
|
-
},
|
|
315
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
316
|
+
mediaType: "json",
|
|
359
317
|
serializer
|
|
360
318
|
};
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
319
|
+
const removeOperationSpec: coreClient.OperationSpec = {
|
|
320
|
+
path:
|
|
321
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
322
|
+
httpMethod: "DELETE",
|
|
323
|
+
responses: { 200: {} },
|
|
324
|
+
queryParameters: [Parameters.apiVersion],
|
|
365
325
|
urlParameters: [
|
|
326
|
+
Parameters.$host,
|
|
366
327
|
Parameters.subscriptionId,
|
|
367
328
|
Parameters.resourceGroupName,
|
|
368
329
|
Parameters.commitmentPlanName
|
|
369
330
|
],
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
requestBody: {
|
|
377
|
-
parameterPath: "patchPayload",
|
|
378
|
-
mapper: {
|
|
379
|
-
...Mappers.CommitmentPlanPatchPayload,
|
|
380
|
-
required: true
|
|
381
|
-
}
|
|
382
|
-
},
|
|
331
|
+
serializer
|
|
332
|
+
};
|
|
333
|
+
const patchOperationSpec: coreClient.OperationSpec = {
|
|
334
|
+
path:
|
|
335
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}",
|
|
336
|
+
httpMethod: "PATCH",
|
|
383
337
|
responses: {
|
|
384
338
|
200: {
|
|
385
339
|
bodyMapper: Mappers.CommitmentPlan
|
|
386
|
-
},
|
|
387
|
-
default: {
|
|
388
|
-
bodyMapper: Mappers.CloudError
|
|
389
340
|
}
|
|
390
341
|
},
|
|
342
|
+
requestBody: Parameters.patchPayload,
|
|
343
|
+
queryParameters: [Parameters.apiVersion],
|
|
344
|
+
urlParameters: [
|
|
345
|
+
Parameters.$host,
|
|
346
|
+
Parameters.subscriptionId,
|
|
347
|
+
Parameters.resourceGroupName,
|
|
348
|
+
Parameters.commitmentPlanName
|
|
349
|
+
],
|
|
350
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
351
|
+
mediaType: "json",
|
|
391
352
|
serializer
|
|
392
353
|
};
|
|
393
|
-
|
|
394
|
-
|
|
354
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
355
|
+
path:
|
|
356
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/commitmentPlans",
|
|
395
357
|
httpMethod: "GET",
|
|
396
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/commitmentPlans",
|
|
397
|
-
urlParameters: [
|
|
398
|
-
Parameters.subscriptionId
|
|
399
|
-
],
|
|
400
|
-
queryParameters: [
|
|
401
|
-
Parameters.skipToken,
|
|
402
|
-
Parameters.apiVersion
|
|
403
|
-
],
|
|
404
|
-
headerParameters: [
|
|
405
|
-
Parameters.acceptLanguage
|
|
406
|
-
],
|
|
407
358
|
responses: {
|
|
408
359
|
200: {
|
|
409
360
|
bodyMapper: Mappers.CommitmentPlanListResult
|
|
410
|
-
},
|
|
411
|
-
default: {
|
|
412
|
-
bodyMapper: Mappers.CloudError
|
|
413
361
|
}
|
|
414
362
|
},
|
|
363
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
|
|
364
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
365
|
+
headerParameters: [Parameters.accept],
|
|
415
366
|
serializer
|
|
416
367
|
};
|
|
417
|
-
|
|
418
|
-
|
|
368
|
+
const listInResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
369
|
+
path:
|
|
370
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans",
|
|
419
371
|
httpMethod: "GET",
|
|
420
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans",
|
|
421
|
-
urlParameters: [
|
|
422
|
-
Parameters.subscriptionId,
|
|
423
|
-
Parameters.resourceGroupName
|
|
424
|
-
],
|
|
425
|
-
queryParameters: [
|
|
426
|
-
Parameters.skipToken,
|
|
427
|
-
Parameters.apiVersion
|
|
428
|
-
],
|
|
429
|
-
headerParameters: [
|
|
430
|
-
Parameters.acceptLanguage
|
|
431
|
-
],
|
|
432
372
|
responses: {
|
|
433
373
|
200: {
|
|
434
374
|
bodyMapper: Mappers.CommitmentPlanListResult
|
|
435
|
-
},
|
|
436
|
-
default: {
|
|
437
|
-
bodyMapper: Mappers.CloudError
|
|
438
375
|
}
|
|
439
376
|
},
|
|
377
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
|
|
378
|
+
urlParameters: [
|
|
379
|
+
Parameters.$host,
|
|
380
|
+
Parameters.subscriptionId,
|
|
381
|
+
Parameters.resourceGroupName
|
|
382
|
+
],
|
|
383
|
+
headerParameters: [Parameters.accept],
|
|
440
384
|
serializer
|
|
441
385
|
};
|
|
442
|
-
|
|
443
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
444
|
-
httpMethod: "GET",
|
|
445
|
-
baseUrl: "https://management.azure.com",
|
|
386
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
446
387
|
path: "{nextLink}",
|
|
447
|
-
|
|
448
|
-
Parameters.nextPageLink
|
|
449
|
-
],
|
|
450
|
-
headerParameters: [
|
|
451
|
-
Parameters.acceptLanguage
|
|
452
|
-
],
|
|
388
|
+
httpMethod: "GET",
|
|
453
389
|
responses: {
|
|
454
390
|
200: {
|
|
455
391
|
bodyMapper: Mappers.CommitmentPlanListResult
|
|
456
|
-
},
|
|
457
|
-
default: {
|
|
458
|
-
bodyMapper: Mappers.CloudError
|
|
459
392
|
}
|
|
460
393
|
},
|
|
394
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
|
|
395
|
+
urlParameters: [
|
|
396
|
+
Parameters.$host,
|
|
397
|
+
Parameters.subscriptionId,
|
|
398
|
+
Parameters.nextLink
|
|
399
|
+
],
|
|
400
|
+
headerParameters: [Parameters.accept],
|
|
461
401
|
serializer
|
|
462
402
|
};
|
|
463
|
-
|
|
464
|
-
const listInResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
465
|
-
httpMethod: "GET",
|
|
466
|
-
baseUrl: "https://management.azure.com",
|
|
403
|
+
const listInResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
467
404
|
path: "{nextLink}",
|
|
468
|
-
|
|
469
|
-
Parameters.nextPageLink
|
|
470
|
-
],
|
|
471
|
-
headerParameters: [
|
|
472
|
-
Parameters.acceptLanguage
|
|
473
|
-
],
|
|
405
|
+
httpMethod: "GET",
|
|
474
406
|
responses: {
|
|
475
407
|
200: {
|
|
476
408
|
bodyMapper: Mappers.CommitmentPlanListResult
|
|
477
|
-
},
|
|
478
|
-
default: {
|
|
479
|
-
bodyMapper: Mappers.CloudError
|
|
480
409
|
}
|
|
481
410
|
},
|
|
411
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken],
|
|
412
|
+
urlParameters: [
|
|
413
|
+
Parameters.$host,
|
|
414
|
+
Parameters.subscriptionId,
|
|
415
|
+
Parameters.resourceGroupName,
|
|
416
|
+
Parameters.nextLink
|
|
417
|
+
],
|
|
418
|
+
headerParameters: [Parameters.accept],
|
|
482
419
|
serializer
|
|
483
420
|
};
|