Skip to content
Docs Try Aspire
Docs Try

HostedAgentConfiguration

Class net8.0
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
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 app hosts, only the ATS-compatible properties are exported; Azure SDK-specific members remain .NET-only.