Initialize-CafBudgets
Creates budget resources for all Azure subscriptions in the tenant.
Syntax
Initialize-CafBudgets
[-UseDefaults]
Description
Creates budget resources for all Azure Plan subscriptions in the tenant using the REST API. Processes all enabled subscriptions, applying explicit configuration from the .azcontext file where available and auto-defaults for subscriptions without explicit configuration.
Example
Initialize-CafBudgets
Parameter
-UseDefaults
When specified, applies default budget values to subscriptions that do not have explicit configuration in the .azcontext file.
| Property | Value |
|---|---|
| Type: | SwitchParameter |
| Default value: | False |
| Required: | False |