1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. Alb
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.alb.Alb

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Provides a resource to manage alb

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    using Volcengine = Volcengine.Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Alb.Zones.Invoke();
    
        var vpcIpv6 = new Volcengine.Vpc.Vpc("vpcIpv6", new()
        {
            VpcName = "acc-test-vpc-ipv6",
            CidrBlock = "172.16.0.0/16",
            EnableIpv6 = true,
        });
    
        var subnetIpv61 = new Volcengine.Vpc.Subnet("subnetIpv61", new()
        {
            SubnetName = "acc-test-subnet-ipv6-1",
            CidrBlock = "172.16.1.0/24",
            ZoneId = foo.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            VpcId = vpcIpv6.Id,
            Ipv6CidrBlock = 1,
        });
    
        var subnetIpv62 = new Volcengine.Vpc.Subnet("subnetIpv62", new()
        {
            SubnetName = "acc-test-subnet-ipv6-2",
            CidrBlock = "172.16.2.0/24",
            ZoneId = foo.Apply(zonesResult => zonesResult.Zones[1]?.Id),
            VpcId = vpcIpv6.Id,
            Ipv6CidrBlock = 2,
        });
    
        var ipv6Gateway = new Volcengine.Vpc.Ipv6Gateway("ipv6Gateway", new()
        {
            VpcId = vpcIpv6.Id,
        });
    
        var alb_private = new Volcengine.Alb.Alb("alb-private", new()
        {
            AddressIpVersion = "IPv4",
            Type = "private",
            LoadBalancerName = "acc-test-alb-private",
            Description = "acc-test",
            SubnetIds = new[]
            {
                subnetIpv61.Id,
                subnetIpv62.Id,
            },
            ProjectName = "default",
            DeleteProtection = "off",
            Tags = new[]
            {
                new Volcengine.Alb.Inputs.AlbTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        });
    
        var alb_public = new Volcengine.Alb.Alb("alb-public", new()
        {
            AddressIpVersion = "DualStack",
            Type = "public",
            LoadBalancerName = "acc-test-alb-public",
            Description = "acc-test",
            SubnetIds = new[]
            {
                subnetIpv61.Id,
                subnetIpv62.Id,
            },
            ProjectName = "default",
            DeleteProtection = "off",
            EipBillingConfig = new Volcengine.Alb.Inputs.AlbEipBillingConfigArgs
            {
                Isp = "BGP",
                EipBillingType = "PostPaidByBandwidth",
                Bandwidth = 1,
            },
            Ipv6EipBillingConfig = new Volcengine.Alb.Inputs.AlbIpv6EipBillingConfigArgs
            {
                Isp = "BGP",
                BillingType = "PostPaidByBandwidth",
                Bandwidth = 1,
            },
            Tags = new[]
            {
                new Volcengine.Alb.Inputs.AlbTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                ipv6Gateway,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foo, err := alb.Zones(ctx, nil, nil)
    		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
    		}
    		subnetIpv61, err := vpc.NewSubnet(ctx, "subnetIpv61", &vpc.SubnetArgs{
    			SubnetName:    pulumi.String("acc-test-subnet-ipv6-1"),
    			CidrBlock:     pulumi.String("172.16.1.0/24"),
    			ZoneId:        *pulumi.String(foo.Zones[0].Id),
    			VpcId:         vpcIpv6.ID(),
    			Ipv6CidrBlock: pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		subnetIpv62, err := vpc.NewSubnet(ctx, "subnetIpv62", &vpc.SubnetArgs{
    			SubnetName:    pulumi.String("acc-test-subnet-ipv6-2"),
    			CidrBlock:     pulumi.String("172.16.2.0/24"),
    			ZoneId:        *pulumi.String(foo.Zones[1].Id),
    			VpcId:         vpcIpv6.ID(),
    			Ipv6CidrBlock: pulumi.Int(2),
    		})
    		if err != nil {
    			return err
    		}
    		ipv6Gateway, err := vpc.NewIpv6Gateway(ctx, "ipv6Gateway", &vpc.Ipv6GatewayArgs{
    			VpcId: vpcIpv6.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = alb.NewAlb(ctx, "alb-private", &alb.AlbArgs{
    			AddressIpVersion: pulumi.String("IPv4"),
    			Type:             pulumi.String("private"),
    			LoadBalancerName: pulumi.String("acc-test-alb-private"),
    			Description:      pulumi.String("acc-test"),
    			SubnetIds: pulumi.StringArray{
    				subnetIpv61.ID(),
    				subnetIpv62.ID(),
    			},
    			ProjectName:      pulumi.String("default"),
    			DeleteProtection: pulumi.String("off"),
    			Tags: alb.AlbTagArray{
    				&alb.AlbTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = alb.NewAlb(ctx, "alb-public", &alb.AlbArgs{
    			AddressIpVersion: pulumi.String("DualStack"),
    			Type:             pulumi.String("public"),
    			LoadBalancerName: pulumi.String("acc-test-alb-public"),
    			Description:      pulumi.String("acc-test"),
    			SubnetIds: pulumi.StringArray{
    				subnetIpv61.ID(),
    				subnetIpv62.ID(),
    			},
    			ProjectName:      pulumi.String("default"),
    			DeleteProtection: pulumi.String("off"),
    			EipBillingConfig: &alb.AlbEipBillingConfigArgs{
    				Isp:            pulumi.String("BGP"),
    				EipBillingType: pulumi.String("PostPaidByBandwidth"),
    				Bandwidth:      pulumi.Int(1),
    			},
    			Ipv6EipBillingConfig: &alb.AlbIpv6EipBillingConfigArgs{
    				Isp:         pulumi.String("BGP"),
    				BillingType: pulumi.String("PostPaidByBandwidth"),
    				Bandwidth:   pulumi.Int(1),
    			},
    			Tags: alb.AlbTagArray{
    				&alb.AlbTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    		}, 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.alb.AlbFunctions;
    import com.pulumi.volcengine.alb.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.vpc.Ipv6Gateway;
    import com.pulumi.volcengine.vpc.Ipv6GatewayArgs;
    import com.pulumi.volcengine.alb.Alb;
    import com.pulumi.volcengine.alb.AlbArgs;
    import com.pulumi.volcengine.alb.inputs.AlbTagArgs;
    import com.pulumi.volcengine.alb.inputs.AlbEipBillingConfigArgs;
    import com.pulumi.volcengine.alb.inputs.AlbIpv6EipBillingConfigArgs;
    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 foo = AlbFunctions.Zones();
    
            var vpcIpv6 = new Vpc("vpcIpv6", VpcArgs.builder()        
                .vpcName("acc-test-vpc-ipv6")
                .cidrBlock("172.16.0.0/16")
                .enableIpv6(true)
                .build());
    
            var subnetIpv61 = new Subnet("subnetIpv61", SubnetArgs.builder()        
                .subnetName("acc-test-subnet-ipv6-1")
                .cidrBlock("172.16.1.0/24")
                .zoneId(foo.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .vpcId(vpcIpv6.id())
                .ipv6CidrBlock(1)
                .build());
    
            var subnetIpv62 = new Subnet("subnetIpv62", SubnetArgs.builder()        
                .subnetName("acc-test-subnet-ipv6-2")
                .cidrBlock("172.16.2.0/24")
                .zoneId(foo.applyValue(zonesResult -> zonesResult.zones()[1].id()))
                .vpcId(vpcIpv6.id())
                .ipv6CidrBlock(2)
                .build());
    
            var ipv6Gateway = new Ipv6Gateway("ipv6Gateway", Ipv6GatewayArgs.builder()        
                .vpcId(vpcIpv6.id())
                .build());
    
            var alb_private = new Alb("alb-private", AlbArgs.builder()        
                .addressIpVersion("IPv4")
                .type("private")
                .loadBalancerName("acc-test-alb-private")
                .description("acc-test")
                .subnetIds(            
                    subnetIpv61.id(),
                    subnetIpv62.id())
                .projectName("default")
                .deleteProtection("off")
                .tags(AlbTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build());
    
            var alb_public = new Alb("alb-public", AlbArgs.builder()        
                .addressIpVersion("DualStack")
                .type("public")
                .loadBalancerName("acc-test-alb-public")
                .description("acc-test")
                .subnetIds(            
                    subnetIpv61.id(),
                    subnetIpv62.id())
                .projectName("default")
                .deleteProtection("off")
                .eipBillingConfig(AlbEipBillingConfigArgs.builder()
                    .isp("BGP")
                    .eipBillingType("PostPaidByBandwidth")
                    .bandwidth(1)
                    .build())
                .ipv6EipBillingConfig(AlbIpv6EipBillingConfigArgs.builder()
                    .isp("BGP")
                    .billingType("PostPaidByBandwidth")
                    .bandwidth(1)
                    .build())
                .tags(AlbTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(ipv6Gateway)
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.alb.zones()
    vpc_ipv6 = volcengine.vpc.Vpc("vpcIpv6",
        vpc_name="acc-test-vpc-ipv6",
        cidr_block="172.16.0.0/16",
        enable_ipv6=True)
    subnet_ipv61 = volcengine.vpc.Subnet("subnetIpv61",
        subnet_name="acc-test-subnet-ipv6-1",
        cidr_block="172.16.1.0/24",
        zone_id=foo.zones[0].id,
        vpc_id=vpc_ipv6.id,
        ipv6_cidr_block=1)
    subnet_ipv62 = volcengine.vpc.Subnet("subnetIpv62",
        subnet_name="acc-test-subnet-ipv6-2",
        cidr_block="172.16.2.0/24",
        zone_id=foo.zones[1].id,
        vpc_id=vpc_ipv6.id,
        ipv6_cidr_block=2)
    ipv6_gateway = volcengine.vpc.Ipv6Gateway("ipv6Gateway", vpc_id=vpc_ipv6.id)
    alb_private = volcengine.alb.Alb("alb-private",
        address_ip_version="IPv4",
        type="private",
        load_balancer_name="acc-test-alb-private",
        description="acc-test",
        subnet_ids=[
            subnet_ipv61.id,
            subnet_ipv62.id,
        ],
        project_name="default",
        delete_protection="off",
        tags=[volcengine.alb.AlbTagArgs(
            key="k1",
            value="v1",
        )])
    alb_public = volcengine.alb.Alb("alb-public",
        address_ip_version="DualStack",
        type="public",
        load_balancer_name="acc-test-alb-public",
        description="acc-test",
        subnet_ids=[
            subnet_ipv61.id,
            subnet_ipv62.id,
        ],
        project_name="default",
        delete_protection="off",
        eip_billing_config=volcengine.alb.AlbEipBillingConfigArgs(
            isp="BGP",
            eip_billing_type="PostPaidByBandwidth",
            bandwidth=1,
        ),
        ipv6_eip_billing_config=volcengine.alb.AlbIpv6EipBillingConfigArgs(
            isp="BGP",
            billing_type="PostPaidByBandwidth",
            bandwidth=1,
        ),
        tags=[volcengine.alb.AlbTagArgs(
            key="k1",
            value="v1",
        )],
        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 foo = volcengine.alb.Zones({});
    const vpcIpv6 = new volcengine.vpc.Vpc("vpcIpv6", {
        vpcName: "acc-test-vpc-ipv6",
        cidrBlock: "172.16.0.0/16",
        enableIpv6: true,
    });
    const subnetIpv61 = new volcengine.vpc.Subnet("subnetIpv61", {
        subnetName: "acc-test-subnet-ipv6-1",
        cidrBlock: "172.16.1.0/24",
        zoneId: foo.then(foo => foo.zones?.[0]?.id),
        vpcId: vpcIpv6.id,
        ipv6CidrBlock: 1,
    });
    const subnetIpv62 = new volcengine.vpc.Subnet("subnetIpv62", {
        subnetName: "acc-test-subnet-ipv6-2",
        cidrBlock: "172.16.2.0/24",
        zoneId: foo.then(foo => foo.zones?.[1]?.id),
        vpcId: vpcIpv6.id,
        ipv6CidrBlock: 2,
    });
    const ipv6Gateway = new volcengine.vpc.Ipv6Gateway("ipv6Gateway", {vpcId: vpcIpv6.id});
    const alb_private = new volcengine.alb.Alb("alb-private", {
        addressIpVersion: "IPv4",
        type: "private",
        loadBalancerName: "acc-test-alb-private",
        description: "acc-test",
        subnetIds: [
            subnetIpv61.id,
            subnetIpv62.id,
        ],
        projectName: "default",
        deleteProtection: "off",
        tags: [{
            key: "k1",
            value: "v1",
        }],
    });
    const alb_public = new volcengine.alb.Alb("alb-public", {
        addressIpVersion: "DualStack",
        type: "public",
        loadBalancerName: "acc-test-alb-public",
        description: "acc-test",
        subnetIds: [
            subnetIpv61.id,
            subnetIpv62.id,
        ],
        projectName: "default",
        deleteProtection: "off",
        eipBillingConfig: {
            isp: "BGP",
            eipBillingType: "PostPaidByBandwidth",
            bandwidth: 1,
        },
        ipv6EipBillingConfig: {
            isp: "BGP",
            billingType: "PostPaidByBandwidth",
            bandwidth: 1,
        },
        tags: [{
            key: "k1",
            value: "v1",
        }],
    }, {
        dependsOn: [ipv6Gateway],
    });
    
    resources:
      vpcIpv6:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-vpc-ipv6
          cidrBlock: 172.16.0.0/16
          enableIpv6: true
      subnetIpv61:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet-ipv6-1
          cidrBlock: 172.16.1.0/24
          zoneId: ${foo.zones[0].id}
          vpcId: ${vpcIpv6.id}
          ipv6CidrBlock: 1
      subnetIpv62:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet-ipv6-2
          cidrBlock: 172.16.2.0/24
          zoneId: ${foo.zones[1].id}
          vpcId: ${vpcIpv6.id}
          ipv6CidrBlock: 2
      ipv6Gateway:
        type: volcengine:vpc:Ipv6Gateway
        properties:
          vpcId: ${vpcIpv6.id}
      alb-private:
        type: volcengine:alb:Alb
        properties:
          addressIpVersion: IPv4
          type: private
          loadBalancerName: acc-test-alb-private
          description: acc-test
          subnetIds:
            - ${subnetIpv61.id}
            - ${subnetIpv62.id}
          projectName: default
          deleteProtection: off
          tags:
            - key: k1
              value: v1
      alb-public:
        type: volcengine:alb:Alb
        properties:
          addressIpVersion: DualStack
          type: public
          loadBalancerName: acc-test-alb-public
          description: acc-test
          subnetIds:
            - ${subnetIpv61.id}
            - ${subnetIpv62.id}
          projectName: default
          deleteProtection: off
          eipBillingConfig:
            isp: BGP
            eipBillingType: PostPaidByBandwidth
            bandwidth: 1
          ipv6EipBillingConfig:
            isp: BGP
            billingType: PostPaidByBandwidth
            bandwidth: 1
          tags:
            - key: k1
              value: v1
        options:
          dependson:
            - ${ipv6Gateway}
    variables:
      foo:
        fn::invoke:
          Function: volcengine:alb:Zones
          Arguments: {}
    

    Create Alb Resource

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

    Constructor syntax

    new Alb(name: string, args: AlbArgs, opts?: CustomResourceOptions);
    @overload
    def Alb(resource_name: str,
            args: AlbArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Alb(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            address_ip_version: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            eip_billing_config: Optional[AlbEipBillingConfigArgs] = None,
            ipv6_eip_billing_config: Optional[AlbIpv6EipBillingConfigArgs] = None,
            load_balancer_name: Optional[str] = None,
            project_name: Optional[str] = None,
            tags: Optional[Sequence[AlbTagArgs]] = None)
    func NewAlb(ctx *Context, name string, args AlbArgs, opts ...ResourceOption) (*Alb, error)
    public Alb(string name, AlbArgs args, CustomResourceOptions? opts = null)
    public Alb(String name, AlbArgs args)
    public Alb(String name, AlbArgs args, CustomResourceOptions options)
    
    type: volcengine:alb:Alb
    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 AlbArgs
    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 AlbArgs
    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 AlbArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlbArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlbArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var albResource = new Volcengine.Alb.Alb("albResource", new()
    {
        SubnetIds = new[]
        {
            "string",
        },
        Type = "string",
        AddressIpVersion = "string",
        DeleteProtection = "string",
        Description = "string",
        EipBillingConfig = new Volcengine.Alb.Inputs.AlbEipBillingConfigArgs
        {
            Bandwidth = 0,
            EipBillingType = "string",
            Isp = "string",
        },
        Ipv6EipBillingConfig = new Volcengine.Alb.Inputs.AlbIpv6EipBillingConfigArgs
        {
            Bandwidth = 0,
            BillingType = "string",
            Isp = "string",
        },
        LoadBalancerName = "string",
        ProjectName = "string",
        Tags = new[]
        {
            new Volcengine.Alb.Inputs.AlbTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := alb.NewAlb(ctx, "albResource", &alb.AlbArgs{
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Type:             pulumi.String("string"),
    	AddressIpVersion: pulumi.String("string"),
    	DeleteProtection: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	EipBillingConfig: &alb.AlbEipBillingConfigArgs{
    		Bandwidth:      pulumi.Int(0),
    		EipBillingType: pulumi.String("string"),
    		Isp:            pulumi.String("string"),
    	},
    	Ipv6EipBillingConfig: &alb.AlbIpv6EipBillingConfigArgs{
    		Bandwidth:   pulumi.Int(0),
    		BillingType: pulumi.String("string"),
    		Isp:         pulumi.String("string"),
    	},
    	LoadBalancerName: pulumi.String("string"),
    	ProjectName:      pulumi.String("string"),
    	Tags: alb.AlbTagArray{
    		&alb.AlbTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var albResource = new Alb("albResource", AlbArgs.builder()        
        .subnetIds("string")
        .type("string")
        .addressIpVersion("string")
        .deleteProtection("string")
        .description("string")
        .eipBillingConfig(AlbEipBillingConfigArgs.builder()
            .bandwidth(0)
            .eipBillingType("string")
            .isp("string")
            .build())
        .ipv6EipBillingConfig(AlbIpv6EipBillingConfigArgs.builder()
            .bandwidth(0)
            .billingType("string")
            .isp("string")
            .build())
        .loadBalancerName("string")
        .projectName("string")
        .tags(AlbTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    alb_resource = volcengine.alb.Alb("albResource",
        subnet_ids=["string"],
        type="string",
        address_ip_version="string",
        delete_protection="string",
        description="string",
        eip_billing_config=volcengine.alb.AlbEipBillingConfigArgs(
            bandwidth=0,
            eip_billing_type="string",
            isp="string",
        ),
        ipv6_eip_billing_config=volcengine.alb.AlbIpv6EipBillingConfigArgs(
            bandwidth=0,
            billing_type="string",
            isp="string",
        ),
        load_balancer_name="string",
        project_name="string",
        tags=[volcengine.alb.AlbTagArgs(
            key="string",
            value="string",
        )])
    
    const albResource = new volcengine.alb.Alb("albResource", {
        subnetIds: ["string"],
        type: "string",
        addressIpVersion: "string",
        deleteProtection: "string",
        description: "string",
        eipBillingConfig: {
            bandwidth: 0,
            eipBillingType: "string",
            isp: "string",
        },
        ipv6EipBillingConfig: {
            bandwidth: 0,
            billingType: "string",
            isp: "string",
        },
        loadBalancerName: "string",
        projectName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcengine:alb:Alb
    properties:
        addressIpVersion: string
        deleteProtection: string
        description: string
        eipBillingConfig:
            bandwidth: 0
            eipBillingType: string
            isp: string
        ipv6EipBillingConfig:
            bandwidth: 0
            billingType: string
            isp: string
        loadBalancerName: string
        projectName: string
        subnetIds:
            - string
        tags:
            - key: string
              value: string
        type: string
    

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

    SubnetIds List<string>
    The id of the Subnet.
    Type string
    The type of the Alb. Valid values: public, private.
    AddressIpVersion string
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    DeleteProtection string
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    Description string
    The description of the Alb.
    EipBillingConfig Volcengine.AlbEipBillingConfig
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    Ipv6EipBillingConfig Volcengine.AlbIpv6EipBillingConfig
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    LoadBalancerName string
    The name of the Alb.
    ProjectName string
    The ProjectName of the Alb.
    Tags List<Volcengine.AlbTag>
    Tags.
    SubnetIds []string
    The id of the Subnet.
    Type string
    The type of the Alb. Valid values: public, private.
    AddressIpVersion string
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    DeleteProtection string
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    Description string
    The description of the Alb.
    EipBillingConfig AlbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    Ipv6EipBillingConfig AlbIpv6EipBillingConfigArgs
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    LoadBalancerName string
    The name of the Alb.
    ProjectName string
    The ProjectName of the Alb.
    Tags []AlbTagArgs
    Tags.
    subnetIds List<String>
    The id of the Subnet.
    type String
    The type of the Alb. Valid values: public, private.
    addressIpVersion String
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    deleteProtection String
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description String
    The description of the Alb.
    eipBillingConfig AlbEipBillingConfig
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6EipBillingConfig AlbIpv6EipBillingConfig
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    loadBalancerName String
    The name of the Alb.
    projectName String
    The ProjectName of the Alb.
    tags List<AlbTag>
    Tags.
    subnetIds string[]
    The id of the Subnet.
    type string
    The type of the Alb. Valid values: public, private.
    addressIpVersion string
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    deleteProtection string
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description string
    The description of the Alb.
    eipBillingConfig AlbEipBillingConfig
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6EipBillingConfig AlbIpv6EipBillingConfig
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    loadBalancerName string
    The name of the Alb.
    projectName string
    The ProjectName of the Alb.
    tags AlbTag[]
    Tags.
    subnet_ids Sequence[str]
    The id of the Subnet.
    type str
    The type of the Alb. Valid values: public, private.
    address_ip_version str
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    delete_protection str
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description str
    The description of the Alb.
    eip_billing_config AlbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6_eip_billing_config AlbIpv6EipBillingConfigArgs
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    load_balancer_name str
    The name of the Alb.
    project_name str
    The ProjectName of the Alb.
    tags Sequence[AlbTagArgs]
    Tags.
    subnetIds List<String>
    The id of the Subnet.
    type String
    The type of the Alb. Valid values: public, private.
    addressIpVersion String
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    deleteProtection String
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description String
    The description of the Alb.
    eipBillingConfig Property Map
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6EipBillingConfig Property Map
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    loadBalancerName String
    The name of the Alb.
    projectName String
    The ProjectName of the Alb.
    tags List<Property Map>
    Tags.

    Outputs

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

    DnsName string
    The DNS name.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocalAddresses List<string>
    The local addresses of the Alb.
    Status string
    The status of the Alb.
    VpcId string
    The vpc id of the Alb.
    ZoneMappings List<Volcengine.AlbZoneMapping>
    Configuration information of the Alb instance in different Availability Zones.
    DnsName string
    The DNS name.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocalAddresses []string
    The local addresses of the Alb.
    Status string
    The status of the Alb.
    VpcId string
    The vpc id of the Alb.
    ZoneMappings []AlbZoneMapping
    Configuration information of the Alb instance in different Availability Zones.
    dnsName String
    The DNS name.
    id String
    The provider-assigned unique ID for this managed resource.
    localAddresses List<String>
    The local addresses of the Alb.
    status String
    The status of the Alb.
    vpcId String
    The vpc id of the Alb.
    zoneMappings List<AlbZoneMapping>
    Configuration information of the Alb instance in different Availability Zones.
    dnsName string
    The DNS name.
    id string
    The provider-assigned unique ID for this managed resource.
    localAddresses string[]
    The local addresses of the Alb.
    status string
    The status of the Alb.
    vpcId string
    The vpc id of the Alb.
    zoneMappings AlbZoneMapping[]
    Configuration information of the Alb instance in different Availability Zones.
    dns_name str
    The DNS name.
    id str
    The provider-assigned unique ID for this managed resource.
    local_addresses Sequence[str]
    The local addresses of the Alb.
    status str
    The status of the Alb.
    vpc_id str
    The vpc id of the Alb.
    zone_mappings Sequence[AlbZoneMapping]
    Configuration information of the Alb instance in different Availability Zones.
    dnsName String
    The DNS name.
    id String
    The provider-assigned unique ID for this managed resource.
    localAddresses List<String>
    The local addresses of the Alb.
    status String
    The status of the Alb.
    vpcId String
    The vpc id of the Alb.
    zoneMappings List<Property Map>
    Configuration information of the Alb instance in different Availability Zones.

    Look up Existing Alb Resource

    Get an existing Alb 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?: AlbState, opts?: CustomResourceOptions): Alb
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_ip_version: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            dns_name: Optional[str] = None,
            eip_billing_config: Optional[AlbEipBillingConfigArgs] = None,
            ipv6_eip_billing_config: Optional[AlbIpv6EipBillingConfigArgs] = None,
            load_balancer_name: Optional[str] = None,
            local_addresses: Optional[Sequence[str]] = None,
            project_name: Optional[str] = None,
            status: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[AlbTagArgs]] = None,
            type: Optional[str] = None,
            vpc_id: Optional[str] = None,
            zone_mappings: Optional[Sequence[AlbZoneMappingArgs]] = None) -> Alb
    func GetAlb(ctx *Context, name string, id IDInput, state *AlbState, opts ...ResourceOption) (*Alb, error)
    public static Alb Get(string name, Input<string> id, AlbState? state, CustomResourceOptions? opts = null)
    public static Alb get(String name, Output<String> id, AlbState 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 Alb. Valid values: IPv4, DualStack. Default is ipv4.
    DeleteProtection string
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    Description string
    The description of the Alb.
    DnsName string
    The DNS name.
    EipBillingConfig Volcengine.AlbEipBillingConfig
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    Ipv6EipBillingConfig Volcengine.AlbIpv6EipBillingConfig
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    LoadBalancerName string
    The name of the Alb.
    LocalAddresses List<string>
    The local addresses of the Alb.
    ProjectName string
    The ProjectName of the Alb.
    Status string
    The status of the Alb.
    SubnetIds List<string>
    The id of the Subnet.
    Tags List<Volcengine.AlbTag>
    Tags.
    Type string
    The type of the Alb. Valid values: public, private.
    VpcId string
    The vpc id of the Alb.
    ZoneMappings List<Volcengine.AlbZoneMapping>
    Configuration information of the Alb instance in different Availability Zones.
    AddressIpVersion string
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    DeleteProtection string
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    Description string
    The description of the Alb.
    DnsName string
    The DNS name.
    EipBillingConfig AlbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    Ipv6EipBillingConfig AlbIpv6EipBillingConfigArgs
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    LoadBalancerName string
    The name of the Alb.
    LocalAddresses []string
    The local addresses of the Alb.
    ProjectName string
    The ProjectName of the Alb.
    Status string
    The status of the Alb.
    SubnetIds []string
    The id of the Subnet.
    Tags []AlbTagArgs
    Tags.
    Type string
    The type of the Alb. Valid values: public, private.
    VpcId string
    The vpc id of the Alb.
    ZoneMappings []AlbZoneMappingArgs
    Configuration information of the Alb instance in different Availability Zones.
    addressIpVersion String
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    deleteProtection String
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description String
    The description of the Alb.
    dnsName String
    The DNS name.
    eipBillingConfig AlbEipBillingConfig
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6EipBillingConfig AlbIpv6EipBillingConfig
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    loadBalancerName String
    The name of the Alb.
    localAddresses List<String>
    The local addresses of the Alb.
    projectName String
    The ProjectName of the Alb.
    status String
    The status of the Alb.
    subnetIds List<String>
    The id of the Subnet.
    tags List<AlbTag>
    Tags.
    type String
    The type of the Alb. Valid values: public, private.
    vpcId String
    The vpc id of the Alb.
    zoneMappings List<AlbZoneMapping>
    Configuration information of the Alb instance in different Availability Zones.
    addressIpVersion string
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    deleteProtection string
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description string
    The description of the Alb.
    dnsName string
    The DNS name.
    eipBillingConfig AlbEipBillingConfig
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6EipBillingConfig AlbIpv6EipBillingConfig
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    loadBalancerName string
    The name of the Alb.
    localAddresses string[]
    The local addresses of the Alb.
    projectName string
    The ProjectName of the Alb.
    status string
    The status of the Alb.
    subnetIds string[]
    The id of the Subnet.
    tags AlbTag[]
    Tags.
    type string
    The type of the Alb. Valid values: public, private.
    vpcId string
    The vpc id of the Alb.
    zoneMappings AlbZoneMapping[]
    Configuration information of the Alb instance in different Availability Zones.
    address_ip_version str
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    delete_protection str
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description str
    The description of the Alb.
    dns_name str
    The DNS name.
    eip_billing_config AlbEipBillingConfigArgs
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6_eip_billing_config AlbIpv6EipBillingConfigArgs
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    load_balancer_name str
    The name of the Alb.
    local_addresses Sequence[str]
    The local addresses of the Alb.
    project_name str
    The ProjectName of the Alb.
    status str
    The status of the Alb.
    subnet_ids Sequence[str]
    The id of the Subnet.
    tags Sequence[AlbTagArgs]
    Tags.
    type str
    The type of the Alb. Valid values: public, private.
    vpc_id str
    The vpc id of the Alb.
    zone_mappings Sequence[AlbZoneMappingArgs]
    Configuration information of the Alb instance in different Availability Zones.
    addressIpVersion String
    The address ip version of the Alb. Valid values: IPv4, DualStack. Default is ipv4.
    deleteProtection String
    Whether to enable the delete protection function of the Alb. Valid values: on, off. Default is off.
    description String
    The description of the Alb.
    dnsName String
    The DNS name.
    eipBillingConfig Property Map
    The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.eip.Address and volcengine.eip.Associate to achieve public network access function.
    ipv6EipBillingConfig Property Map
    The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is public.When the type of the Alb is private, suggest using a combination of resource volcengine.vpc.Ipv6Gateway and volcengine.vpc.Ipv6AddressBandwidth to achieve ipv6 public network access function.
    loadBalancerName String
    The name of the Alb.
    localAddresses List<String>
    The local addresses of the Alb.
    projectName String
    The ProjectName of the Alb.
    status String
    The status of the Alb.
    subnetIds List<String>
    The id of the Subnet.
    tags List<Property Map>
    Tags.
    type String
    The type of the Alb. Valid values: public, private.
    vpcId String
    The vpc id of the Alb.
    zoneMappings List<Property Map>
    Configuration information of the Alb instance in different Availability Zones.

    Supporting Types

    AlbEipBillingConfig, AlbEipBillingConfigArgs

    Bandwidth int
    The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
    EipBillingType string
    The billing type of the EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    Isp string
    The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be BGP.
    Bandwidth int
    The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
    EipBillingType string
    The billing type of the EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    Isp string
    The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be BGP.
    bandwidth Integer
    The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
    eipBillingType String
    The billing type of the EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp String
    The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be BGP.
    bandwidth number
    The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
    eipBillingType string
    The billing type of the EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp string
    The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be BGP.
    bandwidth int
    The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
    eip_billing_type str
    The billing type of the EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp str
    The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be BGP.
    bandwidth Number
    The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
    eipBillingType String
    The billing type of the EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp String
    The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be BGP.

    AlbIpv6EipBillingConfig, AlbIpv6EipBillingConfigArgs

    Bandwidth int
    The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
    BillingType string
    The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    Isp string

    The ISP of the EIP which automatically associated to the Alb, the value can be BGP.

    The ipv6_eip_billing_config object supports the following:

    Bandwidth int
    The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
    BillingType string
    The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    Isp string

    The ISP of the EIP which automatically associated to the Alb, the value can be BGP.

    The ipv6_eip_billing_config object supports the following:

    bandwidth Integer
    The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
    billingType String
    The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp String

    The ISP of the EIP which automatically associated to the Alb, the value can be BGP.

    The ipv6_eip_billing_config object supports the following:

    bandwidth number
    The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
    billingType string
    The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp string

    The ISP of the EIP which automatically associated to the Alb, the value can be BGP.

    The ipv6_eip_billing_config object supports the following:

    bandwidth int
    The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
    billing_type str
    The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp str

    The ISP of the EIP which automatically associated to the Alb, the value can be BGP.

    The ipv6_eip_billing_config object supports the following:

    bandwidth Number
    The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
    billingType String
    The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    isp String

    The ISP of the EIP which automatically associated to the Alb, the value can be BGP.

    The ipv6_eip_billing_config object supports the following:

    AlbTag, AlbTagArgs

    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.

    AlbZoneMapping, AlbZoneMappingArgs

    LoadBalancerAddresses List<Volcengine.AlbZoneMappingLoadBalancerAddress>
    The IP address information of the Alb in this availability zone.
    SubnetId string
    The subnet id of the Alb in this availability zone.
    ZoneId string
    The availability zone id of the Alb.
    LoadBalancerAddresses []AlbZoneMappingLoadBalancerAddress
    The IP address information of the Alb in this availability zone.
    SubnetId string
    The subnet id of the Alb in this availability zone.
    ZoneId string
    The availability zone id of the Alb.
    loadBalancerAddresses List<AlbZoneMappingLoadBalancerAddress>
    The IP address information of the Alb in this availability zone.
    subnetId String
    The subnet id of the Alb in this availability zone.
    zoneId String
    The availability zone id of the Alb.
    loadBalancerAddresses AlbZoneMappingLoadBalancerAddress[]
    The IP address information of the Alb in this availability zone.
    subnetId string
    The subnet id of the Alb in this availability zone.
    zoneId string
    The availability zone id of the Alb.
    load_balancer_addresses Sequence[AlbZoneMappingLoadBalancerAddress]
    The IP address information of the Alb in this availability zone.
    subnet_id str
    The subnet id of the Alb in this availability zone.
    zone_id str
    The availability zone id of the Alb.
    loadBalancerAddresses List<Property Map>
    The IP address information of the Alb in this availability zone.
    subnetId String
    The subnet id of the Alb in this availability zone.
    zoneId String
    The availability zone id of the Alb.

    AlbZoneMappingLoadBalancerAddress, AlbZoneMappingLoadBalancerAddressArgs

    EipAddress string
    The Eip address of the Alb in this availability zone.
    EipId string
    The Eip id of alb instance in this availability zone.
    EniAddress string
    The Eni address of the Alb in this availability zone.
    EniId string
    The Eni id of the Alb in this availability zone.
    EniIpv6Address string
    The Eni Ipv6 address of the Alb in this availability zone.
    Ipv6EipId string
    The Ipv6 Eip id of alb instance in this availability zone.
    EipAddress string
    The Eip address of the Alb in this availability zone.
    EipId string
    The Eip id of alb instance in this availability zone.
    EniAddress string
    The Eni address of the Alb in this availability zone.
    EniId string
    The Eni id of the Alb in this availability zone.
    EniIpv6Address string
    The Eni Ipv6 address of the Alb in this availability zone.
    Ipv6EipId string
    The Ipv6 Eip id of alb instance in this availability zone.
    eipAddress String
    The Eip address of the Alb in this availability zone.
    eipId String
    The Eip id of alb instance in this availability zone.
    eniAddress String
    The Eni address of the Alb in this availability zone.
    eniId String
    The Eni id of the Alb in this availability zone.
    eniIpv6Address String
    The Eni Ipv6 address of the Alb in this availability zone.
    ipv6EipId String
    The Ipv6 Eip id of alb instance in this availability zone.
    eipAddress string
    The Eip address of the Alb in this availability zone.
    eipId string
    The Eip id of alb instance in this availability zone.
    eniAddress string
    The Eni address of the Alb in this availability zone.
    eniId string
    The Eni id of the Alb in this availability zone.
    eniIpv6Address string
    The Eni Ipv6 address of the Alb in this availability zone.
    ipv6EipId string
    The Ipv6 Eip id of alb instance in this availability zone.
    eip_address str
    The Eip address of the Alb in this availability zone.
    eip_id str
    The Eip id of alb instance in this availability zone.
    eni_address str
    The Eni address of the Alb in this availability zone.
    eni_id str
    The Eni id of the Alb in this availability zone.
    eni_ipv6_address str
    The Eni Ipv6 address of the Alb in this availability zone.
    ipv6_eip_id str
    The Ipv6 Eip id of alb instance in this availability zone.
    eipAddress String
    The Eip address of the Alb in this availability zone.
    eipId String
    The Eip id of alb instance in this availability zone.
    eniAddress String
    The Eni address of the Alb in this availability zone.
    eniId String
    The Eni id of the Alb in this availability zone.
    eniIpv6Address String
    The Eni Ipv6 address of the Alb in this availability zone.
    ipv6EipId String
    The Ipv6 Eip id of alb instance in this availability zone.

    Import

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

     $ pulumi import volcengine:alb/alb:Alb default resource_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.23 published on Wednesday, Jan 3, 2024 by Volcengine