@azure/arm-consumption 9.2.2-alpha.20260303.2 → 9.2.2-alpha.20260304.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.
@@ -155,3 +155,7 @@ class ConsumptionManagementClient extends coreClient.ServiceClient {
155
155
  lotsOperations;
156
156
  credits;
157
157
  }
158
+ // Annotate the CommonJS export names for ESM import in node:
159
+ 0 && (module.exports = {
160
+ ConsumptionManagementClient
161
+ });
@@ -26,3 +26,10 @@ var import_pagingHelper = require("./pagingHelper.js");
26
26
  __reExport(src_exports, require("./models/index.js"), module.exports);
27
27
  var import_consumptionManagementClient = require("./consumptionManagementClient.js");
28
28
  __reExport(src_exports, require("./operationsInterfaces/index.js"), module.exports);
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ ConsumptionManagementClient,
32
+ getContinuationToken,
33
+ ...require("./models/index.js"),
34
+ ...require("./operationsInterfaces/index.js")
35
+ });
@@ -169,3 +169,25 @@ var KnownScope = /* @__PURE__ */ ((KnownScope2) => {
169
169
  KnownScope2["Shared"] = "Shared";
170
170
  return KnownScope2;
171
171
  })(KnownScope || {});
172
+ // Annotate the CommonJS export names for ESM import in node:
173
+ 0 && (module.exports = {
174
+ KnownBillingFrequency,
175
+ KnownBudgetOperatorType,
176
+ KnownCategoryType,
177
+ KnownChargeSummaryKind,
178
+ KnownCultureCode,
179
+ KnownDatagrain,
180
+ KnownEventType,
181
+ KnownLookBackPeriod,
182
+ KnownLotSource,
183
+ KnownMetrictype,
184
+ KnownOperatorType,
185
+ KnownPricingModelType,
186
+ KnownReservationRecommendationKind,
187
+ KnownScope,
188
+ KnownStatus,
189
+ KnownTerm,
190
+ KnownThresholdType,
191
+ KnownTimeGrainType,
192
+ KnownUsageDetailsKind
193
+ });
@@ -4510,3 +4510,79 @@ let discriminators = {
4510
4510
  "ChargeSummary.legacy": LegacyChargeSummary,
4511
4511
  "ChargeSummary.modern": ModernChargeSummary
4512
4512
  };
4513
+ // Annotate the CommonJS export names for ESM import in node:
4514
+ 0 && (module.exports = {
4515
+ Amount,
4516
+ AmountWithExchangeRate,
4517
+ Balance,
4518
+ BalancePropertiesAdjustmentDetailsItem,
4519
+ BalancePropertiesNewPurchasesDetailsItem,
4520
+ Budget,
4521
+ BudgetComparisonExpression,
4522
+ BudgetFilter,
4523
+ BudgetFilterProperties,
4524
+ BudgetTimePeriod,
4525
+ BudgetsListResult,
4526
+ ChargeSummary,
4527
+ ChargesListResult,
4528
+ CreditBalanceSummary,
4529
+ CreditSummary,
4530
+ CurrentSpend,
4531
+ DownloadProperties,
4532
+ ErrorDetails,
4533
+ ErrorResponse,
4534
+ EventSummary,
4535
+ Events,
4536
+ ForecastSpend,
4537
+ HighCasedErrorDetails,
4538
+ HighCasedErrorResponse,
4539
+ LegacyChargeSummary,
4540
+ LegacyReservationRecommendation,
4541
+ LegacyReservationRecommendationProperties,
4542
+ LegacyReservationTransaction,
4543
+ LegacySharedScopeReservationRecommendationProperties,
4544
+ LegacySingleScopeReservationRecommendationProperties,
4545
+ LegacyUsageDetail,
4546
+ LotSummary,
4547
+ Lots,
4548
+ ManagementGroupAggregatedCostResult,
4549
+ Marketplace,
4550
+ MarketplacesListResult,
4551
+ MeterDetails,
4552
+ MeterDetailsResponse,
4553
+ ModernChargeSummary,
4554
+ ModernReservationRecommendation,
4555
+ ModernReservationTransaction,
4556
+ ModernReservationTransactionsListResult,
4557
+ ModernUsageDetail,
4558
+ Notification,
4559
+ Operation,
4560
+ OperationDisplay,
4561
+ OperationListResult,
4562
+ PriceSheetProperties,
4563
+ PriceSheetResult,
4564
+ ProxyResource,
4565
+ Reseller,
4566
+ ReservationDetail,
4567
+ ReservationDetailsListResult,
4568
+ ReservationRecommendation,
4569
+ ReservationRecommendationDetailsCalculatedSavingsProperties,
4570
+ ReservationRecommendationDetailsModel,
4571
+ ReservationRecommendationDetailsResourceProperties,
4572
+ ReservationRecommendationDetailsSavingsProperties,
4573
+ ReservationRecommendationDetailsUsageProperties,
4574
+ ReservationRecommendationsListResult,
4575
+ ReservationSummariesListResult,
4576
+ ReservationSummary,
4577
+ ReservationTransaction,
4578
+ ReservationTransactionResource,
4579
+ ReservationTransactionsListResult,
4580
+ Resource,
4581
+ ResourceAttributes,
4582
+ SkuProperty,
4583
+ Tag,
4584
+ TagsResult,
4585
+ UsageDetail,
4586
+ UsageDetailsListResult,
4587
+ discriminators
4588
+ });
@@ -377,3 +377,39 @@ const endDate1 = {
377
377
  }
378
378
  }
379
379
  };
380
+ // Annotate the CommonJS export names for ESM import in node:
381
+ 0 && (module.exports = {
382
+ $host,
383
+ accept,
384
+ apiVersion,
385
+ apply,
386
+ billingAccountId,
387
+ billingPeriodName,
388
+ billingProfileId,
389
+ budgetName,
390
+ contentType,
391
+ endDate,
392
+ endDate1,
393
+ expand,
394
+ filter,
395
+ filter1,
396
+ grain,
397
+ lookBackPeriod,
398
+ managementGroupId,
399
+ metric,
400
+ nextLink,
401
+ parameters,
402
+ product,
403
+ region,
404
+ reservationId,
405
+ reservationId1,
406
+ reservationOrderId,
407
+ reservationOrderId1,
408
+ scope,
409
+ skiptoken,
410
+ startDate,
411
+ startDate1,
412
+ subscriptionId,
413
+ term,
414
+ top
415
+ });
@@ -109,3 +109,7 @@ const getForBillingPeriodByManagementGroupOperationSpec = {
109
109
  headerParameters: [Parameters.accept],
110
110
  serializer
111
111
  };
112
+ // Annotate the CommonJS export names for ESM import in node:
113
+ 0 && (module.exports = {
114
+ AggregatedCostImpl
115
+ });
@@ -109,3 +109,7 @@ const getForBillingPeriodByBillingAccountOperationSpec = {
109
109
  headerParameters: [Parameters.accept],
110
110
  serializer
111
111
  };
112
+ // Annotate the CommonJS export names for ESM import in node:
113
+ 0 && (module.exports = {
114
+ BalancesImpl
115
+ });
@@ -310,3 +310,7 @@ const listNextOperationSpec = {
310
310
  headerParameters: [Parameters.accept],
311
311
  serializer
312
312
  };
313
+ // Annotate the CommonJS export names for ESM import in node:
314
+ 0 && (module.exports = {
315
+ BudgetsImpl
316
+ });
@@ -96,3 +96,7 @@ const listOperationSpec = {
96
96
  headerParameters: [Parameters.accept],
97
97
  serializer
98
98
  };
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ ChargesImpl
102
+ });
@@ -81,3 +81,7 @@ const getOperationSpec = {
81
81
  headerParameters: [Parameters.accept],
82
82
  serializer
83
83
  };
84
+ // Annotate the CommonJS export names for ESM import in node:
85
+ 0 && (module.exports = {
86
+ CreditsImpl
87
+ });
@@ -316,3 +316,7 @@ const listByBillingAccountNextOperationSpec = {
316
316
  headerParameters: [Parameters.accept],
317
317
  serializer
318
318
  };
319
+ // Annotate the CommonJS export names for ESM import in node:
320
+ 0 && (module.exports = {
321
+ EventsOperationsImpl
322
+ });
@@ -31,3 +31,23 @@ __reExport(operations_exports, require("./aggregatedCost.js"), module.exports);
31
31
  __reExport(operations_exports, require("./eventsOperations.js"), module.exports);
32
32
  __reExport(operations_exports, require("./lotsOperations.js"), module.exports);
33
33
  __reExport(operations_exports, require("./credits.js"), module.exports);
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ ...require("./usageDetails.js"),
37
+ ...require("./marketplaces.js"),
38
+ ...require("./budgets.js"),
39
+ ...require("./tags.js"),
40
+ ...require("./charges.js"),
41
+ ...require("./balances.js"),
42
+ ...require("./reservationsSummaries.js"),
43
+ ...require("./reservationsDetails.js"),
44
+ ...require("./reservationRecommendations.js"),
45
+ ...require("./reservationRecommendationDetails.js"),
46
+ ...require("./reservationTransactions.js"),
47
+ ...require("./priceSheet.js"),
48
+ ...require("./operations.js"),
49
+ ...require("./aggregatedCost.js"),
50
+ ...require("./eventsOperations.js"),
51
+ ...require("./lotsOperations.js"),
52
+ ...require("./credits.js")
53
+ });
@@ -304,3 +304,7 @@ const listByBillingAccountNextOperationSpec = {
304
304
  headerParameters: [Parameters.accept],
305
305
  serializer
306
306
  };
307
+ // Annotate the CommonJS export names for ESM import in node:
308
+ 0 && (module.exports = {
309
+ LotsOperationsImpl
310
+ });
@@ -185,3 +185,7 @@ const listNextOperationSpec = {
185
185
  headerParameters: [Parameters.accept],
186
186
  serializer
187
187
  };
188
+ // Annotate the CommonJS export names for ESM import in node:
189
+ 0 && (module.exports = {
190
+ MarketplacesImpl
191
+ });
@@ -142,3 +142,7 @@ const listNextOperationSpec = {
142
142
  headerParameters: [Parameters.accept],
143
143
  serializer
144
144
  };
145
+ // Annotate the CommonJS export names for ESM import in node:
146
+ 0 && (module.exports = {
147
+ OperationsImpl
148
+ });
@@ -114,3 +114,7 @@ const getByBillingPeriodOperationSpec = {
114
114
  headerParameters: [Parameters.accept],
115
115
  serializer
116
116
  };
117
+ // Annotate the CommonJS export names for ESM import in node:
118
+ 0 && (module.exports = {
119
+ PriceSheetImpl
120
+ });
@@ -92,3 +92,7 @@ const getOperationSpec = {
92
92
  headerParameters: [Parameters.accept],
93
93
  serializer
94
94
  };
95
+ // Annotate the CommonJS export names for ESM import in node:
96
+ 0 && (module.exports = {
97
+ ReservationRecommendationDetailsImpl
98
+ });
@@ -165,3 +165,7 @@ const listNextOperationSpec = {
165
165
  headerParameters: [Parameters.accept],
166
166
  serializer
167
167
  };
168
+ // Annotate the CommonJS export names for ESM import in node:
169
+ 0 && (module.exports = {
170
+ ReservationRecommendationsImpl
171
+ });
@@ -289,3 +289,7 @@ const listByBillingProfileNextOperationSpec = {
289
289
  headerParameters: [Parameters.accept],
290
290
  serializer
291
291
  };
292
+ // Annotate the CommonJS export names for ESM import in node:
293
+ 0 && (module.exports = {
294
+ ReservationTransactionsImpl
295
+ });
@@ -437,3 +437,7 @@ const listNextOperationSpec = {
437
437
  headerParameters: [Parameters.accept],
438
438
  serializer
439
439
  };
440
+ // Annotate the CommonJS export names for ESM import in node:
441
+ 0 && (module.exports = {
442
+ ReservationsDetailsImpl
443
+ });
@@ -436,3 +436,7 @@ const listNextOperationSpec = {
436
436
  headerParameters: [Parameters.accept],
437
437
  serializer
438
438
  };
439
+ // Annotate the CommonJS export names for ESM import in node:
440
+ 0 && (module.exports = {
441
+ ReservationsSummariesImpl
442
+ });
@@ -84,3 +84,7 @@ const getOperationSpec = {
84
84
  headerParameters: [Parameters.accept],
85
85
  serializer
86
86
  };
87
+ // Annotate the CommonJS export names for ESM import in node:
88
+ 0 && (module.exports = {
89
+ TagsImpl
90
+ });
@@ -211,3 +211,7 @@ const listNextOperationSpec = {
211
211
  headerParameters: [Parameters.accept],
212
212
  serializer
213
213
  };
214
+ // Annotate the CommonJS export names for ESM import in node:
215
+ 0 && (module.exports = {
216
+ UsageDetailsImpl
217
+ });
@@ -31,3 +31,23 @@ __reExport(operationsInterfaces_exports, require("./aggregatedCost.js"), module.
31
31
  __reExport(operationsInterfaces_exports, require("./eventsOperations.js"), module.exports);
32
32
  __reExport(operationsInterfaces_exports, require("./lotsOperations.js"), module.exports);
33
33
  __reExport(operationsInterfaces_exports, require("./credits.js"), module.exports);
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ ...require("./usageDetails.js"),
37
+ ...require("./marketplaces.js"),
38
+ ...require("./budgets.js"),
39
+ ...require("./tags.js"),
40
+ ...require("./charges.js"),
41
+ ...require("./balances.js"),
42
+ ...require("./reservationsSummaries.js"),
43
+ ...require("./reservationsDetails.js"),
44
+ ...require("./reservationRecommendations.js"),
45
+ ...require("./reservationRecommendationDetails.js"),
46
+ ...require("./reservationTransactions.js"),
47
+ ...require("./priceSheet.js"),
48
+ ...require("./operations.js"),
49
+ ...require("./aggregatedCost.js"),
50
+ ...require("./eventsOperations.js"),
51
+ ...require("./lotsOperations.js"),
52
+ ...require("./credits.js")
53
+ });
@@ -36,3 +36,8 @@ function setContinuationToken(page, continuationToken) {
36
36
  pageInfo.continuationToken = continuationToken;
37
37
  pageMap.set(page, pageInfo);
38
38
  }
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ getContinuationToken,
42
+ setContinuationToken
43
+ });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ConsumptionManagementClient.",
6
- "version": "9.2.2-alpha.20260303.2",
6
+ "version": "9.2.2-alpha.20260304.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -39,8 +39,8 @@
39
39
  "typescript": "~5.9.3",
40
40
  "vitest": "^4.0.8",
41
41
  "@azure-tools/test-credential": "^2.1.2",
42
- "@azure-tools/test-recorder": "^4.1.1",
43
42
  "@azure-tools/test-utils-vitest": "^2.0.1",
43
+ "@azure-tools/test-recorder": "^4.1.1",
44
44
  "@azure/dev-tool": "^1.0.0"
45
45
  },
46
46
  "repository": "github:Azure/azure-sdk-for-js",