RestHealthCheck Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A REST based health check
public class RestHealthCheck
type RestHealthCheck = class
Public Class RestHealthCheck
- Inheritance
-
RestHealthCheck
Constructors
RestHealthCheck() |
Initializes a new instance of the RestHealthCheck class. |
RestHealthCheck(String, RestRequest, RestResponse) |
Initializes a new instance of the RestHealthCheck class. |
Properties
Name |
Gets or sets a unique name for this check. |
Request |
Gets or sets the request to the health provider. |
Response |
Gets or sets 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. |
Methods
Validate() |
Validate the object. |