AzureAgentProvider(Uri, TokenCredential) Constructor
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.
Provides functionality to interact with Foundry agents within a specified project context.
public AzureAgentProvider(Uri projectEndpoint, Azure.Core.TokenCredential projectCredentials);
new Microsoft.Agents.AI.Workflows.Declarative.AzureAgentProvider : Uri * Azure.Core.TokenCredential -> Microsoft.Agents.AI.Workflows.Declarative.AzureAgentProvider
Public Sub New (projectEndpoint As Uri, projectCredentials As TokenCredential)
Parameters
- projectEndpoint
- Uri
A Uri instance representing the endpoint URL of the Foundry project. This must be a valid, non-null URI pointing to the project.
- projectCredentials
- TokenCredential
The credentials used to authenticate with the Foundry project. This must be a valid instance of TokenCredential.
Remarks
This class is used to retrieve and manage AI agents associated with a Foundry project. It requires a project endpoint and credentials to authenticate requests.