Share via


ToolProjectConnectionList Class

Definition

A set of project connection resources currently used by either the bing_grounding, fabric_dataagent, or sharepoint_grounding tools.

public class ToolProjectConnectionList : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolProjectConnectionList>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolProjectConnectionList>
type ToolProjectConnectionList = class
    interface IUtf8JsonSerializable
    interface IJsonModel<ToolProjectConnectionList>
    interface IPersistableModel<ToolProjectConnectionList>
Public Class ToolProjectConnectionList
Implements IJsonModel(Of ToolProjectConnectionList), IPersistableModel(Of ToolProjectConnectionList), IUtf8JsonSerializable
Inheritance
ToolProjectConnectionList
Implements

Constructors

Name Description
ToolProjectConnectionList()

Initializes a new instance of ToolProjectConnectionList.

ToolProjectConnectionList(IList<ToolProjectConnection>, IDictionary<String,BinaryData>)

Initializes a new instance of ToolProjectConnectionList.

Properties

Name Description
ProjectConnections

The project connections attached to this tool. There can be a maximum of 1 connection resource attached to the tool.

Methods

Name Description
DeserializeToolProjectConnectionList(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<ToolProjectConnectionList>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ToolProjectConnectionList>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ToolProjectConnectionList>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ToolProjectConnectionList>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ToolProjectConnectionList>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to