@azure/arm-commitmentplans 2.0.0-alpha.20250717.1 → 2.0.0-alpha.20250718.2

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.
Files changed (67) hide show
  1. package/dist/browser/azureMLCommitmentPlansManagementClient.js +18 -5
  2. package/dist/browser/azureMLCommitmentPlansManagementClient.js.map +1 -1
  3. package/dist/browser/models/mappers.js +16 -7
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/commitmentAssociations.js +23 -40
  6. package/dist/browser/operations/commitmentAssociations.js.map +1 -1
  7. package/dist/browser/operations/commitmentPlans.js +45 -79
  8. package/dist/browser/operations/commitmentPlans.js.map +1 -1
  9. package/dist/browser/operations/operations.js +10 -27
  10. package/dist/browser/operations/operations.js.map +1 -1
  11. package/dist/browser/operations/skus.js +10 -27
  12. package/dist/browser/operations/skus.js.map +1 -1
  13. package/dist/browser/operations/usageHistory.js +23 -40
  14. package/dist/browser/operations/usageHistory.js.map +1 -1
  15. package/dist/browser/pagingHelper.js +2 -4
  16. package/dist/browser/pagingHelper.js.map +1 -1
  17. package/dist/commonjs/azureMLCommitmentPlansManagementClient.js +18 -5
  18. package/dist/commonjs/azureMLCommitmentPlansManagementClient.js.map +1 -1
  19. package/dist/commonjs/models/mappers.js +16 -7
  20. package/dist/commonjs/models/mappers.js.map +1 -1
  21. package/dist/commonjs/operations/commitmentAssociations.js +23 -39
  22. package/dist/commonjs/operations/commitmentAssociations.js.map +1 -1
  23. package/dist/commonjs/operations/commitmentPlans.js +45 -78
  24. package/dist/commonjs/operations/commitmentPlans.js.map +1 -1
  25. package/dist/commonjs/operations/operations.js +10 -26
  26. package/dist/commonjs/operations/operations.js.map +1 -1
  27. package/dist/commonjs/operations/skus.js +10 -26
  28. package/dist/commonjs/operations/skus.js.map +1 -1
  29. package/dist/commonjs/operations/usageHistory.js +23 -39
  30. package/dist/commonjs/operations/usageHistory.js.map +1 -1
  31. package/dist/commonjs/pagingHelper.js +2 -4
  32. package/dist/commonjs/pagingHelper.js.map +1 -1
  33. package/dist/commonjs/tsdoc-metadata.json +11 -11
  34. package/dist/esm/azureMLCommitmentPlansManagementClient.js +18 -5
  35. package/dist/esm/azureMLCommitmentPlansManagementClient.js.map +1 -1
  36. package/dist/esm/models/mappers.js +16 -7
  37. package/dist/esm/models/mappers.js.map +1 -1
  38. package/dist/esm/operations/commitmentAssociations.js +23 -40
  39. package/dist/esm/operations/commitmentAssociations.js.map +1 -1
  40. package/dist/esm/operations/commitmentPlans.js +45 -79
  41. package/dist/esm/operations/commitmentPlans.js.map +1 -1
  42. package/dist/esm/operations/operations.js +10 -27
  43. package/dist/esm/operations/operations.js.map +1 -1
  44. package/dist/esm/operations/skus.js +10 -27
  45. package/dist/esm/operations/skus.js.map +1 -1
  46. package/dist/esm/operations/usageHistory.js +23 -40
  47. package/dist/esm/operations/usageHistory.js.map +1 -1
  48. package/dist/esm/pagingHelper.js +2 -4
  49. package/dist/esm/pagingHelper.js.map +1 -1
  50. package/dist/react-native/azureMLCommitmentPlansManagementClient.js +18 -5
  51. package/dist/react-native/azureMLCommitmentPlansManagementClient.js.map +1 -1
  52. package/dist/react-native/models/mappers.js +16 -7
  53. package/dist/react-native/models/mappers.js.map +1 -1
  54. package/dist/react-native/operations/commitmentAssociations.js +23 -40
  55. package/dist/react-native/operations/commitmentAssociations.js.map +1 -1
  56. package/dist/react-native/operations/commitmentPlans.js +45 -79
  57. package/dist/react-native/operations/commitmentPlans.js.map +1 -1
  58. package/dist/react-native/operations/operations.js +10 -27
  59. package/dist/react-native/operations/operations.js.map +1 -1
  60. package/dist/react-native/operations/skus.js +10 -27
  61. package/dist/react-native/operations/skus.js.map +1 -1
  62. package/dist/react-native/operations/usageHistory.js +23 -40
  63. package/dist/react-native/operations/usageHistory.js.map +1 -1
  64. package/dist/react-native/pagingHelper.js +2 -4
  65. package/dist/react-native/pagingHelper.js.map +1 -1
  66. package/package.json +2 -2
  67. package/review/arm-commitmentplans-node.api.md +401 -401
@@ -1,401 +1,401 @@
1
- ## API Report File for "@azure/arm-commitmentplans"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
-
11
- // @public (undocumented)
12
- export class AzureMLCommitmentPlansManagementClient extends coreClient.ServiceClient {
13
- // (undocumented)
14
- $host: string;
15
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMLCommitmentPlansManagementClientOptionalParams);
16
- // (undocumented)
17
- apiVersion: string;
18
- // (undocumented)
19
- commitmentAssociations: CommitmentAssociations;
20
- // (undocumented)
21
- commitmentPlans: CommitmentPlans;
22
- // (undocumented)
23
- operations: Operations;
24
- // (undocumented)
25
- skus: Skus;
26
- // (undocumented)
27
- subscriptionId: string;
28
- // (undocumented)
29
- usageHistory: UsageHistory;
30
- }
31
-
32
- // @public
33
- export interface AzureMLCommitmentPlansManagementClientOptionalParams extends coreClient.ServiceClientOptions {
34
- $host?: string;
35
- apiVersion?: string;
36
- endpoint?: string;
37
- }
38
-
39
- // @public
40
- export interface CatalogSku {
41
- readonly capabilities?: SkuCapability[];
42
- readonly capacity?: SkuCapacity;
43
- readonly costs?: SkuCost[];
44
- readonly locations?: string[];
45
- readonly name?: string;
46
- readonly resourceType?: string;
47
- readonly restrictions?: SkuRestrictions[];
48
- readonly tier?: string;
49
- }
50
-
51
- // @public
52
- export interface CommitmentAssociation extends Resource {
53
- etag?: string;
54
- properties?: CommitmentAssociationProperties;
55
- }
56
-
57
- // @public
58
- export interface CommitmentAssociationListResult {
59
- nextLink?: string;
60
- value?: CommitmentAssociation[];
61
- }
62
-
63
- // @public
64
- export interface CommitmentAssociationProperties {
65
- readonly associatedResourceId?: string;
66
- readonly commitmentPlanId?: string;
67
- readonly creationDate?: Date;
68
- }
69
-
70
- // @public
71
- export interface CommitmentAssociations {
72
- get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options?: CommitmentAssociationsGetOptionalParams): Promise<CommitmentAssociationsGetResponse>;
73
- list(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentAssociationsListOptionalParams): PagedAsyncIterableIterator<CommitmentAssociation>;
74
- move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: MoveCommitmentAssociationRequest, options?: CommitmentAssociationsMoveOptionalParams): Promise<CommitmentAssociationsMoveResponse>;
75
- }
76
-
77
- // @public
78
- export interface CommitmentAssociationsGetOptionalParams extends coreClient.OperationOptions {
79
- }
80
-
81
- // @public
82
- export type CommitmentAssociationsGetResponse = CommitmentAssociation;
83
-
84
- // @public
85
- export interface CommitmentAssociationsListNextOptionalParams extends coreClient.OperationOptions {
86
- skipToken?: string;
87
- }
88
-
89
- // @public
90
- export type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult;
91
-
92
- // @public
93
- export interface CommitmentAssociationsListOptionalParams extends coreClient.OperationOptions {
94
- skipToken?: string;
95
- }
96
-
97
- // @public
98
- export type CommitmentAssociationsListResponse = CommitmentAssociationListResult;
99
-
100
- // @public
101
- export interface CommitmentAssociationsMoveOptionalParams extends coreClient.OperationOptions {
102
- }
103
-
104
- // @public
105
- export type CommitmentAssociationsMoveResponse = CommitmentAssociation;
106
-
107
- // @public
108
- export interface CommitmentPlan extends Resource {
109
- etag?: string;
110
- readonly properties?: CommitmentPlanProperties;
111
- sku?: ResourceSku;
112
- }
113
-
114
- // @public
115
- export interface CommitmentPlanListResult {
116
- nextLink?: string;
117
- value?: CommitmentPlan[];
118
- }
119
-
120
- // @public
121
- export interface CommitmentPlanPatchPayload {
122
- sku?: ResourceSku;
123
- tags?: {
124
- [propertyName: string]: string;
125
- };
126
- }
127
-
128
- // @public
129
- export interface CommitmentPlanProperties {
130
- readonly chargeForOverage?: boolean;
131
- readonly chargeForPlan?: boolean;
132
- readonly creationDate?: Date;
133
- readonly includedQuantities?: {
134
- [propertyName: string]: PlanQuantity;
135
- };
136
- readonly maxAssociationLimit?: number;
137
- readonly maxCapacityLimit?: number;
138
- readonly minCapacityLimit?: number;
139
- readonly planMeter?: string;
140
- readonly refillFrequencyInDays?: number;
141
- readonly suspendPlanOnOverage?: boolean;
142
- }
143
-
144
- // @public
145
- export interface CommitmentPlans {
146
- createOrUpdate(resourceGroupName: string, commitmentPlanName: string, createOrUpdatePayload: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams): Promise<CommitmentPlansCreateOrUpdateResponse>;
147
- get(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams): Promise<CommitmentPlansGetResponse>;
148
- list(options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
149
- listInResourceGroup(resourceGroupName: string, options?: CommitmentPlansListInResourceGroupOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
150
- patch(resourceGroupName: string, commitmentPlanName: string, patchPayload: CommitmentPlanPatchPayload, options?: CommitmentPlansPatchOptionalParams): Promise<CommitmentPlansPatchResponse>;
151
- remove(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansRemoveOptionalParams): Promise<void>;
152
- }
153
-
154
- // @public
155
- export interface CommitmentPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
156
- }
157
-
158
- // @public
159
- export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
160
-
161
- // @public
162
- export interface CommitmentPlansGetOptionalParams extends coreClient.OperationOptions {
163
- }
164
-
165
- // @public
166
- export type CommitmentPlansGetResponse = CommitmentPlan;
167
-
168
- // @public
169
- export interface CommitmentPlansListInResourceGroupNextOptionalParams extends coreClient.OperationOptions {
170
- skipToken?: string;
171
- }
172
-
173
- // @public
174
- export type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult;
175
-
176
- // @public
177
- export interface CommitmentPlansListInResourceGroupOptionalParams extends coreClient.OperationOptions {
178
- skipToken?: string;
179
- }
180
-
181
- // @public
182
- export type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult;
183
-
184
- // @public
185
- export interface CommitmentPlansListNextOptionalParams extends coreClient.OperationOptions {
186
- skipToken?: string;
187
- }
188
-
189
- // @public
190
- export type CommitmentPlansListNextResponse = CommitmentPlanListResult;
191
-
192
- // @public
193
- export interface CommitmentPlansListOptionalParams extends coreClient.OperationOptions {
194
- skipToken?: string;
195
- }
196
-
197
- // @public
198
- export type CommitmentPlansListResponse = CommitmentPlanListResult;
199
-
200
- // @public
201
- export interface CommitmentPlansPatchOptionalParams extends coreClient.OperationOptions {
202
- }
203
-
204
- // @public
205
- export type CommitmentPlansPatchResponse = CommitmentPlan;
206
-
207
- // @public
208
- export interface CommitmentPlansRemoveOptionalParams extends coreClient.OperationOptions {
209
- }
210
-
211
- // @public
212
- export function getContinuationToken(page: unknown): string | undefined;
213
-
214
- // @public
215
- export enum KnownResourceSkuRestrictionsReasonCode {
216
- NotAvailableForSubscription = "NotAvailableForSubscription",
217
- QuotaId = "QuotaId"
218
- }
219
-
220
- // @public
221
- export enum KnownResourceSkuRestrictionsType {
222
- Location = "location",
223
- Zone = "zone"
224
- }
225
-
226
- // @public
227
- export enum KnownSkuCapacityScaleType {
228
- Automatic = "Automatic",
229
- Manual = "Manual",
230
- None = "None"
231
- }
232
-
233
- // @public
234
- export interface MoveCommitmentAssociationRequest {
235
- destinationPlanId?: string;
236
- }
237
-
238
- // @public
239
- export interface OperationDisplayInfo {
240
- readonly description?: string;
241
- readonly operation?: string;
242
- readonly provider?: string;
243
- readonly resource?: string;
244
- }
245
-
246
- // @public
247
- export interface OperationEntity {
248
- display?: OperationDisplayInfo;
249
- readonly name?: string;
250
- }
251
-
252
- // @public
253
- export interface OperationEntityListResult {
254
- readonly value?: OperationEntity[];
255
- }
256
-
257
- // @public
258
- export interface Operations {
259
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
260
- }
261
-
262
- // @public
263
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
264
- }
265
-
266
- // @public
267
- export type OperationsListResponse = OperationEntityListResult;
268
-
269
- // @public
270
- export interface PlanQuantity {
271
- readonly allowance?: number;
272
- readonly amount?: number;
273
- readonly includedQuantityMeter?: string;
274
- readonly overageMeter?: string;
275
- }
276
-
277
- // @public
278
- export interface PlanUsageHistory {
279
- planDeletionOverage?: {
280
- [propertyName: string]: number;
281
- };
282
- planMigrationOverage?: {
283
- [propertyName: string]: number;
284
- };
285
- planQuantitiesAfterUsage?: {
286
- [propertyName: string]: number;
287
- };
288
- planQuantitiesBeforeUsage?: {
289
- [propertyName: string]: number;
290
- };
291
- planUsageOverage?: {
292
- [propertyName: string]: number;
293
- };
294
- usage?: {
295
- [propertyName: string]: number;
296
- };
297
- usageDate?: Date;
298
- }
299
-
300
- // @public
301
- export interface PlanUsageHistoryListResult {
302
- nextLink?: string;
303
- value?: PlanUsageHistory[];
304
- }
305
-
306
- // @public
307
- export interface Resource {
308
- readonly id?: string;
309
- location: string;
310
- readonly name?: string;
311
- tags?: {
312
- [propertyName: string]: string;
313
- };
314
- readonly type?: string;
315
- }
316
-
317
- // @public
318
- export interface ResourceSku {
319
- capacity?: number;
320
- name?: string;
321
- tier?: string;
322
- }
323
-
324
- // @public
325
- export type ResourceSkuRestrictionsReasonCode = string;
326
-
327
- // @public
328
- export type ResourceSkuRestrictionsType = string;
329
-
330
- // @public
331
- export interface SkuCapability {
332
- readonly name?: string;
333
- readonly value?: string;
334
- }
335
-
336
- // @public
337
- export interface SkuCapacity {
338
- readonly default?: number;
339
- readonly maximum?: number;
340
- readonly minimum?: number;
341
- readonly scaleType?: SkuCapacityScaleType;
342
- }
343
-
344
- // @public
345
- export type SkuCapacityScaleType = string;
346
-
347
- // @public
348
- export interface SkuCost {
349
- readonly extendedUnit?: string;
350
- readonly meterID?: string;
351
- readonly quantity?: number;
352
- }
353
-
354
- // @public
355
- export interface SkuListResult {
356
- readonly value?: CatalogSku[];
357
- }
358
-
359
- // @public
360
- export interface SkuRestrictions {
361
- readonly reasonCode?: ResourceSkuRestrictionsReasonCode;
362
- readonly type?: ResourceSkuRestrictionsType;
363
- readonly values?: string[];
364
- }
365
-
366
- // @public
367
- export interface Skus {
368
- list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<CatalogSku>;
369
- }
370
-
371
- // @public
372
- export interface SkusListOptionalParams extends coreClient.OperationOptions {
373
- }
374
-
375
- // @public
376
- export type SkusListResponse = SkuListResult;
377
-
378
- // @public
379
- export interface UsageHistory {
380
- list(resourceGroupName: string, commitmentPlanName: string, options?: UsageHistoryListOptionalParams): PagedAsyncIterableIterator<PlanUsageHistory>;
381
- }
382
-
383
- // @public
384
- export interface UsageHistoryListNextOptionalParams extends coreClient.OperationOptions {
385
- skipToken?: string;
386
- }
387
-
388
- // @public
389
- export type UsageHistoryListNextResponse = PlanUsageHistoryListResult;
390
-
391
- // @public
392
- export interface UsageHistoryListOptionalParams extends coreClient.OperationOptions {
393
- skipToken?: string;
394
- }
395
-
396
- // @public
397
- export type UsageHistoryListResponse = PlanUsageHistoryListResult;
398
-
399
- // (No @packageDocumentation comment for this package)
400
-
401
- ```
1
+ ## API Report File for "@azure/arm-commitmentplans"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+
11
+ // @public (undocumented)
12
+ export class AzureMLCommitmentPlansManagementClient extends coreClient.ServiceClient {
13
+ // (undocumented)
14
+ $host: string;
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMLCommitmentPlansManagementClientOptionalParams);
16
+ // (undocumented)
17
+ apiVersion: string;
18
+ // (undocumented)
19
+ commitmentAssociations: CommitmentAssociations;
20
+ // (undocumented)
21
+ commitmentPlans: CommitmentPlans;
22
+ // (undocumented)
23
+ operations: Operations;
24
+ // (undocumented)
25
+ skus: Skus;
26
+ // (undocumented)
27
+ subscriptionId: string;
28
+ // (undocumented)
29
+ usageHistory: UsageHistory;
30
+ }
31
+
32
+ // @public
33
+ export interface AzureMLCommitmentPlansManagementClientOptionalParams extends coreClient.ServiceClientOptions {
34
+ $host?: string;
35
+ apiVersion?: string;
36
+ endpoint?: string;
37
+ }
38
+
39
+ // @public
40
+ export interface CatalogSku {
41
+ readonly capabilities?: SkuCapability[];
42
+ readonly capacity?: SkuCapacity;
43
+ readonly costs?: SkuCost[];
44
+ readonly locations?: string[];
45
+ readonly name?: string;
46
+ readonly resourceType?: string;
47
+ readonly restrictions?: SkuRestrictions[];
48
+ readonly tier?: string;
49
+ }
50
+
51
+ // @public
52
+ export interface CommitmentAssociation extends Resource {
53
+ etag?: string;
54
+ properties?: CommitmentAssociationProperties;
55
+ }
56
+
57
+ // @public
58
+ export interface CommitmentAssociationListResult {
59
+ nextLink?: string;
60
+ value?: CommitmentAssociation[];
61
+ }
62
+
63
+ // @public
64
+ export interface CommitmentAssociationProperties {
65
+ readonly associatedResourceId?: string;
66
+ readonly commitmentPlanId?: string;
67
+ readonly creationDate?: Date;
68
+ }
69
+
70
+ // @public
71
+ export interface CommitmentAssociations {
72
+ get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options?: CommitmentAssociationsGetOptionalParams): Promise<CommitmentAssociationsGetResponse>;
73
+ list(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentAssociationsListOptionalParams): PagedAsyncIterableIterator<CommitmentAssociation>;
74
+ move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: MoveCommitmentAssociationRequest, options?: CommitmentAssociationsMoveOptionalParams): Promise<CommitmentAssociationsMoveResponse>;
75
+ }
76
+
77
+ // @public
78
+ export interface CommitmentAssociationsGetOptionalParams extends coreClient.OperationOptions {
79
+ }
80
+
81
+ // @public
82
+ export type CommitmentAssociationsGetResponse = CommitmentAssociation;
83
+
84
+ // @public
85
+ export interface CommitmentAssociationsListNextOptionalParams extends coreClient.OperationOptions {
86
+ skipToken?: string;
87
+ }
88
+
89
+ // @public
90
+ export type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult;
91
+
92
+ // @public
93
+ export interface CommitmentAssociationsListOptionalParams extends coreClient.OperationOptions {
94
+ skipToken?: string;
95
+ }
96
+
97
+ // @public
98
+ export type CommitmentAssociationsListResponse = CommitmentAssociationListResult;
99
+
100
+ // @public
101
+ export interface CommitmentAssociationsMoveOptionalParams extends coreClient.OperationOptions {
102
+ }
103
+
104
+ // @public
105
+ export type CommitmentAssociationsMoveResponse = CommitmentAssociation;
106
+
107
+ // @public
108
+ export interface CommitmentPlan extends Resource {
109
+ etag?: string;
110
+ readonly properties?: CommitmentPlanProperties;
111
+ sku?: ResourceSku;
112
+ }
113
+
114
+ // @public
115
+ export interface CommitmentPlanListResult {
116
+ nextLink?: string;
117
+ value?: CommitmentPlan[];
118
+ }
119
+
120
+ // @public
121
+ export interface CommitmentPlanPatchPayload {
122
+ sku?: ResourceSku;
123
+ tags?: {
124
+ [propertyName: string]: string;
125
+ };
126
+ }
127
+
128
+ // @public
129
+ export interface CommitmentPlanProperties {
130
+ readonly chargeForOverage?: boolean;
131
+ readonly chargeForPlan?: boolean;
132
+ readonly creationDate?: Date;
133
+ readonly includedQuantities?: {
134
+ [propertyName: string]: PlanQuantity;
135
+ };
136
+ readonly maxAssociationLimit?: number;
137
+ readonly maxCapacityLimit?: number;
138
+ readonly minCapacityLimit?: number;
139
+ readonly planMeter?: string;
140
+ readonly refillFrequencyInDays?: number;
141
+ readonly suspendPlanOnOverage?: boolean;
142
+ }
143
+
144
+ // @public
145
+ export interface CommitmentPlans {
146
+ createOrUpdate(resourceGroupName: string, commitmentPlanName: string, createOrUpdatePayload: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams): Promise<CommitmentPlansCreateOrUpdateResponse>;
147
+ get(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams): Promise<CommitmentPlansGetResponse>;
148
+ list(options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
149
+ listInResourceGroup(resourceGroupName: string, options?: CommitmentPlansListInResourceGroupOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
150
+ patch(resourceGroupName: string, commitmentPlanName: string, patchPayload: CommitmentPlanPatchPayload, options?: CommitmentPlansPatchOptionalParams): Promise<CommitmentPlansPatchResponse>;
151
+ remove(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansRemoveOptionalParams): Promise<void>;
152
+ }
153
+
154
+ // @public
155
+ export interface CommitmentPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
156
+ }
157
+
158
+ // @public
159
+ export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
160
+
161
+ // @public
162
+ export interface CommitmentPlansGetOptionalParams extends coreClient.OperationOptions {
163
+ }
164
+
165
+ // @public
166
+ export type CommitmentPlansGetResponse = CommitmentPlan;
167
+
168
+ // @public
169
+ export interface CommitmentPlansListInResourceGroupNextOptionalParams extends coreClient.OperationOptions {
170
+ skipToken?: string;
171
+ }
172
+
173
+ // @public
174
+ export type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult;
175
+
176
+ // @public
177
+ export interface CommitmentPlansListInResourceGroupOptionalParams extends coreClient.OperationOptions {
178
+ skipToken?: string;
179
+ }
180
+
181
+ // @public
182
+ export type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult;
183
+
184
+ // @public
185
+ export interface CommitmentPlansListNextOptionalParams extends coreClient.OperationOptions {
186
+ skipToken?: string;
187
+ }
188
+
189
+ // @public
190
+ export type CommitmentPlansListNextResponse = CommitmentPlanListResult;
191
+
192
+ // @public
193
+ export interface CommitmentPlansListOptionalParams extends coreClient.OperationOptions {
194
+ skipToken?: string;
195
+ }
196
+
197
+ // @public
198
+ export type CommitmentPlansListResponse = CommitmentPlanListResult;
199
+
200
+ // @public
201
+ export interface CommitmentPlansPatchOptionalParams extends coreClient.OperationOptions {
202
+ }
203
+
204
+ // @public
205
+ export type CommitmentPlansPatchResponse = CommitmentPlan;
206
+
207
+ // @public
208
+ export interface CommitmentPlansRemoveOptionalParams extends coreClient.OperationOptions {
209
+ }
210
+
211
+ // @public
212
+ export function getContinuationToken(page: unknown): string | undefined;
213
+
214
+ // @public
215
+ export enum KnownResourceSkuRestrictionsReasonCode {
216
+ NotAvailableForSubscription = "NotAvailableForSubscription",
217
+ QuotaId = "QuotaId"
218
+ }
219
+
220
+ // @public
221
+ export enum KnownResourceSkuRestrictionsType {
222
+ Location = "location",
223
+ Zone = "zone"
224
+ }
225
+
226
+ // @public
227
+ export enum KnownSkuCapacityScaleType {
228
+ Automatic = "Automatic",
229
+ Manual = "Manual",
230
+ None = "None"
231
+ }
232
+
233
+ // @public
234
+ export interface MoveCommitmentAssociationRequest {
235
+ destinationPlanId?: string;
236
+ }
237
+
238
+ // @public
239
+ export interface OperationDisplayInfo {
240
+ readonly description?: string;
241
+ readonly operation?: string;
242
+ readonly provider?: string;
243
+ readonly resource?: string;
244
+ }
245
+
246
+ // @public
247
+ export interface OperationEntity {
248
+ display?: OperationDisplayInfo;
249
+ readonly name?: string;
250
+ }
251
+
252
+ // @public
253
+ export interface OperationEntityListResult {
254
+ readonly value?: OperationEntity[];
255
+ }
256
+
257
+ // @public
258
+ export interface Operations {
259
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
260
+ }
261
+
262
+ // @public
263
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
264
+ }
265
+
266
+ // @public
267
+ export type OperationsListResponse = OperationEntityListResult;
268
+
269
+ // @public
270
+ export interface PlanQuantity {
271
+ readonly allowance?: number;
272
+ readonly amount?: number;
273
+ readonly includedQuantityMeter?: string;
274
+ readonly overageMeter?: string;
275
+ }
276
+
277
+ // @public
278
+ export interface PlanUsageHistory {
279
+ planDeletionOverage?: {
280
+ [propertyName: string]: number;
281
+ };
282
+ planMigrationOverage?: {
283
+ [propertyName: string]: number;
284
+ };
285
+ planQuantitiesAfterUsage?: {
286
+ [propertyName: string]: number;
287
+ };
288
+ planQuantitiesBeforeUsage?: {
289
+ [propertyName: string]: number;
290
+ };
291
+ planUsageOverage?: {
292
+ [propertyName: string]: number;
293
+ };
294
+ usage?: {
295
+ [propertyName: string]: number;
296
+ };
297
+ usageDate?: Date;
298
+ }
299
+
300
+ // @public
301
+ export interface PlanUsageHistoryListResult {
302
+ nextLink?: string;
303
+ value?: PlanUsageHistory[];
304
+ }
305
+
306
+ // @public
307
+ export interface Resource {
308
+ readonly id?: string;
309
+ location: string;
310
+ readonly name?: string;
311
+ tags?: {
312
+ [propertyName: string]: string;
313
+ };
314
+ readonly type?: string;
315
+ }
316
+
317
+ // @public
318
+ export interface ResourceSku {
319
+ capacity?: number;
320
+ name?: string;
321
+ tier?: string;
322
+ }
323
+
324
+ // @public
325
+ export type ResourceSkuRestrictionsReasonCode = string;
326
+
327
+ // @public
328
+ export type ResourceSkuRestrictionsType = string;
329
+
330
+ // @public
331
+ export interface SkuCapability {
332
+ readonly name?: string;
333
+ readonly value?: string;
334
+ }
335
+
336
+ // @public
337
+ export interface SkuCapacity {
338
+ readonly default?: number;
339
+ readonly maximum?: number;
340
+ readonly minimum?: number;
341
+ readonly scaleType?: SkuCapacityScaleType;
342
+ }
343
+
344
+ // @public
345
+ export type SkuCapacityScaleType = string;
346
+
347
+ // @public
348
+ export interface SkuCost {
349
+ readonly extendedUnit?: string;
350
+ readonly meterID?: string;
351
+ readonly quantity?: number;
352
+ }
353
+
354
+ // @public
355
+ export interface SkuListResult {
356
+ readonly value?: CatalogSku[];
357
+ }
358
+
359
+ // @public
360
+ export interface SkuRestrictions {
361
+ readonly reasonCode?: ResourceSkuRestrictionsReasonCode;
362
+ readonly type?: ResourceSkuRestrictionsType;
363
+ readonly values?: string[];
364
+ }
365
+
366
+ // @public
367
+ export interface Skus {
368
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<CatalogSku>;
369
+ }
370
+
371
+ // @public
372
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
373
+ }
374
+
375
+ // @public
376
+ export type SkusListResponse = SkuListResult;
377
+
378
+ // @public
379
+ export interface UsageHistory {
380
+ list(resourceGroupName: string, commitmentPlanName: string, options?: UsageHistoryListOptionalParams): PagedAsyncIterableIterator<PlanUsageHistory>;
381
+ }
382
+
383
+ // @public
384
+ export interface UsageHistoryListNextOptionalParams extends coreClient.OperationOptions {
385
+ skipToken?: string;
386
+ }
387
+
388
+ // @public
389
+ export type UsageHistoryListNextResponse = PlanUsageHistoryListResult;
390
+
391
+ // @public
392
+ export interface UsageHistoryListOptionalParams extends coreClient.OperationOptions {
393
+ skipToken?: string;
394
+ }
395
+
396
+ // @public
397
+ export type UsageHistoryListResponse = PlanUsageHistoryListResult;
398
+
399
+ // (No @packageDocumentation comment for this package)
400
+
401
+ ```