Skip to content

Commit 4b2c62f

Browse files
author
Rob Long
authored
Cost Management: Add typescript support and add more aggregation functions (#14600)
* Add typescript support to Cost Management Signed-off-by: Rob Long <[email protected]> * Extend set of aggregation functions Add Avg, Max and Min to set of available aggregation functions. Signed-off-by: Rob Long <[email protected]>
1 parent 08f5e39 commit 4b2c62f

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.exports.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,9 @@
588588
"description": "The name of the aggregation function to use.",
589589
"type": "string",
590590
"enum": [
591+
"Avg",
592+
"Max",
593+
"Min",
591594
"Sum"
592595
],
593596
"x-ms-enum": {

specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-11-01/costmanagement.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,9 @@
15751575
"description": "The name of the aggregation function to use.",
15761576
"type": "string",
15771577
"enum": [
1578+
"Avg",
1579+
"Max",
1580+
"Min",
15781581
"Sum"
15791582
],
15801583
"x-ms-enum": {
@@ -2806,6 +2809,9 @@
28062809
"description": "The name of the aggregation function to use.",
28072810
"type": "string",
28082811
"enum": [
2812+
"Avg",
2813+
"Max",
2814+
"Min",
28092815
"Sum"
28102816
],
28112817
"x-ms-enum": {
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## TypeScript
2+
3+
These settings apply only when `--typescript` is specified on the command line.
4+
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`.
5+
6+
``` yaml $(typescript)
7+
typescript:
8+
azure-arm: true
9+
package-name: "@azure/arm-costmanagement"
10+
output-folder: "$(typescript-sdks-folder)/sdk/cost-management/arm-costmanagement"
11+
clear-output-folder: true
12+
generate-metadata: true
13+
```

0 commit comments

Comments
 (0)