Skip to content
Docs Try Aspire

HostedAgentConfiguration Constructors

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