Share via


QuotaCounterContract Class

Definition

Quota counter details.

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

Properties

CounterKey

The Key value of the Counter. Must not be empty.

PeriodEndOn

The date of the end of Counter Period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

PeriodKey

Identifier of the Period for which the counter was collected. Must not be empty.

PeriodStartOn

The date of the start of Counter Period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

Value

Quota Value Properties.

Explicit Interface Implementations

IJsonModel<QuotaCounterContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QuotaCounterContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QuotaCounterContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QuotaCounterContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QuotaCounterContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to