BudgetState class

Input properties used for looking up and filtering Budget resources.

Constructors

BudgetState({Input<BudgetAllUpdatesRule?>? allUpdatesRule, Input<BudgetAmount?>? amount, Input<String?>? billingAccount, Input<BudgetBudgetFilter?>? budgetFilter, Input<String?>? deletionPolicy, Input<String?>? displayName, Input<String?>? name, Input<String?>? ownershipScope, Input<List<BudgetThresholdRule>?>? thresholdRules})
Creates a new BudgetState. allUpdatesRule Defines notifications that are sent on every update to the amount The budgeted amount for each usage period. billingAccount ID of the billing account to set a budget on. budgetFilter Filters that define which resources are used to compute the actual deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. displayName User data for display name in UI. Must be <= 60 chars. name Resource name of the budget. The resource name ownershipScope The ownership scope of the budget. The ownership scope and users' thresholdRules Rules that trigger alerts (notifications of thresholds being
const
BudgetState.fromMap(Map<String, dynamic> map)
factory

Properties

allUpdatesRule → Input<BudgetAllUpdatesRule?>?
Defines notifications that are sent on every update to the billing account's spend, regardless of the thresholds defined using threshold rules. Structure is documented below.
final
amount → Input<BudgetAmount?>?
The budgeted amount for each usage period. Structure is documented below.
final
billingAccount → Input<String?>?
ID of the billing account to set a budget on.
final
budgetFilter → Input<BudgetBudgetFilter?>?
Filters that define which resources are used to compute the actual spend against the budget. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
displayName → Input<String?>?
User data for display name in UI. Must be <= 60 chars.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Resource name of the budget. The resource name implies the scope of a budget. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.
final
ownershipScope → Input<String?>?
The ownership scope of the budget. The ownership scope and users' IAM permissions determine who has full access to the budget's data. Possible values are: OWNERSHIP_SCOPE_UNSPECIFIED, ALL_USERS, BILLING_ACCOUNT.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thresholdRules → Input<List<BudgetThresholdRule>?>?
Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited