1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. HealthCheckTemplate
Volcengine v0.0.44 published on Sunday, Feb 1, 2026 by Volcengine
volcengine logo
Volcengine v0.0.44 published on Sunday, Feb 1, 2026 by Volcengine

    Provides a resource to manage alb health check template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.alb.HealthCheckTemplate("foo", {
        description: "acc-test3",
        healthCheckDomain: "test.com",
        healthCheckHttpCode: "http_2xx",
        healthCheckHttpVersion: "HTTP1.1",
        healthCheckInterval: 8,
        healthCheckMethod: "HEAD",
        healthCheckProtocol: "HTTP",
        healthCheckTemplateName: "acc-test-template-1",
        healthCheckTimeout: 11,
        healthCheckUri: "/",
        healthyThreshold: 2,
        tags: [{
            key: "key1",
            value: "value2",
        }],
        unhealthyThreshold: 3,
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.alb.HealthCheckTemplate("foo",
        description="acc-test3",
        health_check_domain="test.com",
        health_check_http_code="http_2xx",
        health_check_http_version="HTTP1.1",
        health_check_interval=8,
        health_check_method="HEAD",
        health_check_protocol="HTTP",
        health_check_template_name="acc-test-template-1",
        health_check_timeout=11,
        health_check_uri="/",
        healthy_threshold=2,
        tags=[volcengine.alb.HealthCheckTemplateTagArgs(
            key="key1",
            value="value2",
        )],
        unhealthy_threshold=3)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := alb.NewHealthCheckTemplate(ctx, "foo", &alb.HealthCheckTemplateArgs{
    			Description:             pulumi.String("acc-test3"),
    			HealthCheckDomain:       pulumi.String("test.com"),
    			HealthCheckHttpCode:     pulumi.String("http_2xx"),
    			HealthCheckHttpVersion:  pulumi.String("HTTP1.1"),
    			HealthCheckInterval:     pulumi.Int(8),
    			HealthCheckMethod:       pulumi.String("HEAD"),
    			HealthCheckProtocol:     pulumi.String("HTTP"),
    			HealthCheckTemplateName: pulumi.String("acc-test-template-1"),
    			HealthCheckTimeout:      pulumi.Int(11),
    			HealthCheckUri:          pulumi.String("/"),
    			HealthyThreshold:        pulumi.Int(2),
    			Tags: alb.HealthCheckTemplateTagArray{
    				&alb.HealthCheckTemplateTagArgs{
    					Key:   pulumi.String("key1"),
    					Value: pulumi.String("value2"),
    				},
    			},
    			UnhealthyThreshold: pulumi.Int(3),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Alb.HealthCheckTemplate("foo", new()
        {
            Description = "acc-test3",
            HealthCheckDomain = "test.com",
            HealthCheckHttpCode = "http_2xx",
            HealthCheckHttpVersion = "HTTP1.1",
            HealthCheckInterval = 8,
            HealthCheckMethod = "HEAD",
            HealthCheckProtocol = "HTTP",
            HealthCheckTemplateName = "acc-test-template-1",
            HealthCheckTimeout = 11,
            HealthCheckUri = "/",
            HealthyThreshold = 2,
            Tags = new[]
            {
                new Volcengine.Alb.Inputs.HealthCheckTemplateTagArgs
                {
                    Key = "key1",
                    Value = "value2",
                },
            },
            UnhealthyThreshold = 3,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.alb.HealthCheckTemplate;
    import com.pulumi.volcengine.alb.HealthCheckTemplateArgs;
    import com.pulumi.volcengine.alb.inputs.HealthCheckTemplateTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new HealthCheckTemplate("foo", HealthCheckTemplateArgs.builder()        
                .description("acc-test3")
                .healthCheckDomain("test.com")
                .healthCheckHttpCode("http_2xx")
                .healthCheckHttpVersion("HTTP1.1")
                .healthCheckInterval(8)
                .healthCheckMethod("HEAD")
                .healthCheckProtocol("HTTP")
                .healthCheckTemplateName("acc-test-template-1")
                .healthCheckTimeout(11)
                .healthCheckUri("/")
                .healthyThreshold(2)
                .tags(HealthCheckTemplateTagArgs.builder()
                    .key("key1")
                    .value("value2")
                    .build())
                .unhealthyThreshold(3)
                .build());
    
        }
    }
    
    resources:
      foo:
        type: volcengine:alb:HealthCheckTemplate
        properties:
          description: acc-test3
          healthCheckDomain: test.com
          healthCheckHttpCode: http_2xx
          healthCheckHttpVersion: HTTP1.1
          healthCheckInterval: 8
          healthCheckMethod: HEAD
          healthCheckProtocol: HTTP
          healthCheckTemplateName: acc-test-template-1
          healthCheckTimeout: 11
          healthCheckUri: /
          healthyThreshold: 2
          tags:
            - key: key1
              value: value2
          unhealthyThreshold: 3
    

    Create HealthCheckTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HealthCheckTemplate(name: string, args: HealthCheckTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def HealthCheckTemplate(resource_name: str,
                            args: HealthCheckTemplateArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def HealthCheckTemplate(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            health_check_template_name: Optional[str] = None,
                            health_check_port: Optional[int] = None,
                            health_check_domain: Optional[str] = None,
                            health_check_http_version: Optional[str] = None,
                            health_check_interval: Optional[int] = None,
                            health_check_method: Optional[str] = None,
                            description: Optional[str] = None,
                            health_check_protocol: Optional[str] = None,
                            health_check_http_code: Optional[str] = None,
                            health_check_timeout: Optional[int] = None,
                            health_check_uri: Optional[str] = None,
                            healthy_threshold: Optional[int] = None,
                            project_name: Optional[str] = None,
                            tags: Optional[Sequence[HealthCheckTemplateTagArgs]] = None,
                            unhealthy_threshold: Optional[int] = None)
    func NewHealthCheckTemplate(ctx *Context, name string, args HealthCheckTemplateArgs, opts ...ResourceOption) (*HealthCheckTemplate, error)
    public HealthCheckTemplate(string name, HealthCheckTemplateArgs args, CustomResourceOptions? opts = null)
    public HealthCheckTemplate(String name, HealthCheckTemplateArgs args)
    public HealthCheckTemplate(String name, HealthCheckTemplateArgs args, CustomResourceOptions options)
    
    type: volcengine:alb:HealthCheckTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args HealthCheckTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HealthCheckTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HealthCheckTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HealthCheckTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HealthCheckTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var healthCheckTemplateResource = new Volcengine.Alb.HealthCheckTemplate("healthCheckTemplateResource", new()
    {
        HealthCheckTemplateName = "string",
        HealthCheckPort = 0,
        HealthCheckDomain = "string",
        HealthCheckHttpVersion = "string",
        HealthCheckInterval = 0,
        HealthCheckMethod = "string",
        Description = "string",
        HealthCheckProtocol = "string",
        HealthCheckHttpCode = "string",
        HealthCheckTimeout = 0,
        HealthCheckUri = "string",
        HealthyThreshold = 0,
        ProjectName = "string",
        Tags = new[]
        {
            new Volcengine.Alb.Inputs.HealthCheckTemplateTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        UnhealthyThreshold = 0,
    });
    
    example, err := alb.NewHealthCheckTemplate(ctx, "healthCheckTemplateResource", &alb.HealthCheckTemplateArgs{
    	HealthCheckTemplateName: pulumi.String("string"),
    	HealthCheckPort:         pulumi.Int(0),
    	HealthCheckDomain:       pulumi.String("string"),
    	HealthCheckHttpVersion:  pulumi.String("string"),
    	HealthCheckInterval:     pulumi.Int(0),
    	HealthCheckMethod:       pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	HealthCheckProtocol:     pulumi.String("string"),
    	HealthCheckHttpCode:     pulumi.String("string"),
    	HealthCheckTimeout:      pulumi.Int(0),
    	HealthCheckUri:          pulumi.String("string"),
    	HealthyThreshold:        pulumi.Int(0),
    	ProjectName:             pulumi.String("string"),
    	Tags: alb.HealthCheckTemplateTagArray{
    		&alb.HealthCheckTemplateTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	UnhealthyThreshold: pulumi.Int(0),
    })
    
    var healthCheckTemplateResource = new HealthCheckTemplate("healthCheckTemplateResource", HealthCheckTemplateArgs.builder()
        .healthCheckTemplateName("string")
        .healthCheckPort(0)
        .healthCheckDomain("string")
        .healthCheckHttpVersion("string")
        .healthCheckInterval(0)
        .healthCheckMethod("string")
        .description("string")
        .healthCheckProtocol("string")
        .healthCheckHttpCode("string")
        .healthCheckTimeout(0)
        .healthCheckUri("string")
        .healthyThreshold(0)
        .projectName("string")
        .tags(HealthCheckTemplateTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .unhealthyThreshold(0)
        .build());
    
    health_check_template_resource = volcengine.alb.HealthCheckTemplate("healthCheckTemplateResource",
        health_check_template_name="string",
        health_check_port=0,
        health_check_domain="string",
        health_check_http_version="string",
        health_check_interval=0,
        health_check_method="string",
        description="string",
        health_check_protocol="string",
        health_check_http_code="string",
        health_check_timeout=0,
        health_check_uri="string",
        healthy_threshold=0,
        project_name="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        unhealthy_threshold=0)
    
    const healthCheckTemplateResource = new volcengine.alb.HealthCheckTemplate("healthCheckTemplateResource", {
        healthCheckTemplateName: "string",
        healthCheckPort: 0,
        healthCheckDomain: "string",
        healthCheckHttpVersion: "string",
        healthCheckInterval: 0,
        healthCheckMethod: "string",
        description: "string",
        healthCheckProtocol: "string",
        healthCheckHttpCode: "string",
        healthCheckTimeout: 0,
        healthCheckUri: "string",
        healthyThreshold: 0,
        projectName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        unhealthyThreshold: 0,
    });
    
    type: volcengine:alb:HealthCheckTemplate
    properties:
        description: string
        healthCheckDomain: string
        healthCheckHttpCode: string
        healthCheckHttpVersion: string
        healthCheckInterval: 0
        healthCheckMethod: string
        healthCheckPort: 0
        healthCheckProtocol: string
        healthCheckTemplateName: string
        healthCheckTimeout: 0
        healthCheckUri: string
        healthyThreshold: 0
        projectName: string
        tags:
            - key: string
              value: string
        unhealthyThreshold: 0
    

    HealthCheckTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The HealthCheckTemplate resource accepts the following input properties:

    HealthCheckTemplateName string
    The health check template name.
    Description string
    The description of health check template.
    HealthCheckDomain string
    The domain name to health check.
    HealthCheckHttpCode string
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    HealthCheckHttpVersion string
    The HTTP version of health check.
    HealthCheckInterval int
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    HealthCheckMethod string
    The health check method,default is GET, support GET and HEAD.
    HealthCheckPort int
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    HealthCheckProtocol string
    The protocol of health check, support HTTP and TCP.
    HealthCheckTimeout int
    The timeout of health check response,the default value is 2, and the value is 1-60.
    HealthCheckUri string
    The uri to health check,default is /.
    HealthyThreshold int
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    ProjectName string
    The project name to which the health check template belongs.
    Tags List<HealthCheckTemplateTag>
    Tags.
    UnhealthyThreshold int
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    HealthCheckTemplateName string
    The health check template name.
    Description string
    The description of health check template.
    HealthCheckDomain string
    The domain name to health check.
    HealthCheckHttpCode string
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    HealthCheckHttpVersion string
    The HTTP version of health check.
    HealthCheckInterval int
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    HealthCheckMethod string
    The health check method,default is GET, support GET and HEAD.
    HealthCheckPort int
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    HealthCheckProtocol string
    The protocol of health check, support HTTP and TCP.
    HealthCheckTimeout int
    The timeout of health check response,the default value is 2, and the value is 1-60.
    HealthCheckUri string
    The uri to health check,default is /.
    HealthyThreshold int
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    ProjectName string
    The project name to which the health check template belongs.
    Tags []HealthCheckTemplateTagArgs
    Tags.
    UnhealthyThreshold int
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    healthCheckTemplateName String
    The health check template name.
    description String
    The description of health check template.
    healthCheckDomain String
    The domain name to health check.
    healthCheckHttpCode String
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    healthCheckHttpVersion String
    The HTTP version of health check.
    healthCheckInterval Integer
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    healthCheckMethod String
    The health check method,default is GET, support GET and HEAD.
    healthCheckPort Integer
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    healthCheckProtocol String
    The protocol of health check, support HTTP and TCP.
    healthCheckTimeout Integer
    The timeout of health check response,the default value is 2, and the value is 1-60.
    healthCheckUri String
    The uri to health check,default is /.
    healthyThreshold Integer
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    projectName String
    The project name to which the health check template belongs.
    tags List<HealthCheckTemplateTag>
    Tags.
    unhealthyThreshold Integer
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    healthCheckTemplateName string
    The health check template name.
    description string
    The description of health check template.
    healthCheckDomain string
    The domain name to health check.
    healthCheckHttpCode string
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    healthCheckHttpVersion string
    The HTTP version of health check.
    healthCheckInterval number
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    healthCheckMethod string
    The health check method,default is GET, support GET and HEAD.
    healthCheckPort number
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    healthCheckProtocol string
    The protocol of health check, support HTTP and TCP.
    healthCheckTimeout number
    The timeout of health check response,the default value is 2, and the value is 1-60.
    healthCheckUri string
    The uri to health check,default is /.
    healthyThreshold number
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    projectName string
    The project name to which the health check template belongs.
    tags HealthCheckTemplateTag[]
    Tags.
    unhealthyThreshold number
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    health_check_template_name str
    The health check template name.
    description str
    The description of health check template.
    health_check_domain str
    The domain name to health check.
    health_check_http_code str
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    health_check_http_version str
    The HTTP version of health check.
    health_check_interval int
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    health_check_method str
    The health check method,default is GET, support GET and HEAD.
    health_check_port int
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    health_check_protocol str
    The protocol of health check, support HTTP and TCP.
    health_check_timeout int
    The timeout of health check response,the default value is 2, and the value is 1-60.
    health_check_uri str
    The uri to health check,default is /.
    healthy_threshold int
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    project_name str
    The project name to which the health check template belongs.
    tags Sequence[HealthCheckTemplateTagArgs]
    Tags.
    unhealthy_threshold int
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    healthCheckTemplateName String
    The health check template name.
    description String
    The description of health check template.
    healthCheckDomain String
    The domain name to health check.
    healthCheckHttpCode String
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    healthCheckHttpVersion String
    The HTTP version of health check.
    healthCheckInterval Number
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    healthCheckMethod String
    The health check method,default is GET, support GET and HEAD.
    healthCheckPort Number
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    healthCheckProtocol String
    The protocol of health check, support HTTP and TCP.
    healthCheckTimeout Number
    The timeout of health check response,the default value is 2, and the value is 1-60.
    healthCheckUri String
    The uri to health check,default is /.
    healthyThreshold Number
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    projectName String
    The project name to which the health check template belongs.
    tags List<Property Map>
    Tags.
    unhealthyThreshold Number
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HealthCheckTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing HealthCheckTemplate Resource

    Get an existing HealthCheckTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HealthCheckTemplateState, opts?: CustomResourceOptions): HealthCheckTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            health_check_domain: Optional[str] = None,
            health_check_http_code: Optional[str] = None,
            health_check_http_version: Optional[str] = None,
            health_check_interval: Optional[int] = None,
            health_check_method: Optional[str] = None,
            health_check_port: Optional[int] = None,
            health_check_protocol: Optional[str] = None,
            health_check_template_name: Optional[str] = None,
            health_check_timeout: Optional[int] = None,
            health_check_uri: Optional[str] = None,
            healthy_threshold: Optional[int] = None,
            project_name: Optional[str] = None,
            tags: Optional[Sequence[HealthCheckTemplateTagArgs]] = None,
            unhealthy_threshold: Optional[int] = None) -> HealthCheckTemplate
    func GetHealthCheckTemplate(ctx *Context, name string, id IDInput, state *HealthCheckTemplateState, opts ...ResourceOption) (*HealthCheckTemplate, error)
    public static HealthCheckTemplate Get(string name, Input<string> id, HealthCheckTemplateState? state, CustomResourceOptions? opts = null)
    public static HealthCheckTemplate get(String name, Output<String> id, HealthCheckTemplateState state, CustomResourceOptions options)
    resources:  _:    type: volcengine:alb:HealthCheckTemplate    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of health check template.
    HealthCheckDomain string
    The domain name to health check.
    HealthCheckHttpCode string
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    HealthCheckHttpVersion string
    The HTTP version of health check.
    HealthCheckInterval int
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    HealthCheckMethod string
    The health check method,default is GET, support GET and HEAD.
    HealthCheckPort int
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    HealthCheckProtocol string
    The protocol of health check, support HTTP and TCP.
    HealthCheckTemplateName string
    The health check template name.
    HealthCheckTimeout int
    The timeout of health check response,the default value is 2, and the value is 1-60.
    HealthCheckUri string
    The uri to health check,default is /.
    HealthyThreshold int
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    ProjectName string
    The project name to which the health check template belongs.
    Tags List<HealthCheckTemplateTag>
    Tags.
    UnhealthyThreshold int
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    Description string
    The description of health check template.
    HealthCheckDomain string
    The domain name to health check.
    HealthCheckHttpCode string
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    HealthCheckHttpVersion string
    The HTTP version of health check.
    HealthCheckInterval int
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    HealthCheckMethod string
    The health check method,default is GET, support GET and HEAD.
    HealthCheckPort int
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    HealthCheckProtocol string
    The protocol of health check, support HTTP and TCP.
    HealthCheckTemplateName string
    The health check template name.
    HealthCheckTimeout int
    The timeout of health check response,the default value is 2, and the value is 1-60.
    HealthCheckUri string
    The uri to health check,default is /.
    HealthyThreshold int
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    ProjectName string
    The project name to which the health check template belongs.
    Tags []HealthCheckTemplateTagArgs
    Tags.
    UnhealthyThreshold int
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    description String
    The description of health check template.
    healthCheckDomain String
    The domain name to health check.
    healthCheckHttpCode String
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    healthCheckHttpVersion String
    The HTTP version of health check.
    healthCheckInterval Integer
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    healthCheckMethod String
    The health check method,default is GET, support GET and HEAD.
    healthCheckPort Integer
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    healthCheckProtocol String
    The protocol of health check, support HTTP and TCP.
    healthCheckTemplateName String
    The health check template name.
    healthCheckTimeout Integer
    The timeout of health check response,the default value is 2, and the value is 1-60.
    healthCheckUri String
    The uri to health check,default is /.
    healthyThreshold Integer
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    projectName String
    The project name to which the health check template belongs.
    tags List<HealthCheckTemplateTag>
    Tags.
    unhealthyThreshold Integer
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    description string
    The description of health check template.
    healthCheckDomain string
    The domain name to health check.
    healthCheckHttpCode string
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    healthCheckHttpVersion string
    The HTTP version of health check.
    healthCheckInterval number
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    healthCheckMethod string
    The health check method,default is GET, support GET and HEAD.
    healthCheckPort number
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    healthCheckProtocol string
    The protocol of health check, support HTTP and TCP.
    healthCheckTemplateName string
    The health check template name.
    healthCheckTimeout number
    The timeout of health check response,the default value is 2, and the value is 1-60.
    healthCheckUri string
    The uri to health check,default is /.
    healthyThreshold number
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    projectName string
    The project name to which the health check template belongs.
    tags HealthCheckTemplateTag[]
    Tags.
    unhealthyThreshold number
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    description str
    The description of health check template.
    health_check_domain str
    The domain name to health check.
    health_check_http_code str
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    health_check_http_version str
    The HTTP version of health check.
    health_check_interval int
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    health_check_method str
    The health check method,default is GET, support GET and HEAD.
    health_check_port int
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    health_check_protocol str
    The protocol of health check, support HTTP and TCP.
    health_check_template_name str
    The health check template name.
    health_check_timeout int
    The timeout of health check response,the default value is 2, and the value is 1-60.
    health_check_uri str
    The uri to health check,default is /.
    healthy_threshold int
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    project_name str
    The project name to which the health check template belongs.
    tags Sequence[HealthCheckTemplateTagArgs]
    Tags.
    unhealthy_threshold int
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.
    description String
    The description of health check template.
    healthCheckDomain String
    The domain name to health check.
    healthCheckHttpCode String
    The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
    healthCheckHttpVersion String
    The HTTP version of health check.
    healthCheckInterval Number
    The interval for performing health checks, the default value is 2, and the value is 1-300.
    healthCheckMethod String
    The health check method,default is GET, support GET and HEAD.
    healthCheckPort Number
    The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
    healthCheckProtocol String
    The protocol of health check, support HTTP and TCP.
    healthCheckTemplateName String
    The health check template name.
    healthCheckTimeout Number
    The timeout of health check response,the default value is 2, and the value is 1-60.
    healthCheckUri String
    The uri to health check,default is /.
    healthyThreshold Number
    The healthy threshold of the health check, the default is 3, the value is 2-10.
    projectName String
    The project name to which the health check template belongs.
    tags List<Property Map>
    Tags.
    unhealthyThreshold Number
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.

    Supporting Types

    HealthCheckTemplateTag, HealthCheckTemplateTagArgs

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Import

    AlbHealthCheckTemplate can be imported using the id, e.g.

    $ pulumi import volcengine:alb/healthCheckTemplate:HealthCheckTemplate default hctpl-123*****432
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.44 published on Sunday, Feb 1, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate