Share via


BotServiceSku Class

Definition

The SKU of the cognitive services account.

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

Constructors

BotServiceSku(BotServiceSkuName)

Initializes a new instance of BotServiceSku.

Properties

Name

The sku name.

Tier

Gets the sku tier. This is based on the SKU name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BotServiceSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BotServiceSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BotServiceSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BotServiceSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BotServiceSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to