UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

16 lines 1.2 kB
import { LoadBalancerHealthMonitorHTTPMethodEnum } from './LoadBalancerHealthMonitorHTTPMethodEnum'; import { LoadBalancerHealthMonitorHTTPVersionEnum } from './LoadBalancerHealthMonitorHTTPVersionEnum'; /** HTTP configuration for loadbalancer health monitor */ export interface HealthMonitorHTTPConfiguration { /** Domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check */ domainName: string; /** Status codes expected in response from the member to declare it healthy; The list of HTTP status codes expected in response from the member to declare it healthy. Specify one of the following values: * A single value, such as 200; * A list, such as 200, 202; * A range, such as 200-204 */ expectedCodes: string; /** HTTP method that the health monitor uses for requests */ httpMethod: LoadBalancerHealthMonitorHTTPMethodEnum; /** HTTP version that the health monitor uses for requests */ httpVersion?: LoadBalancerHealthMonitorHTTPVersionEnum; /** HTTP URL path of the request sent by the monitor to test the health of a backend member */ urlPath: string; } //# sourceMappingURL=HealthMonitorHTTPConfiguration.d.ts.map