GetNetworkingIp
Provides information about a Linode Networking IP Address
Attributes
The Linode Network IP Address resource exports the following attributes:
address- The IP address.gateway- The default gateway for this address.subnet_mask- The mask that separates host bits from network bits for this address.prefix- The number of bits set in the subnet mask.type- The type of address this is (ipv4, ipv6, ipv6/pool, ipv6/range).public- Whether this is a public or private IP address.rdns- 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.linode_id- The ID of the Linode this address currently belongs to.region- The Region this IP address resides in.
Example Usage
using Pulumi;
using Linode = Pulumi.Linode;
class MyStack : Stack
{
public MyStack()
{
var ns1LinodeCom = Output.Create(Linode.GetNetworkingIp.InvokeAsync(new Linode.GetNetworkingIpArgs
{
Address = "162.159.27.72",
}));
}
}
Coming soon!
import pulumi
import pulumi_linode as linode
ns1_linode_com = linode.get_networking_ip(address="162.159.27.72")import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const ns1LinodeCom = pulumi.output(linode.getNetworkingIp({
address: "162.159.27.72",
}, { async: true }));Using GetNetworkingIp
function getNetworkingIp(args: GetNetworkingIpArgs, opts?: InvokeOptions): Promise<GetNetworkingIpResult>function get_networking_ip(address=None, opts=None)func GetNetworkingIp(ctx *Context, args *GetNetworkingIpArgs, opts ...InvokeOption) (*GetNetworkingIpResult, error)public static class GetNetworkingIp {
public static Task<GetNetworkingIpResult> InvokeAsync(GetNetworkingIpArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetNetworkingIp Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.