linode.getInstanceNetworking
Explore with Pulumi AI
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:
- Linode
Id int The Linode instance's ID.
- Linode
Id int The Linode instance's ID.
- linode
Id Integer The Linode instance's ID.
- linode
Id number The Linode instance's ID.
- linode_
id int The Linode instance's ID.
- linode
Id Number The Linode instance's ID.
getInstanceNetworking Result
The following output properties are available:
- Id string
- Ipv4s
List<Get
Instance Networking Ipv4> - Ipv6s
List<Get
Instance Networking Ipv6> - Linode
Id int The ID of the Linode this address currently belongs to.
- Id string
- Ipv4s
[]Get
Instance Networking Ipv4 - Ipv6s
[]Get
Instance Networking Ipv6 - Linode
Id int The ID of the Linode this address currently belongs to.
- id String
- ipv4s
List<Get
Instance Networking Ipv4> - ipv6s
List<Get
Instance Networking Ipv6> - linode
Id Integer The ID of the Linode this address currently belongs to.
- id string
- ipv4s
Get
Instance Networking Ipv4[] - ipv6s
Get
Instance Networking Ipv6[] - linode
Id number The ID of the Linode this address currently belongs to.
- id str
- ipv4s
Sequence[Get
Instance Networking Ipv4] - ipv6s
Sequence[Get
Instance Networking Ipv6] - linode_
id int The ID of the Linode this address currently belongs to.
- id String
- ipv4s List<Property Map>
- ipv6s List<Property Map>
- linode
Id Number The ID of the Linode this address currently belongs to.
Supporting Types
GetInstanceNetworkingIpv4
- Privates
List<Get
Instance Networking Ipv4Private> - Publics
List<Get
Instance Networking Ipv4Public> Whether this is a public or private IP address.
- Reserveds
List<Get
Instance Networking Ipv4Reserved> - List<Get
Instance Networking Ipv4Shared>
- Privates
[]Get
Instance Networking Ipv4Private - Publics
[]Get
Instance Networking Ipv4Public Whether this is a public or private IP address.
- Reserveds
[]Get
Instance Networking Ipv4Reserved - []Get
Instance Networking Ipv4Shared
- privates
List<Get
Instance Networking Ipv4Private> - publics
List<Get
Instance Networking Ipv4Public> Whether this is a public or private IP address.
- reserveds
List<Get
Instance Networking Ipv4Reserved> - List<Get
Instance Networking Ipv4Shared>
- privates
Get
Instance Networking Ipv4Private[] - publics
Get
Instance Networking Ipv4Public[] Whether this is a public or private IP address.
- reserveds
Get
Instance Networking Ipv4Reserved[] - Get
Instance Networking Ipv4Shared[]
- privates
Sequence[Get
Instance Networking Ipv4Private] - publics
Sequence[Get
Instance Networking Ipv4Public] Whether this is a public or private IP address.
- reserveds
Sequence[Get
Instance Networking Ipv4Reserved] - Sequence[Get
Instance Networking Ipv4Shared]
- privates List<Property Map>
- publics List<Property Map>
Whether this is a public or private IP address.
- reserveds List<Property Map>
- List<Property Map>
GetInstanceNetworkingIpv4Private
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- address String
The address.
- gateway String
The default gateway for this address.
- linode
Id 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.
- subnet
Mask String The subnet mask.
- type String
The type of address this is.
- address string
The address.
- gateway string
The default gateway for this address.
- linode
Id 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.
- subnet
Mask 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.
- linode
Id 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.
- subnet
Mask 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.
- 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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- address String
The address.
- gateway String
The default gateway for this address.
- linode
Id 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.
- subnet
Mask String The subnet mask.
- type String
The type of address this is.
- address string
The address.
- gateway string
The default gateway for this address.
- linode
Id 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.
- subnet
Mask 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.
- linode
Id 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.
- subnet
Mask 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.
- 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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- address String
The address.
- gateway String
The default gateway for this address.
- linode
Id 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.
- subnet
Mask String The subnet mask.
- type String
The type of address this is.
- address string
The address.
- gateway string
The default gateway for this address.
- linode
Id 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.
- subnet
Mask 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.
- linode
Id 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.
- subnet
Mask 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.
- 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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- address String
The address.
- gateway String
The default gateway for this address.
- linode
Id 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.
- subnet
Mask String The subnet mask.
- type String
The type of address this is.
- address string
The address.
- gateway string
The default gateway for this address.
- linode
Id 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.
- subnet
Mask 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.
- linode
Id 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.
- subnet
Mask 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.
- Route
Target 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.
- Route
Target 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.
- route
Target 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.
- route
Target 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.
- route
Target String (Nullable) The last address in this block of IPv6 addresses.
GetInstanceNetworkingIpv6LinkLocal
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- address String
The address.
- gateway String
The default gateway for this address.
- linode
Id 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.
- subnet
Mask String The subnet mask.
- type String
The type of address this is.
- address string
The address.
- gateway string
The default gateway for this address.
- linode
Id 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.
- subnet
Mask 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.
- linode
Id 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.
- subnet
Mask 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.
- 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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- Address string
The address.
- Gateway string
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 string
The reverse DNS assigned to this address.
- Region string
(Filterable) The Region this address resides in.
- Subnet
Mask string The subnet mask.
- Type string
The type of address this is.
- address String
The address.
- gateway String
The default gateway for this address.
- linode
Id 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.
- subnet
Mask String The subnet mask.
- type String
The type of address this is.
- address string
The address.
- gateway string
The default gateway for this address.
- linode
Id 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.
- subnet
Mask 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.
- linode
Id 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.
- subnet
Mask 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.