Share via


SavingsPlanToPurchaseExchange Class

Definition

Savings plan purchase details

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

Constructors

SavingsPlanToPurchaseExchange()

Creates an new SavingsPlanToPurchaseExchange 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

SavingsPlanId

Fully qualified id of the savings plan being purchased. This value is only guaranteed to be non-null if the purchase is successful.

SavingsPlanOrderId

Fully qualified id of the savings plan order being purchased

SkuName
Status

Status of the individual operation.

Term

Represent savings plan term in ISO 8601 format.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SavingsPlanToPurchaseExchange.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SavingsPlanToPurchaseExchange.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SavingsPlanToPurchaseExchange into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to