Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.vpc.Ipv6Addresses
Explore with Pulumi AI
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:
- 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.
Ipv6Addresses Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Addresses
List<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
[]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<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
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[Ipv6AddressesIpv6Address] - 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
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.