1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. EniIpv6Address
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.EniIpv6Address

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a vpc eni ipv6 address

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
    const subnet = new tencentcloud.Subnet("subnet", {
        availabilityZone: "ap-guangzhou-6",
        vpcId: vpc.vpcId,
        cidrBlock: "10.0.0.0/16",
        isMulticast: false,
    });
    const exampleVpcIpv6CidrBlock = new tencentcloud.VpcIpv6CidrBlock("exampleVpcIpv6CidrBlock", {vpcId: vpc.vpcId});
    const exampleVpcIpv6SubnetCidrBlock = new tencentcloud.VpcIpv6SubnetCidrBlock("exampleVpcIpv6SubnetCidrBlock", {
        vpcId: vpc.vpcId,
        ipv6SubnetCidrBlocks: {
            subnetId: subnet.subnetId,
            ipv6CidrBlock: "2402:4e00:1015:7500::/64",
        },
    });
    const exampleEni = new tencentcloud.Eni("exampleEni", {
        vpcId: vpc.vpcId,
        subnetId: subnet.subnetId,
        description: "eni description.",
        ipv4Count: 1,
    }, {
        dependsOn: [
            exampleVpcIpv6CidrBlock,
            exampleVpcIpv6SubnetCidrBlock,
        ],
    });
    const exampleEniIpv6Address = new tencentcloud.EniIpv6Address("exampleEniIpv6Address", {
        networkInterfaceId: exampleEni.eniId,
        ipv6AddressCount: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
    subnet = tencentcloud.Subnet("subnet",
        availability_zone="ap-guangzhou-6",
        vpc_id=vpc.vpc_id,
        cidr_block="10.0.0.0/16",
        is_multicast=False)
    example_vpc_ipv6_cidr_block = tencentcloud.VpcIpv6CidrBlock("exampleVpcIpv6CidrBlock", vpc_id=vpc.vpc_id)
    example_vpc_ipv6_subnet_cidr_block = tencentcloud.VpcIpv6SubnetCidrBlock("exampleVpcIpv6SubnetCidrBlock",
        vpc_id=vpc.vpc_id,
        ipv6_subnet_cidr_blocks={
            "subnet_id": subnet.subnet_id,
            "ipv6_cidr_block": "2402:4e00:1015:7500::/64",
        })
    example_eni = tencentcloud.Eni("exampleEni",
        vpc_id=vpc.vpc_id,
        subnet_id=subnet.subnet_id,
        description="eni description.",
        ipv4_count=1,
        opts = pulumi.ResourceOptions(depends_on=[
                example_vpc_ipv6_cidr_block,
                example_vpc_ipv6_subnet_cidr_block,
            ]))
    example_eni_ipv6_address = tencentcloud.EniIpv6Address("exampleEniIpv6Address",
        network_interface_id=example_eni.eni_id,
        ipv6_address_count=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
    			CidrBlock: pulumi.String("10.0.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			VpcId:            vpc.VpcId,
    			CidrBlock:        pulumi.String("10.0.0.0/16"),
    			IsMulticast:      pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVpcIpv6CidrBlock, err := tencentcloud.NewVpcIpv6CidrBlock(ctx, "exampleVpcIpv6CidrBlock", &tencentcloud.VpcIpv6CidrBlockArgs{
    			VpcId: vpc.VpcId,
    		})
    		if err != nil {
    			return err
    		}
    		exampleVpcIpv6SubnetCidrBlock, err := tencentcloud.NewVpcIpv6SubnetCidrBlock(ctx, "exampleVpcIpv6SubnetCidrBlock", &tencentcloud.VpcIpv6SubnetCidrBlockArgs{
    			VpcId: vpc.VpcId,
    			Ipv6SubnetCidrBlocks: &tencentcloud.VpcIpv6SubnetCidrBlockIpv6SubnetCidrBlocksArgs{
    				SubnetId:      subnet.SubnetId,
    				Ipv6CidrBlock: pulumi.String("2402:4e00:1015:7500::/64"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleEni, err := tencentcloud.NewEni(ctx, "exampleEni", &tencentcloud.EniArgs{
    			VpcId:       vpc.VpcId,
    			SubnetId:    subnet.SubnetId,
    			Description: pulumi.String("eni description."),
    			Ipv4Count:   pulumi.Float64(1),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			exampleVpcIpv6CidrBlock,
    			exampleVpcIpv6SubnetCidrBlock,
    		}))
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewEniIpv6Address(ctx, "exampleEniIpv6Address", &tencentcloud.EniIpv6AddressArgs{
    			NetworkInterfaceId: exampleEni.EniId,
    			Ipv6AddressCount:   pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var vpc = new Tencentcloud.Vpc("vpc", new()
        {
            CidrBlock = "10.0.0.0/16",
        });
    
        var subnet = new Tencentcloud.Subnet("subnet", new()
        {
            AvailabilityZone = "ap-guangzhou-6",
            VpcId = vpc.VpcId,
            CidrBlock = "10.0.0.0/16",
            IsMulticast = false,
        });
    
        var exampleVpcIpv6CidrBlock = new Tencentcloud.VpcIpv6CidrBlock("exampleVpcIpv6CidrBlock", new()
        {
            VpcId = vpc.VpcId,
        });
    
        var exampleVpcIpv6SubnetCidrBlock = new Tencentcloud.VpcIpv6SubnetCidrBlock("exampleVpcIpv6SubnetCidrBlock", new()
        {
            VpcId = vpc.VpcId,
            Ipv6SubnetCidrBlocks = new Tencentcloud.Inputs.VpcIpv6SubnetCidrBlockIpv6SubnetCidrBlocksArgs
            {
                SubnetId = subnet.SubnetId,
                Ipv6CidrBlock = "2402:4e00:1015:7500::/64",
            },
        });
    
        var exampleEni = new Tencentcloud.Eni("exampleEni", new()
        {
            VpcId = vpc.VpcId,
            SubnetId = subnet.SubnetId,
            Description = "eni description.",
            Ipv4Count = 1,
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                exampleVpcIpv6CidrBlock,
                exampleVpcIpv6SubnetCidrBlock,
            },
        });
    
        var exampleEniIpv6Address = new Tencentcloud.EniIpv6Address("exampleEniIpv6Address", new()
        {
            NetworkInterfaceId = exampleEni.EniId,
            Ipv6AddressCount = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Vpc;
    import com.pulumi.tencentcloud.VpcArgs;
    import com.pulumi.tencentcloud.Subnet;
    import com.pulumi.tencentcloud.SubnetArgs;
    import com.pulumi.tencentcloud.VpcIpv6CidrBlock;
    import com.pulumi.tencentcloud.VpcIpv6CidrBlockArgs;
    import com.pulumi.tencentcloud.VpcIpv6SubnetCidrBlock;
    import com.pulumi.tencentcloud.VpcIpv6SubnetCidrBlockArgs;
    import com.pulumi.tencentcloud.inputs.VpcIpv6SubnetCidrBlockIpv6SubnetCidrBlocksArgs;
    import com.pulumi.tencentcloud.Eni;
    import com.pulumi.tencentcloud.EniArgs;
    import com.pulumi.tencentcloud.EniIpv6Address;
    import com.pulumi.tencentcloud.EniIpv6AddressArgs;
    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) {
            var vpc = new Vpc("vpc", VpcArgs.builder()
                .cidrBlock("10.0.0.0/16")
                .build());
    
            var subnet = new Subnet("subnet", SubnetArgs.builder()
                .availabilityZone("ap-guangzhou-6")
                .vpcId(vpc.vpcId())
                .cidrBlock("10.0.0.0/16")
                .isMulticast(false)
                .build());
    
            var exampleVpcIpv6CidrBlock = new VpcIpv6CidrBlock("exampleVpcIpv6CidrBlock", VpcIpv6CidrBlockArgs.builder()
                .vpcId(vpc.vpcId())
                .build());
    
            var exampleVpcIpv6SubnetCidrBlock = new VpcIpv6SubnetCidrBlock("exampleVpcIpv6SubnetCidrBlock", VpcIpv6SubnetCidrBlockArgs.builder()
                .vpcId(vpc.vpcId())
                .ipv6SubnetCidrBlocks(VpcIpv6SubnetCidrBlockIpv6SubnetCidrBlocksArgs.builder()
                    .subnetId(subnet.subnetId())
                    .ipv6CidrBlock("2402:4e00:1015:7500::/64")
                    .build())
                .build());
    
            var exampleEni = new Eni("exampleEni", EniArgs.builder()
                .vpcId(vpc.vpcId())
                .subnetId(subnet.subnetId())
                .description("eni description.")
                .ipv4Count(1)
                .build(), CustomResourceOptions.builder()
                    .dependsOn(                
                        exampleVpcIpv6CidrBlock,
                        exampleVpcIpv6SubnetCidrBlock)
                    .build());
    
            var exampleEniIpv6Address = new EniIpv6Address("exampleEniIpv6Address", EniIpv6AddressArgs.builder()
                .networkInterfaceId(exampleEni.eniId())
                .ipv6AddressCount(1)
                .build());
    
        }
    }
    
    resources:
      vpc:
        type: tencentcloud:Vpc
        properties:
          cidrBlock: 10.0.0.0/16
      subnet:
        type: tencentcloud:Subnet
        properties:
          availabilityZone: ap-guangzhou-6
          vpcId: ${vpc.vpcId}
          cidrBlock: 10.0.0.0/16
          isMulticast: false
      exampleVpcIpv6CidrBlock:
        type: tencentcloud:VpcIpv6CidrBlock
        properties:
          vpcId: ${vpc.vpcId}
      exampleVpcIpv6SubnetCidrBlock:
        type: tencentcloud:VpcIpv6SubnetCidrBlock
        properties:
          vpcId: ${vpc.vpcId}
          ipv6SubnetCidrBlocks:
            subnetId: ${subnet.subnetId}
            ipv6CidrBlock: 2402:4e00:1015:7500::/64
      exampleEni:
        type: tencentcloud:Eni
        properties:
          vpcId: ${vpc.vpcId}
          subnetId: ${subnet.subnetId}
          description: eni description.
          ipv4Count: 1
        options:
          dependsOn:
            - ${exampleVpcIpv6CidrBlock}
            - ${exampleVpcIpv6SubnetCidrBlock}
      exampleEniIpv6Address:
        type: tencentcloud:EniIpv6Address
        properties:
          networkInterfaceId: ${exampleEni.eniId}
          ipv6AddressCount: 1
    

    Create EniIpv6Address Resource

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

    Constructor syntax

    new EniIpv6Address(name: string, args: EniIpv6AddressArgs, opts?: CustomResourceOptions);
    @overload
    def EniIpv6Address(resource_name: str,
                       args: EniIpv6AddressArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def EniIpv6Address(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       network_interface_id: Optional[str] = None,
                       eni_ipv6_address_id: Optional[str] = None,
                       ipv6_address_count: Optional[float] = None,
                       ipv6_addresses: Optional[Sequence[EniIpv6AddressIpv6AddressArgs]] = None)
    func NewEniIpv6Address(ctx *Context, name string, args EniIpv6AddressArgs, opts ...ResourceOption) (*EniIpv6Address, error)
    public EniIpv6Address(string name, EniIpv6AddressArgs args, CustomResourceOptions? opts = null)
    public EniIpv6Address(String name, EniIpv6AddressArgs args)
    public EniIpv6Address(String name, EniIpv6AddressArgs args, CustomResourceOptions options)
    
    type: tencentcloud:EniIpv6Address
    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 EniIpv6AddressArgs
    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 EniIpv6AddressArgs
    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 EniIpv6AddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EniIpv6AddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EniIpv6AddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EniIpv6Address Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EniIpv6Address resource accepts the following input properties:

    NetworkInterfaceId string
    ENI instance ID, in the form of eni-m6dyj72l.
    EniIpv6AddressId string
    ID of the resource.
    Ipv6AddressCount double
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    Ipv6Addresses List<EniIpv6AddressIpv6Address>
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    NetworkInterfaceId string
    ENI instance ID, in the form of eni-m6dyj72l.
    EniIpv6AddressId string
    ID of the resource.
    Ipv6AddressCount float64
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    Ipv6Addresses []EniIpv6AddressIpv6AddressArgs
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    networkInterfaceId String
    ENI instance ID, in the form of eni-m6dyj72l.
    eniIpv6AddressId String
    ID of the resource.
    ipv6AddressCount Double
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6Addresses List<EniIpv6AddressIpv6Address>
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    networkInterfaceId string
    ENI instance ID, in the form of eni-m6dyj72l.
    eniIpv6AddressId string
    ID of the resource.
    ipv6AddressCount number
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6Addresses EniIpv6AddressIpv6Address[]
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    network_interface_id str
    ENI instance ID, in the form of eni-m6dyj72l.
    eni_ipv6_address_id str
    ID of the resource.
    ipv6_address_count float
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6_addresses Sequence[EniIpv6AddressIpv6AddressArgs]
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    networkInterfaceId String
    ENI instance ID, in the form of eni-m6dyj72l.
    eniIpv6AddressId String
    ID of the resource.
    ipv6AddressCount Number
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6Addresses List<Property Map>
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EniIpv6Address Resource

    Get an existing EniIpv6Address 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?: EniIpv6AddressState, opts?: CustomResourceOptions): EniIpv6Address
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            eni_ipv6_address_id: Optional[str] = None,
            ipv6_address_count: Optional[float] = None,
            ipv6_addresses: Optional[Sequence[EniIpv6AddressIpv6AddressArgs]] = None,
            network_interface_id: Optional[str] = None) -> EniIpv6Address
    func GetEniIpv6Address(ctx *Context, name string, id IDInput, state *EniIpv6AddressState, opts ...ResourceOption) (*EniIpv6Address, error)
    public static EniIpv6Address Get(string name, Input<string> id, EniIpv6AddressState? state, CustomResourceOptions? opts = null)
    public static EniIpv6Address get(String name, Output<String> id, EniIpv6AddressState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:EniIpv6Address    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EniIpv6AddressId string
    ID of the resource.
    Ipv6AddressCount double
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    Ipv6Addresses List<EniIpv6AddressIpv6Address>
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    NetworkInterfaceId string
    ENI instance ID, in the form of eni-m6dyj72l.
    EniIpv6AddressId string
    ID of the resource.
    Ipv6AddressCount float64
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    Ipv6Addresses []EniIpv6AddressIpv6AddressArgs
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    NetworkInterfaceId string
    ENI instance ID, in the form of eni-m6dyj72l.
    eniIpv6AddressId String
    ID of the resource.
    ipv6AddressCount Double
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6Addresses List<EniIpv6AddressIpv6Address>
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    networkInterfaceId String
    ENI instance ID, in the form of eni-m6dyj72l.
    eniIpv6AddressId string
    ID of the resource.
    ipv6AddressCount number
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6Addresses EniIpv6AddressIpv6Address[]
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    networkInterfaceId string
    ENI instance ID, in the form of eni-m6dyj72l.
    eni_ipv6_address_id str
    ID of the resource.
    ipv6_address_count float
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6_addresses Sequence[EniIpv6AddressIpv6AddressArgs]
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    network_interface_id str
    ENI instance ID, in the form of eni-m6dyj72l.
    eniIpv6AddressId String
    ID of the resource.
    ipv6AddressCount Number
    The number of automatically assigned IPv6 addresses and the total number of private IP addresses cannot exceed the quota. This should be combined with the input parameter ipv6_addresses for quota calculation. At least one of them, either this or 'Ipv6Addresses', must be provided.
    ipv6Addresses List<Property Map>
    The specified IPv6 address list, up to 10 can be specified at a time. Combined with the input parameter Ipv6AddressCount to calculate the quota. Mandatory one with Ipv6AddressCount.
    networkInterfaceId String
    ENI instance ID, in the form of eni-m6dyj72l.

    Supporting Types

    EniIpv6AddressIpv6Address, EniIpv6AddressIpv6AddressArgs

    Address string
    IPv6 address, in the form of: 3402:4e00:20:100:0:8cd9:2a67:71f3.
    AddressId string
    EIP instance ID, such as:eip-hxlqja90.
    Description string
    Description.
    IsWanIpBlocked bool
    Whether the public network IP is blocked.
    Primary bool
    Whether to master IP.
    State string
    IPv6 address status: PENDING: pending, MIGRATING: migrating, DELETING: deleting, AVAILABLE: available.
    Address string
    IPv6 address, in the form of: 3402:4e00:20:100:0:8cd9:2a67:71f3.
    AddressId string
    EIP instance ID, such as:eip-hxlqja90.
    Description string
    Description.
    IsWanIpBlocked bool
    Whether the public network IP is blocked.
    Primary bool
    Whether to master IP.
    State string
    IPv6 address status: PENDING: pending, MIGRATING: migrating, DELETING: deleting, AVAILABLE: available.
    address String
    IPv6 address, in the form of: 3402:4e00:20:100:0:8cd9:2a67:71f3.
    addressId String
    EIP instance ID, such as:eip-hxlqja90.
    description String
    Description.
    isWanIpBlocked Boolean
    Whether the public network IP is blocked.
    primary Boolean
    Whether to master IP.
    state String
    IPv6 address status: PENDING: pending, MIGRATING: migrating, DELETING: deleting, AVAILABLE: available.
    address string
    IPv6 address, in the form of: 3402:4e00:20:100:0:8cd9:2a67:71f3.
    addressId string
    EIP instance ID, such as:eip-hxlqja90.
    description string
    Description.
    isWanIpBlocked boolean
    Whether the public network IP is blocked.
    primary boolean
    Whether to master IP.
    state string
    IPv6 address status: PENDING: pending, MIGRATING: migrating, DELETING: deleting, AVAILABLE: available.
    address str
    IPv6 address, in the form of: 3402:4e00:20:100:0:8cd9:2a67:71f3.
    address_id str
    EIP instance ID, such as:eip-hxlqja90.
    description str
    Description.
    is_wan_ip_blocked bool
    Whether the public network IP is blocked.
    primary bool
    Whether to master IP.
    state str
    IPv6 address status: PENDING: pending, MIGRATING: migrating, DELETING: deleting, AVAILABLE: available.
    address String
    IPv6 address, in the form of: 3402:4e00:20:100:0:8cd9:2a67:71f3.
    addressId String
    EIP instance ID, such as:eip-hxlqja90.
    description String
    Description.
    isWanIpBlocked Boolean
    Whether the public network IP is blocked.
    primary Boolean
    Whether to master IP.
    state String
    IPv6 address status: PENDING: pending, MIGRATING: migrating, DELETING: deleting, AVAILABLE: available.

    Import

    vpc eni ipv6 address can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/eniIpv6Address:EniIpv6Address example eni-fxrx5d1d
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack