From 5859d9866b6747d5e7b7ad2486777cfe43b4eff3 Mon Sep 17 00:00:00 2001 From: Sasha Shahdoost rad Date: Fri, 29 Jan 2021 14:54:52 -0800 Subject: [PATCH 1/2] Lowered minItems to 0 to match API implementation --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index db5c2cba3034..b735ac91eb20 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -3944,7 +3944,7 @@ "items": { "$ref": "#/definitions/BudgetFilterProperties" }, - "minItems": 2 + "minItems": 0 }, "not": { "description": "The logical \"NOT\" expression.", @@ -3997,7 +3997,7 @@ "items": { "type": "string" }, - "minItems": 1 + "minItems": 0 } }, "required": [ From 99868269d1b2a348659698a2a6a3ef306b98e0e5 Mon Sep 17 00:00:00 2001 From: Sasha Shahdoost rad Date: Thu, 21 Oct 2021 17:08:20 -0700 Subject: [PATCH 2/2] Added missing ThresholdType value. --- .../Microsoft.Consumption/stable/2019-11-01/consumption.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/consumption.json index 3485df1dd9e3..43d7b5055869 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-11-01/consumption.json @@ -4162,7 +4162,8 @@ "description": "The type of threshold", "type": "string", "enum": [ - "Actual" + "Actual", + "Forecasted" ], "x-ms-enum": { "name": "ThresholdType",