ProjectsAgentsModelFactory Class

Definition

A factory class for creating instances of the models for mocking.

public static class ProjectsAgentsModelFactory
type ProjectsAgentsModelFactory = class
Public Class ProjectsAgentsModelFactory
Inheritance
ProjectsAgentsModelFactory

Methods

Name Description
A2APreviewTool(Uri, String, String)

An agent implementing the A2A protocol.

AgentBlueprintReference(String)

The AgentBlueprintReference. Please note this is the abstract base class. The derived classes available for instantiation are: ManagedAgentIdentityBlueprintReference.

AgentCard(String, String, IEnumerable<AgentCardSkill>)

The AgentCard.

AgentCardSkill(String, String, String, IEnumerable<String>, IEnumerable<String>)

The AgentCardSkill.

AgentEndpoint(VersionSelector, IEnumerable<AgentEndpointProtocol>, IEnumerable<AgentEndpointAuthorizationScheme>)

The AgentEndpoint.

AgentEndpointAuthorizationScheme(String)

The AgentEndpointAuthorizationScheme. Please note this is the abstract base class. The derived classes available for instantiation are: EntraAuthorizationScheme, BotServiceAuthorizationScheme, and BotServiceRbacAuthorizationScheme.

AgentIdentity(String, String)

The AgentIdentity.

AgentManifestOptions(IDictionary<String,String>, String, String, IDictionary<String,BinaryData>)

The AgentManifestOptions.

AgentsSkill(String, Boolean, String, String, IDictionary<String,String>)

A skill object.

AzureAISearchTool(AzureAISearchToolOptions)

The input definition information for an Azure AI search tool as used to configure an agent.

AzureAISearchToolIndex(String, String, Nullable<AzureAISearchQueryType>, Nullable<Int32>, String, String)

A AI Search Index resource.

AzureAISearchToolOptions(IEnumerable<AzureAISearchToolIndex>)

A set of index resources used by the azure_ai_search tool.

AzureFunctionBinding(AzureFunctionStorageQueue)

The structure for keeping storage queue name and URI.

AzureFunctionDefinition(AzureFunctionDefinitionFunction, AzureFunctionBinding, AzureFunctionBinding)

The definition of Azure function.

AzureFunctionDefinitionFunction(String, String, BinaryData)

The AzureFunctionDefinitionFunction.

AzureFunctionStorageQueue(String, String)

The structure for keeping storage queue name and URI.

AzureFunctionTool(AzureFunctionDefinition)

The input definition information for an Azure Function Tool, as used to configure an Agent.

BingCustomSearchConfiguration(String, String, String, String, Nullable<Int64>, String)

A bing custom search configuration.

BingCustomSearchPreviewTool(BingCustomSearchToolOptions)

The input definition information for a Bing custom search tool as used to configure an agent.

BingCustomSearchToolOptions(IEnumerable<BingCustomSearchConfiguration>)

The bing custom search tool parameters.

BingGroundingSearchConfiguration(String, String, String, Nullable<Int64>, String)

Search configuration for Bing Grounding.

BingGroundingSearchToolOptions(IEnumerable<BingGroundingSearchConfiguration>)

The bing grounding search tool parameters.

BingGroundingTool(BingGroundingSearchToolOptions)

The input definition information for a bing grounding search tool as used to configure an agent.

BotServiceAuthorizationScheme()

The BotServiceAuthorizationScheme.

BotServiceRbacAuthorizationScheme()

The BotServiceRbacAuthorizationScheme.

BrowserAutomationPreviewTool(BrowserAutomationToolOptions)

The input definition information for a Browser Automation Tool, as used to configure an Agent.

BrowserAutomationToolConnectionParameters(String)

Definition of input parameters for the connection used by the Browser Automation Tool.

BrowserAutomationToolOptions(BrowserAutomationToolConnectionParameters)

Definition of input parameters for the Browser Automation Tool.

CaptureStructuredOutputsTool(String, String, StructuredOutputDefinition)

A tool for capturing structured outputs.

CodeConfiguration(String, IEnumerable<String>)

Code-based deployment configuration for a hosted agent.

ContainerConfiguration(String)

Container-based deployment configuration for a hosted agent.

ContentFilterConfiguration(String)

Configuration for Responsible AI (RAI) content filtering and safety features.

CreateAgentVersionFromManifestRequest(IDictionary<String,String>, String, String, IDictionary<String,BinaryData>)

The CreateAgentVersionFromManifestRequest.

DeclarativeAgentDefinition(ContentFilterConfiguration, String, String, Nullable<Single>, Nullable<Single>, ResponseReasoningOptions, IEnumerable<ResponseTool>, BinaryData, ResponseTextOptions, IDictionary<String, StructuredInputDefinition>)

The prompt agent definition.

DeleteSkillResponse(String, Boolean)

A deleted skill Object.

EntraAuthorizationScheme(IsolationKeySource)

The EntraAuthorizationScheme.

EntraIsolationKeySource()

The EntraIsolationKeySource.

FabricDataAgentToolOptions(IEnumerable<ToolProjectConnection>)

The fabric data agent tool parameters.

FixedRatioVersionSelectionRule(String, Int32)

The FixedRatioVersionSelectionRule.

HeaderIsolationKeySource(String, String)

The HeaderIsolationKeySource.

HeaderTelemetryEndpointAuth(String, String, String)

Header-based secret authentication for a telemetry endpoint. The resolved secret value is injected as an HTTP header.

HostedAgentDefinition(ContentFilterConfiguration, IEnumerable<ProjectsAgentTool>, IEnumerable<ProtocolVersionRecord>, String, String, IDictionary<String, String>, String, ContainerConfiguration, IEnumerable<ProtocolVersionRecord>, CodeConfiguration, TelemetryConfig)

The hosted agent definition.

IsolationKeySource(String)

The IsolationKeySource. Please note this is the abstract base class. The derived classes available for instantiation are: EntraIsolationKeySource and HeaderIsolationKeySource.

ManagedAgentIdentityBlueprintReference(String)

The ManagedAgentIdentityBlueprintReference.

MemorySearchPreviewTool(String, String, MemorySearchToolOptions, Nullable<Int32>)

A tool for integrating memories into the agent.

MemorySearchToolOptions(Nullable<Int32>)

Memory search options.

MicrosoftFabricPreviewTool(FabricDataAgentToolOptions)

The input definition information for a Microsoft Fabric tool as used to configure an agent.

OpenAPIAnonymousAuthenticationDetails()

Security details for OpenApi anonymous authentication.

OpenApiAuthenticationDetails(String)

authentication details for OpenApiFunctionDefinition Please note this is the abstract base class. The derived classes available for instantiation are: OpenAPIAnonymousAuthenticationDetails, OpenApiProjectConnectionAuthenticationDetails, and OpenAPIManagedAuthenticationDetails.

OpenApiFunctionDefinition(String, String, IDictionary<String, BinaryData>, OpenApiAuthenticationDetails, IEnumerable<String>, IEnumerable<OpenAPIFunctionEntry>)

The input definition information for an openapi function.

OpenAPIFunctionEntry(String, String, IDictionary<String,BinaryData>)

The OpenAPIFunctionEntry.

OpenAPIManagedAuthenticationDetails(OpenAPIManagedSecurityScheme)

Security details for OpenApi managed_identity authentication.

OpenAPIManagedSecurityScheme(String)

Security scheme for OpenApi managed_identity authentication.

OpenApiProjectConnectionAuthenticationDetails(OpenApiProjectConnectionSecurityScheme)

Security details for OpenApi project connection authentication.

OpenApiProjectConnectionSecurityScheme(String)

Security scheme for OpenApi managed_identity authentication.

OpenAPITool(OpenApiFunctionDefinition)

The input definition information for an OpenAPI tool as used to configure an agent.

OtlpTelemetryEndpoint(IEnumerable<TelemetryDataKind>, TelemetryEndpointAuth, String, TelemetryTransportProtocol)

An OTLP (OpenTelemetry Protocol) telemetry export endpoint.

PatchAgentOptions(AgentEndpoint, AgentCard)

The PatchAgentOptions.

ProjectAgentSession(String, VersionIndicator, AgentSessionStatus, DateTimeOffset, DateTimeOffset, DateTimeOffset)

An agent session providing a long-lived compute sandbox for hosted agent invocations.

ProjectsAgentDefinition(String, ContentFilterConfiguration)

The ProjectsAgentDefinition. Please note this is the abstract base class. The derived classes available for instantiation are: HostedAgentDefinition, DeclarativeAgentDefinition, and WorkflowAgentDefinition.

ProjectsAgentRecord(String, String)
ProjectsAgentTool(String)

A tool that can be used to generate a response. Please note this is the abstract base class. The derived classes available for instantiation are: BingGroundingTool, MicrosoftFabricPreviewTool, SharepointPreviewTool, AzureAISearchTool, OpenAPITool, BingCustomSearchPreviewTool, BrowserAutomationPreviewTool, AzureFunctionTool, CaptureStructuredOutputsTool, A2APreviewTool, WorkIQPreviewTool, and MemorySearchPreviewTool.

ProjectsAgentVersion(IDictionary<String,String>, String, String, String, String, DateTimeOffset, ProjectsAgentDefinition, Nullable<AgentVersionStatus>, AgentIdentity, AgentIdentity, AgentBlueprintReference, String)

The ProjectsAgentVersion.

ProjectsAgentVersionCreationOptions(IDictionary<String,String>, String, ProjectsAgentDefinition, AgentBlueprintReference)

The ProjectsAgentVersionCreationOptions.

ProjectWebSearchConfiguration(String, String)

A web search configuration for bing custom search.

ProtocolVersionRecord(ProjectsAgentProtocol, String)

A record mapping for a single protocol and its version.

SessionDirectoryEntry(String, Int64, Boolean, DateTimeOffset)

A single entry in a directory listing.

SessionDirectoryListResponse(String, IEnumerable<SessionDirectoryEntry>)

Response from listing a directory in a session sandbox.

SessionFileWriteResponse(String, Int64)

Response from uploading a file to a session sandbox.

SessionLogEvent(SessionLogEventType, String)

A single Server-Sent Event frame emitted by the hosted agent session log stream. Each frame contains an event field identifying the event type and a data field carrying the payload as plain text. Although the current data payload is JSON-formatted, its schema is not contractual — additional keys may appear and the format may change over time. Clients should treat data as an opaque string and optionally attempt JSON parsing. New event types may be added in the future. Clients should gracefully ignore unrecognized event types. Wire format:

event: log
data: {"timestamp":"2026-03-10T09:33:17.121Z","stream":"stdout","message":"Starting server on port 18080"}
event: log
data: {"timestamp":"2026-03-10T09:34:52.714Z","stream":"status","message":"Successfully connected to container"}
SharePointGroundingToolOptions(IEnumerable<ToolProjectConnection>)

The sharepoint grounding tool parameters.

SharepointPreviewTool(SharePointGroundingToolOptions)

The input definition information for a sharepoint tool as used to configure an agent.

StructuredInputDefinition(String, BinaryData, IDictionary<String,BinaryData>, Nullable<Boolean>)

An structured input that can participate in prompt template substitutions and tool argument binding.

StructuredOutputDefinition(String, String, IDictionary<String,BinaryData>, Nullable<Boolean>)

A structured output that can be produced by the agent.

TelemetryConfig(IEnumerable<TelemetryEndpoint>)

Customer-supplied telemetry configuration for exporting container logs, traces, and metrics.

TelemetryEndpoint(String, IEnumerable<TelemetryDataKind>, TelemetryEndpointAuth)

A telemetry export endpoint configuration. Please note this is the abstract base class. The derived classes available for instantiation are: OtlpTelemetryEndpoint.

TelemetryEndpointAuth(String)

Authentication configuration for a telemetry endpoint. Please note this is the abstract base class. The derived classes available for instantiation are: HeaderTelemetryEndpointAuth.

ToolboxPolicies(ContentFilterConfiguration)

Policy configuration for a toolbox, including content safety and other governance settings.

ToolboxRecord(String, String, String)

A toolbox that stores reusable tool definitions for agents.

ToolboxVersion(IDictionary<String,String>, String, String, String, String, DateTimeOffset, IEnumerable<ProjectsAgentTool>, ToolboxPolicies)

A specific version of a toolbox.

ToolProjectConnection(String)

A project connection resource.

UpdateToolboxRequest(String, String)

The UpdateToolboxRequest.

VersionIndicator(String)

Version indicator determining which agent version backs the session. Please note this is the abstract base class. The derived classes available for instantiation are: VersionRefIndicator.

VersionRefIndicator(String)

Version indicator that references a specific agent version by name.

VersionSelectionRule(String, String)

The VersionSelectionRule. Please note this is the abstract base class. The derived classes available for instantiation are: FixedRatioVersionSelectionRule.

VersionSelector(IEnumerable<VersionSelectionRule>)

The VersionSelector.

WorkflowAgentDefinition(ContentFilterConfiguration, String)

The workflow agent definition.

WorkIQPreviewTool(String, String, WorkIQPreviewToolParameters)

A WorkIQ server-side tool.

WorkIQPreviewToolParameters(String)

The WorkIQ tool parameters.

Applies to