1. Packages
  2. Linode
  3. API Docs
  4. getInstanceNetworking
Linode v4.7.0 published on Friday, Sep 29, 2023 by Pulumi

linode.getInstanceNetworking

Explore with Pulumi AI

linode logo
Linode v4.7.0 published on Friday, Sep 29, 2023 by Pulumi

    Provides details about the networking configuration of an Instance.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Linode.GetInstanceNetworking.Invoke(new()
        {
            LinodeId = 123,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetInstanceNetworking(ctx, &linode.GetInstanceNetworkingArgs{
    			LinodeId: 123,
    		}, 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.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetInstanceNetworkingArgs;
    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 example = LinodeFunctions.getInstanceNetworking(GetInstanceNetworkingArgs.builder()
                .linodeId(123)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_linode as linode
    
    example = linode.get_instance_networking(linode_id=123)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const example = linode.getInstanceNetworking({
        linodeId: 123,
    });
    
    variables:
      example:
        fn::invoke:
          Function: linode:getInstanceNetworking
          Arguments:
            linodeId: 123
    

    Using getInstanceNetworking

    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 getInstanceNetworking(args: GetInstanceNetworkingArgs, opts?: InvokeOptions): Promise<GetInstanceNetworkingResult>
    function getInstanceNetworkingOutput(args: GetInstanceNetworkingOutputArgs, opts?: InvokeOptions): Output<GetInstanceNetworkingResult>
    def get_instance_networking(linode_id: Optional[int] = None,
                                opts: Optional[InvokeOptions] = None) -> GetInstanceNetworkingResult
    def get_instance_networking_output(linode_id: Optional[pulumi.Input[int]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetInstanceNetworkingResult]
    func GetInstanceNetworking(ctx *Context, args *GetInstanceNetworkingArgs, opts ...InvokeOption) (*GetInstanceNetworkingResult, error)
    func GetInstanceNetworkingOutput(ctx *Context, args *GetInstanceNetworkingOutputArgs, opts ...InvokeOption) GetInstanceNetworkingResultOutput

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

    public static class GetInstanceNetworking 
    {
        public static Task<GetInstanceNetworkingResult> InvokeAsync(GetInstanceNetworkingArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceNetworkingResult> Invoke(GetInstanceNetworkingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceNetworkingResult> getInstanceNetworking(GetInstanceNetworkingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: linode:index/getInstanceNetworking:getInstanceNetworking
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LinodeId int

    The Linode instance's ID.

    LinodeId int

    The Linode instance's ID.

    linodeId Integer

    The Linode instance's ID.

    linodeId number

    The Linode instance's ID.

    linode_id int

    The Linode instance's ID.

    linodeId Number

    The Linode instance's ID.

    getInstanceNetworking Result

    The following output properties are available:

    Id string
    Ipv4s List<GetInstanceNetworkingIpv4>
    Ipv6s List<GetInstanceNetworkingIpv6>
    LinodeId int

    The ID of the Linode this address currently belongs to.

    Id string
    Ipv4s []GetInstanceNetworkingIpv4
    Ipv6s []GetInstanceNetworkingIpv6
    LinodeId int

    The ID of the Linode this address currently belongs to.

    id String
    ipv4s List<GetInstanceNetworkingIpv4>
    ipv6s List<GetInstanceNetworkingIpv6>
    linodeId Integer

    The ID of the Linode this address currently belongs to.

    id string
    ipv4s GetInstanceNetworkingIpv4[]
    ipv6s GetInstanceNetworkingIpv6[]
    linodeId number

    The ID of the Linode this address currently belongs to.

    id str
    ipv4s Sequence[GetInstanceNetworkingIpv4]
    ipv6s Sequence[GetInstanceNetworkingIpv6]
    linode_id int

    The ID of the Linode this address currently belongs to.

    id String
    ipv4s List<Property Map>
    ipv6s List<Property Map>
    linodeId Number

    The ID of the Linode this address currently belongs to.

    Supporting Types

    GetInstanceNetworkingIpv4

    GetInstanceNetworkingIpv4Private

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Integer

    The Linode instance's ID.

    prefix Integer

    The network prefix.

    public_ Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    address string

    The address.

    gateway string

    The default gateway for this address.

    linodeId number

    The Linode instance's ID.

    prefix number

    The network prefix.

    public boolean

    Whether this is a public or private IP address.

    rdns string

    The reverse DNS assigned to this address.

    region string

    (Filterable) The Region this address resides in.

    subnetMask string

    The subnet mask.

    type string

    The type of address this is.

    address str

    The address.

    gateway str

    The default gateway for this address.

    linode_id int

    The Linode instance's ID.

    prefix int

    The network prefix.

    public bool

    Whether this is a public or private IP address.

    rdns str

    The reverse DNS assigned to this address.

    region str

    (Filterable) The Region this address resides in.

    subnet_mask str

    The subnet mask.

    type str

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Number

    The Linode instance's ID.

    prefix Number

    The network prefix.

    public Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    GetInstanceNetworkingIpv4Public

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Integer

    The Linode instance's ID.

    prefix Integer

    The network prefix.

    public_ Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    address string

    The address.

    gateway string

    The default gateway for this address.

    linodeId number

    The Linode instance's ID.

    prefix number

    The network prefix.

    public boolean

    Whether this is a public or private IP address.

    rdns string

    The reverse DNS assigned to this address.

    region string

    (Filterable) The Region this address resides in.

    subnetMask string

    The subnet mask.

    type string

    The type of address this is.

    address str

    The address.

    gateway str

    The default gateway for this address.

    linode_id int

    The Linode instance's ID.

    prefix int

    The network prefix.

    public bool

    Whether this is a public or private IP address.

    rdns str

    The reverse DNS assigned to this address.

    region str

    (Filterable) The Region this address resides in.

    subnet_mask str

    The subnet mask.

    type str

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Number

    The Linode instance's ID.

    prefix Number

    The network prefix.

    public Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    GetInstanceNetworkingIpv4Reserved

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Integer

    The Linode instance's ID.

    prefix Integer

    The network prefix.

    public_ Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    address string

    The address.

    gateway string

    The default gateway for this address.

    linodeId number

    The Linode instance's ID.

    prefix number

    The network prefix.

    public boolean

    Whether this is a public or private IP address.

    rdns string

    The reverse DNS assigned to this address.

    region string

    (Filterable) The Region this address resides in.

    subnetMask string

    The subnet mask.

    type string

    The type of address this is.

    address str

    The address.

    gateway str

    The default gateway for this address.

    linode_id int

    The Linode instance's ID.

    prefix int

    The network prefix.

    public bool

    Whether this is a public or private IP address.

    rdns str

    The reverse DNS assigned to this address.

    region str

    (Filterable) The Region this address resides in.

    subnet_mask str

    The subnet mask.

    type str

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Number

    The Linode instance's ID.

    prefix Number

    The network prefix.

    public Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    GetInstanceNetworkingIpv4Shared

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Integer

    The Linode instance's ID.

    prefix Integer

    The network prefix.

    public_ Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    address string

    The address.

    gateway string

    The default gateway for this address.

    linodeId number

    The Linode instance's ID.

    prefix number

    The network prefix.

    public boolean

    Whether this is a public or private IP address.

    rdns string

    The reverse DNS assigned to this address.

    region string

    (Filterable) The Region this address resides in.

    subnetMask string

    The subnet mask.

    type string

    The type of address this is.

    address str

    The address.

    gateway str

    The default gateway for this address.

    linode_id int

    The Linode instance's ID.

    prefix int

    The network prefix.

    public bool

    Whether this is a public or private IP address.

    rdns str

    The reverse DNS assigned to this address.

    region str

    (Filterable) The Region this address resides in.

    subnet_mask str

    The subnet mask.

    type str

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Number

    The Linode instance's ID.

    prefix Number

    The network prefix.

    public Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    GetInstanceNetworkingIpv6

    GetInstanceNetworkingIpv6Global

    Prefix int

    The network prefix.

    Range string

    The IPv6 range of addresses in this pool.

    Region string

    (Filterable) The Region this address resides in.

    RouteTarget string

    (Nullable) The last address in this block of IPv6 addresses.

    Prefix int

    The network prefix.

    Range string

    The IPv6 range of addresses in this pool.

    Region string

    (Filterable) The Region this address resides in.

    RouteTarget string

    (Nullable) The last address in this block of IPv6 addresses.

    prefix Integer

    The network prefix.

    range String

    The IPv6 range of addresses in this pool.

    region String

    (Filterable) The Region this address resides in.

    routeTarget String

    (Nullable) The last address in this block of IPv6 addresses.

    prefix number

    The network prefix.

    range string

    The IPv6 range of addresses in this pool.

    region string

    (Filterable) The Region this address resides in.

    routeTarget string

    (Nullable) The last address in this block of IPv6 addresses.

    prefix int

    The network prefix.

    range str

    The IPv6 range of addresses in this pool.

    region str

    (Filterable) The Region this address resides in.

    route_target str

    (Nullable) The last address in this block of IPv6 addresses.

    prefix Number

    The network prefix.

    range String

    The IPv6 range of addresses in this pool.

    region String

    (Filterable) The Region this address resides in.

    routeTarget String

    (Nullable) The last address in this block of IPv6 addresses.

    GetInstanceNetworkingIpv6LinkLocal

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Integer

    The Linode instance's ID.

    prefix Integer

    The network prefix.

    public_ Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    address string

    The address.

    gateway string

    The default gateway for this address.

    linodeId number

    The Linode instance's ID.

    prefix number

    The network prefix.

    public boolean

    Whether this is a public or private IP address.

    rdns string

    The reverse DNS assigned to this address.

    region string

    (Filterable) The Region this address resides in.

    subnetMask string

    The subnet mask.

    type string

    The type of address this is.

    address str

    The address.

    gateway str

    The default gateway for this address.

    linode_id int

    The Linode instance's ID.

    prefix int

    The network prefix.

    public bool

    Whether this is a public or private IP address.

    rdns str

    The reverse DNS assigned to this address.

    region str

    (Filterable) The Region this address resides in.

    subnet_mask str

    The subnet mask.

    type str

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Number

    The Linode instance's ID.

    prefix Number

    The network prefix.

    public Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    GetInstanceNetworkingIpv6Slaac

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    Address string

    The address.

    Gateway string

    The default gateway for this address.

    LinodeId int

    The Linode instance's ID.

    Prefix int

    The network prefix.

    Public bool

    Whether this is a public or private IP address.

    Rdns string

    The reverse DNS assigned to this address.

    Region string

    (Filterable) The Region this address resides in.

    SubnetMask string

    The subnet mask.

    Type string

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Integer

    The Linode instance's ID.

    prefix Integer

    The network prefix.

    public_ Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    address string

    The address.

    gateway string

    The default gateway for this address.

    linodeId number

    The Linode instance's ID.

    prefix number

    The network prefix.

    public boolean

    Whether this is a public or private IP address.

    rdns string

    The reverse DNS assigned to this address.

    region string

    (Filterable) The Region this address resides in.

    subnetMask string

    The subnet mask.

    type string

    The type of address this is.

    address str

    The address.

    gateway str

    The default gateway for this address.

    linode_id int

    The Linode instance's ID.

    prefix int

    The network prefix.

    public bool

    Whether this is a public or private IP address.

    rdns str

    The reverse DNS assigned to this address.

    region str

    (Filterable) The Region this address resides in.

    subnet_mask str

    The subnet mask.

    type str

    The type of address this is.

    address String

    The address.

    gateway String

    The default gateway for this address.

    linodeId Number

    The Linode instance's ID.

    prefix Number

    The network prefix.

    public Boolean

    Whether this is a public or private IP address.

    rdns String

    The reverse DNS assigned to this address.

    region String

    (Filterable) The Region this address resides in.

    subnetMask String

    The subnet mask.

    type String

    The type of address this is.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the linode Terraform Provider.

    linode logo
    Linode v4.7.0 published on Friday, Sep 29, 2023 by Pulumi