netbox 5.0.0 published on Friday, Sep 12, 2025 by e-breuninger
netbox.getDevices
netbox 5.0.0 published on Friday, Sep 12, 2025 by e-breuninger
Using getDevices
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 getDevices(args: GetDevicesArgs, opts?: InvokeOptions): Promise<GetDevicesResult>
function getDevicesOutput(args: GetDevicesOutputArgs, opts?: InvokeOptions): Output<GetDevicesResult>def get_devices(filters: Optional[Sequence[GetDevicesFilter]] = None,
                id: Optional[str] = None,
                limit: Optional[float] = None,
                name_regex: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetDevicesResult
def get_devices_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDevicesFilterArgs]]]] = 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[GetDevicesResult]func GetDevices(ctx *Context, args *GetDevicesArgs, opts ...InvokeOption) (*GetDevicesResult, error)
func GetDevicesOutput(ctx *Context, args *GetDevicesOutputArgs, opts ...InvokeOption) GetDevicesResultOutput> Note: This function is named GetDevices in the Go SDK.
public static class GetDevices 
{
    public static Task<GetDevicesResult> InvokeAsync(GetDevicesArgs args, InvokeOptions? opts = null)
    public static Output<GetDevicesResult> Invoke(GetDevicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDevicesResult> getDevices(GetDevicesArgs args, InvokeOptions options)
public static Output<GetDevicesResult> getDevices(GetDevicesArgs args, InvokeOptions options)
fn::invoke:
  function: netbox:index/getDevices:getDevices
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Devices Filter>  - Id string
 - The ID of this resource.
 - Limit double
 - Name
Regex string 
- Filters
[]Get
Devices Filter  - Id string
 - The ID of this resource.
 - Limit float64
 - Name
Regex string 
- filters
List<Get
Devices Filter>  - id String
 - The ID of this resource.
 - limit Double
 - name
Regex String 
- filters
Get
Devices Filter[]  - id string
 - The ID of this resource.
 - limit number
 - name
Regex string 
- filters
Sequence[Get
Devices Filter]  - id str
 - The ID of this resource.
 - limit float
 - name_
regex str 
- filters List<Property Map>
 - id String
 - The ID of this resource.
 - limit Number
 - name
Regex String 
getDevices Result
The following output properties are available:
- Devices
List<Get
Devices Device>  - Id string
 - The ID of this resource.
 - Filters
List<Get
Devices Filter>  - Limit double
 - Name
Regex string 
- Devices
[]Get
Devices Device  - Id string
 - The ID of this resource.
 - Filters
[]Get
Devices Filter  - Limit float64
 - Name
Regex string 
- devices
List<Get
Devices Device>  - id String
 - The ID of this resource.
 - filters
List<Get
Devices Filter>  - limit Double
 - name
Regex String 
- devices
Get
Devices Device[]  - id string
 - The ID of this resource.
 - filters
Get
Devices Filter[]  - limit number
 - name
Regex string 
- devices
Sequence[Get
Devices Device]  - id str
 - The ID of this resource.
 - filters
Sequence[Get
Devices Filter]  - limit float
 - name_
regex str 
- devices List<Property Map>
 - id String
 - The ID of this resource.
 - filters List<Property Map>
 - limit Number
 - name
Regex String 
Supporting Types
GetDevicesDevice  
- Asset
Tag string - Cluster
Id double - Comments string
 - Config
Context string - Custom
Fields Dictionary<string, string> - Description string
 - Device
Id double - Device
Type doubleId  - Local
Context stringData  - Location
Id double - Manufacturer
Id double - Model string
 - Name string
 - Oob
Ip string - Platform
Id double - Primary
Ipv4 string - Primary
Ipv6 string - Rack
Face string - Rack
Id double - Rack
Position double - Role
Id double - Serial string
 - Site
Id double - Status string
 - List<string>
 - Tenant
Id double 
- Asset
Tag string - Cluster
Id float64 - Comments string
 - Config
Context string - Custom
Fields map[string]string - Description string
 - Device
Id float64 - Device
Type float64Id  - Local
Context stringData  - Location
Id float64 - Manufacturer
Id float64 - Model string
 - Name string
 - Oob
Ip string - Platform
Id float64 - Primary
Ipv4 string - Primary
Ipv6 string - Rack
Face string - Rack
Id float64 - Rack
Position float64 - Role
Id float64 - Serial string
 - Site
Id float64 - Status string
 - []string
 - Tenant
Id float64 
- asset
Tag String - cluster
Id Double - comments String
 - config
Context String - custom
Fields Map<String,String> - description String
 - device
Id Double - device
Type DoubleId  - local
Context StringData  - location
Id Double - manufacturer
Id Double - model String
 - name String
 - oob
Ip String - platform
Id Double - primary
Ipv4 String - primary
Ipv6 String - rack
Face String - rack
Id Double - rack
Position Double - role
Id Double - serial String
 - site
Id Double - status String
 - List<String>
 - tenant
Id Double 
- asset
Tag string - cluster
Id number - comments string
 - config
Context string - custom
Fields {[key: string]: string} - description string
 - device
Id number - device
Type numberId  - local
Context stringData  - location
Id number - manufacturer
Id number - model string
 - name string
 - oob
Ip string - platform
Id number - primary
Ipv4 string - primary
Ipv6 string - rack
Face string - rack
Id number - rack
Position number - role
Id number - serial string
 - site
Id number - status string
 - string[]
 - tenant
Id number 
- asset_
tag str - cluster_
id float - comments str
 - config_
context str - custom_
fields Mapping[str, str] - description str
 - device_
id float - device_
type_ floatid  - local_
context_ strdata  - location_
id float - manufacturer_
id float - model str
 - name str
 - oob_
ip str - platform_
id float - primary_
ipv4 str - primary_
ipv6 str - rack_
face str - rack_
id float - rack_
position float - role_
id float - serial str
 - site_
id float - status str
 - Sequence[str]
 - tenant_
id float 
- asset
Tag String - cluster
Id Number - comments String
 - config
Context String - custom
Fields Map<String> - description String
 - device
Id Number - device
Type NumberId  - local
Context StringData  - location
Id Number - manufacturer
Id Number - model String
 - name String
 - oob
Ip String - platform
Id Number - primary
Ipv4 String - primary
Ipv6 String - rack
Face String - rack
Id Number - rack
Position Number - role
Id Number - serial String
 - site
Id Number - status String
 - List<String>
 - tenant
Id Number 
GetDevicesFilter  
Package Details
- Repository
 - netbox e-breuninger/terraform-provider-netbox
 - License
 - Notes
 - This Pulumi package is based on the 
netboxTerraform Provider. 
netbox 5.0.0 published on Friday, Sep 12, 2025 by e-breuninger
