共用方式為


OpenApiToolDefinition Constructors

Definition

Overloads

OpenApiToolDefinition(OpenApiFunctionDefinition)

Initializes a new instance of OpenApiToolDefinition.

OpenApiToolDefinition(String, String, BinaryData, OpenApiAuthDetails)

OpenApiToolDefinition(OpenApiFunctionDefinition)

Source:
OpenApiToolDefinition.cs

Initializes a new instance of OpenApiToolDefinition.

public OpenApiToolDefinition (Azure.AI.Projects.OpenApiFunctionDefinition openapi);
new Azure.AI.Projects.OpenApiToolDefinition : Azure.AI.Projects.OpenApiFunctionDefinition -> Azure.AI.Projects.OpenApiToolDefinition
Public Sub New (openapi As OpenApiFunctionDefinition)

Parameters

openapi
OpenApiFunctionDefinition

The openapi function definition.

Exceptions

openapi is null.

Applies to

OpenApiToolDefinition(String, String, BinaryData, OpenApiAuthDetails)

Source:
OpenApiToolDefinition.cs
public OpenApiToolDefinition (string name, string description, BinaryData spec, Azure.AI.Projects.OpenApiAuthDetails auth);
new Azure.AI.Projects.OpenApiToolDefinition : string * string * BinaryData * Azure.AI.Projects.OpenApiAuthDetails -> Azure.AI.Projects.OpenApiToolDefinition
Public Sub New (name As String, description As String, spec As BinaryData, auth As OpenApiAuthDetails)

Parameters

name
String
description
String
spec
BinaryData

Applies to