Partilhar via


ModelCapacityCalculatorWorkload Class

Definition

Model Capacity Calculator Workload.

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

Constructors

ModelCapacityCalculatorWorkload()

Initializes a new instance of ModelCapacityCalculatorWorkload.

Properties

RequestParameters

Dictionary, Model Capacity Calculator Workload Parameters.

RequestPerMinute

Request per minute.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ModelCapacityCalculatorWorkload>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ModelCapacityCalculatorWorkload>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ModelCapacityCalculatorWorkload>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ModelCapacityCalculatorWorkload>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ModelCapacityCalculatorWorkload>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to