ListDevices ListDevices
ListDevices Certified

List devices from NetBox inventory

Enterprise Edition Talk to us

yaml
type: "io.kestra.plugin.ee.netbox.ListDevices"
yaml
id: list_production_switches
namespace: company.team

tasks:
  - id: list_devices
    type: io.kestra.plugin.ee.netbox.ListDevices
    url: "{{ secret('NETBOX_URL') }}"
    token: "{{ secret('NETBOX_API_TOKEN') }}"
    filters:
      site: "nyc-dc1"
      role: "access-switch"
      status: "active"
      manufacturer: "cisco"
      tag: "production"
    limit: 100
    fields:
      - "id"
      - "name"
      - "status"
      - "site"
      - "primary_ip4"
      - "device_type"
      - "custom_fields"
    fetchType: STORE
Properties
DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE
SubTypestring
Default100
Definitions
allowFailedbooleanstring
Defaultfalse
allowedResponseCodesarray
SubTypeinteger
auth
type*Requiredobject
passwordstring
usernamestring
type*Requiredobject
tokenstring
type*Requiredobject
passwordstring
usernamestring
basicAuthPasswordDeprecatedstring
basicAuthUserDeprecatedstring
connectTimeoutDeprecatedstring
Formatduration
connectionPoolIdleTimeoutDeprecatedstring
Formatduration
defaultCharsetstring
DefaultUTF-8
followRedirectsbooleanstring
Defaulttrue
logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED
logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
maxContentLengthDeprecatedinteger
proxy
addressstring
passwordstring
portintegerstring
typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS
usernamestring
proxyAddressDeprecatedstring
proxyPasswordDeprecatedstring
proxyPortDeprecatedinteger
proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS
proxyUsernameDeprecatedstring
readIdleTimeoutDeprecatedstring
Formatduration
readTimeoutDeprecatedstring
Formatduration
ssl
insecureTrustAllCertificatesbooleanstring
timeout
connectTimeoutstring
readIdleTimeoutstring
DefaultPT5M
SubTypeobject
Formaturi