Skip to content
DocsTry Aspire
DocsTry

HostedAgentConfiguration

Classnet10.0
📦 Aspire.Hosting.Foundry v13.5.3-preview.1.26425.3
A configuration helper for hosted agents.
namespace Aspire.Hosting.Foundry;
public class HostedAgentConfiguration
{
// ...
}
This type is used instead of Agents.ProjectsAgentVersionCreationOptions to provide a strongly typed configuration surface for hosted agent definitions. When used from polyglot AppHosts, only the ATS-compatible properties are exported; Azure SDK-specific members remain .NET-only.