tencentcloud.GwlbInstance
Explore with Pulumi AI
Provides a resource to create a gwlb gwlb_instance
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const subnet = new tencentcloud.Subnet("subnet", {
availabilityZone: availabilityZone,
vpcId: vpc.vpcId,
cidrBlock: "10.0.20.0/28",
isMulticast: false,
});
const gwlbInstance = new tencentcloud.GwlbInstance("gwlbInstance", {
vpcId: vpc.vpcId,
subnetId: subnet.subnetId,
loadBalancerName: "tf-test",
lbChargeType: "POSTPAID_BY_HOUR",
tags: [{
tagKey: "test_key",
tagValue: "tag_value",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
availability_zone = "ap-guangzhou-3"
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
availability_zone=availability_zone,
vpc_id=vpc.vpc_id,
cidr_block="10.0.20.0/28",
is_multicast=False)
gwlb_instance = tencentcloud.GwlbInstance("gwlbInstance",
vpc_id=vpc.vpc_id,
subnet_id=subnet.subnet_id,
load_balancer_name="tf-test",
lb_charge_type="POSTPAID_BY_HOUR",
tags=[{
"tag_key": "test_key",
"tag_value": "tag_value",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
availabilityZone := "ap-guangzhou-3"
if param := cfg.Get("availabilityZone"); param != "" {
availabilityZone = param
}
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
AvailabilityZone: pulumi.String(availabilityZone),
VpcId: vpc.VpcId,
CidrBlock: pulumi.String("10.0.20.0/28"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = tencentcloud.NewGwlbInstance(ctx, "gwlbInstance", &tencentcloud.GwlbInstanceArgs{
VpcId: vpc.VpcId,
SubnetId: subnet.SubnetId,
LoadBalancerName: pulumi.String("tf-test"),
LbChargeType: pulumi.String("POSTPAID_BY_HOUR"),
Tags: tencentcloud.GwlbInstanceTagArray{
&tencentcloud.GwlbInstanceTagArgs{
TagKey: pulumi.String("test_key"),
TagValue: pulumi.String("tag_value"),
},
},
})
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 config = new Config();
var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "10.0.0.0/16",
});
var subnet = new Tencentcloud.Subnet("subnet", new()
{
AvailabilityZone = availabilityZone,
VpcId = vpc.VpcId,
CidrBlock = "10.0.20.0/28",
IsMulticast = false,
});
var gwlbInstance = new Tencentcloud.GwlbInstance("gwlbInstance", new()
{
VpcId = vpc.VpcId,
SubnetId = subnet.SubnetId,
LoadBalancerName = "tf-test",
LbChargeType = "POSTPAID_BY_HOUR",
Tags = new[]
{
new Tencentcloud.Inputs.GwlbInstanceTagArgs
{
TagKey = "test_key",
TagValue = "tag_value",
},
},
});
});
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.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.GwlbInstance;
import com.pulumi.tencentcloud.GwlbInstanceArgs;
import com.pulumi.tencentcloud.inputs.GwlbInstanceTagArgs;
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) {
final var config = ctx.config();
final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
var vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var subnet = new Subnet("subnet", SubnetArgs.builder()
.availabilityZone(availabilityZone)
.vpcId(vpc.vpcId())
.cidrBlock("10.0.20.0/28")
.isMulticast(false)
.build());
var gwlbInstance = new GwlbInstance("gwlbInstance", GwlbInstanceArgs.builder()
.vpcId(vpc.vpcId())
.subnetId(subnet.subnetId())
.loadBalancerName("tf-test")
.lbChargeType("POSTPAID_BY_HOUR")
.tags(GwlbInstanceTagArgs.builder()
.tagKey("test_key")
.tagValue("tag_value")
.build())
.build());
}
}
configuration:
availabilityZone:
type: string
default: ap-guangzhou-3
resources:
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
subnet:
type: tencentcloud:Subnet
properties:
availabilityZone: ${availabilityZone}
vpcId: ${vpc.vpcId}
cidrBlock: 10.0.20.0/28
isMulticast: false
gwlbInstance:
type: tencentcloud:GwlbInstance
properties:
vpcId: ${vpc.vpcId}
subnetId: ${subnet.subnetId}
loadBalancerName: tf-test
lbChargeType: POSTPAID_BY_HOUR
tags:
- tagKey: test_key
tagValue: tag_value
Create GwlbInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GwlbInstance(name: string, args: GwlbInstanceArgs, opts?: CustomResourceOptions);
@overload
def GwlbInstance(resource_name: str,
args: GwlbInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GwlbInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_id: Optional[str] = None,
vpc_id: Optional[str] = None,
gwlb_instance_id: Optional[str] = None,
lb_charge_type: Optional[str] = None,
load_balancer_name: Optional[str] = None,
tags: Optional[Sequence[GwlbInstanceTagArgs]] = None)
func NewGwlbInstance(ctx *Context, name string, args GwlbInstanceArgs, opts ...ResourceOption) (*GwlbInstance, error)
public GwlbInstance(string name, GwlbInstanceArgs args, CustomResourceOptions? opts = null)
public GwlbInstance(String name, GwlbInstanceArgs args)
public GwlbInstance(String name, GwlbInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:GwlbInstance
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 GwlbInstanceArgs
- 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 GwlbInstanceArgs
- 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 GwlbInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GwlbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GwlbInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GwlbInstance 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 GwlbInstance resource accepts the following input properties:
- Subnet
Id string - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- Vpc
Id string - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- Gwlb
Instance stringId - ID of the resource.
- Lb
Charge stringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- Load
Balancer stringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- List<Gwlb
Instance Tag> - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- Subnet
Id string - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- Vpc
Id string - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- Gwlb
Instance stringId - ID of the resource.
- Lb
Charge stringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- Load
Balancer stringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- []Gwlb
Instance Tag Args - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- subnet
Id String - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- vpc
Id String - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- gwlb
Instance StringId - ID of the resource.
- lb
Charge StringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load
Balancer StringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- List<Gwlb
Instance Tag> - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- subnet
Id string - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- vpc
Id string - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- gwlb
Instance stringId - ID of the resource.
- lb
Charge stringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load
Balancer stringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- Gwlb
Instance Tag[] - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- subnet_
id str - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- vpc_
id str - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- gwlb_
instance_ strid - ID of the resource.
- lb_
charge_ strtype - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load_
balancer_ strname - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- Sequence[Gwlb
Instance Tag Args] - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- subnet
Id String - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- vpc
Id String - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- gwlb
Instance StringId - ID of the resource.
- lb
Charge StringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load
Balancer StringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- List<Property Map>
- While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
Outputs
All input properties are implicitly available as output properties. Additionally, the GwlbInstance resource produces the following output properties:
- Create
Time string - Create time.
- Delete
Protect bool - Whether to turn on the deletion protection function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Isolated
Time string - Time when the Gateway Load Balancer instance was isolated.
- Isolation double
- 0: means not quarantined, 1: means quarantined.
- Operate
Protect bool - Whether to enable the configuration modification protection function.
- Status double
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- Target
Group stringId - Unique ID of the associated target group.
- Vips List<string>
- Gateway Load Balancer provides virtual IP services.
- Create
Time string - Create time.
- Delete
Protect bool - Whether to turn on the deletion protection function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Isolated
Time string - Time when the Gateway Load Balancer instance was isolated.
- Isolation float64
- 0: means not quarantined, 1: means quarantined.
- Operate
Protect bool - Whether to enable the configuration modification protection function.
- Status float64
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- Target
Group stringId - Unique ID of the associated target group.
- Vips []string
- Gateway Load Balancer provides virtual IP services.
- create
Time String - Create time.
- delete
Protect Boolean - Whether to turn on the deletion protection function.
- id String
- The provider-assigned unique ID for this managed resource.
- isolated
Time String - Time when the Gateway Load Balancer instance was isolated.
- isolation Double
- 0: means not quarantined, 1: means quarantined.
- operate
Protect Boolean - Whether to enable the configuration modification protection function.
- status Double
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- target
Group StringId - Unique ID of the associated target group.
- vips List<String>
- Gateway Load Balancer provides virtual IP services.
- create
Time string - Create time.
- delete
Protect boolean - Whether to turn on the deletion protection function.
- id string
- The provider-assigned unique ID for this managed resource.
- isolated
Time string - Time when the Gateway Load Balancer instance was isolated.
- isolation number
- 0: means not quarantined, 1: means quarantined.
- operate
Protect boolean - Whether to enable the configuration modification protection function.
- status number
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- target
Group stringId - Unique ID of the associated target group.
- vips string[]
- Gateway Load Balancer provides virtual IP services.
- create_
time str - Create time.
- delete_
protect bool - Whether to turn on the deletion protection function.
- id str
- The provider-assigned unique ID for this managed resource.
- isolated_
time str - Time when the Gateway Load Balancer instance was isolated.
- isolation float
- 0: means not quarantined, 1: means quarantined.
- operate_
protect bool - Whether to enable the configuration modification protection function.
- status float
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- target_
group_ strid - Unique ID of the associated target group.
- vips Sequence[str]
- Gateway Load Balancer provides virtual IP services.
- create
Time String - Create time.
- delete
Protect Boolean - Whether to turn on the deletion protection function.
- id String
- The provider-assigned unique ID for this managed resource.
- isolated
Time String - Time when the Gateway Load Balancer instance was isolated.
- isolation Number
- 0: means not quarantined, 1: means quarantined.
- operate
Protect Boolean - Whether to enable the configuration modification protection function.
- status Number
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- target
Group StringId - Unique ID of the associated target group.
- vips List<String>
- Gateway Load Balancer provides virtual IP services.
Look up Existing GwlbInstance Resource
Get an existing GwlbInstance 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?: GwlbInstanceState, opts?: CustomResourceOptions): GwlbInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
delete_protect: Optional[bool] = None,
gwlb_instance_id: Optional[str] = None,
isolated_time: Optional[str] = None,
isolation: Optional[float] = None,
lb_charge_type: Optional[str] = None,
load_balancer_name: Optional[str] = None,
operate_protect: Optional[bool] = None,
status: Optional[float] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[GwlbInstanceTagArgs]] = None,
target_group_id: Optional[str] = None,
vips: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None) -> GwlbInstance
func GetGwlbInstance(ctx *Context, name string, id IDInput, state *GwlbInstanceState, opts ...ResourceOption) (*GwlbInstance, error)
public static GwlbInstance Get(string name, Input<string> id, GwlbInstanceState? state, CustomResourceOptions? opts = null)
public static GwlbInstance get(String name, Output<String> id, GwlbInstanceState state, CustomResourceOptions options)
resources: _: type: tencentcloud:GwlbInstance 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.
- Create
Time string - Create time.
- Delete
Protect bool - Whether to turn on the deletion protection function.
- Gwlb
Instance stringId - ID of the resource.
- Isolated
Time string - Time when the Gateway Load Balancer instance was isolated.
- Isolation double
- 0: means not quarantined, 1: means quarantined.
- Lb
Charge stringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- Load
Balancer stringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- Operate
Protect bool - Whether to enable the configuration modification protection function.
- Status double
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- Subnet
Id string - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- List<Gwlb
Instance Tag> - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- Target
Group stringId - Unique ID of the associated target group.
- Vips List<string>
- Gateway Load Balancer provides virtual IP services.
- Vpc
Id string - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- Create
Time string - Create time.
- Delete
Protect bool - Whether to turn on the deletion protection function.
- Gwlb
Instance stringId - ID of the resource.
- Isolated
Time string - Time when the Gateway Load Balancer instance was isolated.
- Isolation float64
- 0: means not quarantined, 1: means quarantined.
- Lb
Charge stringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- Load
Balancer stringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- Operate
Protect bool - Whether to enable the configuration modification protection function.
- Status float64
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- Subnet
Id string - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- []Gwlb
Instance Tag Args - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- Target
Group stringId - Unique ID of the associated target group.
- Vips []string
- Gateway Load Balancer provides virtual IP services.
- Vpc
Id string - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- create
Time String - Create time.
- delete
Protect Boolean - Whether to turn on the deletion protection function.
- gwlb
Instance StringId - ID of the resource.
- isolated
Time String - Time when the Gateway Load Balancer instance was isolated.
- isolation Double
- 0: means not quarantined, 1: means quarantined.
- lb
Charge StringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load
Balancer StringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- operate
Protect Boolean - Whether to enable the configuration modification protection function.
- status Double
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- subnet
Id String - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- List<Gwlb
Instance Tag> - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- target
Group StringId - Unique ID of the associated target group.
- vips List<String>
- Gateway Load Balancer provides virtual IP services.
- vpc
Id String - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- create
Time string - Create time.
- delete
Protect boolean - Whether to turn on the deletion protection function.
- gwlb
Instance stringId - ID of the resource.
- isolated
Time string - Time when the Gateway Load Balancer instance was isolated.
- isolation number
- 0: means not quarantined, 1: means quarantined.
- lb
Charge stringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load
Balancer stringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- operate
Protect boolean - Whether to enable the configuration modification protection function.
- status number
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- subnet
Id string - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- Gwlb
Instance Tag[] - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- target
Group stringId - Unique ID of the associated target group.
- vips string[]
- Gateway Load Balancer provides virtual IP services.
- vpc
Id string - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- create_
time str - Create time.
- delete_
protect bool - Whether to turn on the deletion protection function.
- gwlb_
instance_ strid - ID of the resource.
- isolated_
time str - Time when the Gateway Load Balancer instance was isolated.
- isolation float
- 0: means not quarantined, 1: means quarantined.
- lb_
charge_ strtype - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load_
balancer_ strname - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- operate_
protect bool - Whether to enable the configuration modification protection function.
- status float
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- subnet_
id str - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- Sequence[Gwlb
Instance Tag Args] - While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- target_
group_ strid - Unique ID of the associated target group.
- vips Sequence[str]
- Gateway Load Balancer provides virtual IP services.
- vpc_
id str - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
- create
Time String - Create time.
- delete
Protect Boolean - Whether to turn on the deletion protection function.
- gwlb
Instance StringId - ID of the resource.
- isolated
Time String - Time when the Gateway Load Balancer instance was isolated.
- isolation Number
- 0: means not quarantined, 1: means quarantined.
- lb
Charge StringType - GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.
- load
Balancer StringName - GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
- operate
Protect Boolean - Whether to enable the configuration modification protection function.
- status Number
- Gateway Load Balancer instance status. 0: Creating, 1: Running normally, 3: Removing.
- subnet
Id String - Subnet ID of the VPC to which the backend target device of the GWLB belongs.
- List<Property Map>
- While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
- target
Group StringId - Unique ID of the associated target group.
- vips List<String>
- Gateway Load Balancer provides virtual IP services.
- vpc
Id String - ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.
Supporting Types
GwlbInstanceTag, GwlbInstanceTagArgs
Import
gwlb gwlb_instance can be imported using the id, e.g.
$ pulumi import tencentcloud:index/gwlbInstance:GwlbInstance gwlb_instance gwlb_instance_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.