1. Packages
  2. Vultr
  3. API Docs
  4. getReverseIpv6
Vultr v2.21.1 published on Monday, Jul 22, 2024 by dirien

vultr.getReverseIpv6

Explore with Pulumi AI

vultr logo
Vultr v2.21.1 published on Monday, Jul 22, 2024 by dirien

    Get information about a Vultr Reverse IPv6.

    Example Usage

    Get the information for an IPv6 reverse DNS record by reverse:

    import * as pulumi from "@pulumi/pulumi";
    import * as vultr from "@pulumi/vultr";
    
    const myReverseIpv6 = vultr.getReverseIpv6({
        filters: [{
            name: "reverse",
            values: ["host.example.com"],
        }],
    });
    
    import pulumi
    import pulumi_vultr as vultr
    
    my_reverse_ipv6 = vultr.get_reverse_ipv6(filters=[vultr.GetReverseIpv6FilterArgs(
        name="reverse",
        values=["host.example.com"],
    )])
    
    package main
    
    import (
    	"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vultr.LookupReverseIpv6(ctx, &vultr.LookupReverseIpv6Args{
    			Filters: []vultr.GetReverseIpv6Filter{
    				{
    					Name: "reverse",
    					Values: []string{
    						"host.example.com",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vultr = Pulumi.Vultr;
    
    return await Deployment.RunAsync(() => 
    {
        var myReverseIpv6 = Vultr.GetReverseIpv6.Invoke(new()
        {
            Filters = new[]
            {
                new Vultr.Inputs.GetReverseIpv6FilterInputArgs
                {
                    Name = "reverse",
                    Values = new[]
                    {
                        "host.example.com",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vultr.VultrFunctions;
    import com.pulumi.vultr.inputs.GetReverseIpv6Args;
    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 myReverseIpv6 = VultrFunctions.getReverseIpv6(GetReverseIpv6Args.builder()
                .filters(GetReverseIpv6FilterArgs.builder()
                    .name("reverse")
                    .values("host.example.com")
                    .build())
                .build());
    
        }
    }
    
    variables:
      myReverseIpv6:
        fn::invoke:
          Function: vultr:getReverseIpv6
          Arguments:
            filters:
              - name: reverse
                values:
                  - host.example.com
    

    Using getReverseIpv6

    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 getReverseIpv6(args: GetReverseIpv6Args, opts?: InvokeOptions): Promise<GetReverseIpv6Result>
    function getReverseIpv6Output(args: GetReverseIpv6OutputArgs, opts?: InvokeOptions): Output<GetReverseIpv6Result>
    def get_reverse_ipv6(filters: Optional[Sequence[GetReverseIpv6Filter]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetReverseIpv6Result
    def get_reverse_ipv6_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetReverseIpv6FilterArgs]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetReverseIpv6Result]
    func LookupReverseIpv6(ctx *Context, args *LookupReverseIpv6Args, opts ...InvokeOption) (*LookupReverseIpv6Result, error)
    func LookupReverseIpv6Output(ctx *Context, args *LookupReverseIpv6OutputArgs, opts ...InvokeOption) LookupReverseIpv6ResultOutput

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

    public static class GetReverseIpv6 
    {
        public static Task<GetReverseIpv6Result> InvokeAsync(GetReverseIpv6Args args, InvokeOptions? opts = null)
        public static Output<GetReverseIpv6Result> Invoke(GetReverseIpv6InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReverseIpv6Result> getReverseIpv6(GetReverseIpv6Args args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: vultr:index/getReverseIpv6:getReverseIpv6
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<ediri.Vultr.Inputs.GetReverseIpv6Filter>
    Query parameters for finding IPv6 reverse DNS records.
    Filters []GetReverseIpv6Filter
    Query parameters for finding IPv6 reverse DNS records.
    filters List<GetReverseIpv6Filter>
    Query parameters for finding IPv6 reverse DNS records.
    filters GetReverseIpv6Filter[]
    Query parameters for finding IPv6 reverse DNS records.
    filters Sequence[GetReverseIpv6Filter]
    Query parameters for finding IPv6 reverse DNS records.
    filters List<Property Map>
    Query parameters for finding IPv6 reverse DNS records.

    getReverseIpv6 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    The ID of the instance the IPv6 reverse DNS record was set for.
    Ip string
    The IPv6 address in canonical format used in the reverse DNS record.
    Reverse string
    The hostname used in the IPv6 reverse DNS record.
    Filters List<ediri.Vultr.Outputs.GetReverseIpv6Filter>
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    The ID of the instance the IPv6 reverse DNS record was set for.
    Ip string
    The IPv6 address in canonical format used in the reverse DNS record.
    Reverse string
    The hostname used in the IPv6 reverse DNS record.
    Filters []GetReverseIpv6Filter
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    The ID of the instance the IPv6 reverse DNS record was set for.
    ip String
    The IPv6 address in canonical format used in the reverse DNS record.
    reverse String
    The hostname used in the IPv6 reverse DNS record.
    filters List<GetReverseIpv6Filter>
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    The ID of the instance the IPv6 reverse DNS record was set for.
    ip string
    The IPv6 address in canonical format used in the reverse DNS record.
    reverse string
    The hostname used in the IPv6 reverse DNS record.
    filters GetReverseIpv6Filter[]
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    The ID of the instance the IPv6 reverse DNS record was set for.
    ip str
    The IPv6 address in canonical format used in the reverse DNS record.
    reverse str
    The hostname used in the IPv6 reverse DNS record.
    filters Sequence[GetReverseIpv6Filter]
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    The ID of the instance the IPv6 reverse DNS record was set for.
    ip String
    The IPv6 address in canonical format used in the reverse DNS record.
    reverse String
    The hostname used in the IPv6 reverse DNS record.
    filters List<Property Map>

    Supporting Types

    GetReverseIpv6Filter

    Name string
    Attribute name to filter with.
    Values List<string>
    One or more values to filter with.
    Name string
    Attribute name to filter with.
    Values []string
    One or more values to filter with.
    name String
    Attribute name to filter with.
    values List<String>
    One or more values to filter with.
    name string
    Attribute name to filter with.
    values string[]
    One or more values to filter with.
    name str
    Attribute name to filter with.
    values Sequence[str]
    One or more values to filter with.
    name String
    Attribute name to filter with.
    values List<String>
    One or more values to filter with.

    Package Details

    Repository
    vultr dirien/pulumi-vultr
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vultr Terraform Provider.
    vultr logo
    Vultr v2.21.1 published on Monday, Jul 22, 2024 by dirien