RestHealthCheck interface

A REST based health check

Properties

name

A unique name for this check.

request

The request to the health provider.

response

The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.

Property Details

name

A unique name for this check.

name: string

Property Value

string

request

The request to the health provider.

request: RestRequest

Property Value

response

The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.

response?: RestResponse

Property Value