Language

SavingsPlanOrderModel Class

Definition

Savings plan order

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.SavingsPlanOrderModelTypeConverter))]
public class SavingsPlanOrderModel : Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.ISavingsPlanOrderModel, Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.SavingsPlanOrderModelTypeConverter))>]
type SavingsPlanOrderModel = class
    interface ISavingsPlanOrderModel
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class SavingsPlanOrderModel
Implements ISavingsPlanOrderModel, IValidates
Inheritance
SavingsPlanOrderModel
Attributes
Implements

Constructors

Name Description
SavingsPlanOrderModel()

Creates an new SavingsPlanOrderModel instance.

Properties

Name Description
BenefitStartTime

This is the DateTime when the savings plan benefit started.

BillingAccountId

Fully-qualified identifier of the billing account where the savings plan is applied. Present only for Enterprise Agreement customers.

BillingPlan

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

BillingProfileId

Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers.

BillingScopeId

Subscription that will be charged for purchasing the benefit

CustomerId

Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers.

DisplayName

Display name

ExpiryDateTime

Expiry date time

ExtendedStatusInfoMessage

The message giving detailed information about the status code.

ExtendedStatusInfoStatusCode

Status code providing additional information.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

PlanInformationNextPaymentDueDate

For recurring billing plans, indicates the date when next payment will be processed. Null when total is paid off.

PlanInformationStartDate

Date when the billing plan has started.

PlanInformationTransaction
PricingCurrencyTotalAmount
PricingCurrencyTotalCurrencyCode

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

ProvisioningState

Provisioning state

ResourceGroupName

Gets the resource group name

SavingsPlan
SkuName

Name of the SKU to be applied

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Term

Represent benefit term in ISO 8601 format.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SavingsPlanOrderModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SavingsPlanOrderModel.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SavingsPlanOrderModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to