Skip to content

Commit 54a13e2

Browse files
authored
[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.
1 parent 64b91c0 commit 54a13e2

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/consumption.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4248,13 +4248,45 @@
42484248
"description": "The type of threshold",
42494249
"type": "string",
42504250
"enum": [
4251-
"Actual"
4251+
"Actual",
4252+
"Forecasted"
42524253
],
42534254
"x-ms-enum": {
42544255
"name": "ThresholdType",
42554256
"modelAsString": true
42564257
},
42574258
"default": "Actual"
4259+
},
4260+
"locale": {
4261+
"description": "Language in which the recipient will receive the notification",
4262+
"type": "string",
4263+
"enum": [
4264+
"en-us",
4265+
"ja-jp",
4266+
"zh-cn",
4267+
"de-de",
4268+
"es-es",
4269+
"fr-fr",
4270+
"it-it",
4271+
"ko-kr",
4272+
"pt-br",
4273+
"ru-ru",
4274+
"zh-tw",
4275+
"cs-cz",
4276+
"pl-pl",
4277+
"tr-tr",
4278+
"da-dk",
4279+
"en-gb",
4280+
"hu-hu",
4281+
"nb-no",
4282+
"nl-nl",
4283+
"pt-pt",
4284+
"sv-se"
4285+
],
4286+
"x-ms-enum": {
4287+
"name": "CultureCode",
4288+
"modelAsString": true
4289+
}
42584290
}
42594291
},
42604292
"required": [

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/CreateOrUpdateBudget.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"enabled": true,
5555
"operator": "GreaterThan",
5656
"threshold": 80,
57+
"locale": "en-us",
5758
"contactEmails": [
5859
5960
@@ -129,6 +130,7 @@
129130
"enabled": true,
130131
"operator": "GreaterThan",
131132
"threshold": 80,
133+
"locale": "en-us",
132134
"contactEmails": [
133135
134136
@@ -203,6 +205,7 @@
203205
"enabled": true,
204206
"operator": "GreaterThan",
205207
"threshold": 80,
208+
"locale": "en-us",
206209
"contactEmails": [
207210
208211

0 commit comments

Comments
 (0)