GetBudgetResult

data class GetBudgetResult(val amount: Double? = null, 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? = null, 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
val amount: Double? = null

The total amount of cost to track with the budget. Supported for CategoryType(s): Cost. Required for CategoryType(s): Cost.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

The category of the budget.

Link copied to clipboard

The current amount of cost which is being tracked for a budget. Supported for CategoryType(s): Cost.

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. Supported for CategoryType(s): Cost, ReservationUtilization.

Link copied to clipboard

The forecasted cost which is being tracked for a budget. Supported for CategoryType(s): Cost.

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. Supported for CategoryType(s): Cost, ReservationUtilization.

Link copied to clipboard

The time covered by a budget. Tracking of the amount will be reset based on the time grain. Supported for CategoryType(s): Cost, ReservationUtilization. Supported timeGrainTypes for CategoryType: Cost

Link copied to clipboard

The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. Supported for CategoryType(s): Cost, ReservationUtilization. Required for CategoryType(s): Cost, ReservationUtilization.

Link copied to clipboard

Resource type.