Skip to content

Commit 5ab77f1

Browse files
committed
removed unsupported field "grouping" from forecast
1 parent 5dae0ac commit 5ab77f1

File tree

1 file changed

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

1 file changed

+35
-1
lines changed

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

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2488,7 +2488,7 @@
24882488
},
24892489
"dataset": {
24902490
"description": "Has definition for data in this forecast.",
2491-
"$ref": "#/definitions/QueryDataset"
2491+
"$ref": "#/definitions/ForecastDataset"
24922492
},
24932493
"includeActualCost": {
24942494
"description": "a boolean determining if actualCost will be included",
@@ -2504,6 +2504,40 @@
25042504
"timeframe"
25052505
]
25062506
},
2507+
"ForecastDataset": {
2508+
"description": "The definition of data present in the query.",
2509+
"properties": {
2510+
"granularity": {
2511+
"description": "The granularity of rows in the query.",
2512+
"type": "string",
2513+
"enum": [
2514+
"Daily"
2515+
],
2516+
"x-ms-enum": {
2517+
"name": "GranularityType",
2518+
"modelAsString": true
2519+
}
2520+
},
2521+
"configuration": {
2522+
"description": "Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided.",
2523+
"$ref": "#/definitions/QueryDatasetConfiguration"
2524+
},
2525+
"aggregation": {
2526+
"type": "object",
2527+
"description": "Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses.",
2528+
"additionalProperties": {
2529+
"type": "object",
2530+
"$ref": "#/definitions/QueryAggregation"
2531+
},
2532+
"maxItems": 2
2533+
},
2534+
"filter": {
2535+
"type": "object",
2536+
"description": "Has filter expression to use in the query.",
2537+
"$ref": "#/definitions/QueryFilter"
2538+
}
2539+
}
2540+
},
25072541
"QueryDefinition": {
25082542
"description": "The definition of a query.",
25092543
"properties": {

0 commit comments

Comments
 (0)