Partilhar via


BillingPurchaseProperties Class

Definition

Purchase request.

public class BillingPurchaseProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingPurchaseProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingPurchaseProperties>
type BillingPurchaseProperties = class
    interface IJsonModel<BillingPurchaseProperties>
    interface IPersistableModel<BillingPurchaseProperties>
Public Class BillingPurchaseProperties
Implements IJsonModel(Of BillingPurchaseProperties), IPersistableModel(Of BillingPurchaseProperties)
Inheritance
BillingPurchaseProperties
Implements

Constructors

BillingPurchaseProperties()

Initializes a new instance of BillingPurchaseProperties.

Properties

AppliedScopeProperties

Properties specific to applied scope type. Not required if not applicable.

AppliedScopeType

Type of the Applied Scope.

BillingPlan

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

BillingScopeId

Subscription that will be charged for purchasing SavingsPlan.

Commitment

Commitment towards the benefit.

DisplayName

Friendly name of the savings plan.

IsRenewed

Setting this to true will automatically purchase a new benefit on the expiration date time.

SkuName

Name of the SKU to be applied.

Term

Represents the Savings plan term in ISO 8601 format.

Explicit Interface Implementations

IJsonModel<BillingPurchaseProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingPurchaseProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingPurchaseProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingPurchaseProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingPurchaseProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to