Condividi tramite


ServiceAccountUsage Class

Definition

The usage data for a usage request.

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

Properties

CurrentValue

Current value for this metric.

Limit

Maximum value for this metric.

Name

The name information for the metric.

NextResetTime

Next reset time for current quota.

QuotaPeriod

The quota period used to summarize the usage values.

Status

Cognitive Services account quota usage status.

Unit

The unit of the metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceAccountUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceAccountUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceAccountUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceAccountUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceAccountUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to