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

tencentcloud.getClassicElasticPublicIpv6s

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 classic_elastic_public_ipv6s

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const classicElasticPublicIpv6s = tencentcloud.getClassicElasticPublicIpv6s({
        ip6AddressIds: ["xxxxxx"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    classic_elastic_public_ipv6s = tencentcloud.get_classic_elastic_public_ipv6s(ip6_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.GetClassicElasticPublicIpv6s(ctx, &tencentcloud.GetClassicElasticPublicIpv6sArgs{
    			Ip6AddressIds: []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 classicElasticPublicIpv6s = Tencentcloud.GetClassicElasticPublicIpv6s.Invoke(new()
        {
            Ip6AddressIds = 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.GetClassicElasticPublicIpv6sArgs;
    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 classicElasticPublicIpv6s = TencentcloudFunctions.getClassicElasticPublicIpv6s(GetClassicElasticPublicIpv6sArgs.builder()
                .ip6AddressIds("xxxxxx")
                .build());
    
        }
    }
    
    variables:
      classicElasticPublicIpv6s:
        fn::invoke:
          function: tencentcloud:getClassicElasticPublicIpv6s
          arguments:
            ip6AddressIds:
              - xxxxxx
    

    Using getClassicElasticPublicIpv6s

    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 getClassicElasticPublicIpv6s(args: GetClassicElasticPublicIpv6sArgs, opts?: InvokeOptions): Promise<GetClassicElasticPublicIpv6sResult>
    function getClassicElasticPublicIpv6sOutput(args: GetClassicElasticPublicIpv6sOutputArgs, opts?: InvokeOptions): Output<GetClassicElasticPublicIpv6sResult>
    def get_classic_elastic_public_ipv6s(filters: Optional[Sequence[GetClassicElasticPublicIpv6sFilter]] = None,
                                         id: Optional[str] = None,
                                         ip6_address_ids: Optional[Sequence[str]] = None,
                                         result_output_file: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetClassicElasticPublicIpv6sResult
    def get_classic_elastic_public_ipv6s_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetClassicElasticPublicIpv6sFilterArgs]]]] = None,
                                         id: Optional[pulumi.Input[str]] = None,
                                         ip6_address_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                         result_output_file: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetClassicElasticPublicIpv6sResult]
    func GetClassicElasticPublicIpv6s(ctx *Context, args *GetClassicElasticPublicIpv6sArgs, opts ...InvokeOption) (*GetClassicElasticPublicIpv6sResult, error)
    func GetClassicElasticPublicIpv6sOutput(ctx *Context, args *GetClassicElasticPublicIpv6sOutputArgs, opts ...InvokeOption) GetClassicElasticPublicIpv6sResultOutput

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

    public static class GetClassicElasticPublicIpv6s 
    {
        public static Task<GetClassicElasticPublicIpv6sResult> InvokeAsync(GetClassicElasticPublicIpv6sArgs args, InvokeOptions? opts = null)
        public static Output<GetClassicElasticPublicIpv6sResult> Invoke(GetClassicElasticPublicIpv6sInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetClassicElasticPublicIpv6sResult> getClassicElasticPublicIpv6s(GetClassicElasticPublicIpv6sArgs args, InvokeOptions options)
    public static Output<GetClassicElasticPublicIpv6sResult> getClassicElasticPublicIpv6s(GetClassicElasticPublicIpv6sArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getClassicElasticPublicIpv6s:getClassicElasticPublicIpv6s
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetClassicElasticPublicIpv6sFilter>
    The upper limit for Filters per request is 10, and the upper limit forFilter.Values` is 100. Parameters do not support specifying both AddressIds and Filters. The detailed filtering conditions are as follows:

    • address-ip: filter according to IPV6 IP address.
    • network-interface-id: filter according to the unique ID of the Elastic Network Interface.
    Id string
    Ip6AddressIds List<string>
    List of unique IDs that identify IPV6. The IPV6 unique ID is shaped like eip-11112222. Parameters do not support specifying both Ip6AddressIds and Filters.
    ResultOutputFile string
    Used to save results.
    Filters []GetClassicElasticPublicIpv6sFilter
    The upper limit for Filters per request is 10, and the upper limit forFilter.Values` is 100. Parameters do not support specifying both AddressIds and Filters. The detailed filtering conditions are as follows:

    • address-ip: filter according to IPV6 IP address.
    • network-interface-id: filter according to the unique ID of the Elastic Network Interface.
    Id string
    Ip6AddressIds []string
    List of unique IDs that identify IPV6. The IPV6 unique ID is shaped like eip-11112222. Parameters do not support specifying both Ip6AddressIds and Filters.
    ResultOutputFile string
    Used to save results.
    filters List<GetClassicElasticPublicIpv6sFilter>
    The upper limit for Filters per request is 10, and the upper limit forFilter.Values` is 100. Parameters do not support specifying both AddressIds and Filters. The detailed filtering conditions are as follows:

    • address-ip: filter according to IPV6 IP address.
    • network-interface-id: filter according to the unique ID of the Elastic Network Interface.
    id String
    ip6AddressIds List<String>
    List of unique IDs that identify IPV6. The IPV6 unique ID is shaped like eip-11112222. Parameters do not support specifying both Ip6AddressIds and Filters.
    resultOutputFile String
    Used to save results.
    filters GetClassicElasticPublicIpv6sFilter[]
    The upper limit for Filters per request is 10, and the upper limit forFilter.Values` is 100. Parameters do not support specifying both AddressIds and Filters. The detailed filtering conditions are as follows:

    • address-ip: filter according to IPV6 IP address.
    • network-interface-id: filter according to the unique ID of the Elastic Network Interface.
    id string
    ip6AddressIds string[]
    List of unique IDs that identify IPV6. The IPV6 unique ID is shaped like eip-11112222. Parameters do not support specifying both Ip6AddressIds and Filters.
    resultOutputFile string
    Used to save results.
    filters Sequence[GetClassicElasticPublicIpv6sFilter]
    The upper limit for Filters per request is 10, and the upper limit forFilter.Values` is 100. Parameters do not support specifying both AddressIds and Filters. The detailed filtering conditions are as follows:

    • address-ip: filter according to IPV6 IP address.
    • network-interface-id: filter according to the unique ID of the Elastic Network Interface.
    id str
    ip6_address_ids Sequence[str]
    List of unique IDs that identify IPV6. The IPV6 unique ID is shaped like eip-11112222. Parameters do not support specifying both Ip6AddressIds and Filters.
    result_output_file str
    Used to save results.
    filters List<Property Map>
    The upper limit for Filters per request is 10, and the upper limit forFilter.Values` is 100. Parameters do not support specifying both AddressIds and Filters. The detailed filtering conditions are as follows:

    • address-ip: filter according to IPV6 IP address.
    • network-interface-id: filter according to the unique ID of the Elastic Network Interface.
    id String
    ip6AddressIds List<String>
    List of unique IDs that identify IPV6. The IPV6 unique ID is shaped like eip-11112222. Parameters do not support specifying both Ip6AddressIds and Filters.
    resultOutputFile String
    Used to save results.

    getClassicElasticPublicIpv6s Result

    The following output properties are available:

    Supporting Types

    GetClassicElasticPublicIpv6sAddressSet

    GetClassicElasticPublicIpv6sAddressSetEipAlgType

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

    GetClassicElasticPublicIpv6sAddressSetTagSet

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

    GetClassicElasticPublicIpv6sFilter

    Name string
    Property name. If there are multiple Filters, the relationship between Filters is a logical 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 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 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 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 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 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