|
79 | 79 | ], |
80 | 80 | "description": "The category of the budget, whether the budget tracks cost or usage." |
81 | 81 | }, |
82 | | - "filters": { |
| 82 | + "filter": { |
83 | 83 | "oneOf": [ |
84 | 84 | { |
85 | | - "$ref": "#/definitions/Filters" |
| 85 | + "$ref": "#/definitions/Filter" |
86 | 86 | }, |
87 | 87 | { |
88 | 88 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
89 | 89 | } |
90 | 90 | ], |
91 | | - "description": "May be used to filter budgets by resource group, resource, or meter." |
| 91 | + "description": "May be used to filter budgets by user-specified dimensions and/or tags." |
92 | 92 | }, |
93 | 93 | "notifications": { |
94 | 94 | "oneOf": [ |
|
163 | 163 | ], |
164 | 164 | "description": "The start and end date for a budget." |
165 | 165 | }, |
166 | | - "Filters": { |
| 166 | + "Filter": { |
167 | 167 | "type": "object", |
168 | 168 | "properties": { |
169 | 169 | "meters": { |
|
221 | 221 | "description": "The dictionary of filters on tags." |
222 | 222 | } |
223 | 223 | }, |
224 | | - "description": "May be used to filter budgets by resource group, resource, or meter." |
| 224 | + "description": "May be used to filter budgets by user-specified dimensions and/or tags." |
225 | 225 | }, |
226 | 226 | "Notification": { |
227 | 227 | "type": "object", |
|
238 | 238 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
239 | 239 | } |
240 | 240 | ], |
241 | | - "description": "Email addresses to send the budget notification to when the threshold is exceeded." |
| 241 | + "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." |
242 | 242 | }, |
243 | 243 | "contactGroups": { |
244 | 244 | "oneOf": [ |
|
252 | 252 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
253 | 253 | } |
254 | 254 | ], |
255 | | - "description": "Action groups to send the budget notification to when the threshold is exceeded." |
| 255 | + "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." |
256 | 256 | }, |
257 | 257 | "contactRoles": { |
258 | 258 | "oneOf": [ |
|
305 | 305 | } |
306 | 306 | ], |
307 | 307 | "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." |
| 308 | + }, |
| 309 | + "thresholdType": { |
| 310 | + "oneOf": [ |
| 311 | + { |
| 312 | + "type": "string", |
| 313 | + "enum": [ |
| 314 | + "Actual" |
| 315 | + ] |
| 316 | + }, |
| 317 | + { |
| 318 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 319 | + } |
| 320 | + ], |
| 321 | + "description": "The type of threshold." |
308 | 322 | } |
309 | 323 | }, |
310 | 324 | "required": [ |
|
0 commit comments