From 54a13e2bbb5bf0b264dde6874e014a367f2dc02d Mon Sep 17 00:00:00 2001 From: sashahdo <64434373+sashahdo@users.noreply.github.com> Date: Wed, 3 Nov 2021 01:48:35 -0700 Subject: [PATCH] [Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 (#16500) * Added locale field and Forecasted enum value. * Added locale field and Forecasted enum value. --- .../stable/2021-10-01/consumption.json | 34 ++++++++++++++++++- .../examples/CreateOrUpdateBudget.json | 3 ++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/consumption.json index d9dc08d70302..dc4c3d98e43a 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/consumption.json @@ -4248,13 +4248,45 @@ "description": "The type of threshold", "type": "string", "enum": [ - "Actual" + "Actual", + "Forecasted" ], "x-ms-enum": { "name": "ThresholdType", "modelAsString": true }, "default": "Actual" + }, + "locale": { + "description": "Language in which the recipient will receive the notification", + "type": "string", + "enum": [ + "en-us", + "ja-jp", + "zh-cn", + "de-de", + "es-es", + "fr-fr", + "it-it", + "ko-kr", + "pt-br", + "ru-ru", + "zh-tw", + "cs-cz", + "pl-pl", + "tr-tr", + "da-dk", + "en-gb", + "hu-hu", + "nb-no", + "nl-nl", + "pt-pt", + "sv-se" + ], + "x-ms-enum": { + "name": "CultureCode", + "modelAsString": true + } } }, "required": [ diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/CreateOrUpdateBudget.json index c02315eedd1c..771a304770e7 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/CreateOrUpdateBudget.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/CreateOrUpdateBudget.json @@ -54,6 +54,7 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, + "locale": "en-us", "contactEmails": [ "johndoe@contoso.com", "janesmith@contoso.com" @@ -129,6 +130,7 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, + "locale": "en-us", "contactEmails": [ "johndoe@contoso.com", "janesmith@contoso.com" @@ -203,6 +205,7 @@ "enabled": true, "operator": "GreaterThan", "threshold": 80, + "locale": "en-us", "contactEmails": [ "johndoe@contoso.com", "janesmith@contoso.com"