Commitment Class

Definition

Commitment towards the benefit.

C#
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.CommitmentTypeConverter))]
public class Commitment : Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.ICommitment, Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.IValidates
Inheritance
Commitment
Attributes
Implements

Constructors

Commitment()

Creates an new Commitment instance.

Properties

Amount
CurrencyCode

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

Grain

Commitment grain.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Commitment.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Commitment.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.ICommitment.

FromJsonString(String)

Creates a new instance of Commitment, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Commitment into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to

Táirge Leaganacha
Azure - PowerShell Commands 12 (LTS), Latest