Budget Interface
public interface Budget
An immutable client-side representation of Budget.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Big |
amount()
Gets the amount property: The total amount of cost to track with the budget. |
abstract
Category |
category()
Gets the category property: The category of the budget, whether the budget tracks cost or usage. |
abstract
Current |
currentSpend()
Gets the current |
abstract String |
etag()
Gets the etag property: e |
abstract
Budget |
filter()
Gets the filter property: May be used to filter budgets by user-specified dimensions and/or tags. |
abstract
Forecast |
forecastSpend()
Gets the forecast |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Budget |
innerModel()
Gets the inner com. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract Map<String,Notification> |
notifications()
Gets the notifications property: Dictionary of notifications associated with the budget. |
abstract Budget |
refresh()
Refreshes the resource to sync with Azure. |
abstract Budget |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract
Time |
timeGrain()
Gets the time |
abstract
Budget |
timePeriod()
Gets the time |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Budget resource. |
Method Details
amount
public abstract BigDecimal amount()
Gets the amount property: The total amount of cost to track with the budget.
Returns:
category
public abstract CategoryType category()
Gets the category property: The category of the budget, whether the budget tracks cost or usage.
Returns:
currentSpend
public abstract CurrentSpend currentSpend()
Gets the currentSpend property: The current amount of cost which is being tracked for a budget.
Returns:
etag
public abstract String etag()
Gets the etag property: 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.
Returns:
filter
public abstract BudgetFilter filter()
Gets the filter property: May be used to filter budgets by user-specified dimensions and/or tags.
Returns:
forecastSpend
public abstract ForecastSpend forecastSpend()
Gets the forecastSpend property: The forecasted cost which is being tracked for a budget.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract BudgetInner innerModel()
Gets the inner com.azure.resourcemanager.consumption.fluent.models.BudgetInner object.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
notifications
public abstract Map
Gets the notifications property: Dictionary of notifications associated with the budget. Budget can have up to five notifications.
Returns:
refresh
public abstract Budget refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Budget refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
timeGrain
public abstract TimeGrainType timeGrain()
Gets the timeGrain property: 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.
Returns:
timePeriod
public abstract BudgetTimePeriod timePeriod()
Gets the timePeriod property: 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.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract Budget.Update update()
Begins update for the Budget resource.
Returns:
Applies to
Azure SDK for Java