Skip to content
Docs Try Aspire

AzureHostedAgentResource Constructors

Class Constructors 1 member
A Microsoft Foundry hosted agent resource.
Constructor(string, IResource, Action<HostedAgentConfiguration>) Section titled Constructor(string, IResource, Action<HostedAgentConfiguration>)
Creates a new instance of the AzureHostedAgentResource class.
public class AzureHostedAgentResource
{
public AzureHostedAgentResource(
string name,
IResource target,
Action<HostedAgentConfiguration>? configure = null)
{
// ...
}
}
name string
target IResource
configure Action<HostedAgentConfiguration> optional