Dela via


BillingBenefitsPurchaseContent Class

Definition

The BillingBenefitsPurchaseContent.

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

Constructors

BillingBenefitsPurchaseContent()

Initializes a new instance of BillingBenefitsPurchaseContent.

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 billing plans.

BillingScopeId

Subscription that will be charged for purchasing the benefit.

Commitment

Commitment towards the benefit.

DisplayName

Friendly name of the savings plan.

EffectOn

DateTime of the savings plan starts providing benefit from.

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

Represent benefit term in ISO 8601 format.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BillingBenefitsPurchaseContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingBenefitsPurchaseContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingBenefitsPurchaseContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingBenefitsPurchaseContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingBenefitsPurchaseContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to