Share via


Deployment Class

Definition

Model Deployment Definition Please note Deployment is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ModelDeployment.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownDeployment))]
public abstract class Deployment : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Deployment>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Deployment>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownDeployment))>]
type Deployment = class
    interface IJsonModel<Deployment>
    interface IPersistableModel<Deployment>
Public MustInherit Class Deployment
Implements IJsonModel(Of Deployment), IPersistableModel(Of Deployment)
Inheritance
Deployment
Derived
Attributes
Implements

Constructors

Deployment()

Initializes a new instance of Deployment.

Properties

Name

Name of the deployment.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<Deployment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<Deployment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<Deployment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<Deployment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<Deployment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to