Using getInterface
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 getInterface(args: GetInterfaceArgs, opts?: InvokeOptions): Promise<GetInterfaceResult>
function getInterfaceOutput(args: GetInterfaceOutputArgs, opts?: InvokeOptions): Output<GetInterfaceResult>def get_interface(id: Optional[str] = None,
linode_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetInterfaceResult
def get_interface_output(id: Optional[pulumi.Input[str]] = None,
linode_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInterfaceResult]func LookupInterface(ctx *Context, args *LookupInterfaceArgs, opts ...InvokeOption) (*LookupInterfaceResult, error)
func LookupInterfaceOutput(ctx *Context, args *LookupInterfaceOutputArgs, opts ...InvokeOption) LookupInterfaceResultOutput> Note: This function is named LookupInterface in the Go SDK.
public static class GetInterface
{
public static Task<GetInterfaceResult> InvokeAsync(GetInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetInterfaceResult> Invoke(GetInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInterfaceResult> getInterface(GetInterfaceArgs args, InvokeOptions options)
public static Output<GetInterfaceResult> getInterface(GetInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: linode:index/getInterface:getInterface
arguments:
# arguments dictionaryThe following arguments are supported:
getInterface Result
The following output properties are available:
Supporting Types
GetInterfaceDefaultRoute
GetInterfacePublic
- Ipv4
Get
Interface Public Ipv4 - The public IPv4 configuration for the interface.
- Ipv6
Get
Interface Public Ipv6 - The public IPv6 configuration for the interface.
- Ipv4
Get
Interface Public Ipv4 - The public IPv4 configuration for the interface.
- Ipv6
Get
Interface Public Ipv6 - The public IPv6 configuration for the interface.
- ipv4
Get
Interface Public Ipv4 - The public IPv4 configuration for the interface.
- ipv6
Get
Interface Public Ipv6 - The public IPv6 configuration for the interface.
- ipv4
Get
Interface Public Ipv4 - The public IPv4 configuration for the interface.
- ipv6
Get
Interface Public Ipv6 - The public IPv6 configuration for the interface.
- ipv4
Get
Interface Public Ipv4 - The public IPv4 configuration for the interface.
- ipv6
Get
Interface Public Ipv6 - The public IPv6 configuration for the interface.
- ipv4 Property Map
- The public IPv4 configuration for the interface.
- ipv6 Property Map
- The public IPv6 configuration for the interface.
GetInterfacePublicIpv4
- Addresses
List<Get
Interface Public Ipv4Address> - IPv4 addresses assigned to this interface.
-
List<Get
Interface Public Ipv4Shared> - IPv4 addresses shared with other Linodes.
- Addresses
[]Get
Interface Public Ipv4Address - IPv4 addresses assigned to this interface.
-
[]Get
Interface Public Ipv4Shared - IPv4 addresses shared with other Linodes.
- addresses
List<Get
Interface Public Ipv4Address> - IPv4 addresses assigned to this interface.
-
List<Get
Interface Public Ipv4Shared> - IPv4 addresses shared with other Linodes.
- addresses
Get
Interface Public Ipv4Address[] - IPv4 addresses assigned to this interface.
-
Get
Interface Public Ipv4Shared[] - IPv4 addresses shared with other Linodes.
- addresses
Sequence[Get
Interface Public Ipv4Address] - IPv4 addresses assigned to this interface.
-
Sequence[Get
Interface Public Ipv4Shared] - IPv4 addresses shared with other Linodes.
- addresses List<Property Map>
- IPv4 addresses assigned to this interface.
- List<Property Map>
- IPv4 addresses shared with other Linodes.
GetInterfacePublicIpv4Address
GetInterfacePublicIpv4Shared
GetInterfacePublicIpv6
- Ranges
List<Get
Interface Public Ipv6Range> - IPv6 ranges assigned to this interface.
-
List<Get
Interface Public Ipv6Shared> - IPv6 ranges shared with other Linodes.
- Slaacs
List<Get
Interface Public Ipv6Slaac> - IPv6 SLAAC configuration.
- Ranges
[]Get
Interface Public Ipv6Range - IPv6 ranges assigned to this interface.
-
[]Get
Interface Public Ipv6Shared - IPv6 ranges shared with other Linodes.
- Slaacs
[]Get
Interface Public Ipv6Slaac - IPv6 SLAAC configuration.
- ranges
List<Get
Interface Public Ipv6Range> - IPv6 ranges assigned to this interface.
-
List<Get
Interface Public Ipv6Shared> - IPv6 ranges shared with other Linodes.
- slaacs
List<Get
Interface Public Ipv6Slaac> - IPv6 SLAAC configuration.
- ranges
Get
Interface Public Ipv6Range[] - IPv6 ranges assigned to this interface.
-
Get
Interface Public Ipv6Shared[] - IPv6 ranges shared with other Linodes.
- slaacs
Get
Interface Public Ipv6Slaac[] - IPv6 SLAAC configuration.
- ranges
Sequence[Get
Interface Public Ipv6Range] - IPv6 ranges assigned to this interface.
-
Sequence[Get
Interface Public Ipv6Shared] - IPv6 ranges shared with other Linodes.
- slaacs
Sequence[Get
Interface Public Ipv6Slaac] - IPv6 SLAAC configuration.
- ranges List<Property Map>
- IPv6 ranges assigned to this interface.
- List<Property Map>
- IPv6 ranges shared with other Linodes.
- slaacs List<Property Map>
- IPv6 SLAAC configuration.
GetInterfacePublicIpv6Range
- Range string
- The IPv6 range.
- Route
Target string - The route target for this IPv6 range.
- Range string
- The IPv6 range.
- Route
Target string - The route target for this IPv6 range.
- range String
- The IPv6 range.
- route
Target String - The route target for this IPv6 range.
- range string
- The IPv6 range.
- route
Target string - The route target for this IPv6 range.
- range str
- The IPv6 range.
- route_
target str - The route target for this IPv6 range.
- range String
- The IPv6 range.
- route
Target String - The route target for this IPv6 range.
GetInterfacePublicIpv6Shared
- Range string
- The IPv6 range.
- Route
Target string - The route target for this IPv6 range.
- Range string
- The IPv6 range.
- Route
Target string - The route target for this IPv6 range.
- range String
- The IPv6 range.
- route
Target String - The route target for this IPv6 range.
- range string
- The IPv6 range.
- route
Target string - The route target for this IPv6 range.
- range str
- The IPv6 range.
- route_
target str - The route target for this IPv6 range.
- range String
- The IPv6 range.
- route
Target String - The route target for this IPv6 range.
GetInterfacePublicIpv6Slaac
GetInterfaceVlan
- Ipam
Address string - The IPAM (IP Address Management) address of the VLAN interface.
- Vlan
Label string - The label of the VLAN.
- Ipam
Address string - The IPAM (IP Address Management) address of the VLAN interface.
- Vlan
Label string - The label of the VLAN.
- ipam
Address String - The IPAM (IP Address Management) address of the VLAN interface.
- vlan
Label String - The label of the VLAN.
- ipam
Address string - The IPAM (IP Address Management) address of the VLAN interface.
- vlan
Label string - The label of the VLAN.
- ipam_
address str - The IPAM (IP Address Management) address of the VLAN interface.
- vlan_
label str - The label of the VLAN.
- ipam
Address String - The IPAM (IP Address Management) address of the VLAN interface.
- vlan
Label String - The label of the VLAN.
GetInterfaceVpc
- Ipv4
Get
Interface Vpc Ipv4 - The IPv4 configuration for the VPC interface.
- Ipv6
Get
Interface Vpc Ipv6 - The IPv6 configuration for the VPC interface.
- Subnet
Id int - The ID of the VPC subnet.
- Ipv4
Get
Interface Vpc Ipv4 - The IPv4 configuration for the VPC interface.
- Ipv6
Get
Interface Vpc Ipv6 - The IPv6 configuration for the VPC interface.
- Subnet
Id int - The ID of the VPC subnet.
- ipv4
Get
Interface Vpc Ipv4 - The IPv4 configuration for the VPC interface.
- ipv6
Get
Interface Vpc Ipv6 - The IPv6 configuration for the VPC interface.
- subnet
Id Integer - The ID of the VPC subnet.
- ipv4
Get
Interface Vpc Ipv4 - The IPv4 configuration for the VPC interface.
- ipv6
Get
Interface Vpc Ipv6 - The IPv6 configuration for the VPC interface.
- subnet
Id number - The ID of the VPC subnet.
- ipv4
Get
Interface Vpc Ipv4 - The IPv4 configuration for the VPC interface.
- ipv6
Get
Interface Vpc Ipv6 - The IPv6 configuration for the VPC interface.
- subnet_
id int - The ID of the VPC subnet.
- ipv4 Property Map
- The IPv4 configuration for the VPC interface.
- ipv6 Property Map
- The IPv6 configuration for the VPC interface.
- subnet
Id Number - The ID of the VPC subnet.
GetInterfaceVpcIpv4
- Addresses
List<Get
Interface Vpc Ipv4Address> - IPv4 addresses assigned to this VPC interface.
- Ranges
List<Get
Interface Vpc Ipv4Range> - IPv4 ranges assigned to this VPC interface.
- Addresses
[]Get
Interface Vpc Ipv4Address - IPv4 addresses assigned to this VPC interface.
- Ranges
[]Get
Interface Vpc Ipv4Range - IPv4 ranges assigned to this VPC interface.
- addresses
List<Get
Interface Vpc Ipv4Address> - IPv4 addresses assigned to this VPC interface.
- ranges
List<Get
Interface Vpc Ipv4Range> - IPv4 ranges assigned to this VPC interface.
- addresses
Get
Interface Vpc Ipv4Address[] - IPv4 addresses assigned to this VPC interface.
- ranges
Get
Interface Vpc Ipv4Range[] - IPv4 ranges assigned to this VPC interface.
- addresses
Sequence[Get
Interface Vpc Ipv4Address] - IPv4 addresses assigned to this VPC interface.
- ranges
Sequence[Get
Interface Vpc Ipv4Range] - IPv4 ranges assigned to this VPC interface.
- addresses List<Property Map>
- IPv4 addresses assigned to this VPC interface.
- ranges List<Property Map>
- IPv4 ranges assigned to this VPC interface.
GetInterfaceVpcIpv4Address
- Address string
- The VPC IPv4 address.
- Nat11Address string
- The 1:1 NAT address for this VPC IPv4 address.
- Primary bool
- Whether this is the primary VPC IPv4 address.
- Address string
- The VPC IPv4 address.
- Nat11Address string
- The 1:1 NAT address for this VPC IPv4 address.
- Primary bool
- Whether this is the primary VPC IPv4 address.
- address String
- The VPC IPv4 address.
- nat11Address String
- The 1:1 NAT address for this VPC IPv4 address.
- primary Boolean
- Whether this is the primary VPC IPv4 address.
- address string
- The VPC IPv4 address.
- nat11Address string
- The 1:1 NAT address for this VPC IPv4 address.
- primary boolean
- Whether this is the primary VPC IPv4 address.
- address str
- The VPC IPv4 address.
- nat11_
address str - The 1:1 NAT address for this VPC IPv4 address.
- primary bool
- Whether this is the primary VPC IPv4 address.
- address String
- The VPC IPv4 address.
- nat11Address String
- The 1:1 NAT address for this VPC IPv4 address.
- primary Boolean
- Whether this is the primary VPC IPv4 address.
GetInterfaceVpcIpv4Range
- Range string
- The VPC IPv4 range.
- Range string
- The VPC IPv4 range.
- range String
- The VPC IPv4 range.
- range string
- The VPC IPv4 range.
- range str
- The VPC IPv4 range.
- range String
- The VPC IPv4 range.
GetInterfaceVpcIpv6
- Is
Public bool - Indicates whether the IPv6 configuration on the Linode interface is public.
- Ranges
List<Get
Interface Vpc Ipv6Range> - IPv6 ranges assigned to this VPC interface.
- Slaacs
List<Get
Interface Vpc Ipv6Slaac> - IPv6 SLAAC address ranges.
- Is
Public bool - Indicates whether the IPv6 configuration on the Linode interface is public.
- Ranges
[]Get
Interface Vpc Ipv6Range - IPv6 ranges assigned to this VPC interface.
- Slaacs
[]Get
Interface Vpc Ipv6Slaac - IPv6 SLAAC address ranges.
- is
Public Boolean - Indicates whether the IPv6 configuration on the Linode interface is public.
- ranges
List<Get
Interface Vpc Ipv6Range> - IPv6 ranges assigned to this VPC interface.
- slaacs
List<Get
Interface Vpc Ipv6Slaac> - IPv6 SLAAC address ranges.
- is
Public boolean - Indicates whether the IPv6 configuration on the Linode interface is public.
- ranges
Get
Interface Vpc Ipv6Range[] - IPv6 ranges assigned to this VPC interface.
- slaacs
Get
Interface Vpc Ipv6Slaac[] - IPv6 SLAAC address ranges.
- is_
public bool - Indicates whether the IPv6 configuration on the Linode interface is public.
- ranges
Sequence[Get
Interface Vpc Ipv6Range] - IPv6 ranges assigned to this VPC interface.
- slaacs
Sequence[Get
Interface Vpc Ipv6Slaac] - IPv6 SLAAC address ranges.
- is
Public Boolean - Indicates whether the IPv6 configuration on the Linode interface is public.
- ranges List<Property Map>
- IPv6 ranges assigned to this VPC interface.
- slaacs List<Property Map>
- IPv6 SLAAC address ranges.
GetInterfaceVpcIpv6Range
- Range string
- The IPv6 network range in CIDR notation.
- Range string
- The IPv6 network range in CIDR notation.
- range String
- The IPv6 network range in CIDR notation.
- range string
- The IPv6 network range in CIDR notation.
- range str
- The IPv6 network range in CIDR notation.
- range String
- The IPv6 network range in CIDR notation.
GetInterfaceVpcIpv6Slaac
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
