Watch Aspire live streamsDocsTry Aspire

HostedAgentConfiguration

Classnet10.0
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
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.
View all constructors
View all properties