AgentHostBuilder.ConfigureHealth(Action<IHealthChecksBuilder>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add custom health checks alongside the default liveness probe.
public Azure.AI.AgentServer.Core.AgentHostBuilder ConfigureHealth(Action<Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder> configure);
member this.ConfigureHealth : Action<Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder> -> Azure.AI.AgentServer.Core.AgentHostBuilder
Public Function ConfigureHealth (configure As Action(Of IHealthChecksBuilder)) As AgentHostBuilder
Parameters
- configure
- Action<IHealthChecksBuilder>
The health check configuration callback.
Returns
This builder for chaining.