UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

26 lines 1.44 kB
import { HealthMonitorHTTPConfiguration } from './HealthMonitorHTTPConfiguration'; import { LoadBalancerHealthMonitorTypeEnum } from './LoadBalancerHealthMonitorTypeEnum'; import { LoadBalancerOperatingStatusEnum } from './LoadBalancerOperatingStatusEnum'; import { LoadBalancerProvisioningStatusEnum } from './LoadBalancerProvisioningStatusEnum'; /** Create a health monitor on loadbalancer creation */ export interface HealthMonitorCreate { /** Duration between sending probes to members, in seconds */ delay: number; /** Monitor HTTP configuration */ httpConfiguration?: HealthMonitorHTTPConfiguration; /** 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 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=HealthMonitorCreate.d.ts.map