Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Consumption to add versi…
Browse files Browse the repository at this point in the history
…on 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 deafd36.

* Fix locale description

* Add locale to CreateOrUpdate example

* Change CultureCode declaration

* Fix culture codes

* Revert "Change CultureCode declaration"

This reverts commit 3e9b95e.

* Add description to CultureCode enum

* Revert "Add description to CultureCode enum"

This reverts commit 9ac5d73.
  • Loading branch information
recalaz authored Mar 24, 2021
1 parent 2b57b26 commit e972bc3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"locale": "en-us",
"contactEmails": [
"johndoe@contoso.com",
"janesmith@contoso.com"
Expand Down Expand Up @@ -129,6 +130,7 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"locale": "en-us",
"contactEmails": [
"johndoe@contoso.com",
"janesmith@contoso.com"
Expand Down Expand Up @@ -203,6 +205,7 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"locale": "en-us",
"contactEmails": [
"johndoe@contoso.com",
"janesmith@contoso.com"
Expand Down

0 comments on commit e972bc3

Please sign in to comment.