withHttpProbe
Function
interface ContainerResource { // ... omitted for brevity withHttpProbe( probeType: ProbeType, path?: string, initialDelaySeconds?: number, periodSeconds?: number, timeoutSeconds?: number, failureThreshold?: number, successThreshold?: number, endpointName?: string): IResourceWithEndpoints;}Signature
method
withHttpProbe builder Adds an HTTP health probe to the resource
withHttpProbe( probeType: ProbeType, path?: string, initialDelaySeconds?: number, periodSeconds?: number, timeoutSeconds?: number, failureThreshold?: number, successThreshold?: number, endpointName?: string): IResourceWithEndpointsParameters
probeType ProbeType path string optional initialDelaySeconds number optional periodSeconds number optional timeoutSeconds number optional failureThreshold number optional successThreshold number optional endpointName string optional Returns
IResourceWithEndpoints Applies to
This function is an extension method on the following types: