Skip to content
Docs Try Aspire
Docs Try

HostedAgentConfiguration

Handle
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
interface HostedAgentConfiguration {
cpu: number;
description: string;
readonly environmentVariables: Dict<string,string>;
memory: number;
readonly metadata: Dict<string,string>;
}

Properties

property cpu number get · set
CPU allocation for each hosted agent instance, in vCPU cores.
property description string get · set
The description of the hosted agent.
property environmentVariables Dict<string,string> get
Environment variables to set in the hosted agent container.
property memory number get · set
Memory allocation for each hosted agent instance, in GiB. Must be 2x the CPU allocation.
property metadata Dict<string,string> get
Additional metadata to associate with the hosted agent.