1. Packages
  2. Netbox Provider
  3. API Docs
  4. getDeviceInterfaces
netbox 4.1.0 published on Wednesday, Jul 2, 2025 by e-breuninger

netbox.getDeviceInterfaces

Explore with Pulumi AI

netbox logo
netbox 4.1.0 published on Wednesday, Jul 2, 2025 by e-breuninger

    Using getDeviceInterfaces

    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 getDeviceInterfaces(args: GetDeviceInterfacesArgs, opts?: InvokeOptions): Promise<GetDeviceInterfacesResult>
    function getDeviceInterfacesOutput(args: GetDeviceInterfacesOutputArgs, opts?: InvokeOptions): Output<GetDeviceInterfacesResult>
    def get_device_interfaces(filters: Optional[Sequence[GetDeviceInterfacesFilter]] = None,
                              id: Optional[str] = None,
                              limit: Optional[float] = None,
                              name_regex: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetDeviceInterfacesResult
    def get_device_interfaces_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDeviceInterfacesFilterArgs]]]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              limit: Optional[pulumi.Input[float]] = None,
                              name_regex: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetDeviceInterfacesResult]
    func GetDeviceInterfaces(ctx *Context, args *GetDeviceInterfacesArgs, opts ...InvokeOption) (*GetDeviceInterfacesResult, error)
    func GetDeviceInterfacesOutput(ctx *Context, args *GetDeviceInterfacesOutputArgs, opts ...InvokeOption) GetDeviceInterfacesResultOutput

    > Note: This function is named GetDeviceInterfaces in the Go SDK.

    public static class GetDeviceInterfaces 
    {
        public static Task<GetDeviceInterfacesResult> InvokeAsync(GetDeviceInterfacesArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceInterfacesResult> Invoke(GetDeviceInterfacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOptions options)
    public static Output<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getDeviceInterfaces:getDeviceInterfaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetDeviceInterfacesFilter>
    Id string
    The ID of this resource.
    Limit double
    NameRegex string
    Filters []GetDeviceInterfacesFilter
    Id string
    The ID of this resource.
    Limit float64
    NameRegex string
    filters List<GetDeviceInterfacesFilter>
    id String
    The ID of this resource.
    limit Double
    nameRegex String
    filters GetDeviceInterfacesFilter[]
    id string
    The ID of this resource.
    limit number
    nameRegex string
    filters List<Property Map>
    id String
    The ID of this resource.
    limit Number
    nameRegex String

    getDeviceInterfaces Result

    The following output properties are available:

    id String
    The ID of this resource.
    interfaces List<Property Map>
    filters List<Property Map>
    limit Number
    nameRegex String

    Supporting Types

    GetDeviceInterfacesFilter

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    GetDeviceInterfacesInterface

    GetDeviceInterfacesInterfaceMacAddress

    Description string
    Id double
    MacAddress string
    Description string
    Id float64
    MacAddress string
    description String
    id Double
    macAddress String
    description string
    id number
    macAddress string
    description String
    id Number
    macAddress String

    GetDeviceInterfacesInterfaceTaggedVlan

    Id double
    Name string
    Vid double
    Id float64
    Name string
    Vid float64
    id Double
    name String
    vid Double
    id number
    name string
    vid number
    id float
    name str
    vid float
    id Number
    name String
    vid Number

    GetDeviceInterfacesInterfaceUntaggedVlan

    Id double
    Name string
    Vid double
    Id float64
    Name string
    Vid float64
    id Double
    name String
    vid Double
    id number
    name string
    vid number
    id float
    name str
    vid float
    id Number
    name String
    vid Number

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox logo
    netbox 4.1.0 published on Wednesday, Jul 2, 2025 by e-breuninger