1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. ElbHealth
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.ElbHealth

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    !> Warning: Classic load balancers are no longer provided, using elastic load balancers instead.

    Manages a classic lb health check resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const healthcheck = new flexibleengine.ElbHealth("healthcheck", {
        listenerId: flexibleengine_elb_listener.listener.id,
        healthcheckProtocol: "TCP",
        healthcheckConnectPort: 22,
        healthyThreshold: 5,
        healthcheckTimeout: 25,
        healthcheckInterval: 3,
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    healthcheck = flexibleengine.ElbHealth("healthcheck",
        listener_id=flexibleengine_elb_listener["listener"]["id"],
        healthcheck_protocol="TCP",
        healthcheck_connect_port=22,
        healthy_threshold=5,
        healthcheck_timeout=25,
        healthcheck_interval=3)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.NewElbHealth(ctx, "healthcheck", &flexibleengine.ElbHealthArgs{
    			ListenerId:             pulumi.Any(flexibleengine_elb_listener.Listener.Id),
    			HealthcheckProtocol:    pulumi.String("TCP"),
    			HealthcheckConnectPort: pulumi.Float64(22),
    			HealthyThreshold:       pulumi.Float64(5),
    			HealthcheckTimeout:     pulumi.Float64(25),
    			HealthcheckInterval:    pulumi.Float64(3),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var healthcheck = new Flexibleengine.ElbHealth("healthcheck", new()
        {
            ListenerId = flexibleengine_elb_listener.Listener.Id,
            HealthcheckProtocol = "TCP",
            HealthcheckConnectPort = 22,
            HealthyThreshold = 5,
            HealthcheckTimeout = 25,
            HealthcheckInterval = 3,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ElbHealth;
    import com.pulumi.flexibleengine.ElbHealthArgs;
    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 healthcheck = new ElbHealth("healthcheck", ElbHealthArgs.builder()
                .listenerId(flexibleengine_elb_listener.listener().id())
                .healthcheckProtocol("TCP")
                .healthcheckConnectPort(22)
                .healthyThreshold(5)
                .healthcheckTimeout(25)
                .healthcheckInterval(3)
                .build());
    
        }
    }
    
    resources:
      healthcheck:
        type: flexibleengine:ElbHealth
        properties:
          listenerId: ${flexibleengine_elb_listener.listener.id}
          healthcheckProtocol: TCP
          healthcheckConnectPort: 22
          healthyThreshold: 5
          healthcheckTimeout: 25
          healthcheckInterval: 3
    

    Create ElbHealth Resource

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

    Constructor syntax

    new ElbHealth(name: string, args: ElbHealthArgs, opts?: CustomResourceOptions);
    @overload
    def ElbHealth(resource_name: str,
                  args: ElbHealthArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElbHealth(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  listener_id: Optional[str] = None,
                  elb_health_id: Optional[str] = None,
                  healthcheck_connect_port: Optional[float] = None,
                  healthcheck_interval: Optional[float] = None,
                  healthcheck_protocol: Optional[str] = None,
                  healthcheck_timeout: Optional[float] = None,
                  healthcheck_uri: Optional[str] = None,
                  healthy_threshold: Optional[float] = None,
                  region: Optional[str] = None,
                  timeouts: Optional[ElbHealthTimeoutsArgs] = None,
                  unhealthy_threshold: Optional[float] = None)
    func NewElbHealth(ctx *Context, name string, args ElbHealthArgs, opts ...ResourceOption) (*ElbHealth, error)
    public ElbHealth(string name, ElbHealthArgs args, CustomResourceOptions? opts = null)
    public ElbHealth(String name, ElbHealthArgs args)
    public ElbHealth(String name, ElbHealthArgs args, CustomResourceOptions options)
    
    type: flexibleengine:ElbHealth
    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 ElbHealthArgs
    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 ElbHealthArgs
    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 ElbHealthArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElbHealthArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElbHealthArgs
    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 elbHealthResource = new Flexibleengine.ElbHealth("elbHealthResource", new()
    {
        ListenerId = "string",
        ElbHealthId = "string",
        HealthcheckConnectPort = 0,
        HealthcheckInterval = 0,
        HealthcheckProtocol = "string",
        HealthcheckTimeout = 0,
        HealthcheckUri = "string",
        HealthyThreshold = 0,
        Region = "string",
        Timeouts = new Flexibleengine.Inputs.ElbHealthTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        UnhealthyThreshold = 0,
    });
    
    example, err := flexibleengine.NewElbHealth(ctx, "elbHealthResource", &flexibleengine.ElbHealthArgs{
    	ListenerId:             pulumi.String("string"),
    	ElbHealthId:            pulumi.String("string"),
    	HealthcheckConnectPort: pulumi.Float64(0),
    	HealthcheckInterval:    pulumi.Float64(0),
    	HealthcheckProtocol:    pulumi.String("string"),
    	HealthcheckTimeout:     pulumi.Float64(0),
    	HealthcheckUri:         pulumi.String("string"),
    	HealthyThreshold:       pulumi.Float64(0),
    	Region:                 pulumi.String("string"),
    	Timeouts: &flexibleengine.ElbHealthTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UnhealthyThreshold: pulumi.Float64(0),
    })
    
    var elbHealthResource = new ElbHealth("elbHealthResource", ElbHealthArgs.builder()
        .listenerId("string")
        .elbHealthId("string")
        .healthcheckConnectPort(0)
        .healthcheckInterval(0)
        .healthcheckProtocol("string")
        .healthcheckTimeout(0)
        .healthcheckUri("string")
        .healthyThreshold(0)
        .region("string")
        .timeouts(ElbHealthTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .unhealthyThreshold(0)
        .build());
    
    elb_health_resource = flexibleengine.ElbHealth("elbHealthResource",
        listener_id="string",
        elb_health_id="string",
        healthcheck_connect_port=0,
        healthcheck_interval=0,
        healthcheck_protocol="string",
        healthcheck_timeout=0,
        healthcheck_uri="string",
        healthy_threshold=0,
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        unhealthy_threshold=0)
    
    const elbHealthResource = new flexibleengine.ElbHealth("elbHealthResource", {
        listenerId: "string",
        elbHealthId: "string",
        healthcheckConnectPort: 0,
        healthcheckInterval: 0,
        healthcheckProtocol: "string",
        healthcheckTimeout: 0,
        healthcheckUri: "string",
        healthyThreshold: 0,
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        unhealthyThreshold: 0,
    });
    
    type: flexibleengine:ElbHealth
    properties:
        elbHealthId: string
        healthcheckConnectPort: 0
        healthcheckInterval: 0
        healthcheckProtocol: string
        healthcheckTimeout: 0
        healthcheckUri: string
        healthyThreshold: 0
        listenerId: string
        region: string
        timeouts:
            create: string
            delete: string
            update: string
        unhealthyThreshold: 0
    

    ElbHealth 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 ElbHealth resource accepts the following input properties:

    ListenerId string
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    ElbHealthId string
    Specifies the health check ID.
    HealthcheckConnectPort double
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    HealthcheckInterval double
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    HealthcheckProtocol string
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    HealthcheckTimeout double
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    HealthcheckUri string
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    HealthyThreshold double
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    Region string
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    Timeouts ElbHealthTimeouts
    UnhealthyThreshold double
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    ListenerId string
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    ElbHealthId string
    Specifies the health check ID.
    HealthcheckConnectPort float64
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    HealthcheckInterval float64
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    HealthcheckProtocol string
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    HealthcheckTimeout float64
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    HealthcheckUri string
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    HealthyThreshold float64
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    Region string
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    Timeouts ElbHealthTimeoutsArgs
    UnhealthyThreshold float64
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    listenerId String
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    elbHealthId String
    Specifies the health check ID.
    healthcheckConnectPort Double
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheckInterval Double
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheckProtocol String
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheckTimeout Double
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheckUri String
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthyThreshold Double
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    region String
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts ElbHealthTimeouts
    unhealthyThreshold Double
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    listenerId string
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    elbHealthId string
    Specifies the health check ID.
    healthcheckConnectPort number
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheckInterval number
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheckProtocol string
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheckTimeout number
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheckUri string
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthyThreshold number
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    region string
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts ElbHealthTimeouts
    unhealthyThreshold number
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    listener_id str
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    elb_health_id str
    Specifies the health check ID.
    healthcheck_connect_port float
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheck_interval float
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheck_protocol str
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheck_timeout float
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheck_uri str
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthy_threshold float
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    region str
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts ElbHealthTimeoutsArgs
    unhealthy_threshold float
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    listenerId String
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    elbHealthId String
    Specifies the health check ID.
    healthcheckConnectPort Number
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheckInterval Number
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheckProtocol String
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheckTimeout Number
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheckUri String
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthyThreshold Number
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    region String
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts Property Map
    unhealthyThreshold Number
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ElbHealth 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 ElbHealth Resource

    Get an existing ElbHealth 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?: ElbHealthState, opts?: CustomResourceOptions): ElbHealth
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            elb_health_id: Optional[str] = None,
            healthcheck_connect_port: Optional[float] = None,
            healthcheck_interval: Optional[float] = None,
            healthcheck_protocol: Optional[str] = None,
            healthcheck_timeout: Optional[float] = None,
            healthcheck_uri: Optional[str] = None,
            healthy_threshold: Optional[float] = None,
            listener_id: Optional[str] = None,
            region: Optional[str] = None,
            timeouts: Optional[ElbHealthTimeoutsArgs] = None,
            unhealthy_threshold: Optional[float] = None) -> ElbHealth
    func GetElbHealth(ctx *Context, name string, id IDInput, state *ElbHealthState, opts ...ResourceOption) (*ElbHealth, error)
    public static ElbHealth Get(string name, Input<string> id, ElbHealthState? state, CustomResourceOptions? opts = null)
    public static ElbHealth get(String name, Output<String> id, ElbHealthState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:ElbHealth    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:
    ElbHealthId string
    Specifies the health check ID.
    HealthcheckConnectPort double
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    HealthcheckInterval double
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    HealthcheckProtocol string
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    HealthcheckTimeout double
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    HealthcheckUri string
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    HealthyThreshold double
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    ListenerId string
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    Region string
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    Timeouts ElbHealthTimeouts
    UnhealthyThreshold double
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    ElbHealthId string
    Specifies the health check ID.
    HealthcheckConnectPort float64
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    HealthcheckInterval float64
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    HealthcheckProtocol string
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    HealthcheckTimeout float64
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    HealthcheckUri string
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    HealthyThreshold float64
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    ListenerId string
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    Region string
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    Timeouts ElbHealthTimeoutsArgs
    UnhealthyThreshold float64
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    elbHealthId String
    Specifies the health check ID.
    healthcheckConnectPort Double
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheckInterval Double
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheckProtocol String
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheckTimeout Double
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheckUri String
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthyThreshold Double
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    listenerId String
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    region String
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts ElbHealthTimeouts
    unhealthyThreshold Double
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    elbHealthId string
    Specifies the health check ID.
    healthcheckConnectPort number
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheckInterval number
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheckProtocol string
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheckTimeout number
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheckUri string
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthyThreshold number
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    listenerId string
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    region string
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts ElbHealthTimeouts
    unhealthyThreshold number
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    elb_health_id str
    Specifies the health check ID.
    healthcheck_connect_port float
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheck_interval float
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheck_protocol str
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheck_timeout float
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheck_uri str
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthy_threshold float
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    listener_id str
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    region str
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts ElbHealthTimeoutsArgs
    unhealthy_threshold float
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
    elbHealthId String
    Specifies the health check ID.
    healthcheckConnectPort Number
    Specifies the port used for the health check. The value ranges from 1 to 65535.
    healthcheckInterval Number
    Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
    healthcheckProtocol String
    Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
    healthcheckTimeout Number
    Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
    healthcheckUri String
    Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
    healthyThreshold Number
    Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
    listenerId String
    Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
    region String
    The region in which to create the elb health. If omitted, the region argument of the provider is used. Changing this creates a new elb health.
    timeouts Property Map
    unhealthyThreshold Number
    Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.

    Supporting Types

    ElbHealthTimeouts, ElbHealthTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud