From 76f3342a830bbf03cccc9c9a1ee76b8e9b4a2228 Mon Sep 17 00:00:00 2001 From: thomasp98296 Date: Wed, 4 Jan 2023 17:27:52 -0800 Subject: [PATCH] Task 16564293: Update swagger description of new budget alert. (#21879) * Task 16564293: Update swagger description of new budget alert. * Also remove "budget" as it will not longer be used. * Add custom words Co-authored-by: Thomas Pham --- custom-words.txt | 2 ++ .../Microsoft.Insights/stable/2021-09-01/actionGroups_API.json | 2 +- .../Microsoft.Insights/stable/2022-04-01/actionGroups_API.json | 2 +- .../Microsoft.Insights/stable/2022-06-01/actionGroups_API.json | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index f3b498f415da..3b3b89139e75 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2632,6 +2632,8 @@ logalertv1numresult logalertv1metricmeasurement activitylog budget +actualcostbudget +forecastedbudget syncsets Syncsets openshiftclusters diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-09-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-09-01/actionGroups_API.json index 69e5861381f1..0e8633a917c6 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-09-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-09-01/actionGroups_API.json @@ -786,7 +786,7 @@ "alertType": { "type": "string", "maxLength": 30, - "description": "The name of the supported alert type." + "description": "The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget" }, "emailReceivers": { "type": "array", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-04-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-04-01/actionGroups_API.json index a34f37f398f6..c9d61f9f3011 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-04-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-04-01/actionGroups_API.json @@ -682,7 +682,7 @@ "alertType": { "type": "string", "maxLength": 30, - "description": "The name of the supported alert type." + "description": "The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget" }, "emailReceivers": { "x-ms-identifiers": [], diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/actionGroups_API.json index 5f8bb4e6aa3c..000cfdb7a076 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/actionGroups_API.json @@ -785,7 +785,7 @@ "alertType": { "type": "string", "maxLength": 30, - "description": "The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, budget" + "description": "The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget" }, "emailReceivers": { "x-ms-identifiers": [],