Skip to content

Commit 8dcda61

Browse files
authored
Adding treshold type and OperatorType descroptions (#19890)
1 parent d94ec99 commit 8dcda61

File tree

1 file changed

+31
-2
lines changed
  • specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01

1 file changed

+31
-2
lines changed

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

+31-2
Original file line numberDiff line numberDiff line change
@@ -4348,7 +4348,24 @@
43484348
],
43494349
"x-ms-enum": {
43504350
"name": "OperatorType",
4351-
"modelAsString": true
4351+
"modelAsString": true,
4352+
"values": [
4353+
{
4354+
"value": "EqualTo",
4355+
"description": "Alert will be triggered if the evaluated cost is the same as threshold value. Note: It’s not recommended to use this OperatorType as there’s low chance of cost being exactly the same as threshold value, leading to missing of your alert. This OperatorType will be deprecated in future. ",
4356+
"name": "EqualTo"
4357+
},
4358+
{
4359+
"value": "GreaterThan",
4360+
"description": "Alert will be triggered if the evaluated cost is greater than the threshold value. Note: This is the recommended OperatorType while configuring Budget Alert.",
4361+
"name": "GreaterThan"
4362+
},
4363+
{
4364+
"value": "GreaterThanOrEqualTo",
4365+
"description": "Alert will be triggered if the evaluated cost is greater than or equal to the threshold value.",
4366+
"name": "GreaterThanOrEqualTo"
4367+
}
4368+
]
43524369
}
43534370
},
43544371
"threshold": {
@@ -4390,7 +4407,19 @@
43904407
],
43914408
"x-ms-enum": {
43924409
"name": "ThresholdType",
4393-
"modelAsString": true
4410+
"modelAsString": true,
4411+
"values": [
4412+
{
4413+
"value": "Actual",
4414+
"description": "Actual costs budget alerts notify when the actual accrued cost exceeds the allocated budget .",
4415+
"name": "Actual"
4416+
},
4417+
{
4418+
"value": "Forecasted",
4419+
"description": "Forecasted costs budget alerts provide advanced notification that your spending trends are likely to exceed your allocated budget, as it relies on forecasted cost predictions.",
4420+
"name": "Forecasted"
4421+
}
4422+
]
43944423
},
43954424
"default": "Actual"
43964425
},

0 commit comments

Comments
 (0)