published on Thursday, Jul 9, 2026 by Byteplus
published on Thursday, Jul 9, 2026 by Byteplus
Load balancer instance
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const cLBDemo = new bytepluscc.clb.Clb("CLBDemo", {
loadBalancerName: "CLBDemo",
loadBalancerSpec: "small_1",
addressIpVersion: "ipv4",
bypassSecurityGroupEnabled: "off",
description: "CLBDemo description",
loadBalancerBillingType: 2,
masterZoneId: "cn-beijing-a",
slaveZoneId: "cn-beijing-b",
modificationProtectionReason: "xx",
modificationProtectionStatus: "xx",
period: 1,
periodUnit: "Month",
projectName: "default",
subnetId: "subnet-rrwqhg3qzxfkv0x57g3xxxx",
type: "public",
vpcId: "vpc-rrco37ovjq4gv0x58zfxxxx",
eip: {
isp: "BGP",
bandwidth: 1,
eip_billing_type: 3,
},
tags: [{
key: "env",
value: "test",
}],
accessLog: {
bucket_name: "ccapi-test",
tls_project_id: "5554e74f-0413-4375-ad99-e544xxxxx",
tls_topic_id: "7f3bc374-5e1d-4984-83fc-0e5a5xxxxx",
},
});
import pulumi
import pulumi_bytepluscc as bytepluscc
c_lb_demo = bytepluscc.clb.Clb("CLBDemo",
load_balancer_name="CLBDemo",
load_balancer_spec="small_1",
address_ip_version="ipv4",
bypass_security_group_enabled="off",
description="CLBDemo description",
load_balancer_billing_type=float(2),
master_zone_id="cn-beijing-a",
slave_zone_id="cn-beijing-b",
modification_protection_reason="xx",
modification_protection_status="xx",
period=float(1),
period_unit="Month",
project_name="default",
subnet_id="subnet-rrwqhg3qzxfkv0x57g3xxxx",
type="public",
vpc_id="vpc-rrco37ovjq4gv0x58zfxxxx",
eip={
"isp": "BGP",
"bandwidth": float(1),
"eip_billing_type": 3,
},
tags=[{
"key": "env",
"value": "test",
}],
access_log={
"bucket_name": "ccapi-test",
"tls_project_id": "5554e74f-0413-4375-ad99-e544xxxxx",
"tls_topic_id": "7f3bc374-5e1d-4984-83fc-0e5a5xxxxx",
})
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/clb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := clb.NewClb(ctx, "CLBDemo", &clb.ClbArgs{
LoadBalancerName: pulumi.String("CLBDemo"),
LoadBalancerSpec: pulumi.String("small_1"),
AddressIpVersion: pulumi.String("ipv4"),
BypassSecurityGroupEnabled: pulumi.String("off"),
Description: pulumi.String("CLBDemo description"),
LoadBalancerBillingType: pulumi.Float64(2),
MasterZoneId: pulumi.String("cn-beijing-a"),
SlaveZoneId: pulumi.String("cn-beijing-b"),
ModificationProtectionReason: pulumi.String("xx"),
ModificationProtectionStatus: pulumi.String("xx"),
Period: pulumi.Float64(1),
PeriodUnit: pulumi.String("Month"),
ProjectName: pulumi.String("default"),
SubnetId: pulumi.String("subnet-rrwqhg3qzxfkv0x57g3xxxx"),
Type: pulumi.String("public"),
VpcId: pulumi.String("vpc-rrco37ovjq4gv0x58zfxxxx"),
Eip: &clb.ClbEipArgs{
Isp: pulumi.String("BGP"),
Bandwidth: pulumi.Float64(1),
Eip_billing_type: 3,
},
Tags: clb.ClbTagArray{
&clb.ClbTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
AccessLog: &clb.ClbAccessLogArgs{
Bucket_name: "ccapi-test",
Tls_project_id: "5554e74f-0413-4375-ad99-e544xxxxx",
Tls_topic_id: "7f3bc374-5e1d-4984-83fc-0e5a5xxxxx",
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var cLBDemo = new Bytepluscc.Clb.Clb("CLBDemo", new()
{
LoadBalancerName = "CLBDemo",
LoadBalancerSpec = "small_1",
AddressIpVersion = "ipv4",
BypassSecurityGroupEnabled = "off",
Description = "CLBDemo description",
LoadBalancerBillingType = 2,
MasterZoneId = "cn-beijing-a",
SlaveZoneId = "cn-beijing-b",
ModificationProtectionReason = "xx",
ModificationProtectionStatus = "xx",
Period = 1,
PeriodUnit = "Month",
ProjectName = "default",
SubnetId = "subnet-rrwqhg3qzxfkv0x57g3xxxx",
Type = "public",
VpcId = "vpc-rrco37ovjq4gv0x58zfxxxx",
Eip = new Bytepluscc.Clb.Inputs.ClbEipArgs
{
Isp = "BGP",
Bandwidth = 1,
Eip_billing_type = 3,
},
Tags = new[]
{
new Bytepluscc.Clb.Inputs.ClbTagArgs
{
Key = "env",
Value = "test",
},
},
AccessLog = new Bytepluscc.Clb.Inputs.ClbAccessLogArgs
{
Bucket_name = "ccapi-test",
Tls_project_id = "5554e74f-0413-4375-ad99-e544xxxxx",
Tls_topic_id = "7f3bc374-5e1d-4984-83fc-0e5a5xxxxx",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.clb.Clb;
import com.byteplus.bytepluscc.clb.ClbArgs;
import com.pulumi.bytepluscc.clb.inputs.ClbEipArgs;
import com.pulumi.bytepluscc.clb.inputs.ClbTagArgs;
import com.pulumi.bytepluscc.clb.inputs.ClbAccessLogArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 cLBDemo = new Clb("cLBDemo", ClbArgs.builder()
.loadBalancerName("CLBDemo")
.loadBalancerSpec("small_1")
.addressIpVersion("ipv4")
.bypassSecurityGroupEnabled("off")
.description("CLBDemo description")
.loadBalancerBillingType(2.0)
.masterZoneId("cn-beijing-a")
.slaveZoneId("cn-beijing-b")
.modificationProtectionReason("xx")
.modificationProtectionStatus("xx")
.period(1.0)
.periodUnit("Month")
.projectName("default")
.subnetId("subnet-rrwqhg3qzxfkv0x57g3xxxx")
.type("public")
.vpcId("vpc-rrco37ovjq4gv0x58zfxxxx")
.eip(ClbEipArgs.builder()
.isp("BGP")
.bandwidth(1.0)
.eip_billing_type(3)
.build())
.tags(ClbTagArgs.builder()
.key("env")
.value("test")
.build())
.accessLog(ClbAccessLogArgs.builder()
.bucket_name("ccapi-test")
.tls_project_id("5554e74f-0413-4375-ad99-e544xxxxx")
.tls_topic_id("7f3bc374-5e1d-4984-83fc-0e5a5xxxxx")
.build())
.build());
}
}
resources:
cLBDemo:
type: bytepluscc:clb:Clb
name: CLBDemo
properties:
loadBalancerName: CLBDemo
loadBalancerSpec: small_1
addressIpVersion: ipv4
bypassSecurityGroupEnabled: off
description: CLBDemo description
loadBalancerBillingType: 2
masterZoneId: cn-beijing-a
slaveZoneId: cn-beijing-b
modificationProtectionReason: xx
modificationProtectionStatus: xx
period: 1
periodUnit: Month
projectName: default
subnetId: subnet-rrwqhg3qzxfkv0x57g3xxxx
type: public
vpcId: vpc-rrco37ovjq4gv0x58zfxxxx
eip:
isp: BGP
bandwidth: 1
eip_billing_type: 3
tags:
- key: env
value: test
accessLog:
bucket_name: ccapi-test
tls_project_id: 5554e74f-0413-4375-ad99-e544xxxxx
tls_topic_id: 7f3bc374-5e1d-4984-83fc-0e5a5xxxxx
pulumi {
required_providers {
bytepluscc = {
source = "pulumi/bytepluscc"
}
}
}
resource "bytepluscc_clb_clb" "CLBDemo" {
load_balancer_name = "CLBDemo"
load_balancer_spec = "small_1"
address_ip_version = "ipv4"
bypass_security_group_enabled = "off"
description = "CLBDemo description"
load_balancer_billing_type = 2
master_zone_id = "cn-beijing-a"
slave_zone_id = "cn-beijing-b"
modification_protection_reason = "xx"
modification_protection_status = "xx"
period = 1
period_unit = "Month"
project_name = "default"
subnet_id = "subnet-rrwqhg3qzxfkv0x57g3xxxx"
type = "public"
vpc_id = "vpc-rrco37ovjq4gv0x58zfxxxx"
eip = {
isp = "BGP"
bandwidth = 1
eip_billing_type = 3
}
tags {
key = "env"
value = "test"
}
access_log = {
bucket_name = "ccapi-test"
tls_project_id = "5554e74f-0413-4375-ad99-e544xxxxx"
tls_topic_id = "7f3bc374-5e1d-4984-83fc-0e5a5xxxxx"
}
}
Create Clb Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Clb(name: string, args?: ClbArgs, opts?: CustomResourceOptions);@overload
def Clb(resource_name: str,
args: Optional[ClbArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Clb(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_log: Optional[ClbAccessLogArgs] = None,
address_ip_version: Optional[str] = None,
allowed_ports: Optional[Sequence[str]] = None,
auto_renewal: Optional[bool] = None,
bypass_security_group_enabled: Optional[str] = None,
description: Optional[str] = None,
eip: Optional[ClbEipArgs] = None,
eni_address_num: Optional[float] = None,
enis: Optional[ClbEnisArgs] = None,
exclusive_cluster_id: Optional[str] = None,
listeners: Optional[Sequence[ClbListenerArgs]] = None,
load_balancer_billing_type: Optional[float] = None,
load_balancer_name: Optional[str] = None,
load_balancer_spec: Optional[str] = None,
master_zone_id: Optional[str] = None,
modification_protection_reason: Optional[str] = None,
modification_protection_status: Optional[str] = None,
new_arch: Optional[bool] = None,
order_id: Optional[str] = None,
period: Optional[float] = None,
period_unit: Optional[str] = None,
project_name: Optional[str] = None,
server_groups: Optional[Sequence[ClbServerGroupArgs]] = None,
slave_zone_id: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[ClbTagArgs]] = None,
type: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_type: Optional[str] = None)func NewClb(ctx *Context, name string, args *ClbArgs, opts ...ResourceOption) (*Clb, error)public Clb(string name, ClbArgs? args = null, CustomResourceOptions? opts = null)type: bytepluscc:clb:Clb
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_clb_clb" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ClbArgs
- 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 ClbArgs
- 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 ClbArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClbArgs
- 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 clbResource = new Bytepluscc.Clb.Clb("clbResource", new()
{
AccessLog = new Bytepluscc.Clb.Inputs.ClbAccessLogArgs
{
BucketName = "string",
Enabled = false,
TlsEnabled = false,
TlsProjectId = "string",
TlsTopicId = "string",
},
AddressIpVersion = "string",
AllowedPorts = new[]
{
"string",
},
AutoRenewal = false,
BypassSecurityGroupEnabled = "string",
Description = "string",
Eip = new Bytepluscc.Clb.Inputs.ClbEipArgs
{
Bandwidth = 0,
BandwidthPackageId = "string",
EipBillingType = 0,
Isp = "string",
SecurityProtectionInstanceId = 0,
SecurityProtectionTypes = new[]
{
"string",
},
},
EniAddressNum = 0,
Enis = new Bytepluscc.Clb.Inputs.ClbEnisArgs
{
EniAddress = "string",
EniId = "string",
},
ExclusiveClusterId = "string",
Listeners = new[]
{
new Bytepluscc.Clb.Inputs.ClbListenerArgs
{
ListenerId = "string",
ListenerName = "string",
},
},
LoadBalancerBillingType = 0,
LoadBalancerName = "string",
LoadBalancerSpec = "string",
MasterZoneId = "string",
ModificationProtectionReason = "string",
ModificationProtectionStatus = "string",
NewArch = false,
OrderId = "string",
Period = 0,
PeriodUnit = "string",
ProjectName = "string",
ServerGroups = new[]
{
new Bytepluscc.Clb.Inputs.ClbServerGroupArgs
{
ServerGroupId = "string",
ServerGroupName = "string",
},
},
SlaveZoneId = "string",
SubnetId = "string",
Tags = new[]
{
new Bytepluscc.Clb.Inputs.ClbTagArgs
{
Key = "string",
Value = "string",
},
},
Type = "string",
VpcId = "string",
ZoneType = "string",
});
example, err := clb.NewClb(ctx, "clbResource", &clb.ClbArgs{
AccessLog: &clb.ClbAccessLogArgs{
BucketName: pulumi.String("string"),
Enabled: pulumi.Bool(false),
TlsEnabled: pulumi.Bool(false),
TlsProjectId: pulumi.String("string"),
TlsTopicId: pulumi.String("string"),
},
AddressIpVersion: pulumi.String("string"),
AllowedPorts: pulumi.StringArray{
pulumi.String("string"),
},
AutoRenewal: pulumi.Bool(false),
BypassSecurityGroupEnabled: pulumi.String("string"),
Description: pulumi.String("string"),
Eip: &clb.ClbEipArgs{
Bandwidth: pulumi.Float64(0),
BandwidthPackageId: pulumi.String("string"),
EipBillingType: pulumi.Float64(0),
Isp: pulumi.String("string"),
SecurityProtectionInstanceId: pulumi.Float64(0),
SecurityProtectionTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
EniAddressNum: pulumi.Float64(0),
Enis: &clb.ClbEnisArgs{
EniAddress: pulumi.String("string"),
EniId: pulumi.String("string"),
},
ExclusiveClusterId: pulumi.String("string"),
Listeners: clb.ClbListenerArray{
&clb.ClbListenerArgs{
ListenerId: pulumi.String("string"),
ListenerName: pulumi.String("string"),
},
},
LoadBalancerBillingType: pulumi.Float64(0),
LoadBalancerName: pulumi.String("string"),
LoadBalancerSpec: pulumi.String("string"),
MasterZoneId: pulumi.String("string"),
ModificationProtectionReason: pulumi.String("string"),
ModificationProtectionStatus: pulumi.String("string"),
NewArch: pulumi.Bool(false),
OrderId: pulumi.String("string"),
Period: pulumi.Float64(0),
PeriodUnit: pulumi.String("string"),
ProjectName: pulumi.String("string"),
ServerGroups: clb.ClbServerGroupArray{
&clb.ClbServerGroupArgs{
ServerGroupId: pulumi.String("string"),
ServerGroupName: pulumi.String("string"),
},
},
SlaveZoneId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Tags: clb.ClbTagArray{
&clb.ClbTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
VpcId: pulumi.String("string"),
ZoneType: pulumi.String("string"),
})
resource "bytepluscc_clb_clb" "clbResource" {
access_log = {
bucket_name = "string"
enabled = false
tls_enabled = false
tls_project_id = "string"
tls_topic_id = "string"
}
address_ip_version = "string"
allowed_ports = ["string"]
auto_renewal = false
bypass_security_group_enabled = "string"
description = "string"
eip = {
bandwidth = 0
bandwidth_package_id = "string"
eip_billing_type = 0
isp = "string"
security_protection_instance_id = 0
security_protection_types = ["string"]
}
eni_address_num = 0
enis = {
eni_address = "string"
eni_id = "string"
}
exclusive_cluster_id = "string"
listeners {
listener_id = "string"
listener_name = "string"
}
load_balancer_billing_type = 0
load_balancer_name = "string"
load_balancer_spec = "string"
master_zone_id = "string"
modification_protection_reason = "string"
modification_protection_status = "string"
new_arch = false
order_id = "string"
period = 0
period_unit = "string"
project_name = "string"
server_groups {
server_group_id = "string"
server_group_name = "string"
}
slave_zone_id = "string"
subnet_id = "string"
tags {
key = "string"
value = "string"
}
type = "string"
vpc_id = "string"
zone_type = "string"
}
var clbResource = new Clb("clbResource", ClbArgs.builder()
.accessLog(ClbAccessLogArgs.builder()
.bucketName("string")
.enabled(false)
.tlsEnabled(false)
.tlsProjectId("string")
.tlsTopicId("string")
.build())
.addressIpVersion("string")
.allowedPorts("string")
.autoRenewal(false)
.bypassSecurityGroupEnabled("string")
.description("string")
.eip(ClbEipArgs.builder()
.bandwidth(0.0)
.bandwidthPackageId("string")
.eipBillingType(0.0)
.isp("string")
.securityProtectionInstanceId(0.0)
.securityProtectionTypes("string")
.build())
.eniAddressNum(0.0)
.enis(ClbEnisArgs.builder()
.eniAddress("string")
.eniId("string")
.build())
.exclusiveClusterId("string")
.listeners(ClbListenerArgs.builder()
.listenerId("string")
.listenerName("string")
.build())
.loadBalancerBillingType(0.0)
.loadBalancerName("string")
.loadBalancerSpec("string")
.masterZoneId("string")
.modificationProtectionReason("string")
.modificationProtectionStatus("string")
.newArch(false)
.orderId("string")
.period(0.0)
.periodUnit("string")
.projectName("string")
.serverGroups(ClbServerGroupArgs.builder()
.serverGroupId("string")
.serverGroupName("string")
.build())
.slaveZoneId("string")
.subnetId("string")
.tags(ClbTagArgs.builder()
.key("string")
.value("string")
.build())
.type("string")
.vpcId("string")
.zoneType("string")
.build());
clb_resource = bytepluscc.clb.Clb("clbResource",
access_log={
"bucket_name": "string",
"enabled": False,
"tls_enabled": False,
"tls_project_id": "string",
"tls_topic_id": "string",
},
address_ip_version="string",
allowed_ports=["string"],
auto_renewal=False,
bypass_security_group_enabled="string",
description="string",
eip={
"bandwidth": float(0),
"bandwidth_package_id": "string",
"eip_billing_type": float(0),
"isp": "string",
"security_protection_instance_id": float(0),
"security_protection_types": ["string"],
},
eni_address_num=float(0),
enis={
"eni_address": "string",
"eni_id": "string",
},
exclusive_cluster_id="string",
listeners=[{
"listener_id": "string",
"listener_name": "string",
}],
load_balancer_billing_type=float(0),
load_balancer_name="string",
load_balancer_spec="string",
master_zone_id="string",
modification_protection_reason="string",
modification_protection_status="string",
new_arch=False,
order_id="string",
period=float(0),
period_unit="string",
project_name="string",
server_groups=[{
"server_group_id": "string",
"server_group_name": "string",
}],
slave_zone_id="string",
subnet_id="string",
tags=[{
"key": "string",
"value": "string",
}],
type="string",
vpc_id="string",
zone_type="string")
const clbResource = new bytepluscc.clb.Clb("clbResource", {
accessLog: {
bucketName: "string",
enabled: false,
tlsEnabled: false,
tlsProjectId: "string",
tlsTopicId: "string",
},
addressIpVersion: "string",
allowedPorts: ["string"],
autoRenewal: false,
bypassSecurityGroupEnabled: "string",
description: "string",
eip: {
bandwidth: 0,
bandwidthPackageId: "string",
eipBillingType: 0,
isp: "string",
securityProtectionInstanceId: 0,
securityProtectionTypes: ["string"],
},
eniAddressNum: 0,
enis: {
eniAddress: "string",
eniId: "string",
},
exclusiveClusterId: "string",
listeners: [{
listenerId: "string",
listenerName: "string",
}],
loadBalancerBillingType: 0,
loadBalancerName: "string",
loadBalancerSpec: "string",
masterZoneId: "string",
modificationProtectionReason: "string",
modificationProtectionStatus: "string",
newArch: false,
orderId: "string",
period: 0,
periodUnit: "string",
projectName: "string",
serverGroups: [{
serverGroupId: "string",
serverGroupName: "string",
}],
slaveZoneId: "string",
subnetId: "string",
tags: [{
key: "string",
value: "string",
}],
type: "string",
vpcId: "string",
zoneType: "string",
});
type: bytepluscc:clb:Clb
properties:
accessLog:
bucketName: string
enabled: false
tlsEnabled: false
tlsProjectId: string
tlsTopicId: string
addressIpVersion: string
allowedPorts:
- string
autoRenewal: false
bypassSecurityGroupEnabled: string
description: string
eip:
bandwidth: 0
bandwidthPackageId: string
eipBillingType: 0
isp: string
securityProtectionInstanceId: 0
securityProtectionTypes:
- string
eniAddressNum: 0
enis:
eniAddress: string
eniId: string
exclusiveClusterId: string
listeners:
- listenerId: string
listenerName: string
loadBalancerBillingType: 0
loadBalancerName: string
loadBalancerSpec: string
masterZoneId: string
modificationProtectionReason: string
modificationProtectionStatus: string
newArch: false
orderId: string
period: 0
periodUnit: string
projectName: string
serverGroups:
- serverGroupId: string
serverGroupName: string
slaveZoneId: string
subnetId: string
tags:
- key: string
value: string
type: string
vpcId: string
zoneType: string
Clb 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 Clb resource accepts the following input properties:
- Access
Log Byteplus.Clb Access Log - Access log information in the load balancer instance
- Address
Ip stringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- Allowed
Ports List<string> - Allowed port ranges
- Auto
Renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- Bypass
Security stringGroup Enabled - Whether to enable bypass security group feature
- Description string
- Description of the load balancer instance
- Eip
Byteplus.
Clb Eip - Public IP information of the load balancer instance
- Eni
Address doubleNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- Enis
Byteplus.
Clb Enis - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- Exclusive
Cluster stringId - Dedicated cluster ID
- Listeners
List<Byteplus.
Clb Listener> - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Load
Balancer doubleBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- Load
Balancer stringName - Name of the load balancer instance
- Load
Balancer stringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- Master
Zone stringId - Main availability zone ID of the load balancer instance
- Modification
Protection stringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- Modification
Protection stringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- New
Arch bool - Whether it is a new architecture
- Order
Id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- Period double
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- Period
Unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- Project
Name string - Name of the project associated with the CLB instance
- Server
Groups List<Byteplus.Clb Server Group> - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Slave
Zone stringId - Secondary availability zone ID of the load balancer instance
- Subnet
Id string - Subnet ID within the VPC of the load balancer instance
-
List<Byteplus.
Clb Tag> - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- Vpc
Id string - VPC ID of the load balancer instance
- Zone
Type string - Availability zone type of the load balancer instance
- Access
Log ClbAccess Log Args - Access log information in the load balancer instance
- Address
Ip stringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- Allowed
Ports []string - Allowed port ranges
- Auto
Renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- Bypass
Security stringGroup Enabled - Whether to enable bypass security group feature
- Description string
- Description of the load balancer instance
- Eip
Clb
Eip Args - Public IP information of the load balancer instance
- Eni
Address float64Num - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- Enis
Clb
Enis Args - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- Exclusive
Cluster stringId - Dedicated cluster ID
- Listeners
[]Clb
Listener Args - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Load
Balancer float64Billing Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- Load
Balancer stringName - Name of the load balancer instance
- Load
Balancer stringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- Master
Zone stringId - Main availability zone ID of the load balancer instance
- Modification
Protection stringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- Modification
Protection stringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- New
Arch bool - Whether it is a new architecture
- Order
Id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- Period float64
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- Period
Unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- Project
Name string - Name of the project associated with the CLB instance
- Server
Groups []ClbServer Group Args - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Slave
Zone stringId - Secondary availability zone ID of the load balancer instance
- Subnet
Id string - Subnet ID within the VPC of the load balancer instance
-
[]Clb
Tag Args - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- Vpc
Id string - VPC ID of the load balancer instance
- Zone
Type string - Availability zone type of the load balancer instance
- access_
log object - Access log information in the load balancer instance
- address_
ip_ stringversion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed_
ports list(string) - Allowed port ranges
- auto_
renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- bypass_
security_ stringgroup_ enabled - Whether to enable bypass security group feature
- description string
- Description of the load balancer instance
- eip object
- Public IP information of the load balancer instance
- eni_
address_ numbernum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- enis object
- List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive_
cluster_ stringid - Dedicated cluster ID
- listeners list(object)
- Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load_
balancer_ numberbilling_ type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load_
balancer_ stringname - Name of the load balancer instance
- load_
balancer_ stringspec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- master_
zone_ stringid - Main availability zone ID of the load balancer instance
- modification_
protection_ stringreason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification_
protection_ stringstatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new_
arch bool - Whether it is a new architecture
- order_
id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- period number
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period_
unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project_
name string - Name of the project associated with the CLB instance
- server_
groups list(object) - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- slave_
zone_ stringid - Secondary availability zone ID of the load balancer instance
- subnet_
id string - Subnet ID within the VPC of the load balancer instance
- list(object)
- CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- vpc_
id string - VPC ID of the load balancer instance
- zone_
type string - Availability zone type of the load balancer instance
- access
Log ClbAccess Log - Access log information in the load balancer instance
- address
Ip StringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed
Ports List<String> - Allowed port ranges
- auto
Renewal Boolean - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- bypass
Security StringGroup Enabled - Whether to enable bypass security group feature
- description String
- Description of the load balancer instance
- eip
Clb
Eip - Public IP information of the load balancer instance
- eni
Address DoubleNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- enis
Clb
Enis - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive
Cluster StringId - Dedicated cluster ID
- listeners
List<Clb
Listener> - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load
Balancer DoubleBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load
Balancer StringName - Name of the load balancer instance
- load
Balancer StringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- master
Zone StringId - Main availability zone ID of the load balancer instance
- modification
Protection StringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification
Protection StringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new
Arch Boolean - Whether it is a new architecture
- order
Id String - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- period Double
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period
Unit String - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project
Name String - Name of the project associated with the CLB instance
- server
Groups List<ClbServer Group> - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- slave
Zone StringId - Secondary availability zone ID of the load balancer instance
- subnet
Id String - Subnet ID within the VPC of the load balancer instance
-
List<Clb
Tag> - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type String
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- vpc
Id String - VPC ID of the load balancer instance
- zone
Type String - Availability zone type of the load balancer instance
- access
Log ClbAccess Log - Access log information in the load balancer instance
- address
Ip stringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed
Ports string[] - Allowed port ranges
- auto
Renewal boolean - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- bypass
Security stringGroup Enabled - Whether to enable bypass security group feature
- description string
- Description of the load balancer instance
- eip
Clb
Eip - Public IP information of the load balancer instance
- eni
Address numberNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- enis
Clb
Enis - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive
Cluster stringId - Dedicated cluster ID
- listeners
Clb
Listener[] - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load
Balancer numberBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load
Balancer stringName - Name of the load balancer instance
- load
Balancer stringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- master
Zone stringId - Main availability zone ID of the load balancer instance
- modification
Protection stringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification
Protection stringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new
Arch boolean - Whether it is a new architecture
- order
Id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- period number
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period
Unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project
Name string - Name of the project associated with the CLB instance
- server
Groups ClbServer Group[] - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- slave
Zone stringId - Secondary availability zone ID of the load balancer instance
- subnet
Id string - Subnet ID within the VPC of the load balancer instance
-
Clb
Tag[] - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- vpc
Id string - VPC ID of the load balancer instance
- zone
Type string - Availability zone type of the load balancer instance
- access_
log ClbAccess Log Args - Access log information in the load balancer instance
- address_
ip_ strversion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed_
ports Sequence[str] - Allowed port ranges
- auto_
renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- bypass_
security_ strgroup_ enabled - Whether to enable bypass security group feature
- description str
- Description of the load balancer instance
- eip
Clb
Eip Args - Public IP information of the load balancer instance
- eni_
address_ floatnum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- enis
Clb
Enis Args - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive_
cluster_ strid - Dedicated cluster ID
- listeners
Sequence[Clb
Listener Args] - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load_
balancer_ floatbilling_ type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load_
balancer_ strname - Name of the load balancer instance
- load_
balancer_ strspec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- master_
zone_ strid - Main availability zone ID of the load balancer instance
- modification_
protection_ strreason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification_
protection_ strstatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new_
arch bool - Whether it is a new architecture
- order_
id str - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- period float
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period_
unit str - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project_
name str - Name of the project associated with the CLB instance
- server_
groups Sequence[ClbServer Group Args] - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- slave_
zone_ strid - Secondary availability zone ID of the load balancer instance
- subnet_
id str - Subnet ID within the VPC of the load balancer instance
-
Sequence[Clb
Tag Args] - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type str
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- vpc_
id str - VPC ID of the load balancer instance
- zone_
type str - Availability zone type of the load balancer instance
- access
Log Property Map - Access log information in the load balancer instance
- address
Ip StringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed
Ports List<String> - Allowed port ranges
- auto
Renewal Boolean - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- bypass
Security StringGroup Enabled - Whether to enable bypass security group feature
- description String
- Description of the load balancer instance
- eip Property Map
- Public IP information of the load balancer instance
- eni
Address NumberNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- enis Property Map
- List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive
Cluster StringId - Dedicated cluster ID
- listeners List<Property Map>
- Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load
Balancer NumberBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load
Balancer StringName - Name of the load balancer instance
- load
Balancer StringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- master
Zone StringId - Main availability zone ID of the load balancer instance
- modification
Protection StringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification
Protection StringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new
Arch Boolean - Whether it is a new architecture
- order
Id String - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- period Number
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period
Unit String - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project
Name String - Name of the project associated with the CLB instance
- server
Groups List<Property Map> - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- slave
Zone StringId - Secondary availability zone ID of the load balancer instance
- subnet
Id String - Subnet ID within the VPC of the load balancer instance
- List<Property Map>
- CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type String
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- vpc
Id String - VPC ID of the load balancer instance
- zone
Type String - Availability zone type of the load balancer instance
Outputs
All input properties are implicitly available as output properties. Additionally, the Clb resource produces the following output properties:
- Account
Id string - Account ID to which the load balancer instance belongs
- Business
Status string - Whether the load balancer instance is locked
- Create
Time string - Creation time of the load balancer instance
- Deleted
Time string - Expected recycling time of the load balancer instance
- Eip
Address string - Public IP address
- Eip
Id string - Public IP ID
- Enabled bool
- Enable status of the load balancer instance
- Eni
Byteplus.
Clb Eni - Private IPv4 address information of the load balancer instance
- Eni
Ipv6Address string - Private IPv6 address of the load balancer instance
- Expired
Time string - Expiration time of the load balancer instance
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Address
Bandwidth Byteplus.Clb Ipv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- Load
Balancer stringId - Load balancer instance ID
- Lock
Reason string - Reason why the load balancer instance is frozen
- Overdue
Time string - Freeze time of the load balancer instance
- Service
Managed bool - Whether the CLB instance is a managed resource
- Status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- Timestamp
Remove stringEnabled - Enable TCP timestamp removal
- Update
Time string - Most recent operation time of the load balancer instance
- Account
Id string - Account ID to which the load balancer instance belongs
- Business
Status string - Whether the load balancer instance is locked
- Create
Time string - Creation time of the load balancer instance
- Deleted
Time string - Expected recycling time of the load balancer instance
- Eip
Address string - Public IP address
- Eip
Id string - Public IP ID
- Enabled bool
- Enable status of the load balancer instance
- Eni
Clb
Eni - Private IPv4 address information of the load balancer instance
- Eni
Ipv6Address string - Private IPv6 address of the load balancer instance
- Expired
Time string - Expiration time of the load balancer instance
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Address
Bandwidth ClbIpv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- Load
Balancer stringId - Load balancer instance ID
- Lock
Reason string - Reason why the load balancer instance is frozen
- Overdue
Time string - Freeze time of the load balancer instance
- Service
Managed bool - Whether the CLB instance is a managed resource
- Status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- Timestamp
Remove stringEnabled - Enable TCP timestamp removal
- Update
Time string - Most recent operation time of the load balancer instance
- account_
id string - Account ID to which the load balancer instance belongs
- business_
status string - Whether the load balancer instance is locked
- create_
time string - Creation time of the load balancer instance
- deleted_
time string - Expected recycling time of the load balancer instance
- eip_
address string - Public IP address
- eip_
id string - Public IP ID
- enabled bool
- Enable status of the load balancer instance
- eni object
- Private IPv4 address information of the load balancer instance
- eni_
ipv6_ stringaddress - Private IPv6 address of the load balancer instance
- expired_
time string - Expiration time of the load balancer instance
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6_
address_ objectbandwidth - IPv6 public bandwidth information for the load balancing instance
- load_
balancer_ stringid - Load balancer instance ID
- lock_
reason string - Reason why the load balancer instance is frozen
- overdue_
time string - Freeze time of the load balancer instance
- service_
managed bool - Whether the CLB instance is a managed resource
- status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- timestamp_
remove_ stringenabled - Enable TCP timestamp removal
- update_
time string - Most recent operation time of the load balancer instance
- account
Id String - Account ID to which the load balancer instance belongs
- business
Status String - Whether the load balancer instance is locked
- create
Time String - Creation time of the load balancer instance
- deleted
Time String - Expected recycling time of the load balancer instance
- eip
Address String - Public IP address
- eip
Id String - Public IP ID
- enabled Boolean
- Enable status of the load balancer instance
- eni
Clb
Eni - Private IPv4 address information of the load balancer instance
- eni
Ipv6Address String - Private IPv6 address of the load balancer instance
- expired
Time String - Expiration time of the load balancer instance
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Address
Bandwidth ClbIpv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- load
Balancer StringId - Load balancer instance ID
- lock
Reason String - Reason why the load balancer instance is frozen
- overdue
Time String - Freeze time of the load balancer instance
- service
Managed Boolean - Whether the CLB instance is a managed resource
- status String
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- timestamp
Remove StringEnabled - Enable TCP timestamp removal
- update
Time String - Most recent operation time of the load balancer instance
- account
Id string - Account ID to which the load balancer instance belongs
- business
Status string - Whether the load balancer instance is locked
- create
Time string - Creation time of the load balancer instance
- deleted
Time string - Expected recycling time of the load balancer instance
- eip
Address string - Public IP address
- eip
Id string - Public IP ID
- enabled boolean
- Enable status of the load balancer instance
- eni
Clb
Eni - Private IPv4 address information of the load balancer instance
- eni
Ipv6Address string - Private IPv6 address of the load balancer instance
- expired
Time string - Expiration time of the load balancer instance
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Address
Bandwidth ClbIpv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- load
Balancer stringId - Load balancer instance ID
- lock
Reason string - Reason why the load balancer instance is frozen
- overdue
Time string - Freeze time of the load balancer instance
- service
Managed boolean - Whether the CLB instance is a managed resource
- status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- timestamp
Remove stringEnabled - Enable TCP timestamp removal
- update
Time string - Most recent operation time of the load balancer instance
- account_
id str - Account ID to which the load balancer instance belongs
- business_
status str - Whether the load balancer instance is locked
- create_
time str - Creation time of the load balancer instance
- deleted_
time str - Expected recycling time of the load balancer instance
- eip_
address str - Public IP address
- eip_
id str - Public IP ID
- enabled bool
- Enable status of the load balancer instance
- eni
Clb
Eni - Private IPv4 address information of the load balancer instance
- eni_
ipv6_ straddress - Private IPv6 address of the load balancer instance
- expired_
time str - Expiration time of the load balancer instance
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
address_ Clbbandwidth Ipv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- load_
balancer_ strid - Load balancer instance ID
- lock_
reason str - Reason why the load balancer instance is frozen
- overdue_
time str - Freeze time of the load balancer instance
- service_
managed bool - Whether the CLB instance is a managed resource
- status str
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- timestamp_
remove_ strenabled - Enable TCP timestamp removal
- update_
time str - Most recent operation time of the load balancer instance
- account
Id String - Account ID to which the load balancer instance belongs
- business
Status String - Whether the load balancer instance is locked
- create
Time String - Creation time of the load balancer instance
- deleted
Time String - Expected recycling time of the load balancer instance
- eip
Address String - Public IP address
- eip
Id String - Public IP ID
- enabled Boolean
- Enable status of the load balancer instance
- eni Property Map
- Private IPv4 address information of the load balancer instance
- eni
Ipv6Address String - Private IPv6 address of the load balancer instance
- expired
Time String - Expiration time of the load balancer instance
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Address
Bandwidth Property Map - IPv6 public bandwidth information for the load balancing instance
- load
Balancer StringId - Load balancer instance ID
- lock
Reason String - Reason why the load balancer instance is frozen
- overdue
Time String - Freeze time of the load balancer instance
- service
Managed Boolean - Whether the CLB instance is a managed resource
- status String
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- timestamp
Remove StringEnabled - Enable TCP timestamp removal
- update
Time String - Most recent operation time of the load balancer instance
Look up Existing Clb Resource
Get an existing Clb 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?: ClbState, opts?: CustomResourceOptions): Clb@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_log: Optional[ClbAccessLogArgs] = None,
account_id: Optional[str] = None,
address_ip_version: Optional[str] = None,
allowed_ports: Optional[Sequence[str]] = None,
auto_renewal: Optional[bool] = None,
business_status: Optional[str] = None,
bypass_security_group_enabled: Optional[str] = None,
create_time: Optional[str] = None,
deleted_time: Optional[str] = None,
description: Optional[str] = None,
eip: Optional[ClbEipArgs] = None,
eip_address: Optional[str] = None,
eip_id: Optional[str] = None,
enabled: Optional[bool] = None,
eni: Optional[ClbEniArgs] = None,
eni_address_num: Optional[float] = None,
eni_ipv6_address: Optional[str] = None,
enis: Optional[ClbEnisArgs] = None,
exclusive_cluster_id: Optional[str] = None,
expired_time: Optional[str] = None,
ipv6_address_bandwidth: Optional[ClbIpv6AddressBandwidthArgs] = None,
listeners: Optional[Sequence[ClbListenerArgs]] = None,
load_balancer_billing_type: Optional[float] = None,
load_balancer_id: Optional[str] = None,
load_balancer_name: Optional[str] = None,
load_balancer_spec: Optional[str] = None,
lock_reason: Optional[str] = None,
master_zone_id: Optional[str] = None,
modification_protection_reason: Optional[str] = None,
modification_protection_status: Optional[str] = None,
new_arch: Optional[bool] = None,
order_id: Optional[str] = None,
overdue_time: Optional[str] = None,
period: Optional[float] = None,
period_unit: Optional[str] = None,
project_name: Optional[str] = None,
server_groups: Optional[Sequence[ClbServerGroupArgs]] = None,
service_managed: Optional[bool] = None,
slave_zone_id: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[ClbTagArgs]] = None,
timestamp_remove_enabled: Optional[str] = None,
type: Optional[str] = None,
update_time: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_type: Optional[str] = None) -> Clbfunc GetClb(ctx *Context, name string, id IDInput, state *ClbState, opts ...ResourceOption) (*Clb, error)public static Clb Get(string name, Input<string> id, ClbState? state, CustomResourceOptions? opts = null)public static Clb get(String name, Output<String> id, ClbState state, CustomResourceOptions options)resources: _: type: bytepluscc:clb:Clb get: id: ${id}import {
to = bytepluscc_clb_clb.example
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.
- Access
Log Byteplus.Clb Access Log - Access log information in the load balancer instance
- Account
Id string - Account ID to which the load balancer instance belongs
- Address
Ip stringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- Allowed
Ports List<string> - Allowed port ranges
- Auto
Renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- Business
Status string - Whether the load balancer instance is locked
- Bypass
Security stringGroup Enabled - Whether to enable bypass security group feature
- Create
Time string - Creation time of the load balancer instance
- Deleted
Time string - Expected recycling time of the load balancer instance
- Description string
- Description of the load balancer instance
- Eip
Byteplus.
Clb Eip - Public IP information of the load balancer instance
- Eip
Address string - Public IP address
- Eip
Id string - Public IP ID
- Enabled bool
- Enable status of the load balancer instance
- Eni
Byteplus.
Clb Eni - Private IPv4 address information of the load balancer instance
- Eni
Address doubleNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- Eni
Ipv6Address string - Private IPv6 address of the load balancer instance
- Enis
Byteplus.
Clb Enis - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- Exclusive
Cluster stringId - Dedicated cluster ID
- Expired
Time string - Expiration time of the load balancer instance
- Ipv6Address
Bandwidth Byteplus.Clb Ipv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- Listeners
List<Byteplus.
Clb Listener> - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Load
Balancer doubleBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- Load
Balancer stringId - Load balancer instance ID
- Load
Balancer stringName - Name of the load balancer instance
- Load
Balancer stringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- Lock
Reason string - Reason why the load balancer instance is frozen
- Master
Zone stringId - Main availability zone ID of the load balancer instance
- Modification
Protection stringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- Modification
Protection stringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- New
Arch bool - Whether it is a new architecture
- Order
Id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- Overdue
Time string - Freeze time of the load balancer instance
- Period double
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- Period
Unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- Project
Name string - Name of the project associated with the CLB instance
- Server
Groups List<Byteplus.Clb Server Group> - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Service
Managed bool - Whether the CLB instance is a managed resource
- Slave
Zone stringId - Secondary availability zone ID of the load balancer instance
- Status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- Subnet
Id string - Subnet ID within the VPC of the load balancer instance
-
List<Byteplus.
Clb Tag> - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Timestamp
Remove stringEnabled - Enable TCP timestamp removal
- Type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- Update
Time string - Most recent operation time of the load balancer instance
- Vpc
Id string - VPC ID of the load balancer instance
- Zone
Type string - Availability zone type of the load balancer instance
- Access
Log ClbAccess Log Args - Access log information in the load balancer instance
- Account
Id string - Account ID to which the load balancer instance belongs
- Address
Ip stringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- Allowed
Ports []string - Allowed port ranges
- Auto
Renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- Business
Status string - Whether the load balancer instance is locked
- Bypass
Security stringGroup Enabled - Whether to enable bypass security group feature
- Create
Time string - Creation time of the load balancer instance
- Deleted
Time string - Expected recycling time of the load balancer instance
- Description string
- Description of the load balancer instance
- Eip
Clb
Eip Args - Public IP information of the load balancer instance
- Eip
Address string - Public IP address
- Eip
Id string - Public IP ID
- Enabled bool
- Enable status of the load balancer instance
- Eni
Clb
Eni Args - Private IPv4 address information of the load balancer instance
- Eni
Address float64Num - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- Eni
Ipv6Address string - Private IPv6 address of the load balancer instance
- Enis
Clb
Enis Args - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- Exclusive
Cluster stringId - Dedicated cluster ID
- Expired
Time string - Expiration time of the load balancer instance
- Ipv6Address
Bandwidth ClbIpv6Address Bandwidth Args - IPv6 public bandwidth information for the load balancing instance
- Listeners
[]Clb
Listener Args - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Load
Balancer float64Billing Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- Load
Balancer stringId - Load balancer instance ID
- Load
Balancer stringName - Name of the load balancer instance
- Load
Balancer stringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- Lock
Reason string - Reason why the load balancer instance is frozen
- Master
Zone stringId - Main availability zone ID of the load balancer instance
- Modification
Protection stringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- Modification
Protection stringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- New
Arch bool - Whether it is a new architecture
- Order
Id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- Overdue
Time string - Freeze time of the load balancer instance
- Period float64
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- Period
Unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- Project
Name string - Name of the project associated with the CLB instance
- Server
Groups []ClbServer Group Args - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Service
Managed bool - Whether the CLB instance is a managed resource
- Slave
Zone stringId - Secondary availability zone ID of the load balancer instance
- Status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- Subnet
Id string - Subnet ID within the VPC of the load balancer instance
-
[]Clb
Tag Args - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Timestamp
Remove stringEnabled - Enable TCP timestamp removal
- Type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- Update
Time string - Most recent operation time of the load balancer instance
- Vpc
Id string - VPC ID of the load balancer instance
- Zone
Type string - Availability zone type of the load balancer instance
- access_
log object - Access log information in the load balancer instance
- account_
id string - Account ID to which the load balancer instance belongs
- address_
ip_ stringversion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed_
ports list(string) - Allowed port ranges
- auto_
renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- business_
status string - Whether the load balancer instance is locked
- bypass_
security_ stringgroup_ enabled - Whether to enable bypass security group feature
- create_
time string - Creation time of the load balancer instance
- deleted_
time string - Expected recycling time of the load balancer instance
- description string
- Description of the load balancer instance
- eip object
- Public IP information of the load balancer instance
- eip_
address string - Public IP address
- eip_
id string - Public IP ID
- enabled bool
- Enable status of the load balancer instance
- eni object
- Private IPv4 address information of the load balancer instance
- eni_
address_ numbernum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- eni_
ipv6_ stringaddress - Private IPv6 address of the load balancer instance
- enis object
- List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive_
cluster_ stringid - Dedicated cluster ID
- expired_
time string - Expiration time of the load balancer instance
- ipv6_
address_ objectbandwidth - IPv6 public bandwidth information for the load balancing instance
- listeners list(object)
- Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load_
balancer_ numberbilling_ type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load_
balancer_ stringid - Load balancer instance ID
- load_
balancer_ stringname - Name of the load balancer instance
- load_
balancer_ stringspec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- lock_
reason string - Reason why the load balancer instance is frozen
- master_
zone_ stringid - Main availability zone ID of the load balancer instance
- modification_
protection_ stringreason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification_
protection_ stringstatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new_
arch bool - Whether it is a new architecture
- order_
id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- overdue_
time string - Freeze time of the load balancer instance
- period number
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period_
unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project_
name string - Name of the project associated with the CLB instance
- server_
groups list(object) - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- service_
managed bool - Whether the CLB instance is a managed resource
- slave_
zone_ stringid - Secondary availability zone ID of the load balancer instance
- status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- subnet_
id string - Subnet ID within the VPC of the load balancer instance
- list(object)
- CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- timestamp_
remove_ stringenabled - Enable TCP timestamp removal
- type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- update_
time string - Most recent operation time of the load balancer instance
- vpc_
id string - VPC ID of the load balancer instance
- zone_
type string - Availability zone type of the load balancer instance
- access
Log ClbAccess Log - Access log information in the load balancer instance
- account
Id String - Account ID to which the load balancer instance belongs
- address
Ip StringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed
Ports List<String> - Allowed port ranges
- auto
Renewal Boolean - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- business
Status String - Whether the load balancer instance is locked
- bypass
Security StringGroup Enabled - Whether to enable bypass security group feature
- create
Time String - Creation time of the load balancer instance
- deleted
Time String - Expected recycling time of the load balancer instance
- description String
- Description of the load balancer instance
- eip
Clb
Eip - Public IP information of the load balancer instance
- eip
Address String - Public IP address
- eip
Id String - Public IP ID
- enabled Boolean
- Enable status of the load balancer instance
- eni
Clb
Eni - Private IPv4 address information of the load balancer instance
- eni
Address DoubleNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- eni
Ipv6Address String - Private IPv6 address of the load balancer instance
- enis
Clb
Enis - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive
Cluster StringId - Dedicated cluster ID
- expired
Time String - Expiration time of the load balancer instance
- ipv6Address
Bandwidth ClbIpv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- listeners
List<Clb
Listener> - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load
Balancer DoubleBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load
Balancer StringId - Load balancer instance ID
- load
Balancer StringName - Name of the load balancer instance
- load
Balancer StringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- lock
Reason String - Reason why the load balancer instance is frozen
- master
Zone StringId - Main availability zone ID of the load balancer instance
- modification
Protection StringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification
Protection StringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new
Arch Boolean - Whether it is a new architecture
- order
Id String - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- overdue
Time String - Freeze time of the load balancer instance
- period Double
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period
Unit String - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project
Name String - Name of the project associated with the CLB instance
- server
Groups List<ClbServer Group> - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- service
Managed Boolean - Whether the CLB instance is a managed resource
- slave
Zone StringId - Secondary availability zone ID of the load balancer instance
- status String
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- subnet
Id String - Subnet ID within the VPC of the load balancer instance
-
List<Clb
Tag> - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- timestamp
Remove StringEnabled - Enable TCP timestamp removal
- type String
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- update
Time String - Most recent operation time of the load balancer instance
- vpc
Id String - VPC ID of the load balancer instance
- zone
Type String - Availability zone type of the load balancer instance
- access
Log ClbAccess Log - Access log information in the load balancer instance
- account
Id string - Account ID to which the load balancer instance belongs
- address
Ip stringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed
Ports string[] - Allowed port ranges
- auto
Renewal boolean - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- business
Status string - Whether the load balancer instance is locked
- bypass
Security stringGroup Enabled - Whether to enable bypass security group feature
- create
Time string - Creation time of the load balancer instance
- deleted
Time string - Expected recycling time of the load balancer instance
- description string
- Description of the load balancer instance
- eip
Clb
Eip - Public IP information of the load balancer instance
- eip
Address string - Public IP address
- eip
Id string - Public IP ID
- enabled boolean
- Enable status of the load balancer instance
- eni
Clb
Eni - Private IPv4 address information of the load balancer instance
- eni
Address numberNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- eni
Ipv6Address string - Private IPv6 address of the load balancer instance
- enis
Clb
Enis - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive
Cluster stringId - Dedicated cluster ID
- expired
Time string - Expiration time of the load balancer instance
- ipv6Address
Bandwidth ClbIpv6Address Bandwidth - IPv6 public bandwidth information for the load balancing instance
- listeners
Clb
Listener[] - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load
Balancer numberBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load
Balancer stringId - Load balancer instance ID
- load
Balancer stringName - Name of the load balancer instance
- load
Balancer stringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- lock
Reason string - Reason why the load balancer instance is frozen
- master
Zone stringId - Main availability zone ID of the load balancer instance
- modification
Protection stringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification
Protection stringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new
Arch boolean - Whether it is a new architecture
- order
Id string - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- overdue
Time string - Freeze time of the load balancer instance
- period number
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period
Unit string - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project
Name string - Name of the project associated with the CLB instance
- server
Groups ClbServer Group[] - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- service
Managed boolean - Whether the CLB instance is a managed resource
- slave
Zone stringId - Secondary availability zone ID of the load balancer instance
- status string
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- subnet
Id string - Subnet ID within the VPC of the load balancer instance
-
Clb
Tag[] - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- timestamp
Remove stringEnabled - Enable TCP timestamp removal
- type string
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- update
Time string - Most recent operation time of the load balancer instance
- vpc
Id string - VPC ID of the load balancer instance
- zone
Type string - Availability zone type of the load balancer instance
- access_
log ClbAccess Log Args - Access log information in the load balancer instance
- account_
id str - Account ID to which the load balancer instance belongs
- address_
ip_ strversion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed_
ports Sequence[str] - Allowed port ranges
- auto_
renewal bool - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- business_
status str - Whether the load balancer instance is locked
- bypass_
security_ strgroup_ enabled - Whether to enable bypass security group feature
- create_
time str - Creation time of the load balancer instance
- deleted_
time str - Expected recycling time of the load balancer instance
- description str
- Description of the load balancer instance
- eip
Clb
Eip Args - Public IP information of the load balancer instance
- eip_
address str - Public IP address
- eip_
id str - Public IP ID
- enabled bool
- Enable status of the load balancer instance
- eni
Clb
Eni Args - Private IPv4 address information of the load balancer instance
- eni_
address_ floatnum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- eni_
ipv6_ straddress - Private IPv6 address of the load balancer instance
- enis
Clb
Enis Args - List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive_
cluster_ strid - Dedicated cluster ID
- expired_
time str - Expiration time of the load balancer instance
- ipv6_
address_ Clbbandwidth Ipv6Address Bandwidth Args - IPv6 public bandwidth information for the load balancing instance
- listeners
Sequence[Clb
Listener Args] - Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load_
balancer_ floatbilling_ type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load_
balancer_ strid - Load balancer instance ID
- load_
balancer_ strname - Name of the load balancer instance
- load_
balancer_ strspec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- lock_
reason str - Reason why the load balancer instance is frozen
- master_
zone_ strid - Main availability zone ID of the load balancer instance
- modification_
protection_ strreason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification_
protection_ strstatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new_
arch bool - Whether it is a new architecture
- order_
id str - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- overdue_
time str - Freeze time of the load balancer instance
- period float
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period_
unit str - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project_
name str - Name of the project associated with the CLB instance
- server_
groups Sequence[ClbServer Group Args] - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- service_
managed bool - Whether the CLB instance is a managed resource
- slave_
zone_ strid - Secondary availability zone ID of the load balancer instance
- status str
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- subnet_
id str - Subnet ID within the VPC of the load balancer instance
-
Sequence[Clb
Tag Args] - CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- timestamp_
remove_ strenabled - Enable TCP timestamp removal
- type str
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- update_
time str - Most recent operation time of the load balancer instance
- vpc_
id str - VPC ID of the load balancer instance
- zone_
type str - Availability zone type of the load balancer instance
- access
Log Property Map - Access log information in the load balancer instance
- account
Id String - Account ID to which the load balancer instance belongs
- address
Ip StringVersion - IP address type of the CLB instance. Values: ipv4 (default): Indicates the CLB is IPv4 type and only supports forwarding IPv4 requests. DualStack: Indicates the CLB is dual-stack type and supports forwarding both IPv4 and IPv6 requests. DualStack can only be specified when Type is set to private
- allowed
Ports List<String> - Allowed port ranges
- auto
Renewal Boolean - Whether to enable auto-renewal. true: Yes, default auto-renewal is 1 month. false (default): No
- business
Status String - Whether the load balancer instance is locked
- bypass
Security StringGroup Enabled - Whether to enable bypass security group feature
- create
Time String - Creation time of the load balancer instance
- deleted
Time String - Expected recycling time of the load balancer instance
- description String
- Description of the load balancer instance
- eip Property Map
- Public IP information of the load balancer instance
- eip
Address String - Public IP address
- eip
Id String - Public IP ID
- enabled Boolean
- Enable status of the load balancer instance
- eni Property Map
- Private IPv4 address information of the load balancer instance
- eni
Address NumberNum - Number of private IPv4 addresses for the load balancer instance. This parameter cannot be used together with EniAddress. If this parameter is provided, EniAddress is not required
- eni
Ipv6Address String - Private IPv6 address of the load balancer instance
- enis Property Map
- List of private IPv4 addresses for the load balancer instance, specified by EniAddressNum during creation
- exclusive
Cluster StringId - Dedicated cluster ID
- expired
Time String - Expiration time of the load balancer instance
- ipv6Address
Bandwidth Property Map - IPv6 public bandwidth information for the load balancing instance
- listeners List<Property Map>
- Listener information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- load
Balancer NumberBilling Type - CLB instance billing method. Available values: 1: Annual/monthly subscription. 2 (default): Pay-as-you-go (by specification). 3: Pay-as-you-go (by usage)
- load
Balancer StringId - Load balancer instance ID
- load
Balancer StringName - Name of the load balancer instance
- load
Balancer StringSpec - CLB instance specification. Different specifications provide different forwarding capabilities. small1: Small I. small2: Small II. medium1: Medium I. medium2: Medium II. large1: Large I. large2: Large II
- lock
Reason String - Reason why the load balancer instance is frozen
- master
Zone StringId - Main availability zone ID of the load balancer instance
- modification
Protection StringReason - Reason for setting modification protection status. This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: half-width period (.), underscore (_), and hyphen (-). Length must be 1–80 characters
- modification
Protection StringStatus - Whether CLB instance enables modification protection in the console. When enabled, modification or deletion via the console is prohibited. Available values: NonProtection: Disabled. ConsoleProtection: Enabled
- new
Arch Boolean - Whether it is a new architecture
- order
Id String - Order ID. This parameter is only available when LoadBalancerBillingType is set to 1 during creation
- overdue
Time String - Freeze time of the load balancer instance
- period Number
- Duration for purchasing a CLB instance by year or by month. Default is '1'. When PeriodUnit is set to Month, valid values are 1–9, 12, 24, and 36. When PeriodUnit is set to Year, valid values are 1–3
- period
Unit String - Duration unit for purchasing subscription CLB instances. This parameter is valid only when LoadBalancerBillingType is set to 1. Values: Month (default): month. Year: year
- project
Name String - Name of the project associated with the CLB instance
- server
Groups List<Property Map> - Backend server group information in the load balancer instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- service
Managed Boolean - Whether the CLB instance is a managed resource
- slave
Zone StringId - Secondary availability zone ID of the load balancer instance
- status String
- Load balancer instance status: Inactive: stopped. Active: running. Creating: creating. Provisioning: creating. Configuring: configuring. Deleting: deleting. CreateFailed: creation failed.
- subnet
Id String - Subnet ID within the VPC of the load balancer instance
- List<Property Map>
- CLB instance tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- timestamp
Remove StringEnabled - Enable TCP timestamp removal
- type String
- CLB instance type. Values: public: Public type. When you create a public CLB instance, the system assigns a public IP address for forwarding public requests. private: Private type. When you create a private CLB instance, the system does not assign a public IP address; you must bind a public IP manually before it can forward public requests
- update
Time String - Most recent operation time of the load balancer instance
- vpc
Id String - VPC ID of the load balancer instance
- zone
Type String - Availability zone type of the load balancer instance
Supporting Types
ClbAccessLog, ClbAccessLogArgs
- Bucket
Name string - Name of the object storage bucket for storing Layer 7 access logs
- Enabled bool
- Enable access log TOS feature?
- Tls
Enabled bool - Enable access log TLS feature?
- Tls
Project stringId - Log project
- Tls
Topic stringId - Log topic
- Bucket
Name string - Name of the object storage bucket for storing Layer 7 access logs
- Enabled bool
- Enable access log TOS feature?
- Tls
Enabled bool - Enable access log TLS feature?
- Tls
Project stringId - Log project
- Tls
Topic stringId - Log topic
- bucket_
name string - Name of the object storage bucket for storing Layer 7 access logs
- enabled bool
- Enable access log TOS feature?
- tls_
enabled bool - Enable access log TLS feature?
- tls_
project_ stringid - Log project
- tls_
topic_ stringid - Log topic
- bucket
Name String - Name of the object storage bucket for storing Layer 7 access logs
- enabled Boolean
- Enable access log TOS feature?
- tls
Enabled Boolean - Enable access log TLS feature?
- tls
Project StringId - Log project
- tls
Topic StringId - Log topic
- bucket
Name string - Name of the object storage bucket for storing Layer 7 access logs
- enabled boolean
- Enable access log TOS feature?
- tls
Enabled boolean - Enable access log TLS feature?
- tls
Project stringId - Log project
- tls
Topic stringId - Log topic
- bucket_
name str - Name of the object storage bucket for storing Layer 7 access logs
- enabled bool
- Enable access log TOS feature?
- tls_
enabled bool - Enable access log TLS feature?
- tls_
project_ strid - Log project
- tls_
topic_ strid - Log topic
- bucket
Name String - Name of the object storage bucket for storing Layer 7 access logs
- enabled Boolean
- Enable access log TOS feature?
- tls
Enabled Boolean - Enable access log TLS feature?
- tls
Project StringId - Log project
- tls
Topic StringId - Log topic
ClbEip, ClbEipArgs
- Bandwidth double
- Peak bandwidth
- Bandwidth
Package stringId - Shared bandwidth package ID
- Eip
Billing doubleType - Billing method
- Isp string
- Line type
- Security
Protection doubleInstance Id - Protection package ID
- Security
Protection List<string>Types - Security protection type
- Bandwidth float64
- Peak bandwidth
- Bandwidth
Package stringId - Shared bandwidth package ID
- Eip
Billing float64Type - Billing method
- Isp string
- Line type
- Security
Protection float64Instance Id - Protection package ID
- Security
Protection []stringTypes - Security protection type
- bandwidth number
- Peak bandwidth
- bandwidth_
package_ stringid - Shared bandwidth package ID
- eip_
billing_ numbertype - Billing method
- isp string
- Line type
- security_
protection_ numberinstance_ id - Protection package ID
- security_
protection_ list(string)types - Security protection type
- bandwidth Double
- Peak bandwidth
- bandwidth
Package StringId - Shared bandwidth package ID
- eip
Billing DoubleType - Billing method
- isp String
- Line type
- security
Protection DoubleInstance Id - Protection package ID
- security
Protection List<String>Types - Security protection type
- bandwidth number
- Peak bandwidth
- bandwidth
Package stringId - Shared bandwidth package ID
- eip
Billing numberType - Billing method
- isp string
- Line type
- security
Protection numberInstance Id - Protection package ID
- security
Protection string[]Types - Security protection type
- bandwidth float
- Peak bandwidth
- bandwidth_
package_ strid - Shared bandwidth package ID
- eip_
billing_ floattype - Billing method
- isp str
- Line type
- security_
protection_ floatinstance_ id - Protection package ID
- security_
protection_ Sequence[str]types - Security protection type
- bandwidth Number
- Peak bandwidth
- bandwidth
Package StringId - Shared bandwidth package ID
- eip
Billing NumberType - Billing method
- isp String
- Line type
- security
Protection NumberInstance Id - Protection package ID
- security
Protection List<String>Types - Security protection type
ClbEni, ClbEniArgs
- Eni
Address string - Private IP address of the load balancer instance
- Eni
Id string - Network interface ID occupied by the load balancer instance
- Eni
Address string - Private IP address of the load balancer instance
- Eni
Id string - Network interface ID occupied by the load balancer instance
- eni_
address string - Private IP address of the load balancer instance
- eni_
id string - Network interface ID occupied by the load balancer instance
- eni
Address String - Private IP address of the load balancer instance
- eni
Id String - Network interface ID occupied by the load balancer instance
- eni
Address string - Private IP address of the load balancer instance
- eni
Id string - Network interface ID occupied by the load balancer instance
- eni_
address str - Private IP address of the load balancer instance
- eni_
id str - Network interface ID occupied by the load balancer instance
- eni
Address String - Private IP address of the load balancer instance
- eni
Id String - Network interface ID occupied by the load balancer instance
ClbEnis, ClbEnisArgs
- Eni
Address string - Private IP address of the load balancer instance
- Eni
Id string - Network interface ID occupied by the load balancer instance
- Eni
Address string - Private IP address of the load balancer instance
- Eni
Id string - Network interface ID occupied by the load balancer instance
- eni_
address string - Private IP address of the load balancer instance
- eni_
id string - Network interface ID occupied by the load balancer instance
- eni
Address String - Private IP address of the load balancer instance
- eni
Id String - Network interface ID occupied by the load balancer instance
- eni
Address string - Private IP address of the load balancer instance
- eni
Id string - Network interface ID occupied by the load balancer instance
- eni_
address str - Private IP address of the load balancer instance
- eni_
id str - Network interface ID occupied by the load balancer instance
- eni
Address String - Private IP address of the load balancer instance
- eni
Id String - Network interface ID occupied by the load balancer instance
ClbIpv6AddressBandwidth, ClbIpv6AddressBandwidthArgs
- Bandwidth double
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- Bandwidth
Package stringId - Shared bandwidth package ID associated with IPv6 public bandwidth
- Billing
Type double - Billing type for IPv6 public bandwidth
- Isp string
- Line type of IPv6 public bandwidth
- Network
Type string - Network type of the load balancer instance's IPv6 address
- Bandwidth float64
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- Bandwidth
Package stringId - Shared bandwidth package ID associated with IPv6 public bandwidth
- Billing
Type float64 - Billing type for IPv6 public bandwidth
- Isp string
- Line type of IPv6 public bandwidth
- Network
Type string - Network type of the load balancer instance's IPv6 address
- bandwidth number
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- bandwidth_
package_ stringid - Shared bandwidth package ID associated with IPv6 public bandwidth
- billing_
type number - Billing type for IPv6 public bandwidth
- isp string
- Line type of IPv6 public bandwidth
- network_
type string - Network type of the load balancer instance's IPv6 address
- bandwidth Double
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- bandwidth
Package StringId - Shared bandwidth package ID associated with IPv6 public bandwidth
- billing
Type Double - Billing type for IPv6 public bandwidth
- isp String
- Line type of IPv6 public bandwidth
- network
Type String - Network type of the load balancer instance's IPv6 address
- bandwidth number
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- bandwidth
Package stringId - Shared bandwidth package ID associated with IPv6 public bandwidth
- billing
Type number - Billing type for IPv6 public bandwidth
- isp string
- Line type of IPv6 public bandwidth
- network
Type string - Network type of the load balancer instance's IPv6 address
- bandwidth float
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- bandwidth_
package_ strid - Shared bandwidth package ID associated with IPv6 public bandwidth
- billing_
type float - Billing type for IPv6 public bandwidth
- isp str
- Line type of IPv6 public bandwidth
- network_
type str - Network type of the load balancer instance's IPv6 address
- bandwidth Number
- Peak bandwidth of IPv6 public bandwidth, in Mbps
- bandwidth
Package StringId - Shared bandwidth package ID associated with IPv6 public bandwidth
- billing
Type Number - Billing type for IPv6 public bandwidth
- isp String
- Line type of IPv6 public bandwidth
- network
Type String - Network type of the load balancer instance's IPv6 address
ClbListener, ClbListenerArgs
- Listener
Id string - Listener ID
- Listener
Name string - Listener name
- Listener
Id string - Listener ID
- Listener
Name string - Listener name
- listener_
id string - Listener ID
- listener_
name string - Listener name
- listener
Id String - Listener ID
- listener
Name String - Listener name
- listener
Id string - Listener ID
- listener
Name string - Listener name
- listener_
id str - Listener ID
- listener_
name str - Listener name
- listener
Id String - Listener ID
- listener
Name String - Listener name
ClbServerGroup, ClbServerGroupArgs
- Server
Group stringId - ID of the backend server group in the load balancer instance
- Server
Group stringName - Name of the backend server group in the load balancer instance
- Server
Group stringId - ID of the backend server group in the load balancer instance
- Server
Group stringName - Name of the backend server group in the load balancer instance
- server_
group_ stringid - ID of the backend server group in the load balancer instance
- server_
group_ stringname - Name of the backend server group in the load balancer instance
- server
Group StringId - ID of the backend server group in the load balancer instance
- server
Group StringName - Name of the backend server group in the load balancer instance
- server
Group stringId - ID of the backend server group in the load balancer instance
- server
Group stringName - Name of the backend server group in the load balancer instance
- server_
group_ strid - ID of the backend server group in the load balancer instance
- server_
group_ strname - Name of the backend server group in the load balancer instance
- server
Group StringId - ID of the backend server group in the load balancer instance
- server
Group StringName - Name of the backend server group in the load balancer instance
ClbTag, ClbTagArgs
Import
$ pulumi import bytepluscc:clb/clb:Clb example "load_balancer_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Jul 9, 2026 by Byteplus