GetBudgetResult

data class GetBudgetResult(val amount: Double, val azureApiVersion: String, val category: String, val currentSpend: CurrentSpendResponse, val eTag: String? = null, val filter: BudgetFilterResponse? = null, val forecastSpend: ForecastSpendResponse, val id: String, val name: String, val notifications: Map<String, NotificationResponse>? = null, val timeGrain: String, val timePeriod: BudgetTimePeriodResponse, val type: String)

A budget resource.

Constructors

Link copied to clipboard
constructor(amount: Double, azureApiVersion: String, category: String, currentSpend: CurrentSpendResponse, eTag: String? = null, filter: BudgetFilterResponse? = null, forecastSpend: ForecastSpendResponse, id: String, name: String, notifications: Map<String, NotificationResponse>? = null, timeGrain: String, timePeriod: BudgetTimePeriodResponse, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The total amount of cost to track with the budget

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val eTag: String? = null

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

Link copied to clipboard

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

Link copied to clipboard

The forecasted cost which is being tracked for a budget.

Link copied to clipboard
val id: String

Resource Id.

Link copied to clipboard

Resource name.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

Resource type.