Share via


ServiceAccountUsageMetricName Class

Definition

A metric name.

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

Properties

LocalizedValue

The friendly name of the metric.

Value

The name of the metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceAccountUsageMetricName>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceAccountUsageMetricName>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceAccountUsageMetricName>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceAccountUsageMetricName>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceAccountUsageMetricName>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to