OpenApiFunctionDefinition Constructor

Definition

Initializes a new instance of OpenApiFunctionDefinition.

public OpenApiFunctionDefinition(string name, System.Collections.Generic.IDictionary<string,BinaryData> spec, Azure.AI.AgentServer.Responses.Models.OpenApiAuthDetails auth);
new Azure.AI.AgentServer.Responses.Models.OpenApiFunctionDefinition : string * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Responses.Models.OpenApiAuthDetails -> Azure.AI.AgentServer.Responses.Models.OpenApiFunctionDefinition
Public Sub New (name As String, spec As IDictionary(Of String, BinaryData), auth As OpenApiAuthDetails)

Parameters

name
String

The name of the function to be called.

spec
IDictionary<String,BinaryData>

The openapi function shape, described as a JSON Schema object.

auth
OpenApiAuthDetails

Open API authentication details.

Exceptions

name, spec or auth is null.

Applies to