Share via


ModelDeployment Class

Definition

Model Deployment Definition.

public class ModelDeployment : Azure.AI.Projects.AIProjectDeployment, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.ModelDeployment>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.ModelDeployment>
type ModelDeployment = class
    inherit AIProjectDeployment
    interface IJsonModel<ModelDeployment>
    interface IPersistableModel<ModelDeployment>
Public Class ModelDeployment
Inherits AIProjectDeployment
Implements IJsonModel(Of ModelDeployment), IPersistableModel(Of ModelDeployment)
Inheritance
ModelDeployment
Implements

Properties

Name Description
Capabilities

Capabilities of deployed model.

ConnectionName

Name of the connection the deployment comes from.

ModelName

Publisher-specific name of the deployed model.

ModelPublisher

Name of the deployed model's publisher.

ModelVersion

Publisher-specific version of the deployed model.

Name

Name of the deployment.

(Inherited from AIProjectDeployment)
Sku

Sku of the model deployment.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AIProjectDeployment>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from AIProjectDeployment)
IJsonModel<AIProjectDeployment>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from AIProjectDeployment)
IJsonModel<ModelDeployment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ModelDeployment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AIProjectDeployment>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from AIProjectDeployment)
IPersistableModel<AIProjectDeployment>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from AIProjectDeployment)
IPersistableModel<AIProjectDeployment>.Write(ModelReaderWriterOptions) (Inherited from AIProjectDeployment)
IPersistableModel<ModelDeployment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ModelDeployment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ModelDeployment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to