Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithHealthCheckConfig

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpCluster) WithHealthCheckConfig(config *YarpHealthCheckConfig) YarpCluster

Signature

methodWithHealthCheckConfig
Set the health check configuration for the cluster.
WithHealthCheckConfig(config *YarpHealthCheckConfig) YarpCluster
config*YarpHealthCheckConfig
YarpCluster

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: