import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::ALB::HealthCheckTemplate */ export declare function getHealthCheckTemplate(args: GetHealthCheckTemplateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHealthCheckTemplate. */ export interface GetHealthCheckTemplateArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getHealthCheckTemplate. */ export interface GetHealthCheckTemplateResult { /** * Creation time of the health check template. */ readonly createTime: string; /** * Description of the health check. Cannot start with http:// or https://. Must begin with a letter or Chinese character. May include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be 1–255 characters. If not specified, defaults to an empty string. */ readonly description: string; /** * Domain name for the health check. This parameter is only effective when HealthCheckProtocol is set to HTTP. Requirements: Must contain at least one '.', and cannot start or end with '.'. The string can contain letters, numbers, '-', and '.' characters. '-' cannot appear at the beginning or end of the string. Length must be between 1 and 128 characters. If not specified, this parameter is empty and the load balancer uses the private IP address of each backend server for health checks. */ readonly healthCheckDomain: string; /** * HTTP status codes indicating a successful health check. Separate multiple codes with commas. This parameter is only effective when HealthCheckProtocol is set to HTTP. Options: http*2xx (default), http*3xx (default), http*4xx, http*5xx. */ readonly healthCheckHttpCode: string; /** * HTTP protocol version for health checks. This parameter is effective only when HealthCheckProtocol is set to HTTP. Options: HTTP1.0 (default), HTTP1.1. */ readonly healthCheckHttpVersion: string; /** * Interval for performing health checks. Default is 2 seconds. Range: 1–300 seconds. */ readonly healthCheckInterval: number; /** * Health check method. This parameter is effective only when HealthCheckProtocol is set to HTTP. Options: GETHEAD (default method) */ readonly healthCheckMethod: string; /** * Port for the health check. Options: 0: Use the backend server port for health checks. 1–65535: Use the specified port for health checks. */ readonly healthCheckPort: number; /** * Protocol for the health check. HTTP or TCP. */ readonly healthCheckProtocol: string; /** * Health check template ID. */ readonly healthCheckTemplateId: string; /** * Name of the health check template. Cannot start with http:// or https://. Must start with a letter or Chinese character. Can contain numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. */ readonly healthCheckTemplateName: string; /** * Response timeout for the health check. Default is 2 seconds. Range: 1–60 seconds. */ readonly healthCheckTimeout: number; /** * Path for the health check. This parameter is only effective when HealthCheckProtocol is set to HTTP. Requirements: Must start with '/'. Can only contain letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=' characters. Length must be between 1 and 128 characters. If not specified, defaults to '/'. */ readonly healthCheckUri: string; /** * Health threshold for the health check. Default is 3. Range: 2–10 times. */ readonly healthyThreshold: number; /** * Uniquely identifies the resource. */ readonly id: string; /** * Project name to which the health check template belongs. */ readonly projectName: string; /** * List of tags associated with the health check template. */ readonly tags: outputs.alb.GetHealthCheckTemplateTag[]; /** * Unhealthy threshold for health checks. Default is 3; range is 2–10 times. */ readonly unhealthyThreshold: number; /** * Last operation time of the health check template. */ readonly updateTime: string; } /** * Data Source schema for Volcengine::ALB::HealthCheckTemplate */ export declare function getHealthCheckTemplateOutput(args: GetHealthCheckTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHealthCheckTemplate. */ export interface GetHealthCheckTemplateOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }