1. Packages
  2. Netbox Provider
  3. API Docs
  4. getDeviceInterfaces
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger

netbox.getDeviceInterfaces

Explore with Pulumi AI

netbox logo
netbox 3.10.0 published on Monday, Apr 14, 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,
                              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,
                              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.
    NameRegex string
    Filters []GetDeviceInterfacesFilter
    Id string
    The ID of this resource.
    NameRegex string
    filters List<GetDeviceInterfacesFilter>
    id String
    The ID of this resource.
    nameRegex String
    filters GetDeviceInterfacesFilter[]
    id string
    The ID of this resource.
    nameRegex string
    filters List<Property Map>
    id String
    The ID of this resource.
    nameRegex String

    getDeviceInterfaces Result

    The following output properties are available:

    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

    description String
    deviceId Number
    enabled Boolean
    id Number
    macAddress String
    mode Map<String>
    mtu Number
    name String
    tagIds List<Number>
    taggedVlans List<Property Map>
    untaggedVlans List<Property Map>

    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 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger