Sdílet prostřednictvím


AvailableCognitiveServicesSku Class

Definition

Describes an available Cognitive Services SKU.

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

Properties

Kind

The Kind of resources that are supported in this SKU.

Locations

The set of locations that the SKU is available.

Name

The name of SKU.

ResourceType

The type of resource the SKU applies to.

Restrictions

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.

Tier

Specifies the tier of Cognitive Services account.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AvailableCognitiveServicesSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AvailableCognitiveServicesSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AvailableCognitiveServicesSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AvailableCognitiveServicesSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AvailableCognitiveServicesSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to