stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
Network interface datasource schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_network_interface" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_interface_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getNetworkInterface
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 getNetworkInterface(args: GetNetworkInterfaceArgs, opts?: InvokeOptions): Promise<GetNetworkInterfaceResult>
function getNetworkInterfaceOutput(args: GetNetworkInterfaceOutputArgs, opts?: InvokeOptions): Output<GetNetworkInterfaceResult>def get_network_interface(network_id: Optional[str] = None,
network_interface_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkInterfaceResult
def get_network_interface_output(network_id: Optional[pulumi.Input[str]] = None,
network_interface_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkInterfaceResult]func LookupNetworkInterface(ctx *Context, args *LookupNetworkInterfaceArgs, opts ...InvokeOption) (*LookupNetworkInterfaceResult, error)
func LookupNetworkInterfaceOutput(ctx *Context, args *LookupNetworkInterfaceOutputArgs, opts ...InvokeOption) LookupNetworkInterfaceResultOutput> Note: This function is named LookupNetworkInterface in the Go SDK.
public static class GetNetworkInterface
{
public static Task<GetNetworkInterfaceResult> InvokeAsync(GetNetworkInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkInterfaceResult> Invoke(GetNetworkInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkInterfaceResult> getNetworkInterface(GetNetworkInterfaceArgs args, InvokeOptions options)
public static Output<GetNetworkInterfaceResult> getNetworkInterface(GetNetworkInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getNetworkInterface:getNetworkInterface
arguments:
# arguments dictionaryThe following arguments are supported:
- Network
Id string - The network ID to which the network interface is associated.
- Network
Interface stringId - The network interface ID.
- Project
Id string - STACKIT project ID to which the network interface is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Network
Id string - The network ID to which the network interface is associated.
- Network
Interface stringId - The network interface ID.
- Project
Id string - STACKIT project ID to which the network interface is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- network
Id String - The network ID to which the network interface is associated.
- network
Interface StringId - The network interface ID.
- project
Id String - STACKIT project ID to which the network interface is associated.
- region String
- The resource region. If not defined, the provider region is used.
- network
Id string - The network ID to which the network interface is associated.
- network
Interface stringId - The network interface ID.
- project
Id string - STACKIT project ID to which the network interface is associated.
- region string
- The resource region. If not defined, the provider region is used.
- network_
id str - The network ID to which the network interface is associated.
- network_
interface_ strid - The network interface ID.
- project_
id str - STACKIT project ID to which the network interface is associated.
- region str
- The resource region. If not defined, the provider region is used.
- network
Id String - The network ID to which the network interface is associated.
- network
Interface StringId - The network interface ID.
- project
Id String - STACKIT project ID to which the network interface is associated.
- region String
- The resource region. If not defined, the provider region is used.
getNetworkInterface Result
The following output properties are available:
- Allowed
Addresses List<string> - The list of CIDR (Classless Inter-Domain Routing) notations.
- Device string
- The device UUID of the network interface.
- Id string
- Ipv4 string
- The IPv4 address.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a network interface.
- Mac string
- The MAC address of network interface.
- Name string
- The name of the network interface.
- Network
Id string - The network ID to which the network interface is associated.
- Network
Interface stringId - The network interface ID.
- Project
Id string - STACKIT project ID to which the network interface is associated.
- Security bool
- The Network Interface Security. If set to false, then no security groups will apply to this network interface.
- Security
Group List<string>Ids - The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
- Type string
- Type of network interface. Some of the possible values are: Possible values are:
server,metadata,gateway. - Region string
- The resource region. If not defined, the provider region is used.
- Allowed
Addresses []string - The list of CIDR (Classless Inter-Domain Routing) notations.
- Device string
- The device UUID of the network interface.
- Id string
- Ipv4 string
- The IPv4 address.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a network interface.
- Mac string
- The MAC address of network interface.
- Name string
- The name of the network interface.
- Network
Id string - The network ID to which the network interface is associated.
- Network
Interface stringId - The network interface ID.
- Project
Id string - STACKIT project ID to which the network interface is associated.
- Security bool
- The Network Interface Security. If set to false, then no security groups will apply to this network interface.
- Security
Group []stringIds - The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
- Type string
- Type of network interface. Some of the possible values are: Possible values are:
server,metadata,gateway. - Region string
- The resource region. If not defined, the provider region is used.
- allowed
Addresses List<String> - The list of CIDR (Classless Inter-Domain Routing) notations.
- device String
- The device UUID of the network interface.
- id String
- ipv4 String
- The IPv4 address.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a network interface.
- mac String
- The MAC address of network interface.
- name String
- The name of the network interface.
- network
Id String - The network ID to which the network interface is associated.
- network
Interface StringId - The network interface ID.
- project
Id String - STACKIT project ID to which the network interface is associated.
- security Boolean
- The Network Interface Security. If set to false, then no security groups will apply to this network interface.
- security
Group List<String>Ids - The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
- type String
- Type of network interface. Some of the possible values are: Possible values are:
server,metadata,gateway. - region String
- The resource region. If not defined, the provider region is used.
- allowed
Addresses string[] - The list of CIDR (Classless Inter-Domain Routing) notations.
- device string
- The device UUID of the network interface.
- id string
- ipv4 string
- The IPv4 address.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a network interface.
- mac string
- The MAC address of network interface.
- name string
- The name of the network interface.
- network
Id string - The network ID to which the network interface is associated.
- network
Interface stringId - The network interface ID.
- project
Id string - STACKIT project ID to which the network interface is associated.
- security boolean
- The Network Interface Security. If set to false, then no security groups will apply to this network interface.
- security
Group string[]Ids - The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
- type string
- Type of network interface. Some of the possible values are: Possible values are:
server,metadata,gateway. - region string
- The resource region. If not defined, the provider region is used.
- allowed_
addresses Sequence[str] - The list of CIDR (Classless Inter-Domain Routing) notations.
- device str
- The device UUID of the network interface.
- id str
- ipv4 str
- The IPv4 address.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a network interface.
- mac str
- The MAC address of network interface.
- name str
- The name of the network interface.
- network_
id str - The network ID to which the network interface is associated.
- network_
interface_ strid - The network interface ID.
- project_
id str - STACKIT project ID to which the network interface is associated.
- security bool
- The Network Interface Security. If set to false, then no security groups will apply to this network interface.
- security_
group_ Sequence[str]ids - The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
- type str
- Type of network interface. Some of the possible values are: Possible values are:
server,metadata,gateway. - region str
- The resource region. If not defined, the provider region is used.
- allowed
Addresses List<String> - The list of CIDR (Classless Inter-Domain Routing) notations.
- device String
- The device UUID of the network interface.
- id String
- ipv4 String
- The IPv4 address.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a network interface.
- mac String
- The MAC address of network interface.
- name String
- The name of the network interface.
- network
Id String - The network ID to which the network interface is associated.
- network
Interface StringId - The network interface ID.
- project
Id String - STACKIT project ID to which the network interface is associated.
- security Boolean
- The Network Interface Security. If set to false, then no security groups will apply to this network interface.
- security
Group List<String>Ids - The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
- type String
- Type of network interface. Some of the possible values are: Possible values are:
server,metadata,gateway. - region String
- The resource region. If not defined, the provider region is used.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
