Dela via


ToolConnection Class

Definition

A connection resource.

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

Constructors

ToolConnection(String)

Initializes a new instance of ToolConnection.

Properties

ConnectionId

A connection in a ToolConnectionList attached to this tool.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ToolConnection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ToolConnection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ToolConnection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ToolConnection>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ToolConnection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to