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

tencentcloud.getElasticPublicIpv6s

Explore with Pulumi AI

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

    Use this data source to query detailed information of vpc elastic_public_ipv6s

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const elasticPublicIpv6s = tencentcloud.getElasticPublicIpv6s({
        ipv6AddressIds: ["xxxxxx"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    elastic_public_ipv6s = tencentcloud.get_elastic_public_ipv6s(ipv6_address_ids=["xxxxxx"])
    
    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 {
    		_, err := tencentcloud.GetElasticPublicIpv6s(ctx, &tencentcloud.GetElasticPublicIpv6sArgs{
    			Ipv6AddressIds: []string{
    				"xxxxxx",
    			},
    		}, nil)
    		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 elasticPublicIpv6s = Tencentcloud.GetElasticPublicIpv6s.Invoke(new()
        {
            Ipv6AddressIds = new[]
            {
                "xxxxxx",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetElasticPublicIpv6sArgs;
    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 elasticPublicIpv6s = TencentcloudFunctions.getElasticPublicIpv6s(GetElasticPublicIpv6sArgs.builder()
                .ipv6AddressIds("xxxxxx")
                .build());
    
        }
    }
    
    variables:
      elasticPublicIpv6s:
        fn::invoke:
          function: tencentcloud:getElasticPublicIpv6s
          arguments:
            ipv6AddressIds:
              - xxxxxx
    

    Using getElasticPublicIpv6s

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getElasticPublicIpv6s(args: GetElasticPublicIpv6sArgs, opts?: InvokeOptions): Promise<GetElasticPublicIpv6sResult>
    function getElasticPublicIpv6sOutput(args: GetElasticPublicIpv6sOutputArgs, opts?: InvokeOptions): Output<GetElasticPublicIpv6sResult>
    def get_elastic_public_ipv6s(filters: Optional[Sequence[GetElasticPublicIpv6sFilter]] = None,
                                 id: Optional[str] = None,
                                 ipv6_address_ids: Optional[Sequence[str]] = None,
                                 result_output_file: Optional[str] = None,
                                 traditional: Optional[bool] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetElasticPublicIpv6sResult
    def get_elastic_public_ipv6s_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetElasticPublicIpv6sFilterArgs]]]] = None,
                                 id: Optional[pulumi.Input[str]] = None,
                                 ipv6_address_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 result_output_file: Optional[pulumi.Input[str]] = None,
                                 traditional: Optional[pulumi.Input[bool]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetElasticPublicIpv6sResult]
    func GetElasticPublicIpv6s(ctx *Context, args *GetElasticPublicIpv6sArgs, opts ...InvokeOption) (*GetElasticPublicIpv6sResult, error)
    func GetElasticPublicIpv6sOutput(ctx *Context, args *GetElasticPublicIpv6sOutputArgs, opts ...InvokeOption) GetElasticPublicIpv6sResultOutput

    > Note: This function is named GetElasticPublicIpv6s in the Go SDK.

    public static class GetElasticPublicIpv6s 
    {
        public static Task<GetElasticPublicIpv6sResult> InvokeAsync(GetElasticPublicIpv6sArgs args, InvokeOptions? opts = null)
        public static Output<GetElasticPublicIpv6sResult> Invoke(GetElasticPublicIpv6sInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetElasticPublicIpv6sResult> getElasticPublicIpv6s(GetElasticPublicIpv6sArgs args, InvokeOptions options)
    public static Output<GetElasticPublicIpv6sResult> getElasticPublicIpv6s(GetElasticPublicIpv6sArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getElasticPublicIpv6s:getElasticPublicIpv6s
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetElasticPublicIpv6sFilter>
    The detailed filter conditions are as follows:

    • address-id-String-required: no-(filter condition) filter by the unique ID of the elastic public network IPv6.
    • public-ipv6-address-String-required: no-(filter condition) filter by the IP address of the public network IPv6.
    • charge-type-String-required: no-(filter condition) filter by billing type.
    • private-ipv6-address-String-required: no-(filter condition) filter by bound private network IPv6 address.
    • egress-String-required: no-(filter condition) filter by exit.
    • address-type-String-required: no-(filter condition) filter by IPv6 type.
    • address-isp-String-required: no-(filter condition) filter by operator type. The status includes: 'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'.
    • address-name-String-required: no-(filter condition) filter by EIP name. Blur filtering is not supported.
    • tag-key-String-required: no-(filter condition) filter by label key.
    • tag-value-String-required: no-(filter condition) filter by tag value.
    • tag:tag-key-String-required: no-(filter condition) filter by label key value pair. Tag-key is replaced with a specific label key.
    Id string
    Ipv6AddressIds List<string>
    Unique ID column that identifies IPv6.

    • Traditional Elastic IPv6 unique ID is like: eip-11112222
    • Elastic IPv6 unique ID is like: eipv6 -11112222 Note: Parameters do not support specifying both IPv6AddressIds and Filters.
    ResultOutputFile string
    Used to save results.
    Traditional bool
    Whether to query traditional IPv6 address information.
    Filters []GetElasticPublicIpv6sFilter
    The detailed filter conditions are as follows:

    • address-id-String-required: no-(filter condition) filter by the unique ID of the elastic public network IPv6.
    • public-ipv6-address-String-required: no-(filter condition) filter by the IP address of the public network IPv6.
    • charge-type-String-required: no-(filter condition) filter by billing type.
    • private-ipv6-address-String-required: no-(filter condition) filter by bound private network IPv6 address.
    • egress-String-required: no-(filter condition) filter by exit.
    • address-type-String-required: no-(filter condition) filter by IPv6 type.
    • address-isp-String-required: no-(filter condition) filter by operator type. The status includes: 'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'.
    • address-name-String-required: no-(filter condition) filter by EIP name. Blur filtering is not supported.
    • tag-key-String-required: no-(filter condition) filter by label key.
    • tag-value-String-required: no-(filter condition) filter by tag value.
    • tag:tag-key-String-required: no-(filter condition) filter by label key value pair. Tag-key is replaced with a specific label key.
    Id string
    Ipv6AddressIds []string
    Unique ID column that identifies IPv6.

    • Traditional Elastic IPv6 unique ID is like: eip-11112222
    • Elastic IPv6 unique ID is like: eipv6 -11112222 Note: Parameters do not support specifying both IPv6AddressIds and Filters.
    ResultOutputFile string
    Used to save results.
    Traditional bool
    Whether to query traditional IPv6 address information.
    filters List<GetElasticPublicIpv6sFilter>
    The detailed filter conditions are as follows:

    • address-id-String-required: no-(filter condition) filter by the unique ID of the elastic public network IPv6.
    • public-ipv6-address-String-required: no-(filter condition) filter by the IP address of the public network IPv6.
    • charge-type-String-required: no-(filter condition) filter by billing type.
    • private-ipv6-address-String-required: no-(filter condition) filter by bound private network IPv6 address.
    • egress-String-required: no-(filter condition) filter by exit.
    • address-type-String-required: no-(filter condition) filter by IPv6 type.
    • address-isp-String-required: no-(filter condition) filter by operator type. The status includes: 'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'.
    • address-name-String-required: no-(filter condition) filter by EIP name. Blur filtering is not supported.
    • tag-key-String-required: no-(filter condition) filter by label key.
    • tag-value-String-required: no-(filter condition) filter by tag value.
    • tag:tag-key-String-required: no-(filter condition) filter by label key value pair. Tag-key is replaced with a specific label key.
    id String
    ipv6AddressIds List<String>
    Unique ID column that identifies IPv6.

    • Traditional Elastic IPv6 unique ID is like: eip-11112222
    • Elastic IPv6 unique ID is like: eipv6 -11112222 Note: Parameters do not support specifying both IPv6AddressIds and Filters.
    resultOutputFile String
    Used to save results.
    traditional Boolean
    Whether to query traditional IPv6 address information.
    filters GetElasticPublicIpv6sFilter[]
    The detailed filter conditions are as follows:

    • address-id-String-required: no-(filter condition) filter by the unique ID of the elastic public network IPv6.
    • public-ipv6-address-String-required: no-(filter condition) filter by the IP address of the public network IPv6.
    • charge-type-String-required: no-(filter condition) filter by billing type.
    • private-ipv6-address-String-required: no-(filter condition) filter by bound private network IPv6 address.
    • egress-String-required: no-(filter condition) filter by exit.
    • address-type-String-required: no-(filter condition) filter by IPv6 type.
    • address-isp-String-required: no-(filter condition) filter by operator type. The status includes: 'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'.
    • address-name-String-required: no-(filter condition) filter by EIP name. Blur filtering is not supported.
    • tag-key-String-required: no-(filter condition) filter by label key.
    • tag-value-String-required: no-(filter condition) filter by tag value.
    • tag:tag-key-String-required: no-(filter condition) filter by label key value pair. Tag-key is replaced with a specific label key.
    id string
    ipv6AddressIds string[]
    Unique ID column that identifies IPv6.

    • Traditional Elastic IPv6 unique ID is like: eip-11112222
    • Elastic IPv6 unique ID is like: eipv6 -11112222 Note: Parameters do not support specifying both IPv6AddressIds and Filters.
    resultOutputFile string
    Used to save results.
    traditional boolean
    Whether to query traditional IPv6 address information.
    filters Sequence[GetElasticPublicIpv6sFilter]
    The detailed filter conditions are as follows:

    • address-id-String-required: no-(filter condition) filter by the unique ID of the elastic public network IPv6.
    • public-ipv6-address-String-required: no-(filter condition) filter by the IP address of the public network IPv6.
    • charge-type-String-required: no-(filter condition) filter by billing type.
    • private-ipv6-address-String-required: no-(filter condition) filter by bound private network IPv6 address.
    • egress-String-required: no-(filter condition) filter by exit.
    • address-type-String-required: no-(filter condition) filter by IPv6 type.
    • address-isp-String-required: no-(filter condition) filter by operator type. The status includes: 'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'.
    • address-name-String-required: no-(filter condition) filter by EIP name. Blur filtering is not supported.
    • tag-key-String-required: no-(filter condition) filter by label key.
    • tag-value-String-required: no-(filter condition) filter by tag value.
    • tag:tag-key-String-required: no-(filter condition) filter by label key value pair. Tag-key is replaced with a specific label key.
    id str
    ipv6_address_ids Sequence[str]
    Unique ID column that identifies IPv6.

    • Traditional Elastic IPv6 unique ID is like: eip-11112222
    • Elastic IPv6 unique ID is like: eipv6 -11112222 Note: Parameters do not support specifying both IPv6AddressIds and Filters.
    result_output_file str
    Used to save results.
    traditional bool
    Whether to query traditional IPv6 address information.
    filters List<Property Map>
    The detailed filter conditions are as follows:

    • address-id-String-required: no-(filter condition) filter by the unique ID of the elastic public network IPv6.
    • public-ipv6-address-String-required: no-(filter condition) filter by the IP address of the public network IPv6.
    • charge-type-String-required: no-(filter condition) filter by billing type.
    • private-ipv6-address-String-required: no-(filter condition) filter by bound private network IPv6 address.
    • egress-String-required: no-(filter condition) filter by exit.
    • address-type-String-required: no-(filter condition) filter by IPv6 type.
    • address-isp-String-required: no-(filter condition) filter by operator type. The status includes: 'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'.
    • address-name-String-required: no-(filter condition) filter by EIP name. Blur filtering is not supported.
    • tag-key-String-required: no-(filter condition) filter by label key.
    • tag-value-String-required: no-(filter condition) filter by tag value.
    • tag:tag-key-String-required: no-(filter condition) filter by label key value pair. Tag-key is replaced with a specific label key.
    id String
    ipv6AddressIds List<String>
    Unique ID column that identifies IPv6.

    • Traditional Elastic IPv6 unique ID is like: eip-11112222
    • Elastic IPv6 unique ID is like: eipv6 -11112222 Note: Parameters do not support specifying both IPv6AddressIds and Filters.
    resultOutputFile String
    Used to save results.
    traditional Boolean
    Whether to query traditional IPv6 address information.

    getElasticPublicIpv6s Result

    The following output properties are available:

    Supporting Types

    GetElasticPublicIpv6sAddressSet

    GetElasticPublicIpv6sAddressSetEipAlgType

    Ftp bool
    Sip bool
    Ftp bool
    Sip bool
    ftp Boolean
    sip Boolean
    ftp boolean
    sip boolean
    ftp bool
    sip bool
    ftp Boolean
    sip Boolean

    GetElasticPublicIpv6sAddressSetTagSet

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    GetElasticPublicIpv6sFilter

    Name string
    Property name. If there are multiple Filters, the relationship between Filters is a logical AND (AND) relationship.
    Values List<string>
    Attribute value. If there are multiple Values in the same Filter, the relationship between Values under the same Filter is a logical OR relationship. When the value type is a Boolean type, the value can be directly taken to the string TRUE or FALSE.
    Name string
    Property name. If there are multiple Filters, the relationship between Filters is a logical AND (AND) relationship.
    Values []string
    Attribute value. If there are multiple Values in the same Filter, the relationship between Values under the same Filter is a logical OR relationship. When the value type is a Boolean type, the value can be directly taken to the string TRUE or FALSE.
    name String
    Property name. If there are multiple Filters, the relationship between Filters is a logical AND (AND) relationship.
    values List<String>
    Attribute value. If there are multiple Values in the same Filter, the relationship between Values under the same Filter is a logical OR relationship. When the value type is a Boolean type, the value can be directly taken to the string TRUE or FALSE.
    name string
    Property name. If there are multiple Filters, the relationship between Filters is a logical AND (AND) relationship.
    values string[]
    Attribute value. If there are multiple Values in the same Filter, the relationship between Values under the same Filter is a logical OR relationship. When the value type is a Boolean type, the value can be directly taken to the string TRUE or FALSE.
    name str
    Property name. If there are multiple Filters, the relationship between Filters is a logical AND (AND) relationship.
    values Sequence[str]
    Attribute value. If there are multiple Values in the same Filter, the relationship between Values under the same Filter is a logical OR relationship. When the value type is a Boolean type, the value can be directly taken to the string TRUE or FALSE.
    name String
    Property name. If there are multiple Filters, the relationship between Filters is a logical AND (AND) relationship.
    values List<String>
    Attribute value. If there are multiple Values in the same Filter, the relationship between Values under the same Filter is a logical OR relationship. When the value type is a Boolean type, the value can be directly taken to the string TRUE or FALSE.

    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