Aracılığıyla paylaş


SavingsPlanPurchaseRequestProperties Class

Definition

Properties of a savings plan purchase

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

Constructors

SavingsPlanPurchaseRequestProperties()

Creates an new SavingsPlanPurchaseRequestProperties 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.

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

Term

Represent savings plan term in ISO 8601 format.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SavingsPlanPurchaseRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SavingsPlanPurchaseRequestProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SavingsPlanPurchaseRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to