Condividi tramite


BillingBenefitCommitment Class

Definition

Commitment towards the benefit.

public class BillingBenefitCommitment : Azure.ResourceManager.Billing.Models.BillingPrice, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingBenefitCommitment>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingBenefitCommitment>
type BillingBenefitCommitment = class
    inherit BillingPrice
    interface IJsonModel<BillingBenefitCommitment>
    interface IPersistableModel<BillingBenefitCommitment>
Public Class BillingBenefitCommitment
Inherits BillingPrice
Implements IJsonModel(Of BillingBenefitCommitment), IPersistableModel(Of BillingBenefitCommitment)
Inheritance
BillingBenefitCommitment
Implements

Constructors

BillingBenefitCommitment()

Initializes a new instance of BillingBenefitCommitment.

Properties

Amount

Gets or sets the amount.

(Inherited from BillingPrice)
CurrencyCode

The ISO 4217 3-letter currency code for the currency used by this purchase record.

(Inherited from BillingPrice)
Grain

Commitment grain.

Explicit Interface Implementations

IJsonModel<BillingBenefitCommitment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingBenefitCommitment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<BillingPrice>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from BillingPrice)
IJsonModel<BillingPrice>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BillingPrice)
IPersistableModel<BillingBenefitCommitment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingBenefitCommitment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingBenefitCommitment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<BillingPrice>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BillingPrice)
IPersistableModel<BillingPrice>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from BillingPrice)
IPersistableModel<BillingPrice>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BillingPrice)

Applies to