Share via


CommitmentPlanProperties Class

Definition

Properties of Cognitive Services account commitment plan.

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

Constructors

CommitmentPlanProperties()

Initializes a new instance of CommitmentPlanProperties.

Properties

AutoRenew

AutoRenew commitment plan.

CommitmentPlanGuid

Commitment plan guid.

Current

Cognitive Services account commitment period.

HostingModel

Account hosting model.

Last

Cognitive Services account commitment period.

Next

Cognitive Services account commitment period.

PlanType

Commitment plan type.

ProvisioningIssues

The list of ProvisioningIssue.

ProvisioningState

Gets the status of the resource at the time the operation was called.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommitmentPlanProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommitmentPlanProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommitmentPlanProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommitmentPlanProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommitmentPlanProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to