Skip to content
DocsTry Aspire
DocsTry

AzureFunctionToolResource Constructors

ClassConstructors1 member
A Foundry tool resource that enables an agent to invoke an Azure Function.
Constructor(string, AzureCognitiveServicesProjectResource, string, string, BinaryData, string, string, string, string)Section titled Constructor(string, AzureCognitiveServicesProjectResource, string, string, BinaryData, string, string, string, string)
Creates a new instance of the AzureFunctionToolResource class.
public sealed class AzureFunctionToolResource
{
public AzureFunctionToolResource(
string name,
AzureCognitiveServicesProjectResource project,
string functionName,
string description,
BinaryData parameters,
string inputQueueEndpoint,
string inputQueueName,
string outputQueueEndpoint,
string outputQueueName)
{
// ...
}
}
namestringThe name of the tool resource.
projectAzureCognitiveServicesProjectResourceThe parent Foundry project resource.
functionNamestringThe name of the Azure Function.
descriptionstringA description of what the function does.
parametersBinaryDataThe JSON schema defining the function parameters.
inputQueueEndpointstringThe Azure Storage Queue endpoint for input binding.
inputQueueNamestringThe queue name for input binding.
outputQueueEndpointstringThe Azure Storage Queue endpoint for output binding.
outputQueueNamestringThe queue name for output binding.