Share via


SavingsPlanToPurchaseCalculateExchange Class

Definition

Savings plan purchase details

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.SavingsPlanToPurchaseCalculateExchangeTypeConverter))]
public class SavingsPlanToPurchaseCalculateExchange : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ISavingsPlanToPurchaseCalculateExchange
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.SavingsPlanToPurchaseCalculateExchangeTypeConverter))>]
type SavingsPlanToPurchaseCalculateExchange = class
    interface ISavingsPlanToPurchaseCalculateExchange
    interface IJsonSerializable
Public Class SavingsPlanToPurchaseCalculateExchange
Implements ISavingsPlanToPurchaseCalculateExchange
Inheritance
SavingsPlanToPurchaseCalculateExchange
Attributes
Implements

Constructors

SavingsPlanToPurchaseCalculateExchange()

Creates an new SavingsPlanToPurchaseCalculateExchange instance.

Properties

AppliedScopePropertyDisplayName

Display name

AppliedScopePropertyManagementGroupId

Fully-qualified identifier of the management group where the benefit must be applied.

AppliedScopePropertyResourceGroupId

Fully-qualified identifier of the resource group.

AppliedScopePropertySubscriptionId

Fully-qualified identifier of the subscription.

AppliedScopePropertyTenantId

Tenant ID where the savings plan should apply benefit.

AppliedScopeType

Type of the Applied Scope.

BillingCurrencyTotal

Pricing information containing the amount and the currency code

BillingPlan

Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.

BillingScopeId

Subscription that will be charged for purchasing reservation or savings plan

CommitmentAmount
CommitmentCurrencyCode

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

CommitmentGrain

Commitment grain.

DisplayName

Friendly name of the savings plan

SkuName
Term

Represent savings plan term in ISO 8601 format.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SavingsPlanToPurchaseCalculateExchange.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SavingsPlanToPurchaseCalculateExchange.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ISavingsPlanToPurchaseCalculateExchange.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SavingsPlanToPurchaseCalculateExchange into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to