Skip to content
DocsTry Aspire
DocsTry

HostedAgentConfiguration Constructors

ClassConstructors1 member
A configuration helper for hosted agents.
A configuration helper for hosted agents.
public class HostedAgentConfiguration
{
public HostedAgentConfiguration(
string image)
{
// ...
}
}
imagestring
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.