1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getNetworkingIp
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi

    Provides information about a Linode Networking IP Address For more information, see the Linode APIv4 docs.

    Example Usage

    The following example shows how one might use this data source to access information about a Linode Networking IP Address.

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const ns1LinodeCom = linode.getNetworkingIp({
        address: "162.159.27.72",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    ns1_linode_com = linode.get_networking_ip(address="162.159.27.72")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetNetworkingIp(ctx, &linode.LookupNetworkingIpArgs{
    			Address: "162.159.27.72",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var ns1LinodeCom = Linode.GetNetworkingIp.Invoke(new()
        {
            Address = "162.159.27.72",
        });
    
    });
    
    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.GetNetworkingIpArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 ns1LinodeCom = LinodeFunctions.getNetworkingIp(GetNetworkingIpArgs.builder()
                .address("162.159.27.72")
                .build());
    
        }
    }
    
    variables:
      ns1LinodeCom:
        fn::invoke:
          function: linode:getNetworkingIp
          arguments:
            address: 162.159.27.72
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getnetworkingip" "ns1LinodeCom" {
      address = "162.159.27.72"
    }
    

    Using getNetworkingIp

    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 getNetworkingIp(args: GetNetworkingIpArgs, opts?: InvokeOptions): Promise<GetNetworkingIpResult>
    function getNetworkingIpOutput(args: GetNetworkingIpOutputArgs, opts?: InvokeOutputOptions): Output<GetNetworkingIpResult>
    def get_networking_ip(address: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetNetworkingIpResult
    def get_networking_ip_output(address: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetNetworkingIpResult]
    func LookupNetworkingIp(ctx *Context, args *LookupNetworkingIpArgs, opts ...InvokeOption) (*LookupNetworkingIpResult, error)
    func LookupNetworkingIpOutput(ctx *Context, args *LookupNetworkingIpOutputArgs, opts ...InvokeOption) LookupNetworkingIpResultOutput

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

    public static class GetNetworkingIp 
    {
        public static Task<GetNetworkingIpResult> InvokeAsync(GetNetworkingIpArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkingIpResult> Invoke(GetNetworkingIpInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkingIpResult> Invoke(GetNetworkingIpInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetNetworkingIpResult> getNetworkingIp(GetNetworkingIpArgs args, InvokeOptions options)
    public static Output<GetNetworkingIpResult> getNetworkingIp(GetNetworkingIpArgs args, InvokeOptions options)
    public static Output<GetNetworkingIpResult> getNetworkingIp(GetNetworkingIpArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getNetworkingIp:getNetworkingIp
      arguments:
        # arguments dictionary
    data "linode_get_networking_ip" "name" {
        # arguments
    }

    The following arguments are supported:

    Address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    Address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    address String
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    address str
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    address String
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.

    getNetworkingIp Result

    The following output properties are available:

    Address string
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    AssignedEntity GetNetworkingIpAssignedEntity
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    Gateway string
    The default gateway for this address.
    Id string
    The ID of the entity.
    InterfaceId int
    The ID of the interface this address is assigned to.
    LinodeId int
    The ID of the Linode this address currently belongs to.
    Prefix int
    The number of bits set in the subnet mask.
    Public bool
    Whether this is a public or private IP address.
    Rdns string
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    Region string
    The Region this IP address resides in. See all regions here.
    Reserved bool
    Whether this IP address is a reserved IP.
    SubnetMask string
    The mask that separates host bits from network bits for this address.
    Tags List<string>
    A set of tags associated with this IP address.
    Type string
    The type of the entity.
    VpcNat11 GetNetworkingIpVpcNat11
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).
    Address string
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    AssignedEntity GetNetworkingIpAssignedEntity
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    Gateway string
    The default gateway for this address.
    Id string
    The ID of the entity.
    InterfaceId int
    The ID of the interface this address is assigned to.
    LinodeId int
    The ID of the Linode this address currently belongs to.
    Prefix int
    The number of bits set in the subnet mask.
    Public bool
    Whether this is a public or private IP address.
    Rdns string
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    Region string
    The Region this IP address resides in. See all regions here.
    Reserved bool
    Whether this IP address is a reserved IP.
    SubnetMask string
    The mask that separates host bits from network bits for this address.
    Tags []string
    A set of tags associated with this IP address.
    Type string
    The type of the entity.
    VpcNat11 GetNetworkingIpVpcNat11
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).
    address string
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    assigned_entity object
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    gateway string
    The default gateway for this address.
    id string
    The ID of the entity.
    interface_id number
    The ID of the interface this address is assigned to.
    linode_id number
    The ID of the Linode this address currently belongs to.
    prefix number
    The number of bits set in the subnet mask.
    public bool
    Whether this is a public or private IP address.
    rdns string
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    region string
    The Region this IP address resides in. See all regions here.
    reserved bool
    Whether this IP address is a reserved IP.
    subnet_mask string
    The mask that separates host bits from network bits for this address.
    tags list(string)
    A set of tags associated with this IP address.
    type string
    The type of the entity.
    vpc_nat11 object
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).
    address String
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    assignedEntity GetNetworkingIpAssignedEntity
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    gateway String
    The default gateway for this address.
    id String
    The ID of the entity.
    interfaceId Integer
    The ID of the interface this address is assigned to.
    linodeId Integer
    The ID of the Linode this address currently belongs to.
    prefix Integer
    The number of bits set in the subnet mask.
    public_ Boolean
    Whether this is a public or private IP address.
    rdns String
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    region String
    The Region this IP address resides in. See all regions here.
    reserved Boolean
    Whether this IP address is a reserved IP.
    subnetMask String
    The mask that separates host bits from network bits for this address.
    tags List<String>
    A set of tags associated with this IP address.
    type String
    The type of the entity.
    vpcNat11 GetNetworkingIpVpcNat11
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).
    address string
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    assignedEntity GetNetworkingIpAssignedEntity
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    gateway string
    The default gateway for this address.
    id string
    The ID of the entity.
    interfaceId number
    The ID of the interface this address is assigned to.
    linodeId number
    The ID of the Linode this address currently belongs to.
    prefix number
    The number of bits set in the subnet mask.
    public boolean
    Whether this is a public or private IP address.
    rdns string
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    region string
    The Region this IP address resides in. See all regions here.
    reserved boolean
    Whether this IP address is a reserved IP.
    subnetMask string
    The mask that separates host bits from network bits for this address.
    tags string[]
    A set of tags associated with this IP address.
    type string
    The type of the entity.
    vpcNat11 GetNetworkingIpVpcNat11
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).
    address str
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    assigned_entity GetNetworkingIpAssignedEntity
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    gateway str
    The default gateway for this address.
    id str
    The ID of the entity.
    interface_id int
    The ID of the interface this address is assigned to.
    linode_id int
    The ID of the Linode this address currently belongs to.
    prefix int
    The number of bits set in the subnet mask.
    public bool
    Whether this is a public or private IP address.
    rdns str
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    region str
    The Region this IP address resides in. See all regions here.
    reserved bool
    Whether this IP address is a reserved IP.
    subnet_mask str
    The mask that separates host bits from network bits for this address.
    tags Sequence[str]
    A set of tags associated with this IP address.
    type str
    The type of the entity.
    vpc_nat11 GetNetworkingIpVpcNat11
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).
    address String
    The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
    assignedEntity Property Map
    (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. assigned_entity.id).
    gateway String
    The default gateway for this address.
    id String
    The ID of the entity.
    interfaceId Number
    The ID of the interface this address is assigned to.
    linodeId Number
    The ID of the Linode this address currently belongs to.
    prefix Number
    The number of bits set in the subnet mask.
    public Boolean
    Whether this is a public or private IP address.
    rdns String
    The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set.
    region String
    The Region this IP address resides in. See all regions here.
    reserved Boolean
    Whether this IP address is a reserved IP.
    subnetMask String
    The mask that separates host bits from network bits for this address.
    tags List<String>
    A set of tags associated with this IP address.
    type String
    The type of the entity.
    vpcNat11 Property Map
    (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. vpc_nat_1_1.address).

    Supporting Types

    GetNetworkingIpAssignedEntity

    Id int
    The ID of the entity.
    Label string
    The label of the entity.
    Type string
    The type of the entity.
    Url string
    The URL of the entity.
    Id int
    The ID of the entity.
    Label string
    The label of the entity.
    Type string
    The type of the entity.
    Url string
    The URL of the entity.
    id number
    The ID of the entity.
    label string
    The label of the entity.
    type string
    The type of the entity.
    url string
    The URL of the entity.
    id Integer
    The ID of the entity.
    label String
    The label of the entity.
    type String
    The type of the entity.
    url String
    The URL of the entity.
    id number
    The ID of the entity.
    label string
    The label of the entity.
    type string
    The type of the entity.
    url string
    The URL of the entity.
    id int
    The ID of the entity.
    label str
    The label of the entity.
    type str
    The type of the entity.
    url str
    The URL of the entity.
    id Number
    The ID of the entity.
    label String
    The label of the entity.
    type String
    The type of the entity.
    url String
    The URL of the entity.

    GetNetworkingIpVpcNat11

    Address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    SubnetId int
    The id of the VPC Subnet for this Interface.
    VpcId int
    The id of the VPC configured for this Interface.
    Address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    SubnetId int
    The id of the VPC Subnet for this Interface.
    VpcId int
    The id of the VPC configured for this Interface.
    address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    subnet_id number
    The id of the VPC Subnet for this Interface.
    vpc_id number
    The id of the VPC configured for this Interface.
    address String
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    subnetId Integer
    The id of the VPC Subnet for this Interface.
    vpcId Integer
    The id of the VPC configured for this Interface.
    address string
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    subnetId number
    The id of the VPC Subnet for this Interface.
    vpcId number
    The id of the VPC configured for this Interface.
    address str
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    subnet_id int
    The id of the VPC Subnet for this Interface.
    vpc_id int
    The id of the VPC configured for this Interface.
    address String
    The IP Address to access. The address must be associated with the account and a resource that the user has access to view.
    subnetId Number
    The id of the VPC Subnet for this Interface.
    vpcId Number
    The id of the VPC configured for this Interface.

    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 logo
    Viewing docs for Linode v6.6.0
    published on Tuesday, Sep 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial