Skip to content

Commit 628100c

Browse files
author
SDKAuto
committed
CodeGen from PR 16431 in Azure/azure-rest-api-specs
Merge 55237cfe8ea393799b30c95c029cfee68aa09574 into 62ec79080af0d0d609650d67155ef4a93ae11482
1 parent 008ed54 commit 628100c

40 files changed

+944
-920
lines changed

sdk/consumption/arm-consumption/README.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,7 @@ const filter = "testfilter";
5555
const skiptoken = "testskiptoken";
5656
const top = 1;
5757
const metric = "actualcost";
58-
client.usageDetails.list(scope,{
59-
expand: expand,
60-
filter: filter,
61-
skiptoken: skiptoken,
62-
top: top,
63-
metric: metric
64-
}).then((result) => {
58+
client.usageDetails.list(scope, expand, filter, skiptoken, top, metric).then((result) => {
6559
console.log("The result is:");
6660
console.log(result);
6761
}).catch((err) => {
@@ -104,19 +98,13 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
10498
const skiptoken = "testskiptoken";
10599
const top = 1;
106100
const metric = "actualcost";
107-
client.usageDetails.list(scope,{
108-
expand: expand,
109-
filter: filter,
110-
skiptoken: skiptoken,
111-
top: top,
112-
metric: metric
113-
}).then((result) => {
114-
console.log("The result is:");
115-
console.log(result);
116-
}).catch((err) => {
117-
console.log("An error occurred:");
118-
console.error(err);
119-
});
101+
client.usageDetails.list(scope, expand, filter, skiptoken, top, metric).then((result) => {
102+
console.log("The result is:");
103+
console.log(result);
104+
}).catch((err) => {
105+
console.log("An error occurred:");
106+
console.error(err);
107+
});
120108
</script>
121109
</head>
122110
<body></body>

sdk/consumption/arm-consumption/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/consumption/arm-consumption",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/consumption/arm-consumption",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

sdk/consumption/arm-consumption/src/consumptionManagementClient.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class ConsumptionManagementClient extends ConsumptionManagementClientContext {
2929
reservationRecommendationDetails: operations.ReservationRecommendationDetails;
3030
reservationTransactions: operations.ReservationTransactions;
3131
priceSheet: operations.PriceSheet;
32-
forecasts: operations.Forecasts;
3332
operations: operations.Operations;
3433
aggregatedCost: operations.AggregatedCost;
3534
events: operations.EventsOperations;
@@ -61,7 +60,6 @@ class ConsumptionManagementClient extends ConsumptionManagementClientContext {
6160
this.reservationRecommendationDetails = new operations.ReservationRecommendationDetails(this);
6261
this.reservationTransactions = new operations.ReservationTransactions(this);
6362
this.priceSheet = new operations.PriceSheet(this);
64-
this.forecasts = new operations.Forecasts(this);
6563
this.operations = new operations.Operations(this);
6664
this.aggregatedCost = new operations.AggregatedCost(this);
6765
this.events = new operations.EventsOperations(this);

sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class ConsumptionManagementClientContext extends msRestAzure.AzureService
4949

5050
super(credentials, options);
5151

52-
this.apiVersion = '2019-10-01';
52+
this.apiVersion = '2021-10-01';
5353
this.acceptLanguage = 'en-US';
5454
this.longRunningOperationRetryTimeout = 30;
5555
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

sdk/consumption/arm-consumption/src/models/aggregatedCostMappers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export {
2626
ErrorDetails,
2727
ErrorResponse,
2828
EventSummary,
29-
Forecast,
30-
ForecastPropertiesConfidenceLevelsItem,
3129
ForecastSpend,
3230
LegacyChargeSummary,
3331
LegacyReservationTransaction,

sdk/consumption/arm-consumption/src/models/balancesMappers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export {
2626
ErrorDetails,
2727
ErrorResponse,
2828
EventSummary,
29-
Forecast,
30-
ForecastPropertiesConfidenceLevelsItem,
3129
ForecastSpend,
3230
LegacyChargeSummary,
3331
LegacyReservationTransaction,

sdk/consumption/arm-consumption/src/models/budgetsMappers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ export {
2727
ErrorDetails,
2828
ErrorResponse,
2929
EventSummary,
30-
Forecast,
31-
ForecastPropertiesConfidenceLevelsItem,
3230
ForecastSpend,
3331
LegacyChargeSummary,
3432
LegacyReservationTransaction,

sdk/consumption/arm-consumption/src/models/chargesMappers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ export {
2727
ErrorDetails,
2828
ErrorResponse,
2929
EventSummary,
30-
Forecast,
31-
ForecastPropertiesConfidenceLevelsItem,
3230
ForecastSpend,
3331
LegacyChargeSummary,
3432
LegacyReservationTransaction,

sdk/consumption/arm-consumption/src/models/creditsMappers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export {
2626
ErrorDetails,
2727
ErrorResponse,
2828
EventSummary,
29-
Forecast,
30-
ForecastPropertiesConfidenceLevelsItem,
3129
ForecastSpend,
3230
LegacyChargeSummary,
3331
LegacyReservationTransaction,

sdk/consumption/arm-consumption/src/models/eventsOperationsMappers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ export {
2727
ErrorResponse,
2828
Events,
2929
EventSummary,
30-
Forecast,
31-
ForecastPropertiesConfidenceLevelsItem,
3230
ForecastSpend,
3331
LegacyChargeSummary,
3432
LegacyReservationTransaction,

0 commit comments

Comments
 (0)