UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

30 lines 1.49 kB
import { HealthMonitorHTTPConfiguration } from './HealthMonitorHTTPConfiguration'; import { LoadBalancerHealthMonitorTypeEnum } from './LoadBalancerHealthMonitorTypeEnum'; import { LoadBalancerOperatingStatusEnum } from './LoadBalancerOperatingStatusEnum'; import { LoadBalancerProvisioningStatusEnum } from './LoadBalancerProvisioningStatusEnum'; /** HealthMonitor */ export interface HealthMonitor { /** Duration between sending probes to members, in seconds */ delay: number; /** Monitor HTTP configuration */ httpConfiguration?: HealthMonitorHTTPConfiguration; /** The ID of the pool */ id: string; /** Number of successful checks before changing the operating status of the member to ONLINE */ maxRetries: number; /** Number of allowed check failures before changing the operating status of the member to ERROR */ maxRetriesDown?: number; /** Type of the monitor */ monitorType: LoadBalancerHealthMonitorTypeEnum; /** The name of the resource */ name: string; /** The operating status of the resource */ operatingStatus: LoadBalancerOperatingStatusEnum; /** The ID of the pool */ poolId: string; /** The provisioning status of the resource */ provisioningStatus: LoadBalancerProvisioningStatusEnum; /** Maximum time, in seconds, that a monitor waits to connect before it times out. This value must be less than the delay value */ timeout: number; } //# sourceMappingURL=HealthMonitor.d.ts.map