Share via


BudgetCurrentSpend Class

Definition

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

public class BudgetCurrentSpend
public class BudgetCurrentSpend : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Consumption.Models.BudgetCurrentSpend>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Consumption.Models.BudgetCurrentSpend>
type BudgetCurrentSpend = class
type BudgetCurrentSpend = class
    interface IJsonModel<BudgetCurrentSpend>
    interface IPersistableModel<BudgetCurrentSpend>
Public Class BudgetCurrentSpend
Public Class BudgetCurrentSpend
Implements IJsonModel(Of BudgetCurrentSpend), IPersistableModel(Of BudgetCurrentSpend)
Inheritance
BudgetCurrentSpend
Implements

Properties

Amount

The total amount of cost which is being tracked by the budget.

Unit

The unit of measure for the budget amount.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BudgetCurrentSpend>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BudgetCurrentSpend>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BudgetCurrentSpend>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BudgetCurrentSpend>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BudgetCurrentSpend>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to