Package-level declarations

Types

Link copied to clipboard
data class BudgetComparisonExpressionResponse(val name: String, val operator: String, val values: List<String>)

The comparison expression to be used in the budgets.

Link copied to clipboard

The Dimensions or Tags to filter a budget by.

Link copied to clipboard

May be used to filter budgets by resource group, resource, or meter.

Link copied to clipboard
data class BudgetTimePeriodResponse(val endDate: String? = null, val startDate: String)

The start and end date for a budget.

Link copied to clipboard
data class CurrentSpendResponse(val amount: Double, val unit: String)

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

Link copied to clipboard
data class ForecastSpendResponse(val amount: Double, val unit: String)

The forecasted cost which is being tracked for a budget.

Link copied to clipboard
data class GetBudgetResult(val amount: Double, 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.

Link copied to clipboard
data class NotificationResponse(val contactEmails: List<String>, val contactGroups: List<String>? = null, val contactRoles: List<String>? = null, val enabled: Boolean, val locale: String? = null, val operator: String, val threshold: Double, val thresholdType: String? = null)

The notification associated with a budget.