1. Packages
  2. Volcengine
  3. API Docs
  4. clb
  5. Clb
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.clb.Clb

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

    Import

    CLB can be imported using the id, e.g.

     $ pulumi import volcengine:clb/clb:Clb default clb-273y2ok6ets007fap8txvf6us
    

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooZones = Volcengine.Ecs.Zones.Invoke();
    
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-vpc",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
        {
            SubnetName = "acc-test-subnet",
            CidrBlock = "172.16.0.0/24",
            ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            VpcId = fooVpc.Id,
        });
    
        // ipv4 public clb
        var publicClb = new Volcengine.Clb.Clb("publicClb", new()
        {
            Type = "public",
            SubnetId = fooSubnet.Id,
            LoadBalancerName = "acc-test-clb-public",
            LoadBalancerSpec = "small_1",
            Description = "acc-test-demo",
            ProjectName = "default",
            EipBillingConfig = new Volcengine.Clb.Inputs.ClbEipBillingConfigArgs
            {
                Isp = "BGP",
                EipBillingType = "PostPaidByBandwidth",
                Bandwidth = 1,
            },
            Tags = new[]
            {
                new Volcengine.Clb.Inputs.ClbTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        });
    
        // ipv4 private clb
        var privateClb = new Volcengine.Clb.Clb("privateClb", new()
        {
            Type = "private",
            SubnetId = fooSubnet.Id,
            LoadBalancerName = "acc-test-clb-private",
            LoadBalancerSpec = "small_1",
            Description = "acc-test-demo",
            ProjectName = "default",
        });
    
        var eip = new Volcengine.Eip.Address("eip", new()
        {
            BillingType = "PostPaidByBandwidth",
            Bandwidth = 1,
            Isp = "BGP",
            Description = "tf-test",
            ProjectName = "default",
        });
    
        var associate = new Volcengine.Eip.Associate("associate", new()
        {
            AllocationId = eip.Id,
            InstanceId = privateClb.Id,
            InstanceType = "ClbInstance",
        });
    
        // ipv6 private clb
        var vpcIpv6 = new Volcengine.Vpc.Vpc("vpcIpv6", new()
        {
            VpcName = "acc-test-vpc-ipv6",
            CidrBlock = "172.16.0.0/16",
            EnableIpv6 = true,
        });
    
        var subnetIpv6 = new Volcengine.Vpc.Subnet("subnetIpv6", new()
        {
            SubnetName = "acc-test-subnet-ipv6",
            CidrBlock = "172.16.0.0/24",
            ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[1]?.Id),
            VpcId = vpcIpv6.Id,
            Ipv6CidrBlock = 1,
        });
    
        var privateClbIpv6 = new Volcengine.Clb.Clb("privateClbIpv6", new()
        {
            Type = "private",
            SubnetId = subnetIpv6.Id,
            LoadBalancerName = "acc-test-clb-ipv6",
            LoadBalancerSpec = "small_1",
            Description = "acc-test-demo",
            ProjectName = "default",
            AddressIpVersion = "DualStack",
        });
    
        var ipv6Gateway = new Volcengine.Vpc.Ipv6Gateway("ipv6Gateway", new()
        {
            VpcId = vpcIpv6.Id,
        });
    
        var fooIpv6AddressBandwidth = new Volcengine.Vpc.Ipv6AddressBandwidth("fooIpv6AddressBandwidth", new()
        {
            Ipv6Address = privateClbIpv6.EniIpv6Address,
            BillingType = "PostPaidByBandwidth",
            Bandwidth = 5,
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                ipv6Gateway,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooZones, err := ecs.Zones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    			VpcName:   pulumi.String("acc-test-vpc"),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
    			SubnetName: pulumi.String("acc-test-subnet"),
    			CidrBlock:  pulumi.String("172.16.0.0/24"),
    			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
    			VpcId:      fooVpc.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = clb.NewClb(ctx, "publicClb", &clb.ClbArgs{
    			Type:             pulumi.String("public"),
    			SubnetId:         fooSubnet.ID(),
    			LoadBalancerName: pulumi.String("acc-test-clb-public"),
    			LoadBalancerSpec: pulumi.String("small_1"),
    			Description:      pulumi.String("acc-test-demo"),
    			ProjectName:      pulumi.String("default"),
    			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
    				Isp:            pulumi.String("BGP"),
    				EipBillingType: pulumi.String("PostPaidByBandwidth"),
    				Bandwidth:      pulumi.Int(1),
    			},
    			Tags: clb.ClbTagArray{
    				&clb.ClbTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		privateClb, err := clb.NewClb(ctx, "privateClb", &clb.ClbArgs{
    			Type:             pulumi.String("private"),
    			SubnetId:         fooSubnet.ID(),
    			LoadBalancerName: pulumi.String("acc-test-clb-private"),
    			LoadBalancerSpec: pulumi.String("small_1"),
    			Description:      pulumi.String("acc-test-demo"),
    			ProjectName:      pulumi.String("default"),
    		})
    		if err != nil {
    			return err
    		}
    		eip, err := eip.NewAddress(ctx, "eip", &eip.AddressArgs{
    			BillingType: pulumi.String("PostPaidByBandwidth"),
    			Bandwidth:   pulumi.Int(1),
    			Isp:         pulumi.String("BGP"),
    			Description: pulumi.String("tf-test"),
    			ProjectName: pulumi.String("default"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = eip.NewAssociate(ctx, "associate", &eip.AssociateArgs{
    			AllocationId: eip.ID(),
    			InstanceId:   privateClb.ID(),
    			InstanceType: pulumi.String("ClbInstance"),
    		})
    		if err != nil {
    			return err
    		}
    		vpcIpv6, err := vpc.NewVpc(ctx, "vpcIpv6", &vpc.VpcArgs{
    			VpcName:    pulumi.String("acc-test-vpc-ipv6"),
    			CidrBlock:  pulumi.String("172.16.0.0/16"),
    			EnableIpv6: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		subnetIpv6, err := vpc.NewSubnet(ctx, "subnetIpv6", &vpc.SubnetArgs{
    			SubnetName:    pulumi.String("acc-test-subnet-ipv6"),
    			CidrBlock:     pulumi.String("172.16.0.0/24"),
    			ZoneId:        *pulumi.String(fooZones.Zones[1].Id),
    			VpcId:         vpcIpv6.ID(),
    			Ipv6CidrBlock: pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		privateClbIpv6, err := clb.NewClb(ctx, "privateClbIpv6", &clb.ClbArgs{
    			Type:             pulumi.String("private"),
    			SubnetId:         subnetIpv6.ID(),
    			LoadBalancerName: pulumi.String("acc-test-clb-ipv6"),
    			LoadBalancerSpec: pulumi.String("small_1"),
    			Description:      pulumi.String("acc-test-demo"),
    			ProjectName:      pulumi.String("default"),
    			AddressIpVersion: pulumi.String("DualStack"),
    		})
    		if err != nil {
    			return err
    		}
    		ipv6Gateway, err := vpc.NewIpv6Gateway(ctx, "ipv6Gateway", &vpc.Ipv6GatewayArgs{
    			VpcId: vpcIpv6.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vpc.NewIpv6AddressBandwidth(ctx, "fooIpv6AddressBandwidth", &vpc.Ipv6AddressBandwidthArgs{
    			Ipv6Address: privateClbIpv6.EniIpv6Address,
    			BillingType: pulumi.String("PostPaidByBandwidth"),
    			Bandwidth:   pulumi.Int(5),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			ipv6Gateway,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.ecs.EcsFunctions;
    import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    import com.pulumi.volcengine.vpc.Subnet;
    import com.pulumi.volcengine.vpc.SubnetArgs;
    import com.pulumi.volcengine.clb.Clb;
    import com.pulumi.volcengine.clb.ClbArgs;
    import com.pulumi.volcengine.clb.inputs.ClbEipBillingConfigArgs;
    import com.pulumi.volcengine.clb.inputs.ClbTagArgs;
    import com.pulumi.volcengine.eip.Address;
    import com.pulumi.volcengine.eip.AddressArgs;
    import com.pulumi.volcengine.eip.Associate;
    import com.pulumi.volcengine.eip.AssociateArgs;
    import com.pulumi.volcengine.vpc.Ipv6Gateway;
    import com.pulumi.volcengine.vpc.Ipv6GatewayArgs;
    import com.pulumi.volcengine.vpc.Ipv6AddressBandwidth;
    import com.pulumi.volcengine.vpc.Ipv6AddressBandwidthArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var fooZones = EcsFunctions.Zones();
    
            var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-vpc")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
                .subnetName("acc-test-subnet")
                .cidrBlock("172.16.0.0/24")
                .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .vpcId(fooVpc.id())
                .build());
    
            var publicClb = new Clb("publicClb", ClbArgs.builder()        
                .type("public")
                .subnetId(fooSubnet.id())
                .loadBalancerName("acc-test-clb-public")
                .loadBalancerSpec("small_1")
                .description("acc-test-demo")
                .projectName("default")
                .eipBillingConfig(ClbEipBillingConfigArgs.builder()
                    .isp("BGP")
                    .eipBillingType("PostPaidByBandwidth")
                    .bandwidth(1)
                    .build())
                .tags(ClbTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build());
    
            var privateClb = new Clb("privateClb", ClbArgs.builder()        
                .type("private")
                .subnetId(fooSubnet.id())
                .loadBalancerName("acc-test-clb-private")
                .loadBalancerSpec("small_1")
                .description("acc-test-demo")
                .projectName("default")
                .build());
    
            var eip = new Address("eip", AddressArgs.builder()        
                .billingType("PostPaidByBandwidth")
                .bandwidth(1)
                .isp("BGP")
                .description("tf-test")
                .projectName("default")
                .build());
    
            var associate = new Associate("associate", AssociateArgs.builder()        
                .allocationId(eip.id())
                .instanceId(privateClb.id())
                .instanceType("ClbInstance")
                .build());
    
            var vpcIpv6 = new Vpc("vpcIpv6", VpcArgs.builder()        
                .vpcName("acc-test-vpc-ipv6")
                .cidrBlock("172.16.0.0/16")
                .enableIpv6(true)
                .build());
    
            var subnetIpv6 = new Subnet("subnetIpv6", SubnetArgs.builder()        
                .subnetName("acc-test-subnet-ipv6")
                .cidrBlock("172.16.0.0/24")
                .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[1].id()))
                .vpcId(vpcIpv6.id())
                .ipv6CidrBlock(1)
                .build());
    
            var privateClbIpv6 = new Clb("privateClbIpv6", ClbArgs.builder()        
                .type("private")
                .subnetId(subnetIpv6.id())
                .loadBalancerName("acc-test-clb-ipv6")
                .loadBalancerSpec("small_1")
                .description("acc-test-demo")
                .projectName("default")
                .addressIpVersion("DualStack")
                .build());
    
            var ipv6Gateway = new Ipv6Gateway("ipv6Gateway", Ipv6GatewayArgs.builder()        
                .vpcId(vpcIpv6.id())
                .build());
    
            var fooIpv6AddressBandwidth = new Ipv6AddressBandwidth("fooIpv6AddressBandwidth", Ipv6AddressBandwidthArgs.builder()        
                .ipv6Address(privateClbIpv6.eniIpv6Address())
                .billingType("PostPaidByBandwidth")
                .bandwidth(5)
                .build(), CustomResourceOptions.builder()
                    .dependsOn(ipv6Gateway)
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_zones = volcengine.ecs.zones()
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-vpc",
        cidr_block="172.16.0.0/16")
    foo_subnet = volcengine.vpc.Subnet("fooSubnet",
        subnet_name="acc-test-subnet",
        cidr_block="172.16.0.0/24",
        zone_id=foo_zones.zones[0].id,
        vpc_id=foo_vpc.id)
    # ipv4 public clb
    public_clb = volcengine.clb.Clb("publicClb",
        type="public",
        subnet_id=foo_subnet.id,
        load_balancer_name="acc-test-clb-public",
        load_balancer_spec="small_1",
        description="acc-test-demo",
        project_name="default",
        eip_billing_config=volcengine.clb.ClbEipBillingConfigArgs(
            isp="BGP",
            eip_billing_type="PostPaidByBandwidth",
            bandwidth=1,
        ),
        tags=[volcengine.clb.ClbTagArgs(
            key="k1",
            value="v1",
        )])
    # ipv4 private clb
    private_clb = volcengine.clb.Clb("privateClb",
        type="private",
        subnet_id=foo_subnet.id,
        load_balancer_name="acc-test-clb-private",
        load_balancer_spec="small_1",
        description="acc-test-demo",
        project_name="default")
    eip = volcengine.eip.Address("eip",
        billing_type="PostPaidByBandwidth",
        bandwidth=1,
        isp="BGP",
        description="tf-test",
        project_name="default")
    associate = volcengine.eip.Associate("associate",
        allocation_id=eip.id,
        instance_id=private_clb.id,
        instance_type="ClbInstance")
    # ipv6 private clb
    vpc_ipv6 = volcengine.vpc.Vpc("vpcIpv6",
        vpc_name="acc-test-vpc-ipv6",
        cidr_block="172.16.0.0/16",
        enable_ipv6=True)
    subnet_ipv6 = volcengine.vpc.Subnet("subnetIpv6",
        subnet_name="acc-test-subnet-ipv6",
        cidr_block="172.16.0.0/24",
        zone_id=foo_zones.zones[1].id,
        vpc_id=vpc_ipv6.id,
        ipv6_cidr_block=1)
    private_clb_ipv6 = volcengine.clb.Clb("privateClbIpv6",
        type="private",
        subnet_id=subnet_ipv6.id,
        load_balancer_name="acc-test-clb-ipv6",
        load_balancer_spec="small_1",
        description="acc-test-demo",
        project_name="default",
        address_ip_version="DualStack")
    ipv6_gateway = volcengine.vpc.Ipv6Gateway("ipv6Gateway", vpc_id=vpc_ipv6.id)
    foo_ipv6_address_bandwidth = volcengine.vpc.Ipv6AddressBandwidth("fooIpv6AddressBandwidth",
        ipv6_address=private_clb_ipv6.eni_ipv6_address,
        billing_type="PostPaidByBandwidth",
        bandwidth=5,
        opts=pulumi.ResourceOptions(depends_on=[ipv6_gateway]))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooZones = volcengine.ecs.Zones({});
    const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
        vpcName: "acc-test-vpc",
        cidrBlock: "172.16.0.0/16",
    });
    const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
        subnetName: "acc-test-subnet",
        cidrBlock: "172.16.0.0/24",
        zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
        vpcId: fooVpc.id,
    });
    // ipv4 public clb
    const publicClb = new volcengine.clb.Clb("publicClb", {
        type: "public",
        subnetId: fooSubnet.id,
        loadBalancerName: "acc-test-clb-public",
        loadBalancerSpec: "small_1",
        description: "acc-test-demo",
        projectName: "default",
        eipBillingConfig: {
            isp: "BGP",
            eipBillingType: "PostPaidByBandwidth",
            bandwidth: 1,
        },
        tags: [{
            key: "k1",
            value: "v1",
        }],
    });
    // ipv4 private clb
    const privateClb = new volcengine.clb.Clb("privateClb", {
        type: "private",
        subnetId: fooSubnet.id,
        loadBalancerName: "acc-test-clb-private",
        loadBalancerSpec: "small_1",
        description: "acc-test-demo",
        projectName: "default",
    });
    const eip = new volcengine.eip.Address("eip", {
        billingType: "PostPaidByBandwidth",
        bandwidth: 1,
        isp: "BGP",
        description: "tf-test",
        projectName: "default",
    });
    const associate = new volcengine.eip.Associate("associate", {
        allocationId: eip.id,
        instanceId: privateClb.id,
        instanceType: "ClbInstance",
    });
    // ipv6 private clb
    const vpcIpv6 = new volcengine.vpc.Vpc("vpcIpv6", {
        vpcName: "acc-test-vpc-ipv6",
        cidrBlock: "172.16.0.0/16",
        enableIpv6: true,
    });
    const subnetIpv6 = new volcengine.vpc.Subnet("subnetIpv6", {
        subnetName: "acc-test-subnet-ipv6",
        cidrBlock: "172.16.0.0/24",
        zoneId: fooZones.then(fooZones => fooZones.zones?.[1]?.id),
        vpcId: vpcIpv6.id,
        ipv6CidrBlock: 1,
    });
    const privateClbIpv6 = new volcengine.clb.Clb("privateClbIpv6", {
        type: "private",
        subnetId: subnetIpv6.id,
        loadBalancerName: "acc-test-clb-ipv6",
        loadBalancerSpec: "small_1",
        description: "acc-test-demo",
        projectName: "default",
        addressIpVersion: "DualStack",
    });
    const ipv6Gateway = new volcengine.vpc.Ipv6Gateway("ipv6Gateway", {vpcId: vpcIpv6.id});
    const fooIpv6AddressBandwidth = new volcengine.vpc.Ipv6AddressBandwidth("fooIpv6AddressBandwidth", {
        ipv6Address: privateClbIpv6.eniIpv6Address,
        billingType: "PostPaidByBandwidth",
        bandwidth: 5,
    }, {
        dependsOn: [ipv6Gateway],
    });
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-vpc
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[0].id}
          vpcId: ${fooVpc.id}
      # ipv4 public clb
      publicClb:
        type: volcengine:clb:Clb
        properties:
          type: public
          subnetId: ${fooSubnet.id}
          loadBalancerName: acc-test-clb-public
          loadBalancerSpec: small_1
          description: acc-test-demo
          projectName: default
          eipBillingConfig:
            isp: BGP
            eipBillingType: PostPaidByBandwidth
            bandwidth: 1
          tags:
            - key: k1
              value: v1
      # ipv4 private clb
      privateClb:
        type: volcengine:clb:Clb
        properties:
          type: private
          subnetId: ${fooSubnet.id}
          loadBalancerName: acc-test-clb-private
          loadBalancerSpec: small_1
          description: acc-test-demo
          projectName: default
      eip:
        type: volcengine:eip:Address
        properties:
          billingType: PostPaidByBandwidth
          bandwidth: 1
          isp: BGP
          description: tf-test
          projectName: default
      associate:
        type: volcengine:eip:Associate
        properties:
          allocationId: ${eip.id}
          instanceId: ${privateClb.id}
          instanceType: ClbInstance
      # ipv6 private clb
      vpcIpv6:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-vpc-ipv6
          cidrBlock: 172.16.0.0/16
          enableIpv6: true
      subnetIpv6:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet-ipv6
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[1].id}
          vpcId: ${vpcIpv6.id}
          ipv6CidrBlock: 1
      privateClbIpv6:
        type: volcengine:clb:Clb
        properties:
          type: private
          subnetId: ${subnetIpv6.id}
          loadBalancerName: acc-test-clb-ipv6
          loadBalancerSpec: small_1
          description: acc-test-demo
          projectName: default
          addressIpVersion: DualStack
      ipv6Gateway:
        type: volcengine:vpc:Ipv6Gateway
        properties:
          vpcId: ${vpcIpv6.id}
      fooIpv6AddressBandwidth:
        type: volcengine:vpc:Ipv6AddressBandwidth
        properties:
          ipv6Address: ${privateClbIpv6.eniIpv6Address}
          billingType: PostPaidByBandwidth
          bandwidth: 5
        options:
          dependson:
            - ${ipv6Gateway}
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
    

    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: ClbArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Clb(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            load_balancer_spec: Optional[str] = None,
            type: Optional[str] = None,
            subnet_id: Optional[str] = None,
            master_zone_id: Optional[str] = None,
            modification_protection_status: Optional[str] = None,
            load_balancer_billing_type: Optional[str] = None,
            load_balancer_name: Optional[str] = None,
            eni_address: Optional[str] = None,
            address_ip_version: Optional[str] = None,
            modification_protection_reason: Optional[str] = None,
            eni_ipv6_address: Optional[str] = None,
            period: Optional[int] = None,
            project_name: Optional[str] = None,
            region_id: Optional[str] = None,
            slave_zone_id: Optional[str] = None,
            eip_billing_config: Optional[ClbEipBillingConfigArgs] = None,
            tags: Optional[Sequence[ClbTagArgs]] = None,
            description: Optional[str] = None,
            vpc_id: Optional[str] = None)
    func NewClb(ctx *Context, name string, args ClbArgs, opts ...ResourceOption) (*Clb, error)
    public Clb(string name, ClbArgs args, CustomResourceOptions? opts = null)
    public Clb(String name, ClbArgs args)
    public Clb(String name, ClbArgs args, CustomResourceOptions options)
    
    type: volcengine:clb:Clb
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args 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 Volcengine.Clb.Clb("clbResource", new()
    {
        LoadBalancerSpec = "string",
        Type = "string",
        SubnetId = "string",
        MasterZoneId = "string",
        ModificationProtectionStatus = "string",
        LoadBalancerBillingType = "string",
        LoadBalancerName = "string",
        EniAddress = "string",
        AddressIpVersion = "string",
        ModificationProtectionReason = "string",
        EniIpv6Address = "string",
        Period = 0,
        ProjectName = "string",
        RegionId = "string",
        SlaveZoneId = "string",
        EipBillingConfig = new Volcengine.Clb.Inputs.ClbEipBillingConfigArgs
        {
            EipBillingType = "string",
            Isp = "string",
            Bandwidth = 0,
        },
        Tags = new[]
        {
            new Volcengine.Clb.Inputs.ClbTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        Description = "string",
        VpcId = "string",
    });
    
    example, err := clb.NewClb(ctx, "clbResource", &clb.ClbArgs{
    	LoadBalancerSpec:             pulumi.String("string"),
    	Type:                         pulumi.String("string"),
    	SubnetId:                     pulumi.String("string"),
    	MasterZoneId:                 pulumi.String("string"),
    	ModificationProtectionStatus: pulumi.String("string"),
    	LoadBalancerBillingType:      pulumi.String("string"),
    	LoadBalancerName:             pulumi.String("string"),
    	EniAddress:                   pulumi.String("string"),
    	AddressIpVersion:             pulumi.String("string"),
    	ModificationProtectionReason: pulumi.String("string"),
    	EniIpv6Address:               pulumi.String("string"),
    	Period:                       pulumi.Int(0),
    	ProjectName:                  pulumi.String("string"),
    	RegionId:                     pulumi.String("string"),
    	SlaveZoneId:                  pulumi.String("string"),
    	EipBillingConfig: &clb.ClbEipBillingConfigArgs{
    		EipBillingType: pulumi.String("string"),
    		Isp:            pulumi.String("string"),
    		Bandwidth:      pulumi.Int(0),
    	},
    	Tags: clb.ClbTagArray{
    		&clb.ClbTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	VpcId:       pulumi.String("string"),
    })
    
    var clbResource = new Clb("clbResource", ClbArgs.builder()
        .loadBalancerSpec("string")
        .type("string")
        .subnetId("string")
        .masterZoneId("string")
        .modificationProtectionStatus("string")
        .loadBalancerBillingType("string")
        .loadBalancerName("string")
        .eniAddress("string")
        .addressIpVersion("string")
        .modificationProtectionReason("string")
        .eniIpv6Address("string")
        .period(0)
        .projectName("string")
        .regionId("string")
        .slaveZoneId("string")
        .eipBillingConfig(ClbEipBillingConfigArgs.builder()
            .eipBillingType("string")
            .isp("string")
            .bandwidth(0)
            .build())
        .tags(ClbTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .description("string")
        .vpcId("string")
        .build());
    
    clb_resource = volcengine.clb.Clb("clbResource",
        load_balancer_spec="string",
        type="string",
        subnet_id="string",
        master_zone_id="string",
        modification_protection_status="string",
        load_balancer_billing_type="string",
        load_balancer_name="string",
        eni_address="string",
        address_ip_version="string",
        modification_protection_reason="string",
        eni_ipv6_address="string",
        period=0,
        project_name="string",
        region_id="string",
        slave_zone_id="string",
        eip_billing_config=volcengine.clb.ClbEipBillingConfigArgs(
            eip_billing_type="string",
            isp="string",
            bandwidth=0,
        ),
        tags=[volcengine.clb.ClbTagArgs(
            key="string",
            value="string",
        )],
        description="string",
        vpc_id="string")
    
    const clbResource = new volcengine.clb.Clb("clbResource", {
        loadBalancerSpec: "string",
        type: "string",
        subnetId: "string",
        masterZoneId: "string",
        modificationProtectionStatus: "string",
        loadBalancerBillingType: "string",
        loadBalancerName: "string",
        eniAddress: "string",
        addressIpVersion: "string",
        modificationProtectionReason: "string",
        eniIpv6Address: "string",
        period: 0,
        projectName: "string",
        regionId: "string",
        slaveZoneId: "string",
        eipBillingConfig: {
            eipBillingType: "string",
            isp: "string",
            bandwidth: 0,
        },
        tags: [{
            key: "string",
            value: "string",
        }],
        description: "string",
        vpcId: "string",
    });
    
    type: volcengine:clb:Clb
    properties:
        addressIpVersion: string
        description: string
        eipBillingConfig:
            bandwidth: 0
            eipBillingType: string
            isp: string
        eniAddress: string
        eniIpv6Address: string
        loadBalancerBillingType: string
        loadBalancerName: string
        loadBalancerSpec: string
        masterZoneId: string
        modificationProtectionReason: string
        modificationProtectionStatus: string
        period: 0
        projectName: string
        regionId: string
        slaveZoneId: string
        subnetId: string
        tags:
            - key: string
              value: string
        type: string
        vpcId: 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

    The Clb resource accepts the following input properties:

    LoadBalancerSpec string
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    SubnetId string
    The id of the Subnet.
    Type string
    The type of the CLB. And optional choice contains public or private.
    AddressIpVersion string
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    Description string
    The description of the CLB.
    EipBillingConfig ClbEipBillingConfig
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    EniAddress string
    The eni address of the CLB.
    EniIpv6Address string
    The eni ipv6 address of the Clb.
    LoadBalancerBillingType string
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    LoadBalancerName string
    The name of the CLB.
    MasterZoneId string
    The master zone ID of the CLB.
    ModificationProtectionReason string
    The reason of the console modification protection.
    ModificationProtectionStatus string
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    Period int
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    ProjectName string
    The ProjectName of the CLB.
    RegionId string
    The region of the request.
    SlaveZoneId string
    The slave zone ID of the CLB.
    Tags List<ClbTag>
    Tags.
    VpcId string
    The id of the VPC.
    LoadBalancerSpec string
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    SubnetId string
    The id of the Subnet.
    Type string
    The type of the CLB. And optional choice contains public or private.
    AddressIpVersion string
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    Description string
    The description of the CLB.
    EipBillingConfig ClbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    EniAddress string
    The eni address of the CLB.
    EniIpv6Address string
    The eni ipv6 address of the Clb.
    LoadBalancerBillingType string
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    LoadBalancerName string
    The name of the CLB.
    MasterZoneId string
    The master zone ID of the CLB.
    ModificationProtectionReason string
    The reason of the console modification protection.
    ModificationProtectionStatus string
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    Period int
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    ProjectName string
    The ProjectName of the CLB.
    RegionId string
    The region of the request.
    SlaveZoneId string
    The slave zone ID of the CLB.
    Tags []ClbTagArgs
    Tags.
    VpcId string
    The id of the VPC.
    loadBalancerSpec String
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    subnetId String
    The id of the Subnet.
    type String
    The type of the CLB. And optional choice contains public or private.
    addressIpVersion String
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description String
    The description of the CLB.
    eipBillingConfig ClbEipBillingConfig
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eniAddress String
    The eni address of the CLB.
    eniIpv6Address String
    The eni ipv6 address of the Clb.
    loadBalancerBillingType String
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    loadBalancerName String
    The name of the CLB.
    masterZoneId String
    The master zone ID of the CLB.
    modificationProtectionReason String
    The reason of the console modification protection.
    modificationProtectionStatus String
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period Integer
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    projectName String
    The ProjectName of the CLB.
    regionId String
    The region of the request.
    slaveZoneId String
    The slave zone ID of the CLB.
    tags List<ClbTag>
    Tags.
    vpcId String
    The id of the VPC.
    loadBalancerSpec string
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    subnetId string
    The id of the Subnet.
    type string
    The type of the CLB. And optional choice contains public or private.
    addressIpVersion string
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description string
    The description of the CLB.
    eipBillingConfig ClbEipBillingConfig
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eniAddress string
    The eni address of the CLB.
    eniIpv6Address string
    The eni ipv6 address of the Clb.
    loadBalancerBillingType string
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    loadBalancerName string
    The name of the CLB.
    masterZoneId string
    The master zone ID of the CLB.
    modificationProtectionReason string
    The reason of the console modification protection.
    modificationProtectionStatus string
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period number
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    projectName string
    The ProjectName of the CLB.
    regionId string
    The region of the request.
    slaveZoneId string
    The slave zone ID of the CLB.
    tags ClbTag[]
    Tags.
    vpcId string
    The id of the VPC.
    load_balancer_spec str
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    subnet_id str
    The id of the Subnet.
    type str
    The type of the CLB. And optional choice contains public or private.
    address_ip_version str
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description str
    The description of the CLB.
    eip_billing_config ClbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eni_address str
    The eni address of the CLB.
    eni_ipv6_address str
    The eni ipv6 address of the Clb.
    load_balancer_billing_type str
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    load_balancer_name str
    The name of the CLB.
    master_zone_id str
    The master zone ID of the CLB.
    modification_protection_reason str
    The reason of the console modification protection.
    modification_protection_status str
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period int
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    project_name str
    The ProjectName of the CLB.
    region_id str
    The region of the request.
    slave_zone_id str
    The slave zone ID of the CLB.
    tags Sequence[ClbTagArgs]
    Tags.
    vpc_id str
    The id of the VPC.
    loadBalancerSpec String
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    subnetId String
    The id of the Subnet.
    type String
    The type of the CLB. And optional choice contains public or private.
    addressIpVersion String
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description String
    The description of the CLB.
    eipBillingConfig Property Map
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eniAddress String
    The eni address of the CLB.
    eniIpv6Address String
    The eni ipv6 address of the Clb.
    loadBalancerBillingType String
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    loadBalancerName String
    The name of the CLB.
    masterZoneId String
    The master zone ID of the CLB.
    modificationProtectionReason String
    The reason of the console modification protection.
    modificationProtectionStatus String
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period Number
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    projectName String
    The ProjectName of the CLB.
    regionId String
    The region of the request.
    slaveZoneId String
    The slave zone ID of the CLB.
    tags List<Property Map>
    Tags.
    vpcId String
    The id of the VPC.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Clb resource produces the following output properties:

    EipAddress string
    The Eip address of the Clb.
    EipId string
    The Eip ID of the Clb.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6EipId string
    The Ipv6 Eip ID of the Clb.
    RenewType string
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    EipAddress string
    The Eip address of the Clb.
    EipId string
    The Eip ID of the Clb.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6EipId string
    The Ipv6 Eip ID of the Clb.
    RenewType string
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    eipAddress String
    The Eip address of the Clb.
    eipId String
    The Eip ID of the Clb.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6EipId String
    The Ipv6 Eip ID of the Clb.
    renewType String
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    eipAddress string
    The Eip address of the Clb.
    eipId string
    The Eip ID of the Clb.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv6EipId string
    The Ipv6 Eip ID of the Clb.
    renewType string
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    eip_address str
    The Eip address of the Clb.
    eip_id str
    The Eip ID of the Clb.
    id str
    The provider-assigned unique ID for this managed resource.
    ipv6_eip_id str
    The Ipv6 Eip ID of the Clb.
    renew_type str
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    eipAddress String
    The Eip address of the Clb.
    eipId String
    The Eip ID of the Clb.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6EipId String
    The Ipv6 Eip ID of the Clb.
    renewType String
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.

    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,
            address_ip_version: Optional[str] = None,
            description: Optional[str] = None,
            eip_address: Optional[str] = None,
            eip_billing_config: Optional[ClbEipBillingConfigArgs] = None,
            eip_id: Optional[str] = None,
            eni_address: Optional[str] = None,
            eni_ipv6_address: Optional[str] = None,
            ipv6_eip_id: Optional[str] = None,
            load_balancer_billing_type: Optional[str] = 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,
            period: Optional[int] = None,
            project_name: Optional[str] = None,
            region_id: Optional[str] = None,
            renew_type: Optional[str] = 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) -> Clb
    func 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AddressIpVersion string
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    Description string
    The description of the CLB.
    EipAddress string
    The Eip address of the Clb.
    EipBillingConfig ClbEipBillingConfig
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    EipId string
    The Eip ID of the Clb.
    EniAddress string
    The eni address of the CLB.
    EniIpv6Address string
    The eni ipv6 address of the Clb.
    Ipv6EipId string
    The Ipv6 Eip ID of the Clb.
    LoadBalancerBillingType string
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    LoadBalancerName string
    The name of the CLB.
    LoadBalancerSpec string
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    MasterZoneId string
    The master zone ID of the CLB.
    ModificationProtectionReason string
    The reason of the console modification protection.
    ModificationProtectionStatus string
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    Period int
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    ProjectName string
    The ProjectName of the CLB.
    RegionId string
    The region of the request.
    RenewType string
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    SlaveZoneId string
    The slave zone ID of the CLB.
    SubnetId string
    The id of the Subnet.
    Tags List<ClbTag>
    Tags.
    Type string
    The type of the CLB. And optional choice contains public or private.
    VpcId string
    The id of the VPC.
    AddressIpVersion string
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    Description string
    The description of the CLB.
    EipAddress string
    The Eip address of the Clb.
    EipBillingConfig ClbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    EipId string
    The Eip ID of the Clb.
    EniAddress string
    The eni address of the CLB.
    EniIpv6Address string
    The eni ipv6 address of the Clb.
    Ipv6EipId string
    The Ipv6 Eip ID of the Clb.
    LoadBalancerBillingType string
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    LoadBalancerName string
    The name of the CLB.
    LoadBalancerSpec string
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    MasterZoneId string
    The master zone ID of the CLB.
    ModificationProtectionReason string
    The reason of the console modification protection.
    ModificationProtectionStatus string
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    Period int
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    ProjectName string
    The ProjectName of the CLB.
    RegionId string
    The region of the request.
    RenewType string
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    SlaveZoneId string
    The slave zone ID of the CLB.
    SubnetId string
    The id of the Subnet.
    Tags []ClbTagArgs
    Tags.
    Type string
    The type of the CLB. And optional choice contains public or private.
    VpcId string
    The id of the VPC.
    addressIpVersion String
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description String
    The description of the CLB.
    eipAddress String
    The Eip address of the Clb.
    eipBillingConfig ClbEipBillingConfig
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eipId String
    The Eip ID of the Clb.
    eniAddress String
    The eni address of the CLB.
    eniIpv6Address String
    The eni ipv6 address of the Clb.
    ipv6EipId String
    The Ipv6 Eip ID of the Clb.
    loadBalancerBillingType String
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    loadBalancerName String
    The name of the CLB.
    loadBalancerSpec String
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    masterZoneId String
    The master zone ID of the CLB.
    modificationProtectionReason String
    The reason of the console modification protection.
    modificationProtectionStatus String
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period Integer
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    projectName String
    The ProjectName of the CLB.
    regionId String
    The region of the request.
    renewType String
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    slaveZoneId String
    The slave zone ID of the CLB.
    subnetId String
    The id of the Subnet.
    tags List<ClbTag>
    Tags.
    type String
    The type of the CLB. And optional choice contains public or private.
    vpcId String
    The id of the VPC.
    addressIpVersion string
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description string
    The description of the CLB.
    eipAddress string
    The Eip address of the Clb.
    eipBillingConfig ClbEipBillingConfig
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eipId string
    The Eip ID of the Clb.
    eniAddress string
    The eni address of the CLB.
    eniIpv6Address string
    The eni ipv6 address of the Clb.
    ipv6EipId string
    The Ipv6 Eip ID of the Clb.
    loadBalancerBillingType string
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    loadBalancerName string
    The name of the CLB.
    loadBalancerSpec string
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    masterZoneId string
    The master zone ID of the CLB.
    modificationProtectionReason string
    The reason of the console modification protection.
    modificationProtectionStatus string
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period number
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    projectName string
    The ProjectName of the CLB.
    regionId string
    The region of the request.
    renewType string
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    slaveZoneId string
    The slave zone ID of the CLB.
    subnetId string
    The id of the Subnet.
    tags ClbTag[]
    Tags.
    type string
    The type of the CLB. And optional choice contains public or private.
    vpcId string
    The id of the VPC.
    address_ip_version str
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description str
    The description of the CLB.
    eip_address str
    The Eip address of the Clb.
    eip_billing_config ClbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eip_id str
    The Eip ID of the Clb.
    eni_address str
    The eni address of the CLB.
    eni_ipv6_address str
    The eni ipv6 address of the Clb.
    ipv6_eip_id str
    The Ipv6 Eip ID of the Clb.
    load_balancer_billing_type str
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    load_balancer_name str
    The name of the CLB.
    load_balancer_spec str
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    master_zone_id str
    The master zone ID of the CLB.
    modification_protection_reason str
    The reason of the console modification protection.
    modification_protection_status str
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period int
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    project_name str
    The ProjectName of the CLB.
    region_id str
    The region of the request.
    renew_type str
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    slave_zone_id str
    The slave zone ID of the CLB.
    subnet_id str
    The id of the Subnet.
    tags Sequence[ClbTagArgs]
    Tags.
    type str
    The type of the CLB. And optional choice contains public or private.
    vpc_id str
    The id of the VPC.
    addressIpVersion String
    The address ip version of the Clb. Valid values: ipv4, DualStack. Default is ipv4. When the value of this field is DualStack, the type of the CLB must be private, and suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    description String
    The description of the CLB.
    eipAddress String
    The Eip address of the Clb.
    eipBillingConfig Property Map
    The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is public.When the type of the CLB is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    eipId String
    The Eip ID of the Clb.
    eniAddress String
    The eni address of the CLB.
    eniIpv6Address String
    The eni ipv6 address of the Clb.
    ipv6EipId String
    The Ipv6 Eip ID of the Clb.
    loadBalancerBillingType String
    The billing type of the CLB, the value can be PostPaid or PrePaid.
    loadBalancerName String
    The name of the CLB.
    loadBalancerSpec String
    The specification of the CLB, the value can be small_1, small_2, medium_1, medium_2, large_1, large_2.
    masterZoneId String
    The master zone ID of the CLB.
    modificationProtectionReason String
    The reason of the console modification protection.
    modificationProtectionStatus String
    The status of the console modification protection, the value can be NonProtection or ConsoleProtection.
    period Number
    The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    projectName String
    The ProjectName of the CLB.
    regionId String
    The region of the request.
    renewType String
    The renew type of the CLB. When the value of the load_balancer_billing_type is PrePaid, the query returns this field.
    slaveZoneId String
    The slave zone ID of the CLB.
    subnetId String
    The id of the Subnet.
    tags List<Property Map>
    Tags.
    type String
    The type of the CLB. And optional choice contains public or private.
    vpcId String
    The id of the VPC.

    Supporting Types

    ClbEipBillingConfig, ClbEipBillingConfigArgs

    EipBillingType string
    The billing type of the EIP which automatically assigned to CLB. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.When creating a PrePaid public CLB, this field must be specified as PrePaid simultaneously.When the LoadBalancerBillingType changes from PostPaid to PrePaid, please manually modify the value of this field to PrePaid simultaneously.
    Isp string
    The ISP of the EIP which automatically associated to CLB, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
    Bandwidth int
    The peek bandwidth of the EIP which automatically assigned to CLB.
    EipBillingType string
    The billing type of the EIP which automatically assigned to CLB. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.When creating a PrePaid public CLB, this field must be specified as PrePaid simultaneously.When the LoadBalancerBillingType changes from PostPaid to PrePaid, please manually modify the value of this field to PrePaid simultaneously.
    Isp string
    The ISP of the EIP which automatically associated to CLB, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
    Bandwidth int
    The peek bandwidth of the EIP which automatically assigned to CLB.
    eipBillingType String
    The billing type of the EIP which automatically assigned to CLB. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.When creating a PrePaid public CLB, this field must be specified as PrePaid simultaneously.When the LoadBalancerBillingType changes from PostPaid to PrePaid, please manually modify the value of this field to PrePaid simultaneously.
    isp String
    The ISP of the EIP which automatically associated to CLB, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
    bandwidth Integer
    The peek bandwidth of the EIP which automatically assigned to CLB.
    eipBillingType string
    The billing type of the EIP which automatically assigned to CLB. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.When creating a PrePaid public CLB, this field must be specified as PrePaid simultaneously.When the LoadBalancerBillingType changes from PostPaid to PrePaid, please manually modify the value of this field to PrePaid simultaneously.
    isp string
    The ISP of the EIP which automatically associated to CLB, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
    bandwidth number
    The peek bandwidth of the EIP which automatically assigned to CLB.
    eip_billing_type str
    The billing type of the EIP which automatically assigned to CLB. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.When creating a PrePaid public CLB, this field must be specified as PrePaid simultaneously.When the LoadBalancerBillingType changes from PostPaid to PrePaid, please manually modify the value of this field to PrePaid simultaneously.
    isp str
    The ISP of the EIP which automatically associated to CLB, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
    bandwidth int
    The peek bandwidth of the EIP which automatically assigned to CLB.
    eipBillingType String
    The billing type of the EIP which automatically assigned to CLB. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.When creating a PrePaid public CLB, this field must be specified as PrePaid simultaneously.When the LoadBalancerBillingType changes from PostPaid to PrePaid, please manually modify the value of this field to PrePaid simultaneously.
    isp String
    The ISP of the EIP which automatically associated to CLB, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
    bandwidth Number
    The peek bandwidth of the EIP which automatically assigned to CLB.

    ClbTag, ClbTagArgs

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine