From e0a910dde1084f8cd49d216f00988f0fdf154d51 Mon Sep 17 00:00:00 2001 From: rebecacalazansdebrito <80122188+rebecacalazansdebrito@users.noreply.github.com> Date: Tue, 23 Mar 2021 19:45:27 -0700 Subject: [PATCH] [Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01 (#13327) * add parameter locale to Notification * fix locale description * Add locale parameter to an example * Revert "Add locale parameter to an example" This reverts commit deafd36d79bac0c37e64f8b7751d12b0601fd219. * Fix locale description * Add locale to CreateOrUpdate example * Change CultureCode declaration * Fix culture codes * Revert "Change CultureCode declaration" This reverts commit 3e9b95e0cd40fc59bcc7a6857f887657d25f91fb. * Add description to CultureCode enum * Revert "Add description to CultureCode enum" This reverts commit 9ac5d73d6893ac6e1ba1ebfc3baf5867614e3ed5. --- .../stable/2019-10-01/consumption.json | 31 +++++++++++++++++++ .../examples/CreateOrUpdateBudget.json | 3 ++ 2 files changed, 34 insertions(+) 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 af429c8d699e..021a511d7f31 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 @@ -4146,6 +4146,37 @@ "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/2019-10-01/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreateOrUpdateBudget.json index e7316c36d43e..5c2b72d57117 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreateOrUpdateBudget.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-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"