1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. HealthCheckTemplate
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.alb.HealthCheckTemplate

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Provides a resource to manage alb health check template

    Example Usage

    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,
            UnhealthyThreshold = 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),
    			UnhealthyThreshold:      pulumi.Int(3),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 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)
                .unhealthyThreshold(3)
                .build());
    
        }
    }
    
    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,
        unhealthy_threshold=3)
    
    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,
        unhealthyThreshold: 3,
    });
    
    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
          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,
                            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_protocol: Optional[str] = None,
                            health_check_timeout: Optional[int] = None,
                            health_check_uri: Optional[str] = None,
                            healthy_threshold: Optional[int] = 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",
        Description = "string",
        HealthCheckDomain = "string",
        HealthCheckHttpCode = "string",
        HealthCheckHttpVersion = "string",
        HealthCheckInterval = 0,
        HealthCheckMethod = "string",
        HealthCheckProtocol = "string",
        HealthCheckTimeout = 0,
        HealthCheckUri = "string",
        HealthyThreshold = 0,
        UnhealthyThreshold = 0,
    });
    
    example, err := alb.NewHealthCheckTemplate(ctx, "healthCheckTemplateResource", &alb.HealthCheckTemplateArgs{
    	HealthCheckTemplateName: pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	HealthCheckDomain:       pulumi.String("string"),
    	HealthCheckHttpCode:     pulumi.String("string"),
    	HealthCheckHttpVersion:  pulumi.String("string"),
    	HealthCheckInterval:     pulumi.Int(0),
    	HealthCheckMethod:       pulumi.String("string"),
    	HealthCheckProtocol:     pulumi.String("string"),
    	HealthCheckTimeout:      pulumi.Int(0),
    	HealthCheckUri:          pulumi.String("string"),
    	HealthyThreshold:        pulumi.Int(0),
    	UnhealthyThreshold:      pulumi.Int(0),
    })
    
    var healthCheckTemplateResource = new HealthCheckTemplate("healthCheckTemplateResource", HealthCheckTemplateArgs.builder()
        .healthCheckTemplateName("string")
        .description("string")
        .healthCheckDomain("string")
        .healthCheckHttpCode("string")
        .healthCheckHttpVersion("string")
        .healthCheckInterval(0)
        .healthCheckMethod("string")
        .healthCheckProtocol("string")
        .healthCheckTimeout(0)
        .healthCheckUri("string")
        .healthyThreshold(0)
        .unhealthyThreshold(0)
        .build());
    
    health_check_template_resource = volcengine.alb.HealthCheckTemplate("healthCheckTemplateResource",
        health_check_template_name="string",
        description="string",
        health_check_domain="string",
        health_check_http_code="string",
        health_check_http_version="string",
        health_check_interval=0,
        health_check_method="string",
        health_check_protocol="string",
        health_check_timeout=0,
        health_check_uri="string",
        healthy_threshold=0,
        unhealthy_threshold=0)
    
    const healthCheckTemplateResource = new volcengine.alb.HealthCheckTemplate("healthCheckTemplateResource", {
        healthCheckTemplateName: "string",
        description: "string",
        healthCheckDomain: "string",
        healthCheckHttpCode: "string",
        healthCheckHttpVersion: "string",
        healthCheckInterval: 0,
        healthCheckMethod: "string",
        healthCheckProtocol: "string",
        healthCheckTimeout: 0,
        healthCheckUri: "string",
        healthyThreshold: 0,
        unhealthyThreshold: 0,
    });
    
    type: volcengine:alb:HealthCheckTemplate
    properties:
        description: string
        healthCheckDomain: string
        healthCheckHttpCode: string
        healthCheckHttpVersion: string
        healthCheckInterval: 0
        healthCheckMethod: string
        healthCheckProtocol: string
        healthCheckTemplateName: string
        healthCheckTimeout: 0
        healthCheckUri: string
        healthyThreshold: 0
        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

    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.
    HealthCheckProtocol string
    THe protocol of health check,only support HTTP.
    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.
    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.
    HealthCheckProtocol string
    THe protocol of health check,only support HTTP.
    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.
    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.
    healthCheckProtocol String
    THe protocol of health check,only support HTTP.
    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.
    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.
    healthCheckProtocol string
    THe protocol of health check,only support HTTP.
    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.
    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_protocol str
    THe protocol of health check,only support HTTP.
    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.
    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.
    healthCheckProtocol String
    THe protocol of health check,only support HTTP.
    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.
    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_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,
            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)
    Resource lookup is not supported in YAML
    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.
    HealthCheckProtocol string
    THe protocol of health check,only support HTTP.
    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.
    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.
    HealthCheckProtocol string
    THe protocol of health check,only support HTTP.
    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.
    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.
    healthCheckProtocol String
    THe protocol of health check,only support HTTP.
    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.
    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.
    healthCheckProtocol string
    THe protocol of health check,only support HTTP.
    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.
    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_protocol str
    THe protocol of health check,only support HTTP.
    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.
    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.
    healthCheckProtocol String
    THe protocol of health check,only support HTTP.
    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.
    unhealthyThreshold Number
    The unhealthy threshold of the health check, the default is 3, the value is 2-10.

    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.24 published on Tuesday, Jun 25, 2024 by Volcengine