BudgetProperties Class

The properties of the budget.

Constructor

BudgetProperties(*args: Any, **kwargs: Any)

Variables

Name Description
category

The category of the budget, whether the budget tracks cost or usage. Required. "Cost"

amount

The total amount of cost to track with the budget. Required.

time_grain

The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers. Required. Known values are: "Monthly", "Quarterly", "Annually", "BillingMonth", "BillingQuarter", and "BillingAnnual".

time_period

Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date. Required.

filter

May be used to filter budgets by user-specified dimensions and/or tags.

current_spend

The current amount of cost which is being tracked for a budget.

notifications

Dictionary of notifications associated with the budget. Budget can have up to five notifications.

forecast_spend

The forecasted cost which is being tracked for a budget.

Attributes

amount

The total amount of cost to track with the budget. Required.

amount: Decimal

category

The category of the budget, whether the budget tracks cost or usage. Required. "Cost"

category: str | _models.CategoryType

current_spend

The current amount of cost which is being tracked for a budget.

current_spend: _models.CurrentSpend | None

filter

May be used to filter budgets by user-specified dimensions and/or tags.

filter: _models.BudgetFilter | None

forecast_spend

The forecasted cost which is being tracked for a budget.

forecast_spend: _models.ForecastSpend | None

notifications

Dictionary of notifications associated with the budget. Budget can have up to five notifications.

notifications: dict[str, '_models.Notification'] | None

time_grain

The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers. Required. Known values are: "Monthly", "Quarterly", "Annually", "BillingMonth", "BillingQuarter", and "BillingAnnual".

time_grain: str | _models.TimeGrainType

time_period

Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date. Required.

time_period: _models.BudgetTimePeriod