Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of vpc ipv6 addresses
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.vpc.getIpv6Addresses({
associatedInstanceId: "i-yca53yuhj6gh9zl53kav",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vpc.get_ipv6_addresses(associated_instance_id="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.GetIpv6Addresses(ctx, &vpc.GetIpv6AddressesArgs{
AssociatedInstanceId: pulumi.StringRef("i-yca53yuhj6gh9zl53kav"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Vpc.GetIpv6Addresses.Invoke(new()
{
AssociatedInstanceId = "i-yca53yuhj6gh9zl53kav",
});
});
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.GetIpv6AddressesArgs;
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.getIpv6Addresses(GetIpv6AddressesArgs.builder()
.associatedInstanceId("i-yca53yuhj6gh9zl53kav")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:vpc:getIpv6Addresses
Arguments:
associatedInstanceId: i-yca53yuhj6gh9zl53kav
Using getIpv6Addresses
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 getIpv6Addresses(args: GetIpv6AddressesArgs, opts?: InvokeOptions): Promise<GetIpv6AddressesResult>
function getIpv6AddressesOutput(args: GetIpv6AddressesOutputArgs, opts?: InvokeOptions): Output<GetIpv6AddressesResult>def get_ipv6_addresses(associated_instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIpv6AddressesResult
def get_ipv6_addresses_output(associated_instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIpv6AddressesResult]func GetIpv6Addresses(ctx *Context, args *GetIpv6AddressesArgs, opts ...InvokeOption) (*GetIpv6AddressesResult, error)
func GetIpv6AddressesOutput(ctx *Context, args *GetIpv6AddressesOutputArgs, opts ...InvokeOption) GetIpv6AddressesResultOutput> Note: This function is named GetIpv6Addresses in the Go SDK.
public static class GetIpv6Addresses
{
public static Task<GetIpv6AddressesResult> InvokeAsync(GetIpv6AddressesArgs args, InvokeOptions? opts = null)
public static Output<GetIpv6AddressesResult> Invoke(GetIpv6AddressesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpv6AddressesResult> getIpv6Addresses(GetIpv6AddressesArgs args, InvokeOptions options)
public static Output<GetIpv6AddressesResult> getIpv6Addresses(GetIpv6AddressesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vpc/getIpv6Addresses:getIpv6Addresses
arguments:
# arguments dictionaryThe following arguments are supported:
- Associated
Instance stringId - The ID of the ECS instance that is assigned the IPv6 address.
- Output
File string - File name where to save data source results.
- Associated
Instance stringId - The ID of the ECS instance that is assigned the IPv6 address.
- Output
File string - File name where to save data source results.
- associated
Instance StringId - The ID of the ECS instance that is assigned the IPv6 address.
- output
File String - File name where to save data source results.
- associated
Instance stringId - The ID of the ECS instance that is assigned the IPv6 address.
- output
File string - File name where to save data source results.
- associated_
instance_ strid - The ID of the ECS instance that is assigned the IPv6 address.
- output_
file str - File name where to save data source results.
- associated
Instance StringId - The ID of the ECS instance that is assigned the IPv6 address.
- output
File String - File name where to save data source results.
getIpv6Addresses Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Addresses
List<Get
Ipv6Addresses Ipv6Address> - The collection of Ipv6Address query.
- Total
Count int - The total count of Ipv6Address query.
- Associated
Instance stringId - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Addresses
[]Get
Ipv6Addresses Ipv6Address - The collection of Ipv6Address query.
- Total
Count int - The total count of Ipv6Address query.
- Associated
Instance stringId - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Addresses
List<Get
Ipv6Addresses Ipv6Address> - The collection of Ipv6Address query.
- total
Count Integer - The total count of Ipv6Address query.
- associated
Instance StringId - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Addresses
Get
Ipv6Addresses Ipv6Address[] - The collection of Ipv6Address query.
- total
Count number - The total count of Ipv6Address query.
- associated
Instance stringId - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
addresses Sequence[GetIpv6Addresses Ipv6Address] - The collection of Ipv6Address query.
- total_
count int - The total count of Ipv6Address query.
- associated_
instance_ strid - output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Addresses List<Property Map>
- The collection of Ipv6Address query.
- total
Count Number - The total count of Ipv6Address query.
- associated
Instance StringId - output
File String
Supporting Types
GetIpv6AddressesIpv6Address
- 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
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
