Skip to content

Commit 7146bb6

Browse files
authored
fix consumption bug (Azure#23093)
* fix consumption bug * update files
1 parent e356c05 commit 7146bb6

25 files changed

+921
-1416
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/consumption/arm-consumption/CHANGELOG.md

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,37 @@
11
# Release History
2-
3-
## 9.0.2 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
2+
3+
## 9.1.0 (2022-09-05)
4+
5+
**Features**
6+
7+
- Added Interface AmountWithExchangeRate
8+
- Added Interface Balance
9+
- Added Interface Budget
10+
- Added Interface ChargeSummary
11+
- Added Interface CreditSummary
12+
- Added Interface EventSummary
13+
- Added Interface LegacyChargeSummary
14+
- Added Interface LegacyReservationRecommendation
15+
- Added Interface LegacyReservationTransaction
16+
- Added Interface LegacySharedScopeReservationRecommendationProperties
17+
- Added Interface LegacySingleScopeReservationRecommendationProperties
18+
- Added Interface LegacyUsageDetail
19+
- Added Interface LotSummary
20+
- Added Interface ManagementGroupAggregatedCostResult
21+
- Added Interface Marketplace
22+
- Added Interface ModernChargeSummary
23+
- Added Interface ModernReservationRecommendation
24+
- Added Interface ModernReservationTransaction
25+
- Added Interface ModernUsageDetail
26+
- Added Interface PriceSheetResult
27+
- Added Interface ReservationDetail
28+
- Added Interface ReservationRecommendation
29+
- Added Interface ReservationRecommendationDetailsModel
30+
- Added Interface ReservationSummary
31+
- Added Interface ReservationTransaction
32+
- Added Interface TagsResult
33+
- Added Interface UsageDetail
34+
1335
## 9.0.1 (2022-04-11)
1436

1537
**features**
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "82fdf284eea880a8e027c354911a814999a77178",
2+
"commit": "d600759c3516b61a7c353bc8682bccbab85a6f65",
33
"readme": "specification\\consumption\\resource-manager\\readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.18.20220329.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\consumption\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1.20220727.1 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
7-
"use": "@autorest/typescript@6.0.0-alpha.18.20220329.1"
8-
}
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
7+
"use": "@autorest/typescript@6.0.0-rc.1.20220727.1"
8+
}

sdk/consumption/arm-consumption/package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ConsumptionManagementClient.",
6-
"version": "9.0.2",
6+
"version": "9.1.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
1010
"dependencies": {
1111
"@azure/core-paging": "^1.2.0",
12-
"@azure/core-client": "^1.0.0",
12+
"@azure/core-client": "^1.5.0",
1313
"@azure/core-auth": "^1.3.0",
14-
"@azure/core-rest-pipeline": "^1.1.0",
14+
"@azure/core-rest-pipeline": "^1.8.0",
1515
"tslib": "^2.2.0"
1616
},
1717
"keywords": [
@@ -34,13 +34,17 @@
3434
"mkdirp": "^1.0.4",
3535
"rollup": "^2.66.1",
3636
"rollup-plugin-sourcemaps": "^0.6.3",
37-
"typescript": "~4.2.0",
37+
"typescript": "~4.6.0",
3838
"uglify-js": "^3.4.9",
3939
"rimraf": "^3.0.0",
4040
"@azure/identity": "^2.0.1",
41-
"@azure-tools/test-recorder": "^1.0.0",
41+
"@azure-tools/test-recorder": "^2.0.0",
42+
"@azure-tools/test-credential": "^1.0.0",
4243
"mocha": "^7.1.1",
43-
"cross-env": "^7.0.2"
44+
"@types/chai": "^4.2.8",
45+
"chai": "^4.2.0",
46+
"cross-env": "^7.0.2",
47+
"@azure/dev-tool": "^1.0.0"
4448
},
4549
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/consumption/arm-consumption",
4650
"repository": {
@@ -91,9 +95,8 @@
9195
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
9296
"unit-test:browser": "echo skipped",
9397
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
94-
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
95-
"integration-test:browser": "echo skipped",
96-
"docs": "echo skipped"
98+
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
99+
"integration-test:browser": "echo skipped"
97100
},
98101
"sideEffects": false,
99102
"//metadata": {
@@ -113,4 +116,4 @@
113116
"disableDocsMs": true,
114117
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-consumption?view=azure-node-preview"
115118
}
116-
}
119+
}

sdk/consumption/arm-consumption/recordings/node/consumption_test/recording_budgets_create_test.js

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)