Partilhar via


CognitiveServicesResourceSku Class

Definition

Properties of Cognitive Services account resource sku resource properties.

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

Properties

Capacity

The capacity configuration.

ResourceType

The resource type name.

Sku

The resource model definition representing SKU.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesResourceSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesResourceSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesResourceSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesResourceSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesResourceSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to