Budget Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A budget resource.
[Microsoft.Rest.Serialization.JsonTransformation]
public class Budget : Microsoft.Azure.Management.Consumption.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Budget = class
inherit ProxyResource
Public Class Budget
Inherits ProxyResource
- Inheritance
- Attributes
Constructors
Budget() |
Initializes a new instance of the Budget class. |
Budget(String, Decimal, String, BudgetTimePeriod, String, String, String, String, Filters, CurrentSpend, IDictionary<String,Notification>) |
Initializes a new instance of the Budget class. |
Properties
Amount |
Gets or sets the total amount of cost to track with the budget |
Category |
Gets or sets the category of the budget, whether the budget tracks cost or usage. Possible values include: 'Cost', 'Usage' |
CurrentSpend |
Gets the current amount of cost which is being tracked for a budget. |
ETag |
Gets or sets eTag of the resource. To handle concurrent update scenarion, this field will be used to determine whether the user is updating the latest version or not. (Inherited from ProxyResource) |
Filters |
Gets or sets may be used to filter budgets by resource group, resource, or meter. |
Id |
Gets resource Id. (Inherited from ProxyResource) |
Name |
Gets resource name. (Inherited from ProxyResource) |
Notifications |
Gets or sets dictionary of notifications associated with the budget. Budget can have up to five notifications. |
TimeGrain |
Gets or sets the time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually' |
TimePeriod |
Gets or sets 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 three months. Past start date should be selected within the timegrain preiod. There are no restrictions on the end date. |
Type |
Gets resource type. (Inherited from ProxyResource) |
Methods
Validate() |
Validate the object. |