Partager via


ModelSkuCapacityProperties Class

Definition

Cognitive Services account ModelSkuCapacity.

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

Constructors

ModelSkuCapacityProperties()

Initializes a new instance of ModelSkuCapacityProperties.

Properties

AvailableCapacity

The available capacity for deployment with this model and sku.

AvailableFinetuneCapacity

The available capacity for deployment with a fine-tune version of this model and sku.

Model

Properties of Cognitive Services account deployment model.

SkuName

Gets or sets the sku name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ModelSkuCapacityProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ModelSkuCapacityProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ModelSkuCapacityProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ModelSkuCapacityProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ModelSkuCapacityProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to