Class BudgetState
Inherited Members
Namespace: Pulumi.Gcp.Billing
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class BudgetState : ResourceArgs
Constructors
View SourceBudgetState()
Declaration
public BudgetState()
Properties
View SourceAllUpdatesRule
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.
Declaration
public Input<BudgetAllUpdatesRuleGetArgs> AllUpdatesRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BudgetAllUpdatesRuleGetArgs> |
Amount
The budgeted amount for each usage period. Structure is documented below.
Declaration
public Input<BudgetAmountGetArgs> Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BudgetAmountGetArgs> |
BillingAccount
ID of the billing account to set a budget on.
Declaration
public Input<string> BillingAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
BudgetFilter
Filters that define which resources are used to compute the actual spend against the budget. Structure is documented below.
Declaration
public Input<BudgetBudgetFilterGetArgs> BudgetFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BudgetBudgetFilterGetArgs> |
DisplayName
User data for display name in UI. Must be <= 60 chars.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Resource name of the budget. The resource name implies the scope of a budget. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ThresholdRules
Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Structure is documented below.
Declaration
public InputList<BudgetThresholdRuleGetArgs> ThresholdRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BudgetThresholdRuleGetArgs> |