OpenApiToolDefinition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- auth
- OpenApiAuthDetails
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET