Viewing docs for Linode v5.9.0
published on Friday, Mar 13, 2026 by Pulumi
published on Friday, Mar 13, 2026 by Pulumi
Viewing docs for Linode v5.9.0
published on Friday, Mar 13, 2026 by Pulumi
published on Friday, Mar 13, 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/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.LookupNetworkingIp(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.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 ns1LinodeCom = LinodeFunctions.getNetworkingIp(GetNetworkingIpArgs.builder()
.address("162.159.27.72")
.build());
}
}
variables:
ns1LinodeCom:
fn::invoke:
function: linode:getNetworkingIp
arguments:
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?: InvokeOptions): Output<GetNetworkingIpResult>def get_networking_ip(address: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkingIpResult
def get_networking_ip_output(address: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = 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 CompletableFuture<GetNetworkingIpResult> getNetworkingIp(GetNetworkingIpArgs args, InvokeOptions options)
public static Output<GetNetworkingIpResult> getNetworkingIp(GetNetworkingIpArgs args, InvokeOptions options)
fn::invoke:
function: linode:index/getNetworkingIp:getNetworkingIp
arguments:
# arguments dictionaryThe 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 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.
- Gateway string
- The default gateway for this address.
- Id string
- 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 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.
- Type string
- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).
- Vpc
Nat11 GetNetworking Ip Vpc Nat11 - Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
- Address string
- The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
- Gateway string
- The default gateway for this address.
- Id string
- 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 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.
- Type string
- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).
- Vpc
Nat11 GetNetworking Ip Vpc Nat11 - Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
- address String
- The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
- gateway String
- The default gateway for this address.
- id String
- interface
Id Integer - The ID of the interface this address is assigned to.
- linode
Id 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.
- subnet
Mask String - The mask that separates host bits from network bits for this address.
- type String
- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).
- vpc
Nat11 GetNetworking Ip Vpc Nat11 - Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
- address string
- The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
- gateway string
- The default gateway for this address.
- id string
- 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 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.
- subnet
Mask string - The mask that separates host bits from network bits for this address.
- type string
- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).
- vpc
Nat11 GetNetworking Ip Vpc Nat11 - Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
- address str
- The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
- gateway str
- The default gateway for this address.
- id str
- 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.
- type str
- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).
- vpc_
nat11 GetNetworking Ip Vpc Nat11 - Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
- address String
- The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
- gateway String
- The default gateway for this address.
- id String
- 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 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.
- subnet
Mask String - The mask that separates host bits from network bits for this address.
- type String
- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).
- vpc
Nat11 Property Map - Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
Supporting Types
GetNetworkingIpVpcNat11
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
Viewing docs for Linode v5.9.0
published on Friday, Mar 13, 2026 by Pulumi
published on Friday, Mar 13, 2026 by Pulumi
