1. Packages
  2. Volcengine
  3. API Docs
  4. vpc
  5. Ipv6Addresses
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.vpc.Ipv6Addresses

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of vpc ipv6 addresses

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Vpc.Ipv6Addresses.Invoke(new()
        {
            AssociatedInstanceId = "i-yca53yuhj6gh9zl53kav",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpc.Ipv6Addresses(ctx, &vpc.Ipv6AddressesArgs{
    			AssociatedInstanceId: pulumi.StringRef("i-yca53yuhj6gh9zl53kav"),
    		}, nil)
    		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.vpc.VpcFunctions;
    import com.pulumi.volcengine.vpc.inputs.Ipv6AddressesArgs;
    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 default = VpcFunctions.Ipv6Addresses(Ipv6AddressesArgs.builder()
                .associatedInstanceId("i-yca53yuhj6gh9zl53kav")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.vpc.ipv6_addresses(associated_instance_id="i-yca53yuhj6gh9zl53kav")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.vpc.Ipv6Addresses({
        associatedInstanceId: "i-yca53yuhj6gh9zl53kav",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:vpc:Ipv6Addresses
          Arguments:
            associatedInstanceId: i-yca53yuhj6gh9zl53kav
    

    Using Ipv6Addresses

    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 ipv6Addresses(args: Ipv6AddressesArgs, opts?: InvokeOptions): Promise<Ipv6AddressesResult>
    function ipv6AddressesOutput(args: Ipv6AddressesOutputArgs, opts?: InvokeOptions): Output<Ipv6AddressesResult>
    def ipv6_addresses(associated_instance_id: Optional[str] = None,
                       output_file: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> Ipv6AddressesResult
    def ipv6_addresses_output(associated_instance_id: Optional[pulumi.Input[str]] = None,
                       output_file: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[Ipv6AddressesResult]
    func Ipv6Addresses(ctx *Context, args *Ipv6AddressesArgs, opts ...InvokeOption) (*Ipv6AddressesResult, error)
    func Ipv6AddressesOutput(ctx *Context, args *Ipv6AddressesOutputArgs, opts ...InvokeOption) Ipv6AddressesResultOutput
    public static class Ipv6Addresses 
    {
        public static Task<Ipv6AddressesResult> InvokeAsync(Ipv6AddressesArgs args, InvokeOptions? opts = null)
        public static Output<Ipv6AddressesResult> Invoke(Ipv6AddressesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<Ipv6AddressesResult> ipv6Addresses(Ipv6AddressesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:vpc:Ipv6Addresses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AssociatedInstanceId string
    The ID of the ECS instance that is assigned the IPv6 address.
    OutputFile string
    File name where to save data source results.
    AssociatedInstanceId string
    The ID of the ECS instance that is assigned the IPv6 address.
    OutputFile string
    File name where to save data source results.
    associatedInstanceId String
    The ID of the ECS instance that is assigned the IPv6 address.
    outputFile String
    File name where to save data source results.
    associatedInstanceId string
    The ID of the ECS instance that is assigned the IPv6 address.
    outputFile string
    File name where to save data source results.
    associated_instance_id str
    The ID of the ECS instance that is assigned the IPv6 address.
    output_file str
    File name where to save data source results.
    associatedInstanceId String
    The ID of the ECS instance that is assigned the IPv6 address.
    outputFile String
    File name where to save data source results.

    Ipv6Addresses Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6Addresses List<Ipv6AddressesIpv6Address>
    The collection of Ipv6Address query.
    TotalCount int
    The total count of Ipv6Address query.
    AssociatedInstanceId string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6Addresses []Ipv6AddressesIpv6Address
    The collection of Ipv6Address query.
    TotalCount int
    The total count of Ipv6Address query.
    AssociatedInstanceId string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6Addresses List<Ipv6AddressesIpv6Address>
    The collection of Ipv6Address query.
    totalCount Integer
    The total count of Ipv6Address query.
    associatedInstanceId String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    ipv6Addresses Ipv6AddressesIpv6Address[]
    The collection of Ipv6Address query.
    totalCount number
    The total count of Ipv6Address query.
    associatedInstanceId string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    ipv6_addresses Sequence[Ipv6AddressesIpv6Address]
    The collection of Ipv6Address query.
    total_count int
    The total count of Ipv6Address query.
    associated_instance_id str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6Addresses List<Property Map>
    The collection of Ipv6Address query.
    totalCount Number
    The total count of Ipv6Address query.
    associatedInstanceId String
    outputFile String

    Supporting Types

    Ipv6AddressesIpv6Address

    Ipv6Address string
    The IPv6 address.
    Ipv6Address string
    The IPv6 address.
    ipv6Address String
    The IPv6 address.
    ipv6Address string
    The IPv6 address.
    ipv6_address str
    The IPv6 address.
    ipv6Address String
    The IPv6 address.

    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.24 published on Tuesday, Jun 25, 2024 by Volcengine