Create a Discovery Job

post

/api/app/discovery/{zoneid}/v2/devices/discover

Creates a new job to discover devices.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
The payload for a discovery request.
Show Source
Nested Schema : Data
Type: object
The discovery request data.
Show Source
Nested Schema : Configuration
Type: object
The ICMP, SNMP and REST Configuration for discovery.
Show Source
Nested Schema : ExcludedIPList
Type: array
List of IP Addresses to exclude.
Show Source
Example:
[
    "192.0.2.6"
]
Nested Schema : IPList
Type: array
List of IP Addresses.
Show Source
Example:
[
    "203.0.113.0",
    "203.0.113.1"
]
Nested Schema : IPRanges
Type: array
List of IP Ranges. Supports CIDR ranges.
Show Source
Example:
[
    "192.0.2.0/24",
    "198.51.100.0-198.51.100.5"
]
Nested Schema : Level
Type: array
Type of polling enabled for discovery. Possible values are 1 for ping, 2 for SNMP, and 3 for REST.
Show Source
Example:
[
    1,
    2,
    3
]
Nested Schema : GNMIConfiguration
Type: array
The list of gNMI configurations.
Show Source
Nested Schema : ICMPConfiguration
Type: array
The list of ICMP configurations.
Show Source
Nested Schema : RESTConfiguration
Type: array
The list of REST configurations.
Show Source
Nested Schema : SNMPConfiguration
Type: array
The list of SNMP configurations.
Show Source
Nested Schema : GNMIConfiguration
Type: object
Configurations for gNMI collectors.
Show Source
  • Allowed Values: [ "insecure", "secure" ]
    Mode used to connect.
    Example: insecure
  • The base64-encoded password to connect.
    Example: dGVzdA==
  • Minimum Value: 0
    Maximum Value: 65535
    The port number for the REST API URL.
    Example: 50051
  • The base64-encoded username used to connect.
    Example: YWRtaW4=
Nested Schema : V2ICMPConfiguration
Type: object
The ICMP payload configuration.
Show Source
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of milliseconds between two successful pings.
    Example: 5
  • Allowed Values: [ "ACOM", "PCOM", "ACOM_PCOM" ]
    Type of ICMP Discovery. Can be ICMP Availability, ICMP Performance, or both.
    Example: ACOM
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of ping requests to send.
    Example: 5
  • Allowed Values: [ 0, 1 ]
    The ICMP mode. Possible values are 0 for synchronous and 1 for asynchronous.
    Example: 1
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of milliseconds to wait for the ping message corresponding to a given ping.
    Example: 10
Nested Schema : RESTConfiguration
Type: object
REST configurations for Cisco Meraki, Juniper MIST and VMWare connections.
Show Source
Nested Schema : V2SNMPConfiguration
Type: object
The V2 SNMP payload configuration.
Show Source
Nested Schema : CustomSNMPAccessProfile
Type: object
A custom SNMP access profile.
Show Source
Nested Schema : NetworkOptions
Type: object
Network options for SNMP communication.
Show Source
  • Allowed Values: [ true, false ]
    The status is enabled to timeout exponentially if the request fails.
    Example: false
  • Minimum Value: 0
    Maximum Value: 128
    The maximum SNMP OID value.
    Example: 100
  • Minimum Value: 0
    Maximum Value: 2147483647
    The maximum number of repetitions.
    Example: 50
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of non repeaters.
    Example: 1
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of times to retry the request.
    Example: 3
  • Allowed Values: [ "1s", "2m", "3h", "4d" ]
    The number of seconds, minutes, hours, or days before the request times out.
    Example: 5s
Nested Schema : CustomSNMPAccessProfileAuth
Type: object
Custom SNMP access profile authentication information.
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : DiscoveryCreateResponse
Type: object
Show Source

400 Response

Bad request

401 Response

Unauthorized operation

500 Response

Internal server error
Back to Top