Show / Hide Table of Contents

Class GetNetworkingIp

Inheritance
System.Object
GetNetworkingIp
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public static class GetNetworkingIp

Methods

View Source

InvokeAsync(GetNetworkingIpArgs, InvokeOptions)

Provides information about a Linode Networking IP Address

{{% examples %}}

Example Usage

{{% example %}}

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

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",
    }));
}

}

{{% /example %}} {{% /examples %}}

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.

Declaration
public static Task<GetNetworkingIpResult> InvokeAsync(GetNetworkingIpArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetNetworkingIpArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetNetworkingIpResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.