tencentcloud.GwlbTargetGroup
Explore with Pulumi AI
Provides a resource to create a gwlb gwlb_target_group
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const gwlbTargetGroup = new tencentcloud.GwlbTargetGroup("gwlbTargetGroup", {
targetGroupName: "tf-test",
vpcId: vpc.vpcId,
port: 6081,
healthCheck: {
healthSwitch: true,
protocol: "tcp",
port: 6081,
timeout: 2,
intervalTime: 5,
healthNum: 3,
unHealthNum: 3,
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
gwlb_target_group = tencentcloud.GwlbTargetGroup("gwlbTargetGroup",
target_group_name="tf-test",
vpc_id=vpc.vpc_id,
port=6081,
health_check={
"health_switch": True,
"protocol": "tcp",
"port": 6081,
"timeout": 2,
"interval_time": 5,
"health_num": 3,
"un_health_num": 3,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
_, err = tencentcloud.NewGwlbTargetGroup(ctx, "gwlbTargetGroup", &tencentcloud.GwlbTargetGroupArgs{
TargetGroupName: pulumi.String("tf-test"),
VpcId: vpc.VpcId,
Port: pulumi.Float64(6081),
HealthCheck: &tencentcloud.GwlbTargetGroupHealthCheckArgs{
HealthSwitch: pulumi.Bool(true),
Protocol: pulumi.String("tcp"),
Port: pulumi.Float64(6081),
Timeout: pulumi.Float64(2),
IntervalTime: pulumi.Float64(5),
HealthNum: pulumi.Float64(3),
UnHealthNum: pulumi.Float64(3),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "10.0.0.0/16",
});
var gwlbTargetGroup = new Tencentcloud.GwlbTargetGroup("gwlbTargetGroup", new()
{
TargetGroupName = "tf-test",
VpcId = vpc.VpcId,
Port = 6081,
HealthCheck = new Tencentcloud.Inputs.GwlbTargetGroupHealthCheckArgs
{
HealthSwitch = true,
Protocol = "tcp",
Port = 6081,
Timeout = 2,
IntervalTime = 5,
HealthNum = 3,
UnHealthNum = 3,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.GwlbTargetGroup;
import com.pulumi.tencentcloud.GwlbTargetGroupArgs;
import com.pulumi.tencentcloud.inputs.GwlbTargetGroupHealthCheckArgs;
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 vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var gwlbTargetGroup = new GwlbTargetGroup("gwlbTargetGroup", GwlbTargetGroupArgs.builder()
.targetGroupName("tf-test")
.vpcId(vpc.vpcId())
.port(6081)
.healthCheck(GwlbTargetGroupHealthCheckArgs.builder()
.healthSwitch(true)
.protocol("tcp")
.port(6081)
.timeout(2)
.intervalTime(5)
.healthNum(3)
.unHealthNum(3)
.build())
.build());
}
}
resources:
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
gwlbTargetGroup:
type: tencentcloud:GwlbTargetGroup
properties:
targetGroupName: tf-test
vpcId: ${vpc.vpcId}
port: 6081
healthCheck:
healthSwitch: true
protocol: tcp
port: 6081
timeout: 2
intervalTime: 5
healthNum: 3
unHealthNum: 3
Create GwlbTargetGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GwlbTargetGroup(name: string, args?: GwlbTargetGroupArgs, opts?: CustomResourceOptions);
@overload
def GwlbTargetGroup(resource_name: str,
args: Optional[GwlbTargetGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GwlbTargetGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
all_dead_to_alive: Optional[bool] = None,
gwlb_target_group_id: Optional[str] = None,
health_check: Optional[GwlbTargetGroupHealthCheckArgs] = None,
port: Optional[float] = None,
protocol: Optional[str] = None,
schedule_algorithm: Optional[str] = None,
target_group_name: Optional[str] = None,
vpc_id: Optional[str] = None)
func NewGwlbTargetGroup(ctx *Context, name string, args *GwlbTargetGroupArgs, opts ...ResourceOption) (*GwlbTargetGroup, error)
public GwlbTargetGroup(string name, GwlbTargetGroupArgs? args = null, CustomResourceOptions? opts = null)
public GwlbTargetGroup(String name, GwlbTargetGroupArgs args)
public GwlbTargetGroup(String name, GwlbTargetGroupArgs args, CustomResourceOptions options)
type: tencentcloud:GwlbTargetGroup
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 GwlbTargetGroupArgs
- 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 GwlbTargetGroupArgs
- 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 GwlbTargetGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GwlbTargetGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GwlbTargetGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GwlbTargetGroup 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 GwlbTargetGroup resource accepts the following input properties:
- All
Dead boolTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- Gwlb
Target stringGroup Id - ID of the resource.
- Health
Check GwlbTarget Group Health Check - Health check settings.
- Port double
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- Protocol string
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- Schedule
Algorithm string - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- Target
Group stringName - Target group name, limited to 60 characters.
- Vpc
Id string - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- All
Dead boolTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- Gwlb
Target stringGroup Id - ID of the resource.
- Health
Check GwlbTarget Group Health Check Args - Health check settings.
- Port float64
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- Protocol string
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- Schedule
Algorithm string - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- Target
Group stringName - Target group name, limited to 60 characters.
- Vpc
Id string - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all
Dead BooleanTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb
Target StringGroup Id - ID of the resource.
- health
Check GwlbTarget Group Health Check - Health check settings.
- port Double
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol String
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule
Algorithm String - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target
Group StringName - Target group name, limited to 60 characters.
- vpc
Id String - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all
Dead booleanTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb
Target stringGroup Id - ID of the resource.
- health
Check GwlbTarget Group Health Check - Health check settings.
- port number
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol string
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule
Algorithm string - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target
Group stringName - Target group name, limited to 60 characters.
- vpc
Id string - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all_
dead_ boolto_ alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb_
target_ strgroup_ id - ID of the resource.
- health_
check GwlbTarget Group Health Check Args - Health check settings.
- port float
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol str
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule_
algorithm str - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target_
group_ strname - Target group name, limited to 60 characters.
- vpc_
id str - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all
Dead BooleanTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb
Target StringGroup Id - ID of the resource.
- health
Check Property Map - Health check settings.
- port Number
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol String
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule
Algorithm String - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target
Group StringName - Target group name, limited to 60 characters.
- vpc
Id String - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
Outputs
All input properties are implicitly available as output properties. Additionally, the GwlbTargetGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Group List<GwlbInstances Target Group Target Group Instance> - Real server bound to a target group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Group []GwlbInstances Target Group Target Group Instance - Real server bound to a target group.
- id String
- The provider-assigned unique ID for this managed resource.
- target
Group List<GwlbInstances Target Group Target Group Instance> - Real server bound to a target group.
- id string
- The provider-assigned unique ID for this managed resource.
- target
Group GwlbInstances Target Group Target Group Instance[] - Real server bound to a target group.
- id str
- The provider-assigned unique ID for this managed resource.
- target_
group_ Sequence[Gwlbinstances Target Group Target Group Instance] - Real server bound to a target group.
- id String
- The provider-assigned unique ID for this managed resource.
- target
Group List<Property Map>Instances - Real server bound to a target group.
Look up Existing GwlbTargetGroup Resource
Get an existing GwlbTargetGroup 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?: GwlbTargetGroupState, opts?: CustomResourceOptions): GwlbTargetGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
all_dead_to_alive: Optional[bool] = None,
gwlb_target_group_id: Optional[str] = None,
health_check: Optional[GwlbTargetGroupHealthCheckArgs] = None,
port: Optional[float] = None,
protocol: Optional[str] = None,
schedule_algorithm: Optional[str] = None,
target_group_instances: Optional[Sequence[GwlbTargetGroupTargetGroupInstanceArgs]] = None,
target_group_name: Optional[str] = None,
vpc_id: Optional[str] = None) -> GwlbTargetGroup
func GetGwlbTargetGroup(ctx *Context, name string, id IDInput, state *GwlbTargetGroupState, opts ...ResourceOption) (*GwlbTargetGroup, error)
public static GwlbTargetGroup Get(string name, Input<string> id, GwlbTargetGroupState? state, CustomResourceOptions? opts = null)
public static GwlbTargetGroup get(String name, Output<String> id, GwlbTargetGroupState state, CustomResourceOptions options)
resources: _: type: tencentcloud:GwlbTargetGroup 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.
- All
Dead boolTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- Gwlb
Target stringGroup Id - ID of the resource.
- Health
Check GwlbTarget Group Health Check - Health check settings.
- Port double
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- Protocol string
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- Schedule
Algorithm string - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- Target
Group List<GwlbInstances Target Group Target Group Instance> - Real server bound to a target group.
- Target
Group stringName - Target group name, limited to 60 characters.
- Vpc
Id string - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- All
Dead boolTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- Gwlb
Target stringGroup Id - ID of the resource.
- Health
Check GwlbTarget Group Health Check Args - Health check settings.
- Port float64
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- Protocol string
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- Schedule
Algorithm string - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- Target
Group []GwlbInstances Target Group Target Group Instance Args - Real server bound to a target group.
- Target
Group stringName - Target group name, limited to 60 characters.
- Vpc
Id string - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all
Dead BooleanTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb
Target StringGroup Id - ID of the resource.
- health
Check GwlbTarget Group Health Check - Health check settings.
- port Double
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol String
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule
Algorithm String - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target
Group List<GwlbInstances Target Group Target Group Instance> - Real server bound to a target group.
- target
Group StringName - Target group name, limited to 60 characters.
- vpc
Id String - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all
Dead booleanTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb
Target stringGroup Id - ID of the resource.
- health
Check GwlbTarget Group Health Check - Health check settings.
- port number
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol string
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule
Algorithm string - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target
Group GwlbInstances Target Group Target Group Instance[] - Real server bound to a target group.
- target
Group stringName - Target group name, limited to 60 characters.
- vpc
Id string - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all_
dead_ boolto_ alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb_
target_ strgroup_ id - ID of the resource.
- health_
check GwlbTarget Group Health Check Args - Health check settings.
- port float
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol str
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule_
algorithm str - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target_
group_ Sequence[Gwlbinstances Target Group Target Group Instance Args] - Real server bound to a target group.
- target_
group_ strname - Target group name, limited to 60 characters.
- vpc_
id str - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
- all
Dead BooleanTo Alive - Whether "All Dead, All Alive" is supported. It is supported by default.
- gwlb
Target StringGroup Id - ID of the resource.
- health
Check Property Map - Health check settings.
- port Number
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- protocol String
- GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol;
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting).
- schedule
Algorithm String - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashing.
- target
Group List<Property Map>Instances - Real server bound to a target group.
- target
Group StringName - Target group name, limited to 60 characters.
- vpc
Id String - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
Supporting Types
GwlbTargetGroupHealthCheck, GwlbTargetGroupHealthCheckArgs
- Health
Switch bool - Whether to enable the health check.
- Health
Num double - Health detection threshold. The default is 3 times. Value range: 2-10 times.
- Interval
Time double - Detection interval time. The default is 5 seconds. Value range: 2-300 seconds.
- Port double
- Health check port, which is required when the probe protocol is TCP.
- Protocol string
- Protocol used for health check, which supports PING and TCP and is PING by default.
- PING: icmp;
- TCP: tcp.
- Timeout double
- Health check timeout. The default is 2 seconds. Value range: 2-30 seconds.
- Un
Health doubleNum - Unhealth detection threshold. The default is 3 times. Value range: 2-10 times.
- Health
Switch bool - Whether to enable the health check.
- Health
Num float64 - Health detection threshold. The default is 3 times. Value range: 2-10 times.
- Interval
Time float64 - Detection interval time. The default is 5 seconds. Value range: 2-300 seconds.
- Port float64
- Health check port, which is required when the probe protocol is TCP.
- Protocol string
- Protocol used for health check, which supports PING and TCP and is PING by default.
- PING: icmp;
- TCP: tcp.
- Timeout float64
- Health check timeout. The default is 2 seconds. Value range: 2-30 seconds.
- Un
Health float64Num - Unhealth detection threshold. The default is 3 times. Value range: 2-10 times.
- health
Switch Boolean - Whether to enable the health check.
- health
Num Double - Health detection threshold. The default is 3 times. Value range: 2-10 times.
- interval
Time Double - Detection interval time. The default is 5 seconds. Value range: 2-300 seconds.
- port Double
- Health check port, which is required when the probe protocol is TCP.
- protocol String
- Protocol used for health check, which supports PING and TCP and is PING by default.
- PING: icmp;
- TCP: tcp.
- timeout Double
- Health check timeout. The default is 2 seconds. Value range: 2-30 seconds.
- un
Health DoubleNum - Unhealth detection threshold. The default is 3 times. Value range: 2-10 times.
- health
Switch boolean - Whether to enable the health check.
- health
Num number - Health detection threshold. The default is 3 times. Value range: 2-10 times.
- interval
Time number - Detection interval time. The default is 5 seconds. Value range: 2-300 seconds.
- port number
- Health check port, which is required when the probe protocol is TCP.
- protocol string
- Protocol used for health check, which supports PING and TCP and is PING by default.
- PING: icmp;
- TCP: tcp.
- timeout number
- Health check timeout. The default is 2 seconds. Value range: 2-30 seconds.
- un
Health numberNum - Unhealth detection threshold. The default is 3 times. Value range: 2-10 times.
- health_
switch bool - Whether to enable the health check.
- health_
num float - Health detection threshold. The default is 3 times. Value range: 2-10 times.
- interval_
time float - Detection interval time. The default is 5 seconds. Value range: 2-300 seconds.
- port float
- Health check port, which is required when the probe protocol is TCP.
- protocol str
- Protocol used for health check, which supports PING and TCP and is PING by default.
- PING: icmp;
- TCP: tcp.
- timeout float
- Health check timeout. The default is 2 seconds. Value range: 2-30 seconds.
- un_
health_ floatnum - Unhealth detection threshold. The default is 3 times. Value range: 2-10 times.
- health
Switch Boolean - Whether to enable the health check.
- health
Num Number - Health detection threshold. The default is 3 times. Value range: 2-10 times.
- interval
Time Number - Detection interval time. The default is 5 seconds. Value range: 2-300 seconds.
- port Number
- Health check port, which is required when the probe protocol is TCP.
- protocol String
- Protocol used for health check, which supports PING and TCP and is PING by default.
- PING: icmp;
- TCP: tcp.
- timeout Number
- Health check timeout. The default is 2 seconds. Value range: 2-30 seconds.
- un
Health NumberNum - Unhealth detection threshold. The default is 3 times. Value range: 2-10 times.
GwlbTargetGroupTargetGroupInstance, GwlbTargetGroupTargetGroupInstanceArgs
- Bind
Ip string - Private network IP of target group instance.
- Port double
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- Weight double
- Weight of target group instance. Only 0 or 16 is supported, and non-0 is uniformly treated as 16.
- Bind
Ip string - Private network IP of target group instance.
- Port float64
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- Weight float64
- Weight of target group instance. Only 0 or 16 is supported, and non-0 is uniformly treated as 16.
- bind
Ip String - Private network IP of target group instance.
- port Double
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- weight Double
- Weight of target group instance. Only 0 or 16 is supported, and non-0 is uniformly treated as 16.
- bind
Ip string - Private network IP of target group instance.
- port number
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- weight number
- Weight of target group instance. Only 0 or 16 is supported, and non-0 is uniformly treated as 16.
- bind_
ip str - Private network IP of target group instance.
- port float
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- weight float
- Weight of target group instance. Only 0 or 16 is supported, and non-0 is uniformly treated as 16.
- bind
Ip String - Private network IP of target group instance.
- port Number
- Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
- weight Number
- Weight of target group instance. Only 0 or 16 is supported, and non-0 is uniformly treated as 16.
Import
gwlb gwlb_target_group can be imported using the id, e.g.
$ pulumi import tencentcloud:index/gwlbTargetGroup:GwlbTargetGroup gwlb_target_group gwlb_target_group_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.