withHttpHealthCheck
Method
interface ContainerResource { // ... omitted for brevity withHttpHealthCheck( path?: string, statusCode?: number, endpointName?: string): IResourceWithEndpoints;}Signature
method
withHttpHealthCheckbuilderAdds a health check to the resource which is mapped to a specific endpoint.
withHttpHealthCheck( path?: string, statusCode?: number, endpointName?: string): IResourceWithEndpointsParameters
pathstringoptionalstatusCodenumberoptionalendpointNamestringoptionalReturns
IResourceWithEndpointsApplies to
This method applies to the following types: