Skip to content

Commit 38b9360

Browse files
authored
[Hub Generated] Review request for Microsoft.CostManagement to add version stable/2020-06-01 (#10465)
* removed unsupported field "grouping" from forecast * Revert "removed unsupported field "grouping" from forecast" This reverts commit 5ab77f1. * moved forecastDataset addition to correct version
1 parent 1cdd050 commit 38b9360

File tree

1 file changed

+35
-1
lines changed
  • specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2020-06-01

1 file changed

+35
-1
lines changed

specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2020-06-01/costmanagement.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@
25022502
},
25032503
"dataset": {
25042504
"description": "Has definition for data in this forecast.",
2505-
"$ref": "#/definitions/QueryDataset"
2505+
"$ref": "#/definitions/ForecastDataset"
25062506
},
25072507
"includeActualCost": {
25082508
"description": "a boolean determining if actualCost will be included",
@@ -2518,6 +2518,40 @@
25182518
"timeframe"
25192519
]
25202520
},
2521+
"ForecastDataset": {
2522+
"description": "The definition of data present in the forecast.",
2523+
"properties": {
2524+
"granularity": {
2525+
"description": "The granularity of rows in the forecast.",
2526+
"type": "string",
2527+
"enum": [
2528+
"Daily"
2529+
],
2530+
"x-ms-enum": {
2531+
"name": "GranularityType",
2532+
"modelAsString": true
2533+
}
2534+
},
2535+
"configuration": {
2536+
"description": "Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided.",
2537+
"$ref": "#/definitions/QueryDatasetConfiguration"
2538+
},
2539+
"aggregation": {
2540+
"type": "object",
2541+
"description": "Dictionary of aggregation expression to use in the forecast. The key of each item in the dictionary is the alias for the aggregated column. forecast can have up to 2 aggregation clauses.",
2542+
"additionalProperties": {
2543+
"type": "object",
2544+
"$ref": "#/definitions/QueryAggregation"
2545+
},
2546+
"maxItems": 2
2547+
},
2548+
"filter": {
2549+
"type": "object",
2550+
"description": "Has filter expression to use in the forecast.",
2551+
"$ref": "#/definitions/QueryFilter"
2552+
}
2553+
}
2554+
},
25212555
"QueryDefinition": {
25222556
"description": "The definition of a query.",
25232557
"properties": {

0 commit comments

Comments
 (0)