Skip to content
DocsTry Aspire
DocsTry

AzureHostedAgentResource Properties

ClassProperties4 members
A Microsoft Foundry hosted agent resource.
ConfigureSection titled ConfigurenullableAction<HostedAgentConfiguration>
Configuration action to customize the hosted agent definition during deployment.
public Action<HostedAgentConfiguration>? Configure { get; set; }
ImageSection titled ImageContainerImageReference
The fully qualified image name for the hosted agent.
public ContainerImageReference Image { get; }
TargetSection titled TargetIResource
The target containerized workload that this hosted agent deploys.
public IResource Target { get; }
VersionSection titled VersionStaticValueProvider<string>
Once deployed, the version that is assigned to this hosted agent.
public StaticValueProvider<string> Version { get; }