published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
A virtual machine interface (virtualization.vminterface).
From the official documentation:
Virtual machine interfaces behave similarly to device interfaces, and can be assigned to VRFs, and may have IP addresses, VLANs, and services attached to them. However, given their virtual nature, they lack properties pertaining to physical attributes. For example, VM interfaces do not have a physical type and cannot have cables attached to them.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getVirtualMachineInterface({
name: "test-virtual_machine_interface",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_virtual_machine_interface(name="test-virtual_machine_interface")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netbox.LookupVirtualMachineInterface(ctx, &netbox.LookupVirtualMachineInterfaceArgs{
Name: pulumi.StringRef("test-virtual_machine_interface"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netbox = Pulumi.Netbox;
return await Deployment.RunAsync(() =>
{
var test = Netbox.GetVirtualMachineInterface.Invoke(new()
{
Name = "test-virtual_machine_interface",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.NetboxFunctions;
import com.pulumi.netbox.inputs.GetVirtualMachineInterfaceArgs;
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 test = NetboxFunctions.getVirtualMachineInterface(GetVirtualMachineInterfaceArgs.builder()
.name("test-virtual_machine_interface")
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getVirtualMachineInterface
arguments:
name: test-virtual_machine_interface
Example coming soon!
Using getVirtualMachineInterface
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 getVirtualMachineInterface(args: GetVirtualMachineInterfaceArgs, opts?: InvokeOptions): Promise<GetVirtualMachineInterfaceResult>
function getVirtualMachineInterfaceOutput(args: GetVirtualMachineInterfaceOutputArgs, opts?: InvokeOutputOptions): Output<GetVirtualMachineInterfaceResult>def get_virtual_machine_interface(bridge_id: Optional[float] = None,
cluster_id: Optional[float] = None,
cluster_name: Optional[str] = None,
created: Optional[str] = None,
custom_field_filters: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
id: Optional[float] = None,
l2vpn: Optional[float] = None,
l2vpn_id: Optional[float] = None,
last_updated: Optional[str] = None,
mac_address: Optional[str] = None,
mode: Optional[str] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
owner_group_id: Optional[float] = None,
owner_group_name: Optional[str] = None,
owner_id: Optional[float] = None,
owner_name: Optional[str] = None,
parent_id: Optional[float] = None,
primary_mac_address: Optional[str] = None,
primary_mac_address_id: Optional[float] = None,
q: Optional[str] = None,
tag_id: Optional[float] = None,
tag_slug: Optional[str] = None,
virtual_machine_id: Optional[float] = None,
virtual_machine_name: Optional[str] = None,
vlan: Optional[str] = None,
vlan_id: Optional[str] = None,
vlan_translation_policy: Optional[str] = None,
vlan_translation_policy_id: Optional[float] = None,
vrf_id: Optional[float] = None,
vrf_rd: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualMachineInterfaceResult
def get_virtual_machine_interface_output(bridge_id: pulumi.Input[Optional[float]] = None,
cluster_id: pulumi.Input[Optional[float]] = None,
cluster_name: pulumi.Input[Optional[str]] = None,
created: pulumi.Input[Optional[str]] = None,
custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
description: pulumi.Input[Optional[str]] = None,
enabled: pulumi.Input[Optional[bool]] = None,
id: pulumi.Input[Optional[float]] = None,
l2vpn: pulumi.Input[Optional[float]] = None,
l2vpn_id: pulumi.Input[Optional[float]] = None,
last_updated: pulumi.Input[Optional[str]] = None,
mac_address: pulumi.Input[Optional[str]] = None,
mode: pulumi.Input[Optional[str]] = None,
mtu: pulumi.Input[Optional[float]] = None,
name: pulumi.Input[Optional[str]] = None,
owner_group_id: pulumi.Input[Optional[float]] = None,
owner_group_name: pulumi.Input[Optional[str]] = None,
owner_id: pulumi.Input[Optional[float]] = None,
owner_name: pulumi.Input[Optional[str]] = None,
parent_id: pulumi.Input[Optional[float]] = None,
primary_mac_address: pulumi.Input[Optional[str]] = None,
primary_mac_address_id: pulumi.Input[Optional[float]] = None,
q: pulumi.Input[Optional[str]] = None,
tag_id: pulumi.Input[Optional[float]] = None,
tag_slug: pulumi.Input[Optional[str]] = None,
virtual_machine_id: pulumi.Input[Optional[float]] = None,
virtual_machine_name: pulumi.Input[Optional[str]] = None,
vlan: pulumi.Input[Optional[str]] = None,
vlan_id: pulumi.Input[Optional[str]] = None,
vlan_translation_policy: pulumi.Input[Optional[str]] = None,
vlan_translation_policy_id: pulumi.Input[Optional[float]] = None,
vrf_id: pulumi.Input[Optional[float]] = None,
vrf_rd: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVirtualMachineInterfaceResult]func LookupVirtualMachineInterface(ctx *Context, args *LookupVirtualMachineInterfaceArgs, opts ...InvokeOption) (*LookupVirtualMachineInterfaceResult, error)
func LookupVirtualMachineInterfaceOutput(ctx *Context, args *LookupVirtualMachineInterfaceOutputArgs, opts ...InvokeOption) LookupVirtualMachineInterfaceResultOutput> Note: This function is named LookupVirtualMachineInterface in the Go SDK.
public static class GetVirtualMachineInterface
{
public static Task<GetVirtualMachineInterfaceResult> InvokeAsync(GetVirtualMachineInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineInterfaceResult> Invoke(GetVirtualMachineInterfaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineInterfaceResult> Invoke(GetVirtualMachineInterfaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVirtualMachineInterfaceResult> getVirtualMachineInterface(GetVirtualMachineInterfaceArgs args, InvokeOptions options)
public static Output<GetVirtualMachineInterfaceResult> getVirtualMachineInterface(GetVirtualMachineInterfaceArgs args, InvokeOptions options)
public static Output<GetVirtualMachineInterfaceResult> getVirtualMachineInterface(GetVirtualMachineInterfaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getVirtualMachineInterface:getVirtualMachineInterface
arguments:
# arguments dictionarydata "netbox_get_virtual_machine_interface" "name" {
# arguments
}The following arguments are supported:
- Bridge
Id double - Id of the bridged interface.
- Cluster
Id double - Id of the cluster of the virtual machine.
- Cluster
Name string - Name of the cluster of the virtual machine.
- Created string
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Description string
- Enabled bool
- Whether the interface is enabled.
- Id double
- NetBox id.
- L2vpn double
- Id of the L2VPN.
- L2vpn
Id double - Id of the L2VPN.
- Last
Updated string - Mac
Address string - MAC address assigned to the interface.
- Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Mtu double
- MTU in bytes. Must be a whole number.
- Name string
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id double - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Parent
Id double - Id of the parent interface.
- Primary
Mac stringAddress - Primary MAC address.
- Primary
Mac doubleAddress Id - Id of the primary MAC address.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Machine doubleId - Id of the virtual machine.
- Virtual
Machine stringName - Name of the virtual machine.
- Vlan string
- Assigned VID.
- Vlan
Id string - Assigned VLAN.
- Vlan
Translation stringPolicy - VLAN Translation Policy.
- Vlan
Translation doublePolicy Id - Id of the VLAN translation policy.
- Vrf
Id double - Id of the VRF.
- Vrf
Rd string - Route distinguisher of the VRF.
- Bridge
Id float64 - Id of the bridged interface.
- Cluster
Id float64 - Id of the cluster of the virtual machine.
- Cluster
Name string - Name of the cluster of the virtual machine.
- Created string
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Description string
- Enabled bool
- Whether the interface is enabled.
- Id float64
- NetBox id.
- L2vpn float64
- Id of the L2VPN.
- L2vpn
Id float64 - Id of the L2VPN.
- Last
Updated string - Mac
Address string - MAC address assigned to the interface.
- Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Mtu float64
- MTU in bytes. Must be a whole number.
- Name string
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Parent
Id float64 - Id of the parent interface.
- Primary
Mac stringAddress - Primary MAC address.
- Primary
Mac float64Address Id - Id of the primary MAC address.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Machine float64Id - Id of the virtual machine.
- Virtual
Machine stringName - Name of the virtual machine.
- Vlan string
- Assigned VID.
- Vlan
Id string - Assigned VLAN.
- Vlan
Translation stringPolicy - VLAN Translation Policy.
- Vlan
Translation float64Policy Id - Id of the VLAN translation policy.
- Vrf
Id float64 - Id of the VRF.
- Vrf
Rd string - Route distinguisher of the VRF.
- bridge_
id number - Id of the bridged interface.
- cluster_
id number - Id of the cluster of the virtual machine.
- cluster_
name string - Name of the cluster of the virtual machine.
- created string
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- description string
- enabled bool
- Whether the interface is enabled.
- id number
- NetBox id.
- l2vpn number
- Id of the L2VPN.
- l2vpn_
id number - Id of the L2VPN.
- last_
updated string - mac_
address string - MAC address assigned to the interface.
- mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu number
- MTU in bytes. Must be a whole number.
- name string
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
id number - Id of the owner the object is assigned to.
- owner_
name string - Name of the owner.
- parent_
id number - Id of the parent interface.
- primary_
mac_ stringaddress - Primary MAC address.
- primary_
mac_ numberaddress_ id - Id of the primary MAC address.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- virtual_
machine_ numberid - Id of the virtual machine.
- virtual_
machine_ stringname - Name of the virtual machine.
- vlan string
- Assigned VID.
- vlan_
id string - Assigned VLAN.
- vlan_
translation_ stringpolicy - VLAN Translation Policy.
- vlan_
translation_ numberpolicy_ id - Id of the VLAN translation policy.
- vrf_
id number - Id of the VRF.
- vrf_
rd string - Route distinguisher of the VRF.
- bridge
Id Double - Id of the bridged interface.
- cluster
Id Double - Id of the cluster of the virtual machine.
- cluster
Name String - Name of the cluster of the virtual machine.
- created String
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- description String
- enabled Boolean
- Whether the interface is enabled.
- id Double
- NetBox id.
- l2vpn Double
- Id of the L2VPN.
- l2vpn
Id Double - Id of the L2VPN.
- last
Updated String - mac
Address String - MAC address assigned to the interface.
- mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu Double
- MTU in bytes. Must be a whole number.
- name String
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Double - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- parent
Id Double - Id of the parent interface.
- primary
Mac StringAddress - Primary MAC address.
- primary
Mac DoubleAddress Id - Id of the primary MAC address.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Machine DoubleId - Id of the virtual machine.
- virtual
Machine StringName - Name of the virtual machine.
- vlan String
- Assigned VID.
- vlan
Id String - Assigned VLAN.
- vlan
Translation StringPolicy - VLAN Translation Policy.
- vlan
Translation DoublePolicy Id - Id of the VLAN translation policy.
- vrf
Id Double - Id of the VRF.
- vrf
Rd String - Route distinguisher of the VRF.
- bridge
Id number - Id of the bridged interface.
- cluster
Id number - Id of the cluster of the virtual machine.
- cluster
Name string - Name of the cluster of the virtual machine.
- created string
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- description string
- enabled boolean
- Whether the interface is enabled.
- id number
- NetBox id.
- l2vpn number
- Id of the L2VPN.
- l2vpn
Id number - Id of the L2VPN.
- last
Updated string - mac
Address string - MAC address assigned to the interface.
- mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu number
- MTU in bytes. Must be a whole number.
- name string
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Id number - Id of the owner the object is assigned to.
- owner
Name string - Name of the owner.
- parent
Id number - Id of the parent interface.
- primary
Mac stringAddress - Primary MAC address.
- primary
Mac numberAddress Id - Id of the primary MAC address.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- virtual
Machine numberId - Id of the virtual machine.
- virtual
Machine stringName - Name of the virtual machine.
- vlan string
- Assigned VID.
- vlan
Id string - Assigned VLAN.
- vlan
Translation stringPolicy - VLAN Translation Policy.
- vlan
Translation numberPolicy Id - Id of the VLAN translation policy.
- vrf
Id number - Id of the VRF.
- vrf
Rd string - Route distinguisher of the VRF.
- bridge_
id float - Id of the bridged interface.
- cluster_
id float - Id of the cluster of the virtual machine.
- cluster_
name str - Name of the cluster of the virtual machine.
- created str
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- description str
- enabled bool
- Whether the interface is enabled.
- id float
- NetBox id.
- l2vpn float
- Id of the L2VPN.
- l2vpn_
id float - Id of the L2VPN.
- last_
updated str - mac_
address str - MAC address assigned to the interface.
- mode str
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu float
- MTU in bytes. Must be a whole number.
- name str
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
id float - Id of the owner the object is assigned to.
- owner_
name str - Name of the owner.
- parent_
id float - Id of the parent interface.
- primary_
mac_ straddress - Primary MAC address.
- primary_
mac_ floataddress_ id - Id of the primary MAC address.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- virtual_
machine_ floatid - Id of the virtual machine.
- virtual_
machine_ strname - Name of the virtual machine.
- vlan str
- Assigned VID.
- vlan_
id str - Assigned VLAN.
- vlan_
translation_ strpolicy - VLAN Translation Policy.
- vlan_
translation_ floatpolicy_ id - Id of the VLAN translation policy.
- vrf_
id float - Id of the VRF.
- vrf_
rd str - Route distinguisher of the VRF.
- bridge
Id Number - Id of the bridged interface.
- cluster
Id Number - Id of the cluster of the virtual machine.
- cluster
Name String - Name of the cluster of the virtual machine.
- created String
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- description String
- enabled Boolean
- Whether the interface is enabled.
- id Number
- NetBox id.
- l2vpn Number
- Id of the L2VPN.
- l2vpn
Id Number - Id of the L2VPN.
- last
Updated String - mac
Address String - MAC address assigned to the interface.
- mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu Number
- MTU in bytes. Must be a whole number.
- name String
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Number - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- parent
Id Number - Id of the parent interface.
- primary
Mac StringAddress - Primary MAC address.
- primary
Mac NumberAddress Id - Id of the primary MAC address.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Machine NumberId - Id of the virtual machine.
- virtual
Machine StringName - Name of the virtual machine.
- vlan String
- Assigned VID.
- vlan
Id String - Assigned VLAN.
- vlan
Translation StringPolicy - VLAN Translation Policy.
- vlan
Translation NumberPolicy Id - Id of the VLAN translation policy.
- vrf
Id Number - Id of the VRF.
- vrf
Rd String - Route distinguisher of the VRF.
getVirtualMachineInterface Result
The following output properties are available:
- Bridge
Id double - Id of the bridged interface.
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Enabled bool
- Whether the interface is enabled.
- Id double
- NetBox id.
- Last
Updated string - Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Mtu double
- MTU in bytes. Must be a whole number.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Parent
Id double - Id of the parent interface.
- Qinq
Svlan doubleId - Id of the Q-in-Q service VLAN.
- Tagged
Vlan List<double>Ids - Ids of the tagged VLANs.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Untagged
Vlan doubleId - Id of the untagged VLAN.
- Url string
- Virtual
Machine doubleId - Id of the virtual machine.
- Vlan
Translation doublePolicy Id - Id of the VLAN translation policy.
- Vrf
Id double - Id of the VRF.
- Cluster
Id double - Id of the cluster of the virtual machine.
- Cluster
Name string - Name of the cluster of the virtual machine.
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- L2vpn double
- Id of the L2VPN.
- L2vpn
Id double - Id of the L2VPN.
- Mac
Address string - MAC address assigned to the interface.
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Primary
Mac stringAddress - Primary MAC address.
- Primary
Mac doubleAddress Id - Id of the primary MAC address.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Machine stringName - Name of the virtual machine.
- Vlan string
- Assigned VID.
- Vlan
Id string - Assigned VLAN.
- Vlan
Translation stringPolicy - VLAN Translation Policy.
- Vrf
Rd string - Route distinguisher of the VRF.
- Bridge
Id float64 - Id of the bridged interface.
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Enabled bool
- Whether the interface is enabled.
- Id float64
- NetBox id.
- Last
Updated string - Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Mtu float64
- MTU in bytes. Must be a whole number.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Parent
Id float64 - Id of the parent interface.
- Qinq
Svlan float64Id - Id of the Q-in-Q service VLAN.
- Tagged
Vlan []float64Ids - Ids of the tagged VLANs.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Untagged
Vlan float64Id - Id of the untagged VLAN.
- Url string
- Virtual
Machine float64Id - Id of the virtual machine.
- Vlan
Translation float64Policy Id - Id of the VLAN translation policy.
- Vrf
Id float64 - Id of the VRF.
- Cluster
Id float64 - Id of the cluster of the virtual machine.
- Cluster
Name string - Name of the cluster of the virtual machine.
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- L2vpn float64
- Id of the L2VPN.
- L2vpn
Id float64 - Id of the L2VPN.
- Mac
Address string - MAC address assigned to the interface.
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Primary
Mac stringAddress - Primary MAC address.
- Primary
Mac float64Address Id - Id of the primary MAC address.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Machine stringName - Name of the virtual machine.
- Vlan string
- Assigned VID.
- Vlan
Id string - Assigned VLAN.
- Vlan
Translation stringPolicy - VLAN Translation Policy.
- Vrf
Rd string - Route distinguisher of the VRF.
- bridge_
id number - Id of the bridged interface.
- created string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- enabled bool
- Whether the interface is enabled.
- id number
- NetBox id.
- last_
updated string - mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu number
- MTU in bytes. Must be a whole number.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- parent_
id number - Id of the parent interface.
- qinq_
svlan_ numberid - Id of the Q-in-Q service VLAN.
- tagged_
vlan_ list(number)ids - Ids of the tagged VLANs.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- untagged_
vlan_ numberid - Id of the untagged VLAN.
- url string
- virtual_
machine_ numberid - Id of the virtual machine.
- vlan_
translation_ numberpolicy_ id - Id of the VLAN translation policy.
- vrf_
id number - Id of the VRF.
- cluster_
id number - Id of the cluster of the virtual machine.
- cluster_
name string - Name of the cluster of the virtual machine.
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- l2vpn number
- Id of the L2VPN.
- l2vpn_
id number - Id of the L2VPN.
- mac_
address string - MAC address assigned to the interface.
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
name string - Name of the owner.
- primary_
mac_ stringaddress - Primary MAC address.
- primary_
mac_ numberaddress_ id - Id of the primary MAC address.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- virtual_
machine_ stringname - Name of the virtual machine.
- vlan string
- Assigned VID.
- vlan_
id string - Assigned VLAN.
- vlan_
translation_ stringpolicy - VLAN Translation Policy.
- vrf_
rd string - Route distinguisher of the VRF.
- bridge
Id Double - Id of the bridged interface.
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- enabled Boolean
- Whether the interface is enabled.
- id Double
- NetBox id.
- last
Updated String - mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu Double
- MTU in bytes. Must be a whole number.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- parent
Id Double - Id of the parent interface.
- qinq
Svlan DoubleId - Id of the Q-in-Q service VLAN.
- tagged
Vlan List<Double>Ids - Ids of the tagged VLANs.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- untagged
Vlan DoubleId - Id of the untagged VLAN.
- url String
- virtual
Machine DoubleId - Id of the virtual machine.
- vlan
Translation DoublePolicy Id - Id of the VLAN translation policy.
- vrf
Id Double - Id of the VRF.
- cluster
Id Double - Id of the cluster of the virtual machine.
- cluster
Name String - Name of the cluster of the virtual machine.
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- l2vpn Double
- Id of the L2VPN.
- l2vpn
Id Double - Id of the L2VPN.
- mac
Address String - MAC address assigned to the interface.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- primary
Mac StringAddress - Primary MAC address.
- primary
Mac DoubleAddress Id - Id of the primary MAC address.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Machine StringName - Name of the virtual machine.
- vlan String
- Assigned VID.
- vlan
Id String - Assigned VLAN.
- vlan
Translation StringPolicy - VLAN Translation Policy.
- vrf
Rd String - Route distinguisher of the VRF.
- bridge
Id number - Id of the bridged interface.
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- enabled boolean
- Whether the interface is enabled.
- id number
- NetBox id.
- last
Updated string - mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu number
- MTU in bytes. Must be a whole number.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- parent
Id number - Id of the parent interface.
- qinq
Svlan numberId - Id of the Q-in-Q service VLAN.
- tagged
Vlan number[]Ids - Ids of the tagged VLANs.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- untagged
Vlan numberId - Id of the untagged VLAN.
- url string
- virtual
Machine numberId - Id of the virtual machine.
- vlan
Translation numberPolicy Id - Id of the VLAN translation policy.
- vrf
Id number - Id of the VRF.
- cluster
Id number - Id of the cluster of the virtual machine.
- cluster
Name string - Name of the cluster of the virtual machine.
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- l2vpn number
- Id of the L2VPN.
- l2vpn
Id number - Id of the L2VPN.
- mac
Address string - MAC address assigned to the interface.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Name string - Name of the owner.
- primary
Mac stringAddress - Primary MAC address.
- primary
Mac numberAddress Id - Id of the primary MAC address.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- virtual
Machine stringName - Name of the virtual machine.
- vlan string
- Assigned VID.
- vlan
Id string - Assigned VLAN.
- vlan
Translation stringPolicy - VLAN Translation Policy.
- vrf
Rd string - Route distinguisher of the VRF.
- bridge_
id float - Id of the bridged interface.
- created str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- enabled bool
- Whether the interface is enabled.
- id float
- NetBox id.
- last_
updated str - mode str
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu float
- MTU in bytes. Must be a whole number.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- parent_
id float - Id of the parent interface.
- qinq_
svlan_ floatid - Id of the Q-in-Q service VLAN.
- tagged_
vlan_ Sequence[float]ids - Ids of the tagged VLANs.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- untagged_
vlan_ floatid - Id of the untagged VLAN.
- url str
- virtual_
machine_ floatid - Id of the virtual machine.
- vlan_
translation_ floatpolicy_ id - Id of the VLAN translation policy.
- vrf_
id float - Id of the VRF.
- cluster_
id float - Id of the cluster of the virtual machine.
- cluster_
name str - Name of the cluster of the virtual machine.
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- l2vpn float
- Id of the L2VPN.
- l2vpn_
id float - Id of the L2VPN.
- mac_
address str - MAC address assigned to the interface.
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
name str - Name of the owner.
- primary_
mac_ straddress - Primary MAC address.
- primary_
mac_ floataddress_ id - Id of the primary MAC address.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- virtual_
machine_ strname - Name of the virtual machine.
- vlan str
- Assigned VID.
- vlan_
id str - Assigned VLAN.
- vlan_
translation_ strpolicy - VLAN Translation Policy.
- vrf_
rd str - Route distinguisher of the VRF.
- bridge
Id Number - Id of the bridged interface.
- created String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- enabled Boolean
- Whether the interface is enabled.
- id Number
- NetBox id.
- last
Updated String - mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- mtu Number
- MTU in bytes. Must be a whole number.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- parent
Id Number - Id of the parent interface.
- qinq
Svlan NumberId - Id of the Q-in-Q service VLAN.
- tagged
Vlan List<Number>Ids - Ids of the tagged VLANs.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- untagged
Vlan NumberId - Id of the untagged VLAN.
- url String
- virtual
Machine NumberId - Id of the virtual machine.
- vlan
Translation NumberPolicy Id - Id of the VLAN translation policy.
- vrf
Id Number - Id of the VRF.
- cluster
Id Number - Id of the cluster of the virtual machine.
- cluster
Name String - Name of the cluster of the virtual machine.
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- l2vpn Number
- Id of the L2VPN.
- l2vpn
Id Number - Id of the L2VPN.
- mac
Address String - MAC address assigned to the interface.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- primary
Mac StringAddress - Primary MAC address.
- primary
Mac NumberAddress Id - Id of the primary MAC address.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Machine StringName - Name of the virtual machine.
- vlan String
- Assigned VID.
- vlan
Id String - Assigned VLAN.
- vlan
Translation StringPolicy - VLAN Translation Policy.
- vrf
Rd String - Route distinguisher of the VRF.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger