Skip to content
Docs Try Aspire

HostedAgentConfiguration

Class net8.0
📦 Aspire.Hosting.Foundry v13.2.0-preview.1.26170.3
A configuration helper for hosted agents.
namespace Aspire.Hosting.Foundry;
public class HostedAgentConfiguration
{
// ...
}
This type is used instead of Projects.AgentVersionCreationOptions 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.