Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update thresholdType to use Forecasted instead of Forecast #1477

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions avm/res/consumption/budget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ module budget 'br/public:avm/res/consumption/budget:<version>' = {
| [`amount`](#parameter-amount) | int | The total amount of cost or usage to track with the budget. |
| [`name`](#parameter-name) | string | The name of the budget. |
| [`operator`](#parameter-operator) | string | The comparison operator. The operator can be either `EqualTo`, `GreaterThan`, or `GreaterThanOrEqualTo`. |
| [`thresholdType`](#parameter-thresholdtype) | string | The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecast`. |
| [`thresholdType`](#parameter-thresholdtype) | string | The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecasted`. |

**Conditional parameters**

Expand Down Expand Up @@ -317,7 +317,7 @@ The comparison operator. The operator can be either `EqualTo`, `GreaterThan`, or

### Parameter: `thresholdType`

The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecast`.
The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecasted`.

- Required: No
- Type: string
Expand All @@ -326,7 +326,7 @@ The type of threshold to use for the budget. The threshold type can be either `A
```Bicep
[
'Actual'
'Forecast'
'Forecasted'
]
```

Expand Down
4 changes: 2 additions & 2 deletions avm/res/consumption/budget/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ param actionGroups array?

@allowed([
'Actual'
'Forecast'
'Forecasted'
])
@description('Required. The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecast`.')
@description('Required. The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecasted`.')
param thresholdType string = 'Actual'

@description('Optional. The filter to use for restricting which resources are considered within the budget.')
Expand Down
6 changes: 3 additions & 3 deletions avm/res/consumption/budget/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "9911588770976622603"
"templateHash": "14286788088150860765"
},
"name": "Consumption Budgets",
"description": "This module deploys a Consumption Budget for Subscriptions.",
Expand Down Expand Up @@ -117,10 +117,10 @@
"defaultValue": "Actual",
"allowedValues": [
"Actual",
"Forecast"
"Forecasted"
],
"metadata": {
"description": "Required. The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecast`."
"description": "Required. The type of threshold to use for the budget. The threshold type can be either `Actual` or `Forecasted`."
}
},
"filter": {
Expand Down
Loading