withHttpProbe
Method
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
withHttpProbebuilderAdds 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
probeTypeProbeTypepathstringoptionalinitialDelaySecondsnumberoptionalperiodSecondsnumberoptionaltimeoutSecondsnumberoptionalfailureThresholdnumberoptionalsuccessThresholdnumberoptionalendpointNamestringoptionalReturns
IResourceWithEndpointsApplies to
This method applies to the following types: