Skip to content
Docs Try Aspire

HostedAgentConfiguration Properties

Class Properties 11 members
A configuration helper for hosted agents.
ContainerProtocolVersions Section titled ContainerProtocolVersions IList<ProtocolVersionRecord>
The protocols that the agent supports for ingress communication of the containers.
public IList<ProtocolVersionRecord> ContainerProtocolVersions { get; init; }
ContentFilterConfiguration Section titled ContentFilterConfiguration nullable ContentFilterConfiguration?
Configuration for Responsible AI (RAI) content filtering and safety features.
public ContentFilterConfiguration? ContentFilterConfiguration { get; set; }
CPU allocation for each hosted agent instance, in vCPU cores.
public decimal Cpu { get; set; }
CPU allocation as a string.
public string CpuString { get; }
Description Section titled Description string
The description of the hosted agent.
public string Description { get; set; }
EnvironmentVariables Section titled EnvironmentVariables IDictionary<string, string>
Environment variables to set in the hosted agent container.
public IDictionary<string, string> EnvironmentVariables { get; init; }
The fully qualified container image name for the hosted agent.
public string Image { get; set; }
Memory allocation for each hosted agent instance, in GiB. Must be 2x the CPU allocation.
public decimal Memory { get; set; }
MemoryString Section titled MemoryString string
Memory allocation as a string.
public string MemoryString { get; }
Metadata Section titled Metadata IDictionary<string, string>
Additional metadata to associate with the hosted agent.
public IDictionary<string, string> Metadata { get; init; }
Tools Section titled Tools IList<AgentTool>
Tools available to the hosted agent.
public IList<AgentTool> Tools { get; init; }